2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.4.
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.4'
615 PACKAGE_STRING
='Wine 9.4'
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
715 WAYLAND_CLIENT_CFLAGS
763 SYSTEMCONFIGURATION_LIBS
767 APPLICATIONSERVICES_LIBS
780 WINEPRELOADER_LDFLAGS
812 x86_64_DISABLED_SUBDIRS
820 i386_DISABLED_SUBDIRS
828 arm64ec_DISABLED_SUBDIRS
829 arm64ec_DELAYLOADFLAG
844 aarch64_DISABLED_SUBDIRS
845 aarch64_DELAYLOADFLAG
909 program_transform_name
922 enable_option_checking
928 enable_maintainer_mode
994 enable_appxdeploymentclient
1007 enable_bcryptprimitives
1008 enable_bluetoothapis
1049 enable_d3dcompiler_33
1050 enable_d3dcompiler_34
1051 enable_d3dcompiler_35
1052 enable_d3dcompiler_36
1053 enable_d3dcompiler_37
1054 enable_d3dcompiler_38
1055 enable_d3dcompiler_39
1056 enable_d3dcompiler_40
1057 enable_d3dcompiler_41
1058 enable_d3dcompiler_42
1059 enable_d3dcompiler_43
1060 enable_d3dcompiler_46
1061 enable_d3dcompiler_47
1114 enable_directmanipulation
1152 enable_explorerframe
1169 enable_graphicscapture
1180 enable_hvsimanagementapi
1213 enable_light_msstyles
1218 enable_magnification
1229 enable_mfmediaengine
1296 enable_msvcp140_atomic_wait
1297 enable_msvcp140_codecvt_ids
1363 enable_photometadatahandler
1441 enable_threadpoolwinrt
1444 enable_twinapi_appcore
1448 enable_uiautomationcore
1468 enable_vcruntime140_1
1486 enable_windows_applicationmodel
1487 enable_windows_devices_bluetooth
1488 enable_windows_devices_enumeration
1489 enable_windows_devices_usb
1490 enable_windows_gaming_input
1491 enable_windows_gaming_ui_gamebar
1492 enable_windows_globalization
1493 enable_windows_media_devices
1494 enable_windows_media_mediacontrol
1495 enable_windows_media_speech
1496 enable_windows_media
1497 enable_windows_networking_hostname
1498 enable_windows_networking
1499 enable_windows_perception_stub
1500 enable_windows_security_authentication_onlineid
1501 enable_windows_security_credentials_ui_userconsentverifier
1502 enable_windows_storage_applicationdata
1503 enable_windows_system_profile_systemmanufacturers
1505 enable_windowscodecs
1506 enable_windowscodecsext
1508 enable_wineandroid_drv
1510 enable_winecoreaudio_drv
1513 enable_winegstreamer
1519 enable_winepulse_drv
1522 enable_winewayland_drv
1524 enable_winexinput_sys
1571 enable_xactengine2_0
1572 enable_xactengine2_4
1573 enable_xactengine2_7
1574 enable_xactengine2_9
1575 enable_xactengine3_0
1576 enable_xactengine3_1
1577 enable_xactengine3_2
1578 enable_xactengine3_3
1579 enable_xactengine3_4
1580 enable_xactengine3_5
1581 enable_xactengine3_6
1582 enable_xactengine3_7
1632 enable_wmcodecdspuuid
1641 enable_aspnet_regiis
1689 enable_presentationfontcache
1704 enable_servicemodelreg
1730 enable_winemenubuilder
1732 enable_winemsibuilder
1757 ac_precious_vars
='build_alias
1772 FLUIDSYNTH_PE_CFLAGS
1804 WAYLAND_CLIENT_CFLAGS
1854 # Initialize some variables set by options.
1856 ac_init_version
=false
1857 ac_unrecognized_opts
=
1858 ac_unrecognized_sep
=
1859 # The variables have the same names as the options, with
1860 # dashes changed to underlines.
1861 cache_file
=/dev
/null
1868 program_transform_name
=s
,x
,x
,
1876 # Installation directory options.
1877 # These are left unexpanded so users can "make install exec_prefix=/foo"
1878 # and all the variables that are supposed to be based on exec_prefix
1879 # by default will actually change.
1880 # Use braces instead of parens because sh, perl, etc. also accept them.
1881 # (The list follows the same order as the GNU Coding Standards.)
1882 bindir
='${exec_prefix}/bin'
1883 sbindir
='${exec_prefix}/sbin'
1884 libexecdir
='${exec_prefix}/libexec'
1885 datarootdir
='${prefix}/share'
1886 datadir
='${datarootdir}'
1887 sysconfdir
='${prefix}/etc'
1888 sharedstatedir
='${prefix}/com'
1889 localstatedir
='${prefix}/var'
1890 runstatedir
='${localstatedir}/run'
1891 includedir
='${prefix}/include'
1892 oldincludedir
='/usr/include'
1893 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1894 infodir
='${datarootdir}/info'
1899 libdir
='${exec_prefix}/lib'
1900 localedir
='${datarootdir}/locale'
1901 mandir
='${datarootdir}/man'
1907 # If the previous option needs an argument, assign it.
1908 if test -n "$ac_prev"; then
1909 eval $ac_prev=\
$ac_option
1915 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1920 case $ac_dashdash$ac_option in
1924 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1926 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1927 bindir
=$ac_optarg ;;
1929 -build |
--build |
--buil |
--bui |
--bu)
1930 ac_prev
=build_alias
;;
1931 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1932 build_alias
=$ac_optarg ;;
1934 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1935 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1936 ac_prev
=cache_file
;;
1937 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1938 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1939 cache_file
=$ac_optarg ;;
1941 --config-cache |
-C)
1942 cache_file
=config.cache
;;
1944 -datadir |
--datadir |
--datadi |
--datad)
1946 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1947 datadir
=$ac_optarg ;;
1949 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1950 |
--dataroo |
--dataro |
--datar)
1951 ac_prev
=datarootdir
;;
1952 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1953 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1954 datarootdir
=$ac_optarg ;;
1956 -disable-* |
--disable-*)
1957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1960 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig
=$ac_useropt
1962 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_
$ac_useropt"
1967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1968 ac_unrecognized_sep
=', ';;
1970 eval enable_
$ac_useropt=no
;;
1972 -docdir |
--docdir |
--docdi |
--doc |
--do)
1974 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1975 docdir
=$ac_optarg ;;
1977 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1979 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1980 dvidir
=$ac_optarg ;;
1982 -enable-* |
--enable-*)
1983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1984 # Reject names that are not valid shell variable names.
1985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1986 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1987 ac_useropt_orig
=$ac_useropt
1988 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1989 case $ac_user_opts in
1991 "enable_
$ac_useropt"
1993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1994 ac_unrecognized_sep
=', ';;
1996 eval enable_
$ac_useropt=\
$ac_optarg ;;
1998 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1999 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
2000 |
--exec |
--exe |
--ex)
2001 ac_prev
=exec_prefix
;;
2002 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
2003 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
2004 |
--exec=* |
--exe=* |
--ex=*)
2005 exec_prefix
=$ac_optarg ;;
2007 -gas |
--gas |
--ga |
--g)
2008 # Obsolete; use --with-gas.
2011 -help |
--help |
--hel |
--he |
-h)
2012 ac_init_help
=long
;;
2013 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
2014 ac_init_help
=recursive
;;
2015 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
2016 ac_init_help
=short
;;
2018 -host |
--host |
--hos |
--ho)
2019 ac_prev
=host_alias
;;
2020 -host=* |
--host=* |
--hos=* |
--ho=*)
2021 host_alias
=$ac_optarg ;;
2023 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
2025 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2027 htmldir
=$ac_optarg ;;
2029 -includedir |
--includedir |
--includedi |
--included |
--include \
2030 |
--includ |
--inclu |
--incl |
--inc)
2031 ac_prev
=includedir
;;
2032 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2033 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2034 includedir
=$ac_optarg ;;
2036 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2038 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2039 infodir
=$ac_optarg ;;
2041 -libdir |
--libdir |
--libdi |
--libd)
2043 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2044 libdir
=$ac_optarg ;;
2046 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2047 |
--libexe |
--libex |
--libe)
2048 ac_prev
=libexecdir
;;
2049 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2050 |
--libexe=* |
--libex=* |
--libe=*)
2051 libexecdir
=$ac_optarg ;;
2053 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2054 ac_prev
=localedir
;;
2055 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2056 localedir
=$ac_optarg ;;
2058 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2059 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2060 ac_prev
=localstatedir
;;
2061 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2062 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2063 localstatedir
=$ac_optarg ;;
2065 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2067 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2068 mandir
=$ac_optarg ;;
2070 -nfp |
--nfp |
--nf)
2071 # Obsolete; use --without-fp.
2074 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2075 |
--no-cr |
--no-c |
-n)
2078 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2079 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2082 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2083 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2084 |
--oldin |
--oldi |
--old |
--ol |
--o)
2085 ac_prev
=oldincludedir
;;
2086 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2087 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2088 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2089 oldincludedir
=$ac_optarg ;;
2091 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2093 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2094 prefix
=$ac_optarg ;;
2096 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2097 |
--program-pre |
--program-pr |
--program-p)
2098 ac_prev
=program_prefix
;;
2099 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2100 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2101 program_prefix
=$ac_optarg ;;
2103 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2104 |
--program-suf |
--program-su |
--program-s)
2105 ac_prev
=program_suffix
;;
2106 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2107 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2108 program_suffix
=$ac_optarg ;;
2110 -program-transform-name |
--program-transform-name \
2111 |
--program-transform-nam |
--program-transform-na \
2112 |
--program-transform-n |
--program-transform- \
2113 |
--program-transform |
--program-transfor \
2114 |
--program-transfo |
--program-transf \
2115 |
--program-trans |
--program-tran \
2116 |
--progr-tra |
--program-tr |
--program-t)
2117 ac_prev
=program_transform_name
;;
2118 -program-transform-name=* |
--program-transform-name=* \
2119 |
--program-transform-nam=* |
--program-transform-na=* \
2120 |
--program-transform-n=* |
--program-transform-=* \
2121 |
--program-transform=* |
--program-transfor=* \
2122 |
--program-transfo=* |
--program-transf=* \
2123 |
--program-trans=* |
--program-tran=* \
2124 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2125 program_transform_name
=$ac_optarg ;;
2127 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2129 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2130 pdfdir
=$ac_optarg ;;
2132 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2134 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2137 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2138 |
-silent |
--silent |
--silen |
--sile |
--sil)
2141 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2142 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2143 |
--run |
--ru |
--r)
2144 ac_prev
=runstatedir
;;
2145 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2146 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2147 |
--run=* |
--ru=* |
--r=*)
2148 runstatedir
=$ac_optarg ;;
2150 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2152 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2154 sbindir
=$ac_optarg ;;
2156 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2157 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2158 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2160 ac_prev
=sharedstatedir
;;
2161 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2162 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2163 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2165 sharedstatedir
=$ac_optarg ;;
2167 -site |
--site |
--sit)
2169 -site=* |
--site=* |
--sit=*)
2172 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2174 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2175 srcdir
=$ac_optarg ;;
2177 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2178 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2179 ac_prev
=sysconfdir
;;
2180 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2181 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2182 sysconfdir
=$ac_optarg ;;
2184 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2185 ac_prev
=target_alias
;;
2186 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2187 target_alias
=$ac_optarg ;;
2189 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2192 -version |
--version |
--versio |
--versi |
--vers |
-V)
2193 ac_init_version
=: ;;
2196 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2197 # Reject names that are not valid shell variable names.
2198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2199 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2200 ac_useropt_orig
=$ac_useropt
2201 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2202 case $ac_user_opts in
2206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2207 ac_unrecognized_sep
=', ';;
2209 eval with_
$ac_useropt=\
$ac_optarg ;;
2211 -without-* |
--without-*)
2212 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2215 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2216 ac_useropt_orig
=$ac_useropt
2217 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2222 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2223 ac_unrecognized_sep
=', ';;
2225 eval with_
$ac_useropt=no
;;
2228 # Obsolete; use --with-x.
2231 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2232 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2233 ac_prev
=x_includes
;;
2234 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2235 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2236 x_includes
=$ac_optarg ;;
2238 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2239 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2240 ac_prev
=x_libraries
;;
2241 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2242 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2243 x_libraries
=$ac_optarg ;;
2245 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2246 Try \`$0 --help' for more information"
2250 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2251 # Reject names that are not valid shell variable names.
2252 case $ac_envvar in #(
2253 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2254 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2256 eval $ac_envvar=\
$ac_optarg
2257 export $ac_envvar ;;
2260 # FIXME: should be removed in autoconf 3.0.
2261 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2263 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2270 if test -n "$ac_prev"; then
2271 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2272 as_fn_error $?
"missing argument to $ac_option"
2275 if test -n "$ac_unrecognized_opts"; then
2276 case $enable_option_checking in
2278 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2279 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2283 # Check all directory arguments for consistency.
2284 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2285 datadir sysconfdir sharedstatedir localstatedir includedir \
2286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2287 libdir localedir mandir runstatedir
2289 eval ac_val
=\$
$ac_var
2290 # Remove trailing slashes.
2293 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2294 eval $ac_var=\
$ac_val;;
2296 # Be sure to have absolute directory names.
2298 [\\/$
]* | ?
:[\\/]* ) continue;;
2299 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2301 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2304 # There might be people who depend on the old broken behavior: `$host'
2305 # used to hold the argument of --host etc.
2306 # FIXME: To remove some day.
2309 target
=$target_alias
2311 # FIXME: To remove some day.
2312 if test "x$host_alias" != x
; then
2313 if test "x$build_alias" = x
; then
2314 cross_compiling
=maybe
2315 elif test "x$build_alias" != "x$host_alias"; then
2321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2323 test "$silent" = yes && exec 6>/dev
/null
2326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2327 ac_ls_di
=`ls -di .` &&
2328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2329 as_fn_error $?
"working directory cannot be determined"
2330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2331 as_fn_error $?
"pwd does not report name of working directory"
2334 # Find the source files, if location was not specified.
2335 if test -z "$srcdir"; then
2336 ac_srcdir_defaulted
=yes
2337 # Try the directory containing this script, then the parent directory.
2338 ac_confdir
=`$as_dirname -- "$as_myself" ||
2339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2340 X"$as_myself" : 'X\(//\)[^/]' \| \
2341 X"$as_myself" : 'X\(//\)$' \| \
2342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2343 printf "%s\n" X"$as_myself" |
2344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2362 if test ! -r "$srcdir/$ac_unique_file"; then
2366 ac_srcdir_defaulted
=no
2368 if test ! -r "$srcdir/$ac_unique_file"; then
2369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2370 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2376 # When building in place, set srcdir=.
2377 if test "$ac_abs_confdir" = "$ac_pwd"; then
2380 # Remove unnecessary trailing slashes from srcdir.
2381 # Double slashes in file names in object file debugging info
2382 # mess up M-x gdb in Emacs.
2384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2386 for ac_var
in $ac_precious_vars; do
2387 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2389 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2394 # Report the --help message.
2396 if test "$ac_init_help" = "long"; then
2397 # Omit some internal or obsolete options to make the list less imposing.
2398 # This message is too long to be a string in the A/UX 3.1 sh.
2400 \`configure' configures Wine 9.4 to adapt to many kinds of systems.
2402 Usage: $0 [OPTION]... [VAR=VALUE]...
2404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2405 VAR=VALUE. See below for descriptions of some of the useful variables.
2407 Defaults for the options are specified in brackets.
2410 -h, --help display this help and exit
2411 --help=short display options specific to this package
2412 --help=recursive display the short help of all the included packages
2413 -V, --version display version information and exit
2414 -q, --quiet, --silent do not print \`checking ...' messages
2415 --cache-file=FILE cache test results in FILE [disabled]
2416 -C, --config-cache alias for \`--cache-file=config.cache'
2417 -n, --no-create do not create output files
2418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2420 Installation directories:
2421 --prefix=PREFIX install architecture-independent files in PREFIX
2422 [$ac_default_prefix]
2423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2426 By default, \`make install' will install all the files in
2427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2429 for instance \`--prefix=\$HOME'.
2431 For better control, use the options below.
2433 Fine tuning of the installation directories:
2434 --bindir=DIR user executables [EPREFIX/bin]
2435 --sbindir=DIR system admin executables [EPREFIX/sbin]
2436 --libexecdir=DIR program executables [EPREFIX/libexec]
2437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2440 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2441 --libdir=DIR object code libraries [EPREFIX/lib]
2442 --includedir=DIR C header files [PREFIX/include]
2443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2446 --infodir=DIR info documentation [DATAROOTDIR/info]
2447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2448 --mandir=DIR man documentation [DATAROOTDIR/man]
2449 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2450 --htmldir=DIR html documentation [DOCDIR]
2451 --dvidir=DIR dvi documentation [DOCDIR]
2452 --pdfdir=DIR pdf documentation [DOCDIR]
2453 --psdir=DIR ps documentation [DOCDIR]
2459 --x-includes=DIR X include files are
in DIR
2460 --x-libraries=DIR X library files are
in DIR
2463 --build=BUILD configure
for building on BUILD
[guessed
]
2464 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2468 if test -n "$ac_init_help"; then
2469 case $ac_init_help in
2470 short | recursive
) echo "Configuration of Wine 9.4:";;
2475 --disable-option-checking ignore unrecognized
--enable/--with options
2476 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2477 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2478 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2479 enable multiple architectures
for PE compilation
2480 --disable-win16 do not include Win16 support
2481 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2483 --disable-tests do not build the regression tests
2484 --enable-build-id include .buildid section in output objects
2485 --enable-maintainer-mode
2486 enable maintainer-specific build rules
2487 --enable-silent-rules use silent build rules (override: "make V=1")
2488 --enable-werror treat compilation warnings as errors
2489 --disable-largefile omit support for large files
2492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2494 --without-alsa do not use the Alsa sound support
2495 --without-capi do not use CAPI (ISDN support)
2496 --without-coreaudio do not use the CoreAudio sound support
2497 --without-cups do not use CUPS
2498 --without-dbus do not use DBus (dynamic device support)
2499 --without-fontconfig do not use fontconfig
2500 --without-freetype do not use the FreeType library
2501 --without-gettext do not use gettext
2502 --with-gettextpo use the GetTextPO library to rebuild po files
2503 --without-gphoto do not use gphoto (Digital Camera support)
2504 --without-gnutls do not use GnuTLS (schannel support)
2505 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2506 --without-gstreamer do not use GStreamer (codecs support)
2507 --without-inotify do not use inotify (filesystem change notifications)
2508 --without-krb5 do not use krb5 (Kerberos)
2509 --without-mingw do not use the MinGW cross-compiler
2510 --without-netapi do not use the Samba NetAPI library
2511 --without-opencl do not use OpenCL
2512 --without-opengl do not use OpenGL
2513 --without-osmesa do not use the OSMesa library
2514 --without-oss do not use the OSS sound support
2515 --without-pcap do not use the Packet Capture library
2516 --without-pcsclite do not use PCSC lite
2517 --without-pthread do not use the pthread library
2518 --without-pulse do not use PulseAudio sound support
2519 --without-sane do not use SANE (scanner support)
2520 --without-sdl do not use SDL
2521 --without-udev do not use udev (plug and play support)
2522 --without-unwind do not use the libunwind library (exception
2524 --without-usb do not use the libusb library
2525 --without-v4l2 do not use v4l2 (video capture)
2526 --without-vulkan do not use Vulkan
2527 --without-wayland do not build the Wayland driver
2528 --without-xcomposite do not use the Xcomposite extension
2529 --without-xcursor do not use the Xcursor extension
2530 --without-xfixes do not use Xfixes for clipboard change notifications
2531 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2532 --without-xinput do not use the Xinput extension
2533 --without-xinput2 do not use the Xinput 2 extension
2534 --without-xrandr do not use Xrandr (multi-monitor support)
2535 --without-xrender do not use the Xrender extension
2536 --without-xshape do not use the Xshape extension
2537 --without-xshm do not use XShm (shared memory extension)
2538 --without-xxf86vm do not use XFree video mode extension
2539 --with-system-dllpath=PATH
2540 load external PE dependencies from colon-separated
2542 --with-wine-tools=DIR use Wine tools from directory DIR
2543 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2544 --with-x use the X Window System
2546 Some influential environment variables:
2547 CC C compiler command
2548 CFLAGS C compiler flags
2549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2550 nonstandard directory <lib dir>
2551 LIBS libraries to pass to the linker, e.g. -l<library>
2552 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2553 you have headers in a nonstandard directory <include dir>
2554 CXX C++ compiler command
2555 CXXFLAGS C++ compiler flags
2556 OBJC Objective C compiler command
2557 OBJCFLAGS Objective C compiler flags
2559 C compiler flags for the PE faudio, overriding the bundled
2562 Linker flags for the PE faudio, overriding the bundled version
2563 FLUIDSYNTH_PE_CFLAGS
2564 C compiler flags for the PE fluidsynth, overriding the bundled
2567 Linker flags for the PE fluidsynth, overriding the bundled
2570 C compiler flags for the PE gsm, overriding the bundled version
2571 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2573 C compiler flags for the PE jpeg, overriding the bundled version
2575 Linker flags for the PE jpeg, overriding the bundled version
2577 C compiler flags for the PE jxr, overriding the bundled version
2578 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2580 C compiler flags for the PE lcms2, overriding the bundled
2583 Linker flags for the PE lcms2, overriding the bundled version
2585 C compiler flags for the PE ldap, overriding the bundled version
2587 Linker flags for the PE ldap, overriding the bundled version
2589 C compiler flags for the PE mpg123, overriding the bundled
2592 Linker flags for the PE mpg123, overriding the bundled version
2594 C compiler flags for the PE musl, overriding the bundled version
2596 Linker flags for the PE musl, overriding the bundled version
2598 C compiler flags for the PE png, overriding the bundled version
2599 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2601 C compiler flags for the PE tiff, overriding the bundled version
2603 Linker flags for the PE tiff, overriding the bundled version
2605 C compiler flags for the PE vkd3d, overriding the bundled
2608 Linker flags for the PE vkd3d, overriding the bundled version
2610 C compiler flags for the PE xml2, overriding the bundled version
2612 Linker flags for the PE xml2, overriding the bundled version
2614 C compiler flags for the PE xslt, overriding the bundled version
2616 Linker flags for the PE xslt, overriding the bundled version
2618 C compiler flags for the PE zlib, overriding the bundled version
2620 Linker flags for the PE zlib, overriding the bundled version
2622 C compiler flags for the PE zydis, overriding the bundled
2625 Linker flags for the PE zydis, overriding the bundled version
2626 XMKMF Path to xmkmf, Makefile generator for X Window System
2628 WAYLAND_CLIENT_CFLAGS
2629 C compiler flags for wayland-client, overriding pkg-config
2631 Linker flags for wayland-client, overriding pkg-config
2633 C compiler flags for xkbcommon, overriding pkg-config
2635 Linker flags for xkbcommon, overriding pkg-config
2637 C compiler flags for xkbregistry, overriding pkg-config
2639 Linker flags for xkbregistry, overriding pkg-config
2640 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2641 EGL_LIBS Linker flags for egl, overriding pkg-config
2643 C compiler flags for wayland-egl, overriding pkg-config
2645 Linker flags for wayland-egl, overriding pkg-config
2647 C compiler flags for libinotify, overriding pkg-config
2649 Linker flags for libinotify, overriding pkg-config
2650 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2651 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2653 C compiler flags for gnutls, overriding pkg-config
2654 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2655 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2656 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2657 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2658 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2660 C compiler flags for libgphoto2, overriding pkg-config
2662 Linker flags for libgphoto2, overriding pkg-config
2664 C compiler flags for libgphoto2_port, overriding pkg-config
2666 Linker flags for libgphoto2_port, overriding pkg-config
2668 C compiler flags for freetype2, overriding pkg-config
2670 Linker flags for freetype2, overriding pkg-config
2672 C compiler flags for libpulse, overriding pkg-config
2673 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2675 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2676 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2678 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2679 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2680 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2681 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2683 C compiler flags for libunwind, overriding pkg-config
2684 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2685 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2686 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2688 C compiler flags for capi20, overriding pkg-config
2689 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2690 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2691 CUPS_LIBS Linker flags for cups, overriding pkg-config
2693 C compiler flags for fontconfig, overriding pkg-config
2695 Linker flags for fontconfig, overriding pkg-config
2696 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2697 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2699 C compiler flags for krb5-gssapi, overriding pkg-config
2700 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2702 C compiler flags for netapi, overriding pkg-config
2703 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 Use these variables to override the choices made by `configure' or to
help
2706 it to
find libraries and programs with nonstandard names
/locations.
2708 Report bugs to
<wine-devel@winehq.org
>.
2709 Wine home page
: <https
://www.winehq.org
>.
2714 if test "$ac_init_help" = "recursive"; then
2715 # If there are subdirs, report their specific --help.
2716 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2717 test -d "$ac_dir" ||
2718 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2723 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2725 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2726 # A ".." for each directory in $ac_dir_suffix.
2727 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2728 case $ac_top_builddir_sub in
2729 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2730 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2733 ac_abs_top_builddir
=$ac_pwd
2734 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2735 # for backward compatibility:
2736 ac_top_builddir
=$ac_top_build_prefix
2739 .
) # We are building in place.
2741 ac_top_srcdir
=$ac_top_builddir_sub
2742 ac_abs_top_srcdir
=$ac_pwd ;;
2743 [\\/]* | ?
:[\\/]* ) # Absolute name.
2744 ac_srcdir
=$srcdir$ac_dir_suffix;
2745 ac_top_srcdir
=$srcdir
2746 ac_abs_top_srcdir
=$srcdir ;;
2748 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2749 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2750 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2752 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2754 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2755 # Check for configure.gnu first; this name is used for a wrapper for
2756 # Metaconfig's "Configure" on case-insensitive file systems.
2757 if test -f "$ac_srcdir/configure.gnu"; then
2759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2760 elif test -f "$ac_srcdir/configure"; then
2762 $SHELL "$ac_srcdir/configure" --help=recursive
2764 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2766 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2770 test -n "$ac_init_help" && exit $ac_status
2771 if $ac_init_version; then
2774 generated by GNU Autoconf
2.71
2776 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2777 This configure
script is free software
; the Free Software Foundation
2778 gives unlimited permission to copy
, distribute and modify it.
2783 ## ------------------------ ##
2784 ## Autoconf initialization. ##
2785 ## ------------------------ ##
2787 # ac_fn_c_try_compile LINENO
2788 # --------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_c_try_compile
()
2792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2793 rm -f conftest.
$ac_objext conftest.beam
2794 if { { ac_try
="$ac_compile"
2796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2803 if test -s conftest.err; then
2804 grep -v '^ *+' conftest.err >conftest.er1
2805 cat conftest.er1 >&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_compile
2826 # ac_fn_cxx_try_compile LINENO
2827 # ----------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_cxx_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest.beam
2833 if { { ac_try="$ac_compile"
2835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2836 *) ac_try_echo
=$ac_try;;
2838 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2842 if test -s conftest.err
; then
2843 grep -v '^ *+' conftest.err
>conftest.er1
2844 cat conftest.er1
>&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_cxx_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.
$ac_objext
2855 printf "%s\n" "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status
$ac_retval
2863 } # ac_fn_cxx_try_compile
2865 # ac_fn_c_try_link LINENO
2866 # -----------------------
2867 # Try to link conftest.$ac_ext, and return whether this succeeded.
2870 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2871 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2872 if { { ac_try
="$ac_link"
2874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 printf "%s\n" "$ac_try_echo"; } >&5
2879 (eval "$ac_link") 2>conftest.err
2881 if test -s conftest.err; then
2882 grep -v '^ *+' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2884 mv -f conftest.er1 conftest.err
2886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest$ac_exeext && {
2891 test "$cross_compiling" = yes ||
2892 test -x conftest$ac_exeext
2897 printf "%s\n" "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2902 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2903 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2904 # interfere with the next link command; also delete a directory that is
2905 # left behind by Apple's compiler. We do this before executing the actions.
2906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 as_fn_set_status $ac_retval
2910 } # ac_fn_c_try_link
2912 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2913 # -------------------------------------------------------
2914 # Tests whether HEADER exists and can be compiled using the include files in
2915 # INCLUDES, setting the cache variable VAR accordingly.
2916 ac_fn_c_check_header_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2920 printf %s "checking for $2... " >&6; }
2921 if eval test \${$3+y}
2923 printf %s "(cached) " >&6
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2930 if ac_fn_c_try_compile "$LINENO"
2936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2940 printf "%s\n" "$ac_res" >&6; }
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 } # ac_fn_c_check_header_compile
2945 # ac_fn_objc_try_compile LINENO
2946 # -----------------------------
2947 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2948 ac_fn_objc_try_compile ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 rm -f conftest.$ac_objext conftest.beam
2952 if { { ac_try="$ac_compile"
2954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2955 *) ac_try_echo
=$ac_try;;
2957 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 printf "%s\n" "$ac_try_echo"; } >&5
2959 (eval "$ac_compile") 2>conftest.err
2961 if test -s conftest.err
; then
2962 grep -v '^ *+' conftest.err
>conftest.er1
2963 cat conftest.er1
>&5
2964 mv -f conftest.er1 conftest.err
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } && {
2968 test -z "$ac_objc_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.
$ac_objext
2974 printf "%s\n" "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status
$ac_retval
2982 } # ac_fn_objc_try_compile
2984 # ac_fn_c_check_func LINENO FUNC VAR
2985 # ----------------------------------
2986 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2987 ac_fn_c_check_func
()
2989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2991 printf %s
"checking for $2... " >&6; }
2992 if eval test \
${$3+y}
2994 printf %s
"(cached) " >&6
2996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2998 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3000 #define $2 innocuous_$2
3002 /* System header to define __stub macros and hopefully few prototypes,
3003 which can conflict with char $2 (); below. */
3008 /* Override any GCC internal prototype to avoid an error.
3009 Use char because int might match the return type of a GCC
3010 builtin and then its argument prototype would still apply. */
3015 /* The GNU C library defines this for functions which it implements
3016 to always fail with ENOSYS. Some functions are actually named
3017 something starting with __ and the normal name is an alias. */
3018 #if defined __stub_$2 || defined __stub___$2
3030 if ac_fn_c_try_link
"$LINENO"
3036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
3037 conftest
$ac_exeext conftest.
$ac_ext
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 printf "%s\n" "$ac_res" >&6; }
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 } # ac_fn_c_check_func
3046 # ac_fn_c_try_cpp LINENO
3047 # ----------------------
3048 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3051 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3052 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 printf "%s\n" "$ac_try_echo"; } >&5
3059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3061 if test -s conftest.err; then
3062 grep -v '^ *+' conftest.err >conftest.er1
3063 cat conftest.er1 >&5
3064 mv -f conftest.er1 conftest.err
3066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; } > conftest.i && {
3068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3069 test ! -s conftest.err
3074 printf "%s\n" "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3084 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3085 # ----------------------------------------------------
3086 # Tries to find if the field MEMBER exists in type AGGR, after including
3087 # INCLUDES, setting cache variable VAR accordingly.
3088 ac_fn_c_check_member ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3092 printf %s "checking for $2.$3... " >&6; }
3093 if eval test \${$4+y}
3095 printf %s "(cached) " >&6
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3110 if ac_fn_c_try_compile "$LINENO"
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3121 if (sizeof ac_aggr.$3)
3127 if ac_fn_c_try_compile "$LINENO"
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 printf "%s\n" "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_member
3144 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3145 # -------------------------------------------
3146 # Tests whether TYPE exists after having included INCLUDES, setting cache
3147 # variable VAR accordingly.
3148 ac_fn_c_check_type ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3152 printf %s "checking for $2... " >&6; }
3153 if eval test \${$3+y}
3155 printf %s "(cached) " >&6
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3170 if ac_fn_c_try_compile "$LINENO"
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3184 if ac_fn_c_try_compile "$LINENO"
3190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 printf "%s\n" "$ac_res" >&6; }
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 } # ac_fn_c_check_type
3200 ac_configure_args_raw=
3205 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3207 as_fn_append ac_configure_args_raw " '$ac_arg'"
3210 case $ac_configure_args_raw in
3214 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3215 ac_unsafe_a="$ac_unsafe_z#~
"
3216 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3217 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3220 cat >config.log <<_ACEOF
3221 This file contains any messages produced by compilers while
3222 running configure, to aid debugging if configure makes a mistake.
3224 It was created by Wine $as_me 9.4, which was
3225 generated by GNU Autoconf 2.71. Invocation command line was
3227 $ $0$ac_configure_args_raw
3237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3249 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 case $as_dir in #(((
3263 *) as_dir=$as_dir/ ;;
3265 printf "%s
\n" "PATH
: $as_dir"
3281 # Keep a trace of the command line.
3282 # Strip out --no-create and --no-recursion so they do not pile up.
3283 # Strip out --silent because we don't want to record it for future runs.
3284 # Also quote any args containing shell meta-characters.
3285 # Make two passes to allow for proper duplicate-argument suppression.
3289 ac_must_keep_next=false
3295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3297 | -silent | --silent | --silen | --sile | --sil)
3300 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3303 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3305 as_fn_append ac_configure_args1 " '$ac_arg'"
3306 if test $ac_must_keep_next = true; then
3307 ac_must_keep_next=false # Got value, back to normal.
3310 *=* | --config-cache | -C | -disable-* | --disable-* \
3311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3313 | -with-* | --with-* | -without-* | --without-* | --x)
3314 case "$ac_configure_args0 " in
3315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3318 -* ) ac_must_keep_next=true ;;
3321 as_fn_append ac_configure_args " '$ac_arg'"
3326 { ac_configure_args0=; unset ac_configure_args0;}
3327 { ac_configure_args1=; unset ac_configure_args1;}
3329 # When interrupted or exit'd, cleanup temporary files, and complete
3330 # config.log. We remove comments because anyway the quotes in there
3331 # would cause problems or look ugly.
3332 # WARNING: Use '\'' to represent an apostrophe within the trap.
3333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3334 trap 'exit_status=$?
3337 # Save into config.log some information that might help in debugging.
3341 printf "%s
\n" "## ---------------- ##
3342 ## Cache variables. ##
3343 ## ---------------- ##"
3345 # The following way of writing the cache mishandles newlines in values,
3347 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3348 eval ac_val
=\$
$ac_var
3352 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3356 _ | IFS | as_nl
) ;; #(
3357 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3358 *) { eval $ac_var=; unset $ac_var;} ;;
3363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3364 *${as_nl}ac_space
=\
*)
3366 "s/'\''/'\''\\\\'\'''\''/g;
3367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3377 printf "%s\n" "## ----------------- ##
3378 ## Output variables. ##
3379 ## ----------------- ##"
3381 for ac_var
in $ac_subst_vars
3383 eval ac_val
=\$
$ac_var
3385 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3387 printf "%s\n" "$ac_var='\''$ac_val'\''"
3391 if test -n "$ac_subst_files"; then
3392 printf "%s\n" "## ------------------- ##
3393 ## File substitutions. ##
3394 ## ------------------- ##"
3396 for ac_var in $ac_subst_files
3398 eval ac_val=\$$ac_var
3400 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3402 printf "%s\n" "$ac_var='\''$ac_val'\''"
3407 if test -s confdefs.h
; then
3408 printf "%s\n" "## ----------- ##
3415 test "$ac_signal" != 0 &&
3416 printf "%s\n" "$as_me: caught signal $ac_signal"
3417 printf "%s\n" "$as_me: exit $exit_status"
3419 rm -f core
*.core core.conftest.
* &&
3420 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3423 for ac_signal in 1 2 13 15; do
3424 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3428 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3429 rm -f -r conftest* confdefs.h
3431 printf "%s\n" "/* confdefs.h */" > confdefs.h
3433 # Predefined preprocessor variables.
3435 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3437 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3439 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3441 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3443 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3445 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3448 # Let the site file select an alternate cache file if it wants to.
3449 # Prefer an explicitly selected file to automatically selected ones.
3450 if test -n "$CONFIG_SITE"; then
3451 ac_site_files="$CONFIG_SITE"
3452 elif test "x$prefix" != xNONE; then
3453 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3455 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3458 for ac_site_file in $ac_site_files
3460 case $ac_site_file in #(
3464 ac_site_file=./$ac_site_file ;;
3466 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3468 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3469 sed 's
/^
/|
/' "$ac_site_file" >&5
3471 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3473 as_fn_error $? "failed to load site script $ac_site_file
3474 See \`config.log
' for more details" "$LINENO" 5; }
3478 if test -r "$cache_file"; then
3479 # Some versions of bash will fail to source /dev/null (special files
3480 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3481 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3483 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3485 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3486 *) . "./$cache_file";;
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3491 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3495 # Test code for whether the C compiler supports C89 (global declarations)
3496 ac_c_conftest_c89_globals='
3497 /* Does the compiler advertise C89 conformance?
3498 Do not
test the value of __STDC__
, because some compilers
set it to
0
3499 while being otherwise adequately conformant.
*/
3500 #if !defined __STDC__
3501 # error "Compiler does not advertise C89 conformance"
3507 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3508 struct buf
{ int x
; };
3509 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3510 static char
*e
(p
, i
)
3516 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3521 s
= g
(p
, va_arg
(v
,int
));
3526 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3527 function prototypes and stuff
, but not \xHH hex character constants.
3528 These
do not provoke an error unfortunately
, instead are silently treated
3529 as an
"x". The following induces an error
, until -std is added to get
3530 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3531 array size
at least. It is necessary to
write \x00 == 0 to get something
3532 that is true only with
-std.
*/
3533 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3535 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3536 inside
strings and character constants.
*/
3537 #define FOO(x) '\''x'\''
3538 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3540 int
test (int i
, double x
);
3541 struct s1
{int
(*f
) (int a
);};
3542 struct s2
{int
(*f
) (double a
);};
3543 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3546 # Test code for whether the C compiler supports C89 (body of main).
3547 ac_c_conftest_c89_main='
3548 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3551 # Test code for whether the C compiler supports C99 (global declarations)
3552 ac_c_conftest_c99_globals='
3553 // Does the compiler advertise C99 conformance?
3554 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3555 # error "Compiler does not advertise C99 conformance"
3558 #include <stdbool.h>
3559 extern int puts
(const char
*);
3560 extern int
printf (const char
*, ...
);
3561 extern int dprintf
(int
, const char
*, ...
);
3562 extern void
*malloc
(size_t
);
3564 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3565 // dprintf is used instead of fprintf to avoid needing to
declare
3567 #define debug(...) dprintf (2, __VA_ARGS__)
3568 #define showlist(...) puts (#__VA_ARGS__)
3569 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3571 test_varargs_macros
(void
)
3576 debug
("X = %d\n", x
);
3577 showlist
(The first
, second
, and third items.
);
3578 report
(x
>y
, "x is %d but y is %d", x
, y
);
3581 // Check long long types.
3582 #define BIG64 18446744073709551615ull
3583 #define BIG32 4294967295ul
3584 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3586 #error "your preprocessor is broken"
3590 #error "your preprocessor is broken"
3592 static long long int bignum
= -9223372036854775807LL;
3593 static unsigned long long int ubignum
= BIG64
;
3595 struct incomplete_array
3603 const wchar_t
*name
;
3607 typedef const char
*ccp
;
3610 test_restrict
(ccp restrict text
)
3612 // See
if C
++-style comments work.
3613 // Iterate through items via the restricted pointer.
3614 // Also check
for declarations
in for loops.
3615 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3620 // Check varargs and va_copy.
3622 test_varargs
(const char
*format
, ...
)
3625 va_start
(args
, format
);
3627 va_copy
(args_copy
, args
);
3629 const char
*str
= "";
3637 case '\''s
'\'': // string
3638 str
= va_arg
(args_copy
, const char
*);
3640 case '\''d
'\'': // int
3641 number
= va_arg
(args_copy
, int
);
3643 case '\''f
'\'': // float
3644 fnumber
= va_arg
(args_copy
, double
);
3653 return *str
&& number
&& fnumber
;
3657 # Test code for whether the C compiler supports C99 (body of main).
3658 ac_c_conftest_c99_main='
3660 _Bool success
= false
;
3661 success |
= (argc
!= 0);
3664 if (test_restrict
("String literal") == 0)
3666 char
*restrict newvar
= "Another string";
3669 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3670 test_varargs_macros
();
3672 // Check flexible array members.
3673 struct incomplete_array
*ia
=
3674 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3676 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3677 ia-
>data
[i
] = i
* 1.234;
3679 // Check named initializers.
3680 struct named_init ni
= {
3682 .name
= L
"Test wide string",
3683 .average
= 543.34343,
3688 int dynamic_array
[ni.number
];
3689 dynamic_array
[0] = argv
[0][0];
3690 dynamic_array
[ni.number
- 1] = 543;
3692 // work around unused variable warnings
3693 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3694 || dynamic_array
[ni.number
- 1] != 543);
3697 # Test code for whether the C compiler supports C11 (global declarations)
3698 ac_c_conftest_c11_globals='
3699 // Does the compiler advertise C11 conformance?
3700 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3701 # error "Compiler does not advertise C11 conformance"
3705 char _Alignas
(double
) aligned_as_double
;
3706 char _Alignas
(0) no_special_alignment
;
3707 extern char aligned_as_int
;
3708 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3713 int_alignment
= _Alignof
(int
),
3714 int_array_alignment
= _Alignof
(int
[100]),
3715 char_alignment
= _Alignof
(char
)
3717 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3720 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3722 // Check _Static_assert.
3723 struct test_static_assert
3726 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3727 "_Static_assert does not work in struct");
3731 // Check UTF-8 literals.
3732 #define u8 syntax error!
3733 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3735 // Check duplicate typedefs.
3736 typedef long
*long_ptr
;
3737 typedef long int
*long_ptr
;
3738 typedef long_ptr long_ptr
;
3740 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3744 struct
{ int i
; int j
; };
3745 struct
{ int k
; long int l
; } w
;
3751 # Test code for whether the C compiler supports C11 (body of main).
3752 ac_c_conftest_c11_main='
3753 _Static_assert
((offsetof
(struct anonymous
, i
)
3754 == offsetof
(struct anonymous
, w.k
)),
3755 "Anonymous union alignment botch");
3761 # Test code for whether the C compiler supports C11 (complete).
3762 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3763 ${ac_c_conftest_c99_globals}
3764 ${ac_c_conftest_c11_globals}
3767 main (int argc, char **argv)
3770 ${ac_c_conftest_c89_main}
3771 ${ac_c_conftest_c99_main}
3772 ${ac_c_conftest_c11_main}
3777 # Test code for whether the C compiler supports C99 (complete).
3778 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3779 ${ac_c_conftest_c99_globals}
3782 main (int argc, char **argv)
3785 ${ac_c_conftest_c89_main}
3786 ${ac_c_conftest_c99_main}
3791 # Test code for whether the C compiler supports C89 (complete).
3792 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3795 main (int argc, char **argv)
3798 ${ac_c_conftest_c89_main}
3803 # Test code for whether the C++ compiler supports C++98 (global declarations)
3804 ac_cxx_conftest_cxx98_globals='
3805 // Does the compiler advertise C
++98 conformance?
3806 #if !defined __cplusplus || __cplusplus < 199711L
3807 # error "Compiler does not advertise C++98 conformance"
3810 // These inclusions are to reject old compilers that
3811 // lack the unsuffixed header files.
3813 #include <exception>
3815 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3816 extern void assert
(int
);
3818 extern int strcmp
(const char
*, const char
*);
3821 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3822 using std
::exception
;
3827 void test_exception_syntax
()
3831 } catch
(const char
*s
) {
3832 // Extra parentheses suppress a warning when building autoconf itself
,
3833 // due to lint rules shared with
more typical C programs.
3834 assert
(!(strcmp
) (s
, "test"));
3838 template
<typename T
> struct test_template
3841 explicit test_template
(T t
) : val
(t
) {}
3842 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3845 } // anonymous namespace
3848 # Test code for whether the C++ compiler supports C++98 (body of main)
3849 ac_cxx_conftest_cxx98_main='
3853 test_exception_syntax
();
3854 test_template
<double
> tt
(2.0);
3855 assert
(tt.add
(4) == 6.0);
3856 assert
(true
&& !false
);
3860 # Test code for whether the C++ compiler supports C++11 (global declarations)
3861 ac_cxx_conftest_cxx11_globals='
3862 // Does the compiler advertise C
++ 2011 conformance?
3863 #if !defined __cplusplus || __cplusplus < 201103L
3864 # error "Compiler does not advertise C++11 conformance"
3869 constexpr int get_val
() { return 20; }
3880 delegate
(int n
) : n
(n
) {}
3881 delegate
(): delegate
(2354) {}
3883 virtual int getval
() { return this-
>n
; };
3888 class overridden
: public delegate
3891 overridden
(int n
): delegate
(n
) {}
3892 virtual int getval
() override final
{ return this-
>n
* 2; }
3898 nocopy
(int i
): i
(i
) {}
3900 nocopy
(const nocopy
&) = delete
;
3901 nocopy
& operator
=(const nocopy
&) = delete
;
3906 // for testing lambda expressions
3907 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3912 // for testing variadic templates and trailing
return types
3913 template
<typename V
> auto
sum(V first
) -> V
3917 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3919 return first
+ sum(rest...
);
3924 # Test code for whether the C++ compiler supports C++11 (body of main)
3925 ac_cxx_conftest_cxx11_main='
3927 // Test auto and decltype
3929 auto a2
= 48573953.4;
3930 auto a3
= "String literal";
3933 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3935 decltype
(a2
) a4
= 34895.034;
3939 short sa
[cxx11test
::get_val
()] = { 0 };
3942 // Test initializer lists
3943 cxx11test
::testinit il
= { 4323, 435234.23544 };
3946 // Test range-based
for
3947 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3948 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3949 for (auto
&x
: array
) { x
+= 23; }
3952 // Test lambda expressions
3953 using cxx11test
::eval;
3954 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3956 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3958 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3962 // Test use of variadic templates
3963 using cxx11test
::sum;
3966 auto c
= sum(1.0, 2.0, 3.0);
3969 // Test constructor delegation
3970 cxx11test
::delegate d1
;
3971 cxx11test
::delegate d2
();
3972 cxx11test
::delegate d3
(45);
3975 // Test override and final
3976 cxx11test
::overridden o1
(55464);
3983 // Test template brackets
3984 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3988 char const
*utf8
= u8
"UTF-8 string \u2500";
3989 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3990 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3994 # Test code for whether the C compiler supports C++11 (complete).
3995 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3996 ${ac_cxx_conftest_cxx11_globals}
3999 main (int argc, char **argv)
4002 ${ac_cxx_conftest_cxx98_main}
4003 ${ac_cxx_conftest_cxx11_main}
4008 # Test code for whether the C compiler supports C++98 (complete).
4009 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4011 main (int argc, char **argv)
4014 ${ac_cxx_conftest_cxx98_main}
4019 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4020 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4021 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4022 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4023 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4024 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4025 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4026 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4027 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4029 # Auxiliary files required by this configure script.
4030 ac_aux_files="config.guess config.sub"
4032 # Locations in which to look for auxiliary files.
4033 ac_aux_dir_candidates="${srcdir}/tools"
4035 # Search for a directory containing all of the required auxiliary files,
4036 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4037 # If we don't
find one directory that contains all the files we need
,
4038 # we report the set of missing files from the *first* directory in
4039 # $ac_aux_dir_candidates and give up.
4040 ac_missing_aux_files
=""
4041 ac_first_candidate
=:
4042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 for as_dir
in $ac_aux_dir_candidates
4048 case $as_dir in #(((
4051 *) as_dir
=$as_dir/ ;;
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4056 ac_aux_dir_found
=yes
4058 for ac_aux
in $ac_aux_files
4060 # As a special case, if "install-sh" is required, that requirement
4061 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4062 # and $ac_install_sh is set appropriately for whichever one is found.
4063 if test x
"$ac_aux" = x
"install-sh"
4065 if test -f "${as_dir}install-sh"; then
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4067 ac_install_sh
="${as_dir}install-sh -c"
4068 elif test -f "${as_dir}install.sh"; then
4069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4070 ac_install_sh
="${as_dir}install.sh -c"
4071 elif test -f "${as_dir}shtool"; then
4072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4073 ac_install_sh
="${as_dir}shtool install -c"
4076 if $ac_first_candidate; then
4077 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4083 if test -f "${as_dir}${ac_aux}"; then
4084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4087 if $ac_first_candidate; then
4088 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4095 if test "$ac_aux_dir_found" = yes; then
4096 ac_aux_dir
="$as_dir"
4099 ac_first_candidate
=false
4108 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4112 # These three variables are undocumented and unsupported,
4113 # and are intended to be withdrawn in a future Autoconf release.
4114 # They can cause serious problems if a builder's source tree is in a directory
4115 # whose full name contains unusual characters.
4116 if test -f "${ac_aux_dir}config.guess"; then
4117 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4119 if test -f "${ac_aux_dir}config.sub"; then
4120 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4122 if test -f "$ac_aux_dir/configure"; then
4123 ac_configure
="$SHELL ${ac_aux_dir}configure"
4126 # Check that the precious variables saved in the cache have kept the same
4128 ac_cache_corrupted
=false
4129 for ac_var
in $ac_precious_vars; do
4130 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4131 eval ac_new_set
=\
$ac_env_${ac_var}_set
4132 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4133 eval ac_new_val
=\
$ac_env_${ac_var}_value
4134 case $ac_old_set,$ac_new_set in
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4138 ac_cache_corrupted
=: ;;
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4141 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4142 ac_cache_corrupted
=: ;;
4145 if test "x$ac_old_val" != "x$ac_new_val"; then
4146 # differences in whitespace do not lead to failure.
4147 ac_old_val_w
=`echo x $ac_old_val`
4148 ac_new_val_w
=`echo x $ac_new_val`
4149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4151 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4152 ac_cache_corrupted
=:
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4155 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4156 eval $ac_var=\
$ac_old_val
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4159 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4161 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4164 # Pass precious variables to config.status.
4165 if test "$ac_new_set" = set; then
4167 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4168 *) ac_arg
=$ac_var=$ac_new_val ;;
4170 case " $ac_configure_args " in
4171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4172 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4176 if $ac_cache_corrupted; then
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4180 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4181 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4182 and start over" "$LINENO" 5
4184 ## -------------------- ##
4185 ## Main body of script. ##
4186 ## -------------------- ##
4189 ac_cpp
='$CPP $CPPFLAGS'
4190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4196 ac_config_headers
="$ac_config_headers include/config.h"
4200 libwine_version
="1.0"
4203 # Check whether --enable-archs was given.
4204 if test ${enable_archs+y}
4206 enableval
=$enable_archs;
4209 # Check whether --enable-win16 was given.
4210 if test ${enable_win16+y}
4212 enableval
=$enable_win16;
4215 # Check whether --enable-win64 was given.
4216 if test ${enable_win64+y}
4218 enableval
=$enable_win64;
4221 # Check whether --enable-tests was given.
4222 if test ${enable_tests+y}
4224 enableval
=$enable_tests;
4227 # Check whether --enable-build-id was given.
4228 if test ${enable_build_id+y}
4230 enableval
=$enable_build_id;
4233 # Check whether --enable-maintainer-mode was given.
4234 if test ${enable_maintainer_mode+y}
4236 enableval
=$enable_maintainer_mode;
4239 # Check whether --enable-silent-rules was given.
4240 if test ${enable_silent_rules+y}
4242 enableval
=$enable_silent_rules;
4245 # Check whether --enable-werror was given.
4246 if test ${enable_werror+y}
4248 enableval
=$enable_werror;
4253 # Check whether --with-alsa was given.
4254 if test ${with_alsa+y}
4260 # Check whether --with-capi was given.
4261 if test ${with_capi+y}
4267 # Check whether --with-coreaudio was given.
4268 if test ${with_coreaudio+y}
4270 withval
=$with_coreaudio;
4274 # Check whether --with-cups was given.
4275 if test ${with_cups+y}
4281 # Check whether --with-dbus was given.
4282 if test ${with_dbus+y}
4288 # Check whether --with-fontconfig was given.
4289 if test ${with_fontconfig+y}
4291 withval
=$with_fontconfig;
4295 # Check whether --with-freetype was given.
4296 if test ${with_freetype+y}
4298 withval
=$with_freetype;
4302 # Check whether --with-gettext was given.
4303 if test ${with_gettext+y}
4305 withval
=$with_gettext;
4309 # Check whether --with-gettextpo was given.
4310 if test ${with_gettextpo+y}
4312 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4316 # Check whether --with-gphoto was given.
4317 if test ${with_gphoto+y}
4319 withval
=$with_gphoto;
4323 # Check whether --with-gnutls was given.
4324 if test ${with_gnutls+y}
4326 withval
=$with_gnutls;
4330 # Check whether --with-gssapi was given.
4331 if test ${with_gssapi+y}
4333 withval
=$with_gssapi;
4337 # Check whether --with-gstreamer was given.
4338 if test ${with_gstreamer+y}
4340 withval
=$with_gstreamer;
4344 # Check whether --with-inotify was given.
4345 if test ${with_inotify+y}
4347 withval
=$with_inotify;
4351 # Check whether --with-krb5 was given.
4352 if test ${with_krb5+y}
4358 # Check whether --with-mingw was given.
4359 if test ${with_mingw+y}
4361 withval
=$with_mingw;
4365 # Check whether --with-netapi was given.
4366 if test ${with_netapi+y}
4368 withval
=$with_netapi;
4372 # Check whether --with-opencl was given.
4373 if test ${with_opencl+y}
4375 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4379 # Check whether --with-opengl was given.
4380 if test ${with_opengl+y}
4382 withval
=$with_opengl;
4386 # Check whether --with-osmesa was given.
4387 if test ${with_osmesa+y}
4389 withval
=$with_osmesa;
4393 # Check whether --with-oss was given.
4394 if test ${with_oss+y}
4400 # Check whether --with-pcap was given.
4401 if test ${with_pcap+y}
4403 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4407 # Check whether --with-pcsclite was given.
4408 if test ${with_pcsclite+y}
4410 withval
=$with_pcsclite;
4414 # Check whether --with-pthread was given.
4415 if test ${with_pthread+y}
4417 withval
=$with_pthread;
4421 # Check whether --with-pulse was given.
4422 if test ${with_pulse+y}
4424 withval
=$with_pulse;
4428 # Check whether --with-sane was given.
4429 if test ${with_sane+y}
4435 # Check whether --with-sdl was given.
4436 if test ${with_sdl+y}
4442 # Check whether --with-udev was given.
4443 if test ${with_udev+y}
4449 # Check whether --with-unwind was given.
4450 if test ${with_unwind+y}
4452 withval
=$with_unwind;
4456 # Check whether --with-usb was given.
4457 if test ${with_usb+y}
4463 # Check whether --with-v4l2 was given.
4464 if test ${with_v4l2+y}
4470 # Check whether --with-vulkan was given.
4471 if test ${with_vulkan+y}
4473 withval
=$with_vulkan;
4477 # Check whether --with-wayland was given.
4478 if test ${with_wayland+y}
4480 withval
=$with_wayland;
4484 # Check whether --with-xcomposite was given.
4485 if test ${with_xcomposite+y}
4487 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4491 # Check whether --with-xcursor was given.
4492 if test ${with_xcursor+y}
4494 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4498 # Check whether --with-xfixes was given.
4499 if test ${with_xfixes+y}
4501 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4505 # Check whether --with-xinerama was given.
4506 if test ${with_xinerama+y}
4508 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4512 # Check whether --with-xinput was given.
4513 if test ${with_xinput+y}
4515 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4519 # Check whether --with-xinput2 was given.
4520 if test ${with_xinput2+y}
4522 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4526 # Check whether --with-xrandr was given.
4527 if test ${with_xrandr+y}
4529 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4533 # Check whether --with-xrender was given.
4534 if test ${with_xrender+y}
4536 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4540 # Check whether --with-xshape was given.
4541 if test ${with_xshape+y}
4543 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4547 # Check whether --with-xshm was given.
4548 if test ${with_xshm+y}
4550 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4554 # Check whether --with-xxf86vm was given.
4555 if test ${with_xxf86vm+y}
4557 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
4562 # Check whether --with-system-dllpath was given.
4563 if test ${with_system_dllpath+y}
4565 withval
=$with_system_dllpath; system_dllpath
=$withval
4570 # Check whether --with-wine-tools was given.
4571 if test ${with_wine_tools+y}
4573 withval
=$with_wine_tools;
4577 # Check whether --with-wine64 was given.
4578 if test ${with_wine64+y}
4580 withval
=$with_wine64;
4587 # Make sure we can run config.sub.
4588 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4589 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4592 printf %s
"checking build system type... " >&6; }
4593 if test ${ac_cv_build+y}
4595 printf %s
"(cached) " >&6
4597 ac_build_alias
=$build_alias
4598 test "x$ac_build_alias" = x
&&
4599 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4600 test "x$ac_build_alias" = x
&&
4601 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4602 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4603 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4607 printf "%s\n" "$ac_cv_build" >&6; }
4608 case $ac_cv_build in
4610 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4613 ac_save_IFS
=$IFS; IFS
='-'
4619 # Remember, the first character of IFS is used to create $*,
4620 # except with old shells:
4623 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4627 printf %s
"checking host system type... " >&6; }
4628 if test ${ac_cv_host+y}
4630 printf %s
"(cached) " >&6
4632 if test "x$host_alias" = x
; then
4633 ac_cv_host
=$ac_cv_build
4635 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4636 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4641 printf "%s\n" "$ac_cv_host" >&6; }
4644 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4647 ac_save_IFS
=$IFS; IFS
='-'
4653 # Remember, the first character of IFS is used to create $*,
4654 # except with old shells:
4657 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4661 dlldir
=\
${libdir}/wine
4663 fontdir
=\
${datadir}/wine
/fonts
4665 nlsdir
=\
${datadir}/wine
/nls
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4671 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4673 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4674 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4676 printf %s
"(cached) " >&6
4678 cat >conftest.
make <<\_ACEOF
4681 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4683 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4684 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4686 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4688 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4692 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 printf "%s\n" "yes" >&6; }
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4699 SET_MAKE
="MAKE=${MAKE-make}"
4712 ac_cpp
='$CPP $CPPFLAGS'
4713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4716 if test -n "$ac_tool_prefix"; then
4717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4718 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 printf %s
"checking for $ac_word... " >&6; }
4721 if test ${ac_cv_prog_CC+y}
4723 printf %s
"(cached) " >&6
4725 if test -n "$CC"; then
4726 ac_cv_prog_CC
="$CC" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 case $as_dir in #(((
4735 *) as_dir
=$as_dir/ ;;
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4739 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4750 if test -n "$CC"; then
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4752 printf "%s\n" "$CC" >&6; }
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 printf "%s\n" "no" >&6; }
4760 if test -z "$ac_cv_prog_CC"; then
4762 # Extract the first word of "gcc", so it can be a program name with args.
4763 set dummy gcc
; ac_word
=$2
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 printf %s
"checking for $ac_word... " >&6; }
4766 if test ${ac_cv_prog_ac_ct_CC+y}
4768 printf %s
"(cached) " >&6
4770 if test -n "$ac_ct_CC"; then
4771 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 case $as_dir in #(((
4780 *) as_dir
=$as_dir/ ;;
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_ac_ct_CC
="gcc"
4785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4794 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4795 if test -n "$ac_ct_CC"; then
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4797 printf "%s\n" "$ac_ct_CC" >&6; }
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 printf "%s\n" "no" >&6; }
4803 if test "x$ac_ct_CC" = x
; then
4806 case $cross_compiling:$ac_tool_warned in
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned
=yes ;;
4818 if test -z "$CC"; then
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 printf %s
"checking for $ac_word... " >&6; }
4824 if test ${ac_cv_prog_CC+y}
4826 printf %s
"(cached) " >&6
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC
="$CC" # Let the user override the test.
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4835 case $as_dir in #(((
4838 *) as_dir
=$as_dir/ ;;
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4864 if test -z "$CC"; then
4865 # Extract the first word of "cc", so it can be a program name with args.
4866 set dummy cc
; ac_word
=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s
"checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_CC+y}
4871 printf %s
"(cached) " >&6
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC
="$CC" # Let the user override the test.
4877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4881 case $as_dir in #(((
4884 *) as_dir
=$as_dir/ ;;
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4888 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4889 ac_prog_rejected
=yes
4893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4900 if test $ac_prog_rejected = yes; then
4901 # We found a bogon in the path, so make sure we never use it.
4902 set dummy
$ac_cv_prog_CC
4904 if test $# != 0; then
4905 # We chose a different compiler from the bogus one.
4906 # However, it has the same basename, so the bogon will be chosen
4907 # first if we set CC to just the basename; use the full file name.
4909 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4915 if test -n "$CC"; then
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917 printf "%s\n" "$CC" >&6; }
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 printf "%s\n" "no" >&6; }
4925 if test -z "$CC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog
in cl.exe
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s
"checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_CC+y}
4935 printf %s
"(cached) " >&6
4937 if test -n "$CC"; then
4938 ac_cv_prog_CC
="$CC" # Let the user override the test.
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 case $as_dir in #(((
4947 *) as_dir
=$as_dir/ ;;
4949 for ac_exec_ext
in '' $ac_executable_extensions; do
4950 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4962 if test -n "$CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4964 printf "%s\n" "$CC" >&6; }
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4971 test -n "$CC" && break
4974 if test -z "$CC"; then
4976 for ac_prog
in cl.exe
4978 # Extract the first word of "$ac_prog", so it can be a program name with args.
4979 set dummy
$ac_prog; ac_word
=$2
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 printf %s
"checking for $ac_word... " >&6; }
4982 if test ${ac_cv_prog_ac_ct_CC+y}
4984 printf %s
"(cached) " >&6
4986 if test -n "$ac_ct_CC"; then
4987 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 case $as_dir in #(((
4996 *) as_dir
=$as_dir/ ;;
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_CC
="$ac_prog"
5001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5010 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5011 if test -n "$ac_ct_CC"; then
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013 printf "%s\n" "$ac_ct_CC" >&6; }
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 printf "%s\n" "no" >&6; }
5020 test -n "$ac_ct_CC" && break
5023 if test "x$ac_ct_CC" = x
; then
5026 case $cross_compiling:$ac_tool_warned in
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned
=yes ;;
5037 if test -z "$CC"; then
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5040 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 printf %s
"checking for $ac_word... " >&6; }
5043 if test ${ac_cv_prog_CC+y}
5045 printf %s
"(cached) " >&6
5047 if test -n "$CC"; then
5048 ac_cv_prog_CC
="$CC" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 case $as_dir in #(((
5057 *) as_dir
=$as_dir/ ;;
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5072 if test -n "$CC"; then
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5074 printf "%s\n" "$CC" >&6; }
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 printf "%s\n" "no" >&6; }
5082 if test -z "$ac_cv_prog_CC"; then
5084 # Extract the first word of "clang", so it can be a program name with args.
5085 set dummy clang
; ac_word
=$2
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 printf %s
"checking for $ac_word... " >&6; }
5088 if test ${ac_cv_prog_ac_ct_CC+y}
5090 printf %s
"(cached) " >&6
5092 if test -n "$ac_ct_CC"; then
5093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 case $as_dir in #(((
5102 *) as_dir
=$as_dir/ ;;
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_ac_ct_CC
="clang"
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5116 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5117 if test -n "$ac_ct_CC"; then
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5119 printf "%s\n" "$ac_ct_CC" >&6; }
5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 printf "%s\n" "no" >&6; }
5125 if test "x$ac_ct_CC" = x
; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned
=yes ;;
5143 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5145 as_fn_error $?
"no acceptable C compiler found in \$PATH
5146 See \`config.log' for more details" "$LINENO" 5; }
5148 # Provide some information about the compiler.
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5152 for ac_option
in --version -v -V -qversion -version; do
5153 { { ac_try
="$ac_compiler $ac_option >&5"
5155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5159 printf "%s\n" "$ac_try_echo"; } >&5
5160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5162 if test -s conftest.err; then
5164 ... rest of stderr output deleted ...
5165 10q' conftest.err >conftest.er1
5166 cat conftest.er1 >&5
5168 rm -f conftest.er1 conftest.err
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5184 ac_clean_files_save=$ac_clean_files
5185 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5186 # Try to create an executable without -o first, disregard a.out.
5187 # It will help us diagnose broken compilers, and finding out an intuition
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5190 printf %s "checking whether the C compiler works... " >&6; }
5191 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5193 # The possible output files:
5194 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5197 for ac_file in $ac_files
5200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5201 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5206 if { { ac_try="$ac_link_default"
5208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5209 *) ac_try_echo
=$ac_try;;
5211 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5212 printf "%s\n" "$ac_try_echo"; } >&5
5213 (eval "$ac_link_default") 2>&5
5215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; }
5218 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5219 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5220 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5221 # so that the user can short-circuit this test for compilers unknown to
5223 for ac_file
in $ac_files ''
5225 test -f "$ac_file" ||
continue
5227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5230 # We found the default executable, but exeext='' is most
5234 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5236 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238 # We set ac_cv_exeext here because the later test for it is not
5239 # safe: cross compilers may not add the suffix if given an `-o'
5240 # argument, so we may need to know it at that point already.
5241 # Even if this section looks crufty: it has the advantage of
5248 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5253 if test -z "$ac_file"
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 printf "%s\n" "no" >&6; }
5257 printf "%s\n" "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.
$ac_ext >&5
5260 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error
77 "C compiler cannot create executables
5263 See \`config.log' for more details" "$LINENO" 5; }
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 printf "%s\n" "yes" >&6; }
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5269 printf %s
"checking for C compiler default output file name... " >&6; }
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5271 printf "%s\n" "$ac_file" >&6; }
5272 ac_exeext
=$ac_cv_exeext
5274 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5275 ac_clean_files
=$ac_clean_files_save
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5277 printf %s
"checking for suffix of executables... " >&6; }
5278 if { { ac_try
="$ac_link"
5280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_link") 2>&5
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5290 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5291 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5292 # work properly (i.e., refer to `conftest.exe'), while it won't with
5294 for ac_file
in conftest.exe conftest conftest.
*; do
5295 test -f "$ac_file" ||
continue
5297 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5298 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest conftest
$ac_cv_exeext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5311 printf "%s\n" "$ac_cv_exeext" >&6; }
5313 rm -f conftest.
$ac_ext
5314 EXEEXT
=$ac_cv_exeext
5316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5322 FILE *f = fopen ("conftest.out", "w");
5323 return ferror (f) || fclose (f) != 0;
5329 ac_clean_files
="$ac_clean_files conftest.out"
5330 # Check that the compiler produces executables we can run. If not, either
5331 # the compiler is broken, or we cross compile.
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5333 printf %s
"checking whether we are cross compiling... " >&6; }
5334 if test "$cross_compiling" != yes; then
5335 { { ac_try
="$ac_link"
5337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5341 printf "%s\n" "$ac_try_echo"; } >&5
5342 (eval "$ac_link") 2>&5
5344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 if { ac_try='./conftest$ac_cv_exeext'
5347 { { case "(($ac_try" in
5348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5349 *) ac_try_echo
=$ac_try;;
5351 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5352 printf "%s\n" "$ac_try_echo"; } >&5
5353 (eval "$ac_try") 2>&5
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }; }; then
5359 if test "$cross_compiling" = maybe
; then
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error
77 "cannot run C compiled programs.
5365 If you meant to cross compile, use \`--host'.
5366 See \`config.log' for more details" "$LINENO" 5; }
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5371 printf "%s\n" "$cross_compiling" >&6; }
5373 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5374 ac_clean_files
=$ac_clean_files_save
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5376 printf %s
"checking for suffix of object files... " >&6; }
5377 if test ${ac_cv_objext+y}
5379 printf %s
"(cached) " >&6
5381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5392 rm -f conftest.o conftest.obj
5393 if { { ac_try
="$ac_compile"
5395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 printf "%s\n" "$ac_try_echo"; } >&5
5400 (eval "$ac_compile") 2>&5
5402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403 test $ac_status = 0; }
5405 for ac_file in conftest.o conftest.obj conftest.*; do
5406 test -f "$ac_file" || continue;
5408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5414 printf "%s\n" "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5417 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5420 See \
`config.log' for more details" "$LINENO" 5; }
5422 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5425 printf "%s\n" "$ac_cv_objext" >&6; }
5426 OBJEXT=$ac_cv_objext
5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5429 printf %s "checking whether the compiler supports GNU C... " >&6; }
5430 if test ${ac_cv_c_compiler_gnu+y}
5432 printf %s "(cached) " >&6
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5448 if ac_fn_c_try_compile "$LINENO"
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5459 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5462 if test $ac_compiler_gnu = yes; then
5467 ac_test_CFLAGS=${CFLAGS+y}
5468 ac_save_CFLAGS=$CFLAGS
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5470 printf %s "checking whether $CC accepts -g... " >&6; }
5471 if test ${ac_cv_prog_cc_g+y}
5473 printf %s "(cached) " >&6
5475 ac_save_c_werror_flag=$ac_c_werror_flag
5476 ac_c_werror_flag=yes
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5490 if ac_fn_c_try_compile "$LINENO"
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5506 if ac_fn_c_try_compile "$LINENO"
5510 ac_c_werror_flag=$ac_save_c_werror_flag
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5523 if ac_fn_c_try_compile "$LINENO"
5527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5532 ac_c_werror_flag=$ac_save_c_werror_flag
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5535 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5536 if test $ac_test_CFLAGS; then
5537 CFLAGS=$ac_save_CFLAGS
5538 elif test $ac_cv_prog_cc_g = yes; then
5539 if test "$GCC" = yes; then
5545 if test "$GCC" = yes; then
5552 if test x$ac_prog_cc_stdc = xno
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5555 printf %s "checking for $CC option to enable C11 features... " >&6; }
5556 if test ${ac_cv_prog_cc_c11+y}
5558 printf %s "(cached) " >&6
5560 ac_cv_prog_cc_c11=no
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 $ac_c_conftest_c11_program
5566 for ac_arg in '' -std=gnu11
5568 CC="$ac_save_CC $ac_arg"
5569 if ac_fn_c_try_compile "$LINENO"
5571 ac_cv_prog_cc_c11=$ac_arg
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam
5574 test "x$ac_cv_prog_cc_c11" != "xno" && break
5576 rm -f conftest.$ac_ext
5580 if test "x$ac_cv_prog_cc_c11" = xno
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5583 printf "%s\n" "unsupported" >&6; }
5585 if test "x$ac_cv_prog_cc_c11" = x
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5588 printf "%s\n" "none needed" >&6; }
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5591 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5592 CC="$CC $ac_cv_prog_cc_c11"
5594 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5598 if test x$ac_prog_cc_stdc = xno
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5601 printf %s "checking for $CC option to enable C99 features... " >&6; }
5602 if test ${ac_cv_prog_cc_c99+y}
5604 printf %s "(cached) " >&6
5606 ac_cv_prog_cc_c99=no
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5610 $ac_c_conftest_c99_program
5612 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5614 CC="$ac_save_CC $ac_arg"
5615 if ac_fn_c_try_compile "$LINENO"
5617 ac_cv_prog_cc_c99=$ac_arg
5619 rm -f core conftest.err conftest.$ac_objext conftest.beam
5620 test "x$ac_cv_prog_cc_c99" != "xno" && break
5622 rm -f conftest.$ac_ext
5626 if test "x$ac_cv_prog_cc_c99" = xno
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5629 printf "%s\n" "unsupported" >&6; }
5631 if test "x$ac_cv_prog_cc_c99" = x
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5634 printf "%s\n" "none needed" >&6; }
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5637 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5638 CC="$CC $ac_cv_prog_cc_c99"
5640 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5644 if test x$ac_prog_cc_stdc = xno
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5647 printf %s "checking for $CC option to enable C89 features... " >&6; }
5648 if test ${ac_cv_prog_cc_c89+y}
5650 printf %s "(cached) " >&6
5652 ac_cv_prog_cc_c89=no
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656 $ac_c_conftest_c89_program
5658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5660 CC="$ac_save_CC $ac_arg"
5661 if ac_fn_c_try_compile "$LINENO"
5663 ac_cv_prog_cc_c89=$ac_arg
5665 rm -f core conftest.err conftest.$ac_objext conftest.beam
5666 test "x$ac_cv_prog_cc_c89" != "xno" && break
5668 rm -f conftest.$ac_ext
5672 if test "x$ac_cv_prog_cc_c89" = xno
5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5675 printf "%s\n" "unsupported" >&6; }
5677 if test "x$ac_cv_prog_cc_c89" = x
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5680 printf "%s\n" "none needed" >&6; }
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5683 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5684 CC="$CC $ac_cv_prog_cc_c89"
5686 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5692 ac_cpp='$CPP $CPPFLAGS'
5693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5704 ac_cpp='$CXXCPP $CPPFLAGS'
5705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5708 if test -z "$CXX"; then
5709 if test -n "$CCC"; then
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 printf %s "checking for $ac_word... " >&6; }
5719 if test ${ac_cv_prog_CXX+y}
5721 printf %s "(cached) " >&6
5723 if test -n "$CXX"; then
5724 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 case $as_dir in #(((
5733 *) as_dir=$as_dir/ ;;
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5748 if test -n "$CXX"; then
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5750 printf "%s\n" "$CXX" >&6; }
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 printf "%s\n" "no" >&6; }
5757 test -n "$CXX" && break
5760 if test -z "$CXX"; then
5762 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 printf %s "checking for $ac_word... " >&6; }
5768 if test ${ac_cv_prog_ac_ct_CXX+y}
5770 printf %s "(cached) " >&6
5772 if test -n "$ac_ct_CXX"; then
5773 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 case $as_dir in #(((
5782 *) as_dir=$as_dir/ ;;
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_CXX="$ac_prog"
5787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5797 if test -n "$ac_ct_CXX"; then
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5799 printf "%s\n" "$ac_ct_CXX" >&6; }
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 printf "%s\n" "no" >&6; }
5806 test -n "$ac_ct_CXX" && break
5809 if test "x$ac_ct_CXX" = x; then
5812 case $cross_compiling:$ac_tool_warned in
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816 ac_tool_warned=yes ;;
5824 # Provide some information about the compiler.
5825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5828 for ac_option in --version -v -V -qversion; do
5829 { { ac_try="$ac_compiler $ac_option >&5"
5831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5832 *) ac_try_echo
=$ac_try;;
5834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5835 printf "%s\n" "$ac_try_echo"; } >&5
5836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5838 if test -s conftest.err
; then
5840 ... rest of stderr output deleted ...
5841 10q' conftest.err
>conftest.er1
5842 cat conftest.er1
>&5
5844 rm -f conftest.er1 conftest.err
5845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846 test $ac_status = 0; }
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5850 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5851 if test ${ac_cv_cxx_compiler_gnu+y}
5853 printf %s
"(cached) " >&6
5855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5869 if ac_fn_cxx_try_compile
"$LINENO"
5875 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5876 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5880 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5883 if test $ac_compiler_gnu = yes; then
5888 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5889 ac_save_CXXFLAGS
=$CXXFLAGS
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5891 printf %s
"checking whether $CXX accepts -g... " >&6; }
5892 if test ${ac_cv_prog_cxx_g+y}
5894 printf %s
"(cached) " >&6
5896 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5897 ac_cxx_werror_flag
=yes
5900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5911 if ac_fn_cxx_try_compile
"$LINENO"
5913 ac_cv_prog_cxx_g
=yes
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5927 if ac_fn_cxx_try_compile
"$LINENO"
5931 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5944 if ac_fn_cxx_try_compile
"$LINENO"
5946 ac_cv_prog_cxx_g
=yes
5948 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5950 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5952 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5953 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5956 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5957 if test $ac_test_CXXFLAGS; then
5958 CXXFLAGS
=$ac_save_CXXFLAGS
5959 elif test $ac_cv_prog_cxx_g = yes; then
5960 if test "$GXX" = yes; then
5966 if test "$GXX" = yes; then
5972 ac_prog_cxx_stdcxx
=no
5973 if test x
$ac_prog_cxx_stdcxx = xno
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5976 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5977 if test ${ac_cv_prog_cxx_cxx11+y}
5979 printf %s
"(cached) " >&6
5981 ac_cv_prog_cxx_cxx11
=no
5983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 $ac_cxx_conftest_cxx11_program
5987 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5989 CXX
="$ac_save_CXX $ac_arg"
5990 if ac_fn_cxx_try_compile
"$LINENO"
5992 ac_cv_prog_cxx_cxx11
=$ac_arg
5994 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5995 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5997 rm -f conftest.
$ac_ext
6001 if test "x$ac_cv_prog_cxx_cxx11" = xno
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6004 printf "%s\n" "unsupported" >&6; }
6006 if test "x$ac_cv_prog_cxx_cxx11" = x
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6009 printf "%s\n" "none needed" >&6; }
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6012 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6013 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
6015 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
6016 ac_prog_cxx_stdcxx
=cxx11
6019 if test x
$ac_prog_cxx_stdcxx = xno
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6022 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
6023 if test ${ac_cv_prog_cxx_cxx98+y}
6025 printf %s
"(cached) " >&6
6027 ac_cv_prog_cxx_cxx98
=no
6029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031 $ac_cxx_conftest_cxx98_program
6033 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6035 CXX
="$ac_save_CXX $ac_arg"
6036 if ac_fn_cxx_try_compile
"$LINENO"
6038 ac_cv_prog_cxx_cxx98
=$ac_arg
6040 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6041 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6043 rm -f conftest.
$ac_ext
6047 if test "x$ac_cv_prog_cxx_cxx98" = xno
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6050 printf "%s\n" "unsupported" >&6; }
6052 if test "x$ac_cv_prog_cxx_cxx98" = x
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6055 printf "%s\n" "none needed" >&6; }
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6058 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6059 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6061 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6062 ac_prog_cxx_stdcxx
=cxx98
6067 ac_cpp
='$CPP $CPPFLAGS'
6068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6074 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 printf %s
"checking for $ac_word... " >&6; }
6077 if test ${ac_cv_prog_CPPBIN+y}
6079 printf %s
"(cached) " >&6
6081 if test -n "$CPPBIN"; then
6082 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6088 case $as_dir in #(((
6091 *) as_dir
=$as_dir/ ;;
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6105 CPPBIN
=$ac_cv_prog_CPPBIN
6106 if test -n "$CPPBIN"; then
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6108 printf "%s\n" "$CPPBIN" >&6; }
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 printf "%s\n" "no" >&6; }
6116 if test -z "$ac_cv_prog_CPPBIN"; then
6117 ac_ct_CPPBIN
=$CPPBIN
6118 # Extract the first word of "cpp", so it can be a program name with args.
6119 set dummy cpp
; ac_word
=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s
"checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6124 printf %s
"(cached) " >&6
6126 if test -n "$ac_ct_CPPBIN"; then
6127 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6133 case $as_dir in #(((
6136 *) as_dir
=$as_dir/ ;;
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6150 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6151 if test -n "$ac_ct_CPPBIN"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6153 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6159 if test "x$ac_ct_CPPBIN" = x
; then
6162 case $cross_compiling:$ac_tool_warned in
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166 ac_tool_warned
=yes ;;
6168 CPPBIN
=$ac_ct_CPPBIN
6171 CPPBIN
="$ac_cv_prog_CPPBIN"
6175 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6177 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6179 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 printf %s
"checking for $ac_word... " >&6; }
6182 if test ${ac_cv_prog_LD+y}
6184 printf %s
"(cached) " >&6
6186 if test -n "$LD"; then
6187 ac_cv_prog_LD
="$LD" # Let the user override the test.
6189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6193 case $as_dir in #(((
6196 *) as_dir
=$as_dir/ ;;
6198 for ac_exec_ext
in '' $ac_executable_extensions; do
6199 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6211 if test -n "$LD"; then
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6213 printf "%s\n" "$LD" >&6; }
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 printf "%s\n" "no" >&6; }
6221 if test -z "$ac_cv_prog_LD"; then
6223 # Extract the first word of "ld", so it can be a program name with args.
6224 set dummy ld
; ac_word
=$2
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 printf %s
"checking for $ac_word... " >&6; }
6227 if test ${ac_cv_prog_ac_ct_LD+y}
6229 printf %s
"(cached) " >&6
6231 if test -n "$ac_ct_LD"; then
6232 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6238 case $as_dir in #(((
6241 *) as_dir
=$as_dir/ ;;
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_LD
="ld"
6246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6255 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6256 if test -n "$ac_ct_LD"; then
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6258 printf "%s\n" "$ac_ct_LD" >&6; }
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 printf "%s\n" "no" >&6; }
6264 if test "x$ac_ct_LD" = x
; then
6267 case $cross_compiling:$ac_tool_warned in
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned
=yes ;;
6282 with_fontconfig
=${with_fontconfig:-no}
6284 *-mingw32*|
*-cygwin*)
6285 enable_win16
=${enable_win16:-no}
6286 with_mingw
=${with_mingw:-no}
6293 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6299 printf %s
"checking whether $CC works... " >&6; }
6300 if test ${wine_cv_cc_m32+y}
6302 printf %s
"(cached) " >&6
6304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6315 if ac_fn_c_try_link
"$LINENO"
6321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6322 conftest
$ac_exeext conftest.
$ac_ext
6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6325 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6326 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
6328 notice_platform
="32-bit "
6329 TARGETFLAGS
="$TARGETFLAGS -m32"
6330 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6331 export PKG_CONFIG_LIBDIR
6336 notice_platform
="64-bit "
6337 TARGETFLAGS
="$TARGETFLAGS -m64"
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6342 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6343 if test ${wine_cv_thumb2+y}
6345 printf %s
"(cached) " >&6
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6353 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6358 if ac_fn_c_try_link
"$LINENO"
6364 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6365 conftest
$ac_exeext conftest.
$ac_ext
6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6368 printf "%s\n" "$wine_cv_thumb2" >&6; }
6369 if test x
"$wine_cv_thumb2" = xyes
6371 CFLAGS
="$CFLAGS -mthumb"
6373 CFLAGS
="$CFLAGS -marm"
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6376 printf %s
"checking whether $CC supports floating point instructions... " >&6; }
6377 if test ${wine_cv_float_abi+y}
6379 printf %s
"(cached) " >&6
6381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6387 asm("vmrs r2,fpscr");
6392 if ac_fn_c_try_link
"$LINENO"
6394 wine_cv_float_abi
=yes
6396 wine_cv_float_abi
=no
6398 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6399 conftest
$ac_exeext conftest.
$ac_ext
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6402 printf "%s\n" "$wine_cv_float_abi" >&6; }
6403 test $wine_cv_float_abi != no || as_fn_error $?
"The ARM target needs to support floating point instructions." "$LINENO" 5
6407 enable_win16
=${enable_win16:-i386}
6408 enable_win64
=${enable_win64:-no}
6409 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6410 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6411 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6412 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
6414 enable_cmd
=${enable_cmd:-yes}
6415 enable_dllhost
=${enable_dllhost:-yes}
6416 enable_dpnsvr
=${enable_dpnsvr:-i386,x86_64,arm64ec}
6417 enable_dxdiag
=${enable_dxdiag:-yes}
6418 enable_msiexec
=${enable_msiexec:-yes}
6419 enable_netsh
=${enable_netsh:-yes}
6420 enable_regsvr32
=${enable_regsvr32:-yes}
6421 enable_rundll32
=${enable_rundll32:-yes}
6423 enable_winetest
=${enable_winetest:-$enable_tests}
6425 if test "x$enable_win64" = "xyes"
6427 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6428 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6432 cygwin
*|mingw32
*) toolsext
=".exe"
6440 aarch64
*) HOST_ARCH
=aarch64
;;
6441 arm
*) HOST_ARCH
=arm
;;
6442 i
[3456789]86*) HOST_ARCH
=i386
;;
6443 x86_64
) HOST_ARCH
=x86_64
;;
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6448 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6449 if test ${wine_cv_toolsdir+y}
6451 printf %s
"(cached) " >&6
6453 wine_cv_toolsdir
="$with_wine_tools"
6454 if test -z "$with_wine_tools"; then
6455 if test "$cross_compiling" = "yes"; then
6456 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6457 elif test -n "$with_wine64"; then
6458 wine_cv_toolsdir
="$with_wine64"
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6463 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6464 if test -z "$wine_cv_toolsdir"; then
6465 wine_makedep
=tools
/makedep
$toolsext
6466 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6467 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6468 enable_tools
=${enable_tools:-no}
6469 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6471 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6473 toolsdir
=$wine_cv_toolsdir
6475 MAKEDEP
=$wine_makedep
6477 RUNTESTFLAGS
="-q -P wine"
6479 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'"
6482 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6484 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6489 # Extract the first word of "$ac_prog", so it can be a program name with args.
6490 set dummy
$ac_prog; ac_word
=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s
"checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_FLEX+y}
6495 printf %s
"(cached) " >&6
6497 if test -n "$FLEX"; then
6498 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6504 case $as_dir in #(((
6507 *) as_dir
=$as_dir/ ;;
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_FLEX
="$ac_prog"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6521 FLEX
=$ac_cv_prog_FLEX
6522 if test -n "$FLEX"; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6524 printf "%s\n" "$FLEX" >&6; }
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 printf "%s\n" "no" >&6; }
6531 test -n "$FLEX" && break
6533 test -n "$FLEX" || FLEX
="none"
6535 if test "$FLEX" = "none"
6537 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6540 printf %s
"checking whether flex is recent enough... " >&6; }
6541 if test ${wine_cv_recent_flex+y}
6543 printf %s
"(cached) " >&6
6545 cat >conftest.l
<<EOF
6547 #include "prediluvian.h"
6551 if $FLEX -t conftest.l
>/dev
/null
2>&5
6553 wine_cv_recent_flex
=yes
6555 wine_cv_recent_flex
=no
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6559 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6560 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
6562 for ac_prog
in bison
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy
$ac_prog; ac_word
=$2
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 printf %s
"checking for $ac_word... " >&6; }
6568 if test ${ac_cv_prog_BISON+y}
6570 printf %s
"(cached) " >&6
6572 if test -n "$BISON"; then
6573 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6579 case $as_dir in #(((
6582 *) as_dir
=$as_dir/ ;;
6584 for ac_exec_ext
in '' $ac_executable_extensions; do
6585 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_BISON
="$ac_prog"
6587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6596 BISON
=$ac_cv_prog_BISON
6597 if test -n "$BISON"; then
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6599 printf "%s\n" "$BISON" >&6; }
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 printf "%s\n" "no" >&6; }
6606 test -n "$BISON" && break
6608 test -n "$BISON" || BISON
="none"
6610 if test "$BISON" = "none"
6612 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6615 printf %s
"checking whether bison is recent enough... " >&6; }
6616 if test ${wine_cv_recent_bison+y}
6618 printf %s
"(cached) " >&6
6620 cat >conftest.y
<<EOF
6621 %define parse.error verbose
6625 if $BISON conftest.y
>/dev
/null
2>&5
6627 wine_cv_recent_bison
=yes
6629 wine_cv_recent_bison
=no
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6633 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6634 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
6636 if test -n "$ac_tool_prefix"; then
6637 for ac_prog
in ar gar
6639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6640 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 printf %s
"checking for $ac_word... " >&6; }
6643 if test ${ac_cv_prog_AR+y}
6645 printf %s
"(cached) " >&6
6647 if test -n "$AR"; then
6648 ac_cv_prog_AR
="$AR" # Let the user override the test.
6650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6654 case $as_dir in #(((
6657 *) as_dir
=$as_dir/ ;;
6659 for ac_exec_ext
in '' $ac_executable_extensions; do
6660 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 if test -n "$AR"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6674 printf "%s\n" "$AR" >&6; }
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 printf "%s\n" "no" >&6; }
6681 test -n "$AR" && break
6684 if test -z "$AR"; then
6686 for ac_prog
in ar gar
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy
$ac_prog; ac_word
=$2
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 printf %s
"checking for $ac_word... " >&6; }
6692 if test ${ac_cv_prog_ac_ct_AR+y}
6694 printf %s
"(cached) " >&6
6696 if test -n "$ac_ct_AR"; then
6697 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6703 case $as_dir in #(((
6706 *) as_dir
=$as_dir/ ;;
6708 for ac_exec_ext
in '' $ac_executable_extensions; do
6709 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_AR
="$ac_prog"
6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6720 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6721 if test -n "$ac_ct_AR"; then
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6723 printf "%s\n" "$ac_ct_AR" >&6; }
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 printf "%s\n" "no" >&6; }
6730 test -n "$ac_ct_AR" && break
6733 if test "x$ac_ct_AR" = x
; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned
=yes ;;
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6748 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 printf %s
"checking for $ac_word... " >&6; }
6751 if test ${ac_cv_prog_STRIP+y}
6753 printf %s
"(cached) " >&6
6755 if test -n "$STRIP"; then
6756 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6762 case $as_dir in #(((
6765 *) as_dir
=$as_dir/ ;;
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6779 STRIP
=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6782 printf "%s\n" "$STRIP" >&6; }
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 printf "%s\n" "no" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6792 # Extract the first word of "strip", so it can be a program name with args.
6793 set dummy strip
; ac_word
=$2
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 printf %s
"checking for $ac_word... " >&6; }
6796 if test ${ac_cv_prog_ac_ct_STRIP+y}
6798 printf %s
"(cached) " >&6
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 case $as_dir in #(((
6810 *) as_dir
=$as_dir/ ;;
6812 for ac_exec_ext
in '' $ac_executable_extensions; do
6813 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ac_ct_STRIP
="strip"
6815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6824 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6825 if test -n "$ac_ct_STRIP"; then
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6827 printf "%s\n" "$ac_ct_STRIP" >&6; }
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 printf "%s\n" "no" >&6; }
6833 if test "x$ac_ct_STRIP" = x
; then
6836 case $cross_compiling:$ac_tool_warned in
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840 ac_tool_warned
=yes ;;
6845 STRIP
="$ac_cv_prog_STRIP"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6850 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 printf %s
"checking for $ac_word... " >&6; }
6853 if test ${ac_cv_prog_RANLIB+y}
6855 printf %s
"(cached) " >&6
6857 if test -n "$RANLIB"; then
6858 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6864 case $as_dir in #(((
6867 *) as_dir
=$as_dir/ ;;
6869 for ac_exec_ext
in '' $ac_executable_extensions; do
6870 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6881 RANLIB
=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6884 printf "%s\n" "$RANLIB" >&6; }
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 printf "%s\n" "no" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB
=$RANLIB
6894 # Extract the first word of "ranlib", so it can be a program name with args.
6895 set dummy ranlib
; ac_word
=$2
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 printf %s
"checking for $ac_word... " >&6; }
6898 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6900 printf %s
"(cached) " >&6
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6909 case $as_dir in #(((
6912 *) as_dir
=$as_dir/ ;;
6914 for ac_exec_ext
in '' $ac_executable_extensions; do
6915 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6926 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6927 if test -n "$ac_ct_RANLIB"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6929 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 printf "%s\n" "no" >&6; }
6935 if test "x$ac_ct_RANLIB" = x
; then
6938 case $cross_compiling:$ac_tool_warned in
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned
=yes ;;
6944 RANLIB
=$ac_ct_RANLIB
6947 RANLIB
="$ac_cv_prog_RANLIB"
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6951 printf %s
"checking whether ln -s works... " >&6; }
6953 if test "$LN_S" = "ln -s"; then
6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 printf "%s\n" "yes" >&6; }
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6958 printf "%s\n" "no, using $LN_S" >&6; }
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6962 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6963 if test ${ac_cv_path_GREP+y}
6965 printf %s
"(cached) " >&6
6967 if test -z "$GREP"; then
6968 ac_path_GREP_found
=false
6969 # Loop through the user's path and test for each of PROGNAME-LIST
6970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6971 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6974 case $as_dir in #(((
6977 *) as_dir
=$as_dir/ ;;
6979 for ac_prog
in grep ggrep
6981 for ac_exec_ext
in '' $ac_executable_extensions; do
6982 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6983 as_fn_executable_p
"$ac_path_GREP" ||
continue
6984 # Check for GNU ac_path_GREP and select it if it is found.
6985 # Check for GNU $ac_path_GREP
6986 case `"$ac_path_GREP" --version 2>&1` in
6988 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6991 printf %s
0123456789 >"conftest.in"
6994 cat "conftest.in" "conftest.in" >"conftest.tmp"
6995 mv "conftest.tmp" "conftest.in"
6996 cp "conftest.in" "conftest.nl"
6997 printf "%s\n" 'GREP' >> "conftest.nl"
6998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6999 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7000 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7002 # Best one so far, save it but keep looking for a better one
7003 ac_cv_path_GREP
="$ac_path_GREP"
7004 ac_path_GREP_max
=$ac_count
7006 # 10*(2^10) chars as input seems more than enough
7007 test $ac_count -gt 10 && break
7009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7012 $ac_path_GREP_found && break 3
7017 if test -z "$ac_cv_path_GREP"; then
7018 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7021 ac_cv_path_GREP
=$GREP
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7026 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7027 GREP
="$ac_cv_path_GREP"
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7031 printf %s
"checking for egrep... " >&6; }
7032 if test ${ac_cv_path_EGREP+y}
7034 printf %s
"(cached) " >&6
7036 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7037 then ac_cv_path_EGREP
="$GREP -E"
7039 if test -z "$EGREP"; then
7040 ac_path_EGREP_found
=false
7041 # Loop through the user's path and test for each of PROGNAME-LIST
7042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7043 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7046 case $as_dir in #(((
7049 *) as_dir
=$as_dir/ ;;
7051 for ac_prog
in egrep
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7055 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7056 # Check for GNU ac_path_EGREP and select it if it is found.
7057 # Check for GNU $ac_path_EGREP
7058 case `"$ac_path_EGREP" --version 2>&1` in
7060 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7063 printf %s
0123456789 >"conftest.in"
7066 cat "conftest.in" "conftest.in" >"conftest.tmp"
7067 mv "conftest.tmp" "conftest.in"
7068 cp "conftest.in" "conftest.nl"
7069 printf "%s\n" 'EGREP' >> "conftest.nl"
7070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7071 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7072 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7074 # Best one so far, save it but keep looking for a better one
7075 ac_cv_path_EGREP
="$ac_path_EGREP"
7076 ac_path_EGREP_max
=$ac_count
7078 # 10*(2^10) chars as input seems more than enough
7079 test $ac_count -gt 10 && break
7081 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7084 $ac_path_EGREP_found && break 3
7089 if test -z "$ac_cv_path_EGREP"; then
7090 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7093 ac_cv_path_EGREP
=$EGREP
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7099 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7100 EGREP
="$ac_cv_path_EGREP"
7103 # Extract the first word of "ldconfig", so it can be a program name with args.
7104 set dummy ldconfig
; ac_word
=$2
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 printf %s
"checking for $ac_word... " >&6; }
7107 if test ${ac_cv_path_LDCONFIG+y}
7109 printf %s
"(cached) " >&6
7113 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7117 for as_dir
in /sbin
/usr
/sbin
$PATH
7120 case $as_dir in #(((
7123 *) as_dir
=$as_dir/ ;;
7125 for ac_exec_ext
in '' $ac_executable_extensions; do
7126 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7127 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7139 LDCONFIG
=$ac_cv_path_LDCONFIG
7140 if test -n "$LDCONFIG"; then
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7142 printf "%s\n" "$LDCONFIG" >&6; }
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 printf "%s\n" "no" >&6; }
7149 for ac_prog
in msgfmt
7151 # Extract the first word of "$ac_prog", so it can be a program name with args.
7152 set dummy
$ac_prog; ac_word
=$2
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 printf %s
"checking for $ac_word... " >&6; }
7155 if test ${ac_cv_prog_MSGFMT+y}
7157 printf %s
"(cached) " >&6
7159 if test -n "$MSGFMT"; then
7160 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7166 case $as_dir in #(((
7169 *) as_dir
=$as_dir/ ;;
7171 for ac_exec_ext
in '' $ac_executable_extensions; do
7172 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_MSGFMT
="$ac_prog"
7174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 MSGFMT
=$ac_cv_prog_MSGFMT
7184 if test -n "$MSGFMT"; then
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7186 printf "%s\n" "$MSGFMT" >&6; }
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 printf "%s\n" "no" >&6; }
7193 test -n "$MSGFMT" && break
7195 test -n "$MSGFMT" || MSGFMT
="false"
7197 if test ${ac_tool_prefix+y}
7199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7200 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 printf %s
"checking for $ac_word... " >&6; }
7203 if test ${ac_cv_prog_PKG_CONFIG+y}
7205 printf %s
"(cached) " >&6
7207 if test -n "$PKG_CONFIG"; then
7208 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7214 case $as_dir in #(((
7217 *) as_dir
=$as_dir/ ;;
7219 for ac_exec_ext
in '' $ac_executable_extensions; do
7220 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7231 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7232 if test -n "$PKG_CONFIG"; then
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7234 printf "%s\n" "$PKG_CONFIG" >&6; }
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 printf "%s\n" "no" >&6; }
7242 if ${ac_cv_prog_PKG_CONFIG:+false} :
7244 if test "x$cross_compiling" = xyes
7248 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7249 # Extract the first word of "pkg-config", so it can be a program name with args.
7250 set dummy pkg-config
; ac_word
=$2
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 printf %s
"checking for $ac_word... " >&6; }
7253 if test ${ac_cv_prog_PKG_CONFIG+y}
7255 printf %s
"(cached) " >&6
7257 if test -n "$PKG_CONFIG"; then
7258 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 case $as_dir in #(((
7267 *) as_dir
=$as_dir/ ;;
7269 for ac_exec_ext
in '' $ac_executable_extensions; do
7270 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_PKG_CONFIG
="pkg-config"
7272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7281 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7282 if test -n "$PKG_CONFIG"; then
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7284 printf "%s\n" "$PKG_CONFIG" >&6; }
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 printf "%s\n" "no" >&6; }
7293 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7296 if test "x$enable_maintainer_mode" != "xyes"
7303 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7304 for ac_prog
in fontforge
7306 # Extract the first word of "$ac_prog", so it can be a program name with args.
7307 set dummy
$ac_prog; ac_word
=$2
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 printf %s
"checking for $ac_word... " >&6; }
7310 if test ${ac_cv_prog_FONTFORGE+y}
7312 printf %s
"(cached) " >&6
7314 if test -n "$FONTFORGE"; then
7315 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 case $as_dir in #(((
7324 *) as_dir
=$as_dir/ ;;
7326 for ac_exec_ext
in '' $ac_executable_extensions; do
7327 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_FONTFORGE
="$ac_prog"
7329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7338 FONTFORGE
=$ac_cv_prog_FONTFORGE
7339 if test -n "$FONTFORGE"; then
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7341 printf "%s\n" "$FONTFORGE" >&6; }
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 printf "%s\n" "no" >&6; }
7348 test -n "$FONTFORGE" && break
7350 test -n "$FONTFORGE" || FONTFORGE
="false"
7352 for ac_prog
in rsvg-convert rsvg
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy
$ac_prog; ac_word
=$2
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 printf %s
"checking for $ac_word... " >&6; }
7358 if test ${ac_cv_prog_RSVG+y}
7360 printf %s
"(cached) " >&6
7362 if test -n "$RSVG"; then
7363 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7369 case $as_dir in #(((
7372 *) as_dir
=$as_dir/ ;;
7374 for ac_exec_ext
in '' $ac_executable_extensions; do
7375 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_RSVG
="$ac_prog"
7377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 RSVG
=$ac_cv_prog_RSVG
7387 if test -n "$RSVG"; then
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7389 printf "%s\n" "$RSVG" >&6; }
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 printf "%s\n" "no" >&6; }
7396 test -n "$RSVG" && break
7398 test -n "$RSVG" || RSVG
="false"
7400 for ac_prog
in convert
7402 # Extract the first word of "$ac_prog", so it can be a program name with args.
7403 set dummy
$ac_prog; ac_word
=$2
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405 printf %s
"checking for $ac_word... " >&6; }
7406 if test ${ac_cv_prog_CONVERT+y}
7408 printf %s
"(cached) " >&6
7410 if test -n "$CONVERT"; then
7411 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7417 case $as_dir in #(((
7420 *) as_dir
=$as_dir/ ;;
7422 for ac_exec_ext
in '' $ac_executable_extensions; do
7423 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_CONVERT
="$ac_prog"
7425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7434 CONVERT
=$ac_cv_prog_CONVERT
7435 if test -n "$CONVERT"; then
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7437 printf "%s\n" "$CONVERT" >&6; }
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 printf "%s\n" "no" >&6; }
7444 test -n "$CONVERT" && break
7446 test -n "$CONVERT" || CONVERT
="false"
7448 for ac_prog
in icotool
7450 # Extract the first word of "$ac_prog", so it can be a program name with args.
7451 set dummy
$ac_prog; ac_word
=$2
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 printf %s
"checking for $ac_word... " >&6; }
7454 if test ${ac_cv_prog_ICOTOOL+y}
7456 printf %s
"(cached) " >&6
7458 if test -n "$ICOTOOL"; then
7459 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7465 case $as_dir in #(((
7468 *) as_dir
=$as_dir/ ;;
7470 for ac_exec_ext
in '' $ac_executable_extensions; do
7471 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_ICOTOOL
="$ac_prog"
7473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7482 ICOTOOL
=$ac_cv_prog_ICOTOOL
7483 if test -n "$ICOTOOL"; then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7485 printf "%s\n" "$ICOTOOL" >&6; }
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 printf "%s\n" "no" >&6; }
7492 test -n "$ICOTOOL" && break
7494 test -n "$ICOTOOL" || ICOTOOL
="false"
7496 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7497 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7499 if test "$CONVERT" = false
7501 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7504 printf %s
"checking for recent enough imagemagick... " >&6; }
7505 convert_version
=`convert --version | head -n1`
7506 if test "x$convert_version" != "x"
7508 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7509 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7510 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7515 if test "$CONVERT" = false
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7518 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7519 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7522 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7526 if test "$ICOTOOL" = false
7528 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7531 printf %s
"checking for recent enough icotool... " >&6; }
7532 icotool_version
=`icotool --version | head -n1`
7533 if test "x$icotool_version" != "x"
7535 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7536 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7537 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7540 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7543 if test "$ICOTOOL" = false
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7546 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7547 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7550 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7560 test "x$with_gettext" != xno || MSGFMT
=false
7561 if test "$MSGFMT" != "false"
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7564 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7565 if test ${wine_cv_msgfmt_contexts+y}
7567 printf %s
"(cached) " >&6
7569 cat >conftest.po
<<EOF
7575 if $MSGFMT -o /dev
/null conftest.po
2>&5
7577 wine_cv_msgfmt_contexts
=yes
7579 wine_cv_msgfmt_contexts
=no
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7583 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7584 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7586 if test "$MSGFMT" = false
7588 case "x$with_gettext" in
7589 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7591 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7592 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7594 enable_po
=${enable_po:-no}
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7599 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7600 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7602 printf %s
"(cached) " >&6
7604 ac_check_lib_save_LIBS
=$LIBS
7606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7612 char i386_set_ldt ();
7616 return i386_set_ldt ();
7621 if ac_fn_c_try_link
"$LINENO"
7623 ac_cv_lib_i386_i386_set_ldt
=yes
7625 ac_cv_lib_i386_i386_set_ldt
=no
7627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7628 conftest
$ac_exeext conftest.
$ac_ext
7629 LIBS
=$ac_check_lib_save_LIBS
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7632 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7633 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7644 # Check whether --enable-largefile was given.
7645 if test ${enable_largefile+y}
7647 enableval
=$enable_largefile;
7650 if test "$enable_largefile" != no
; then
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7653 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7654 if test ${ac_cv_sys_largefile_CC+y}
7656 printf %s
"(cached) " >&6
7658 ac_cv_sys_largefile_CC
=no
7659 if test "$GCC" != yes; then
7662 # IRIX 6.2 and later do not support large files by default,
7663 # so use the C compiler's -n32 option if that helps.
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7666 #include <sys/types.h>
7667 /* Check that off_t can represent 2**63 - 1 correctly.
7668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7669 since some C++ compilers masquerading as C compilers
7670 incorrectly reject 9223372036854775807. */
7671 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7673 && LARGE_OFF_T % 2147483647 == 1)
7683 if ac_fn_c_try_compile
"$LINENO"
7687 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7689 if ac_fn_c_try_compile
"$LINENO"
7691 ac_cv_sys_largefile_CC
=' -n32'; break
7693 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7697 rm -f conftest.
$ac_ext
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7701 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7702 if test "$ac_cv_sys_largefile_CC" != no
; then
7703 CC
=$CC$ac_cv_sys_largefile_CC
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7707 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_file_offset_bits+y}
7710 printf %s
"(cached) " >&6
7713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7732 if ac_fn_c_try_compile
"$LINENO"
7734 ac_cv_sys_file_offset_bits
=no
; break
7736 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _FILE_OFFSET_BITS 64
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7757 if ac_fn_c_try_compile
"$LINENO"
7759 ac_cv_sys_file_offset_bits
=64; break
7761 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7762 ac_cv_sys_file_offset_bits
=unknown
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7767 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7768 case $ac_cv_sys_file_offset_bits in #(
7771 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7775 if test $ac_cv_sys_file_offset_bits = unknown
; then
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7777 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7778 if test ${ac_cv_sys_large_files+y}
7780 printf %s
"(cached) " >&6
7783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7802 if ac_fn_c_try_compile
"$LINENO"
7804 ac_cv_sys_large_files
=no
; break
7806 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #define _LARGE_FILES 1
7810 #include <sys/types.h>
7811 /* Check that off_t can represent 2**63 - 1 correctly.
7812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7813 since some C++ compilers masquerading as C compilers
7814 incorrectly reject 9223372036854775807. */
7815 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7817 && LARGE_OFF_T % 2147483647 == 1)
7827 if ac_fn_c_try_compile
"$LINENO"
7829 ac_cv_sys_large_files
=1; break
7831 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7832 ac_cv_sys_large_files
=unknown
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7837 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7838 case $ac_cv_sys_large_files in #(
7841 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7848 test "$ac_cv_sys_file_offset_bits" = 64 &&
7849 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7852 ac_header
= ac_cache
=
7853 for ac_item
in $ac_header_c_list
7855 if test $ac_cache; then
7856 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7857 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7858 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7860 ac_header
= ac_cache
=
7861 elif test $ac_header; then
7875 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7878 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_CL_cl_h" = xyes
7884 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_EGL_egl_h" = xyes
7890 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7896 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_types_h" = xyes
7914 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_user_h" = xyes
7920 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_elf_h" = xyes
7926 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_float_h" = xyes
7932 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_gettext_po_h" = xyes
7938 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_libproc_h" = xyes
7944 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_link_h" = xyes
7950 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_filter_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_input_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_major_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_param_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_serial_h" = xyes
8004 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_types_h" = xyes
8010 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8016 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_linux_wireless_h" = xyes
8022 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_lwp_h" = xyes
8028 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8034 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mach_mach_h" = xyes
8040 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_machine_cpu_h" = xyes
8046 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8052 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_mntent_h" = xyes
8058 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netdb_h" = xyes
8064 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_in_h" = xyes
8070 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8076 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8082 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8088 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8094 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_port_h" = xyes
8100 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_pwd_h" = xyes
8106 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sched_h" = xyes
8112 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8118 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_sg_h" = xyes
8130 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_stdint_h" = xyes
8136 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_attr_h" = xyes
8142 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_auxv_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_cdio_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_epoll_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_event_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_extattr_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_filio_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_ipc_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_link_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_modem_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_mtio_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_param_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_prctl_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_queue_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_random_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_resource_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_shm_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_signal_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_sockio_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_strtio_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_syscall_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_times_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_uio_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_user_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_utsname_h" = xyes
8316 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_vnode_h" = xyes
8322 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_sys_xattr_h" = xyes
8328 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_syscall_h" = xyes
8334 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_utime_h" = xyes
8340 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8346 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8352 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8360 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8364 if test $ac_cv_header_sys_mkdev_h = no
; then
8365 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8369 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8375 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8376 if test ${ac_cv_header_stat_broken+y}
8378 printf %s
"(cached) " >&6
8380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 #include <sys/types.h>
8383 #include <sys/stat.h>
8385 #if defined S_ISBLK && defined S_IFDIR
8386 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8389 #if defined S_ISBLK && defined S_IFCHR
8390 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8393 #if defined S_ISLNK && defined S_IFREG
8394 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8397 #if defined S_ISSOCK && defined S_IFREG
8398 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8402 if ac_fn_c_try_compile
"$LINENO"
8404 ac_cv_header_stat_broken
=no
8406 ac_cv_header_stat_broken
=yes
8408 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8411 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8412 if test $ac_cv_header_stat_broken = yes; then
8414 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8420 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8425 if test "x$ac_cv_header_sys_conf_h" = xyes
8427 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8435 if test "x$ac_cv_header_sys_mount_h" = xyes
8437 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8445 if test "x$ac_cv_header_sys_statfs_h" = xyes
8447 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8451 #ifdef HAVE_SYS_PARAM_H
8452 # include <sys/param.h>
8455 if test "x$ac_cv_header_sys_user_h" = xyes
8457 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8460 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8465 if test "x$ac_cv_header_sys_vfs_h" = xyes
8467 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8472 saved_sysctl_h_CFLAGS
=$CFLAGS
8473 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8474 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8475 #ifdef HAVE_SYS_PARAM_H
8476 # include <sys/param.h>
8479 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8481 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8485 CFLAGS
=$saved_sysctl_h_CFLAGS
8487 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8488 #include <sys/socket.h>
8489 #ifdef HAVE_SYS_SOCKETVAR_H
8490 # include <sys/socketvar.h>
8492 #ifdef HAVE_NET_ROUTE_H
8493 # include <net/route.h>
8495 #ifdef HAVE_NETINET_IN_H
8496 # include <netinet/in.h>
8498 #ifdef HAVE_NETINET_IN_SYSTM_H
8499 # include <netinet/in_systm.h>
8501 #ifdef HAVE_NET_IF_H
8502 # include <net/if.h>
8504 #ifdef HAVE_NETINET_IP_H
8505 # include <netinet/ip.h>
8508 if test "x$ac_cv_header_netinet_ip_h" = xyes
8510 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8514 #include <sys/socket.h>
8515 #ifdef HAVE_SYS_SOCKETVAR_H
8516 # include <sys/socketvar.h>
8518 #ifdef HAVE_NET_ROUTE_H
8519 # include <net/route.h>
8521 #ifdef HAVE_NETINET_IN_H
8522 # include <netinet/in.h>
8524 #ifdef HAVE_NETINET_IN_SYSTM_H
8525 # include <netinet/in_systm.h>
8527 #ifdef HAVE_NET_IF_H
8528 # include <net/if.h>
8530 #ifdef HAVE_NETINET_IP_H
8531 # include <netinet/ip.h>
8534 if test "x$ac_cv_header_net_if_h" = xyes
8536 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8539 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8540 #include <sys/socket.h>
8541 #ifdef HAVE_SYS_SOCKETVAR_H
8542 # include <sys/socketvar.h>
8544 #ifdef HAVE_NET_ROUTE_H
8545 # include <net/route.h>
8547 #ifdef HAVE_NETINET_IN_H
8548 # include <netinet/in.h>
8550 #ifdef HAVE_NETINET_IN_SYSTM_H
8551 # include <netinet/in_systm.h>
8553 #ifdef HAVE_NET_IF_H
8554 # include <net/if.h>
8556 #ifdef HAVE_NETINET_IP_H
8557 # include <netinet/ip.h>
8560 if test "x$ac_cv_header_net_if_arp_h" = xyes
8562 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8565 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8566 #include <sys/socket.h>
8567 #ifdef HAVE_SYS_SOCKETVAR_H
8568 # include <sys/socketvar.h>
8570 #ifdef HAVE_NET_ROUTE_H
8571 # include <net/route.h>
8573 #ifdef HAVE_NETINET_IN_H
8574 # include <netinet/in.h>
8576 #ifdef HAVE_NETINET_IN_SYSTM_H
8577 # include <netinet/in_systm.h>
8579 #ifdef HAVE_NET_IF_H
8580 # include <net/if.h>
8582 #ifdef HAVE_NETINET_IP_H
8583 # include <netinet/ip.h>
8586 if test "x$ac_cv_header_net_if_dl_h" = xyes
8588 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8592 #include <sys/socket.h>
8593 #ifdef HAVE_SYS_SOCKETVAR_H
8594 # include <sys/socketvar.h>
8596 #ifdef HAVE_NET_ROUTE_H
8597 # include <net/route.h>
8599 #ifdef HAVE_NETINET_IN_H
8600 # include <netinet/in.h>
8602 #ifdef HAVE_NETINET_IN_SYSTM_H
8603 # include <netinet/in_systm.h>
8605 #ifdef HAVE_NET_IF_H
8606 # include <net/if.h>
8608 #ifdef HAVE_NETINET_IP_H
8609 # include <netinet/ip.h>
8612 if test "x$ac_cv_header_net_if_types_h" = xyes
8614 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8617 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8618 #include <sys/socket.h>
8619 #ifdef HAVE_SYS_SOCKETVAR_H
8620 # include <sys/socketvar.h>
8622 #ifdef HAVE_NET_ROUTE_H
8623 # include <net/route.h>
8625 #ifdef HAVE_NETINET_IN_H
8626 # include <netinet/in.h>
8628 #ifdef HAVE_NETINET_IN_SYSTM_H
8629 # include <netinet/in_systm.h>
8631 #ifdef HAVE_NET_IF_H
8632 # include <net/if.h>
8634 #ifdef HAVE_NETINET_IP_H
8635 # include <netinet/ip.h>
8638 if test "x$ac_cv_header_net_route_h" = xyes
8640 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8643 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8644 #include <sys/socket.h>
8645 #ifdef HAVE_SYS_SOCKETVAR_H
8646 # include <sys/socketvar.h>
8648 #ifdef HAVE_NET_ROUTE_H
8649 # include <net/route.h>
8651 #ifdef HAVE_NETINET_IN_H
8652 # include <netinet/in.h>
8654 #ifdef HAVE_NETINET_IN_SYSTM_H
8655 # include <netinet/in_systm.h>
8657 #ifdef HAVE_NET_IF_H
8658 # include <net/if.h>
8660 #ifdef HAVE_NETINET_IP_H
8661 # include <netinet/ip.h>
8664 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8666 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8670 #include <sys/socket.h>
8671 #ifdef HAVE_SYS_SOCKETVAR_H
8672 # include <sys/socketvar.h>
8674 #ifdef HAVE_NET_ROUTE_H
8675 # include <net/route.h>
8677 #ifdef HAVE_NETINET_IN_H
8678 # include <netinet/in.h>
8680 #ifdef HAVE_NETINET_IN_SYSTM_H
8681 # include <netinet/in_systm.h>
8683 #ifdef HAVE_NET_IF_H
8684 # include <net/if.h>
8686 #ifdef HAVE_NETINET_IP_H
8687 # include <netinet/ip.h>
8690 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8692 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8695 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8696 #include <sys/socket.h>
8697 #ifdef HAVE_SYS_SOCKETVAR_H
8698 # include <sys/socketvar.h>
8700 #ifdef HAVE_NET_ROUTE_H
8701 # include <net/route.h>
8703 #ifdef HAVE_NETINET_IN_H
8704 # include <netinet/in.h>
8706 #ifdef HAVE_NETINET_IN_SYSTM_H
8707 # include <netinet/in_systm.h>
8709 #ifdef HAVE_NET_IF_H
8710 # include <net/if.h>
8712 #ifdef HAVE_NETINET_IP_H
8713 # include <netinet/ip.h>
8716 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8718 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8721 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8722 #include <sys/socket.h>
8723 #ifdef HAVE_SYS_SOCKETVAR_H
8724 # include <sys/socketvar.h>
8726 #ifdef HAVE_NET_ROUTE_H
8727 # include <net/route.h>
8729 #ifdef HAVE_NETINET_IN_H
8730 # include <netinet/in.h>
8732 #ifdef HAVE_NETINET_IN_SYSTM_H
8733 # include <netinet/in_systm.h>
8735 #ifdef HAVE_NET_IF_H
8736 # include <net/if.h>
8738 #ifdef HAVE_NETINET_IP_H
8739 # include <netinet/ip.h>
8742 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8744 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8747 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8748 #include <sys/socket.h>
8749 #ifdef HAVE_SYS_SOCKETVAR_H
8750 # include <sys/socketvar.h>
8752 #ifdef HAVE_NET_ROUTE_H
8753 # include <net/route.h>
8755 #ifdef HAVE_NETINET_IN_H
8756 # include <netinet/in.h>
8758 #ifdef HAVE_NETINET_IN_SYSTM_H
8759 # include <netinet/in_systm.h>
8761 #ifdef HAVE_NET_IF_H
8762 # include <net/if.h>
8764 #ifdef HAVE_NETINET_IP_H
8765 # include <netinet/ip.h>
8768 if test "x$ac_cv_header_netinet_udp_h" = xyes
8770 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8774 #include <sys/socket.h>
8775 #ifdef HAVE_SYS_SOCKETVAR_H
8776 # include <sys/socketvar.h>
8778 #ifdef HAVE_NET_ROUTE_H
8779 # include <net/route.h>
8781 #ifdef HAVE_NETINET_IN_H
8782 # include <netinet/in.h>
8784 #ifdef HAVE_NETINET_IN_SYSTM_H
8785 # include <netinet/in_systm.h>
8787 #ifdef HAVE_NET_IF_H
8788 # include <net/if.h>
8790 #ifdef HAVE_NETINET_IP_H
8791 # include <netinet/ip.h>
8794 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8796 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8799 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8800 #include <sys/socket.h>
8801 #ifdef HAVE_SYS_SOCKETVAR_H
8802 # include <sys/socketvar.h>
8804 #ifdef HAVE_NET_ROUTE_H
8805 # include <net/route.h>
8807 #ifdef HAVE_NETINET_IN_H
8808 # include <netinet/in.h>
8810 #ifdef HAVE_NETINET_IN_SYSTM_H
8811 # include <netinet/in_systm.h>
8813 #ifdef HAVE_NET_IF_H
8814 # include <net/if.h>
8816 #ifdef HAVE_NETINET_IP_H
8817 # include <netinet/ip.h>
8820 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8822 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8825 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8826 #include <sys/socket.h>
8827 #ifdef HAVE_SYS_SOCKETVAR_H
8828 # include <sys/socketvar.h>
8830 #ifdef HAVE_NET_ROUTE_H
8831 # include <net/route.h>
8833 #ifdef HAVE_NETINET_IN_H
8834 # include <netinet/in.h>
8836 #ifdef HAVE_NETINET_IN_SYSTM_H
8837 # include <netinet/in_systm.h>
8839 #ifdef HAVE_NET_IF_H
8840 # include <net/if.h>
8842 #ifdef HAVE_NETINET_IP_H
8843 # include <netinet/ip.h>
8846 if test "x$ac_cv_header_sys_un_h" = xyes
8848 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8853 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8854 #include <sys/socket.h>
8855 #ifdef HAVE_SYS_SOCKETVAR_H
8856 # include <sys/socketvar.h>
8858 #ifdef HAVE_NETINET_IN_H
8859 # include <netinet/in.h>
8861 #ifdef HAVE_NETINET_IN_SYSTM_H
8862 # include <netinet/in_systm.h>
8864 #ifdef HAVE_NETINET_IP_H
8865 # include <netinet/ip.h>
8867 #ifdef HAVE_NETINET_IP_VAR_H
8868 # include <netinet/ip_var.h>
8870 #ifdef HAVE_NETINET_IP_ICMP_H
8871 # include <netinet/ip_icmp.h>
8873 #ifdef HAVE_NETINET_UDP_H
8874 # include <netinet/udp.h>
8876 #ifdef HAVE_NETINET_TCP_H
8877 # include <netinet/tcp.h>
8880 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8882 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8885 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8886 #include <sys/socket.h>
8887 #ifdef HAVE_SYS_SOCKETVAR_H
8888 # include <sys/socketvar.h>
8890 #ifdef HAVE_NETINET_IN_H
8891 # include <netinet/in.h>
8893 #ifdef HAVE_NETINET_IN_SYSTM_H
8894 # include <netinet/in_systm.h>
8896 #ifdef HAVE_NETINET_IP_H
8897 # include <netinet/ip.h>
8899 #ifdef HAVE_NETINET_IP_VAR_H
8900 # include <netinet/ip_var.h>
8902 #ifdef HAVE_NETINET_IP_ICMP_H
8903 # include <netinet/ip_icmp.h>
8905 #ifdef HAVE_NETINET_UDP_H
8906 # include <netinet/udp.h>
8908 #ifdef HAVE_NETINET_TCP_H
8909 # include <netinet/tcp.h>
8912 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8914 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_SYS_SOCKETVAR_H
8920 # include <sys/socketvar.h>
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8928 #ifdef HAVE_NETINET_IP_H
8929 # include <netinet/ip.h>
8931 #ifdef HAVE_NETINET_IP_VAR_H
8932 # include <netinet/ip_var.h>
8934 #ifdef HAVE_NETINET_IP_ICMP_H
8935 # include <netinet/ip_icmp.h>
8937 #ifdef HAVE_NETINET_UDP_H
8938 # include <netinet/udp.h>
8940 #ifdef HAVE_NETINET_TCP_H
8941 # include <netinet/tcp.h>
8944 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8946 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8949 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8950 #include <sys/socket.h>
8951 #ifdef HAVE_SYS_SOCKETVAR_H
8952 # include <sys/socketvar.h>
8954 #ifdef HAVE_NETINET_IN_H
8955 # include <netinet/in.h>
8957 #ifdef HAVE_NETINET_IN_SYSTM_H
8958 # include <netinet/in_systm.h>
8960 #ifdef HAVE_NETINET_IP_H
8961 # include <netinet/ip.h>
8963 #ifdef HAVE_NETINET_IP_VAR_H
8964 # include <netinet/ip_var.h>
8966 #ifdef HAVE_NETINET_IP_ICMP_H
8967 # include <netinet/ip_icmp.h>
8969 #ifdef HAVE_NETINET_UDP_H
8970 # include <netinet/udp.h>
8972 #ifdef HAVE_NETINET_TCP_H
8973 # include <netinet/tcp.h>
8976 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8978 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_ASM_TYPES_H
8986 # include <asm/types.h>
8988 #ifdef HAVE_LINUX_TYPES_H
8989 # include <linux/types.h>
8992 if test "x$ac_cv_header_linux_ipx_h" = xyes
8994 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_ASM_TYPES_H
9000 # include <asm/types.h>
9002 #ifdef HAVE_LINUX_TYPES_H
9003 # include <linux/types.h>
9006 if test "x$ac_cv_header_linux_irda_h" = xyes
9008 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9012 #include <sys/socket.h>
9013 #ifdef HAVE_ASM_TYPES_H
9014 # include <asm/types.h>
9016 #ifdef HAVE_LINUX_TYPES_H
9017 # include <linux/types.h>
9020 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9022 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9028 #include <sys/socket.h>
9029 #ifdef HAVE_NETINET_IN_H
9030 # include <netinet/in.h>
9032 #ifdef HAVE_ARPA_NAMESER_H
9033 # include <arpa/nameser.h>
9036 if test "x$ac_cv_header_resolv_h" = xyes
9038 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9045 if test "x$ac_cv_header_ifaddrs_h" = xyes
9047 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9054 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9056 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9061 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9062 #ifdef HAVE_SYS_UCONTEXT_H
9063 #include <sys/ucontext.h>
9066 if test "x$ac_cv_header_sys_thr_h" = xyes
9068 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9075 if test "x$ac_cv_header_pthread_np_h" = xyes
9077 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9082 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9083 #include <sys/types.h>
9084 #ifdef HAVE_ASM_TYPES_H
9085 #include <asm/types.h>
9088 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9090 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9095 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9096 #include <sys/param.h>
9098 #include <sys/socket.h>
9099 #ifdef HAVE_SYS_QUEUE_H
9100 #include <sys/queue.h>
9103 if test "x$ac_cv_header_libprocstat_h" = xyes
9105 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9110 if test "x$ac_cv_header_sys_xattr_h" = xyes
9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9113 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9114 if test ${wine_cv_xattr_extra_args+y}
9116 printf %s
"(cached) " >&6
9118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9120 #include <sys/xattr.h>
9124 getxattr("", "", "", 0, 0, 0);
9129 if ac_fn_c_try_compile
"$LINENO"
9131 wine_cv_xattr_extra_args
=yes
9133 wine_cv_xattr_extra_args
=no
9135 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9138 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9139 test $wine_cv_xattr_extra_args != yes ||
9140 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9153 UNIXDLLFLAGS
="-fPIC"
9155 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9161 WINELOADER_LDFLAGS
=""
9163 WINEPRELOADER_LDFLAGS
=""
9168 # Extract the first word of "ldd", so it can be a program name with args.
9169 set dummy ldd
; ac_word
=$2
9170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9171 printf %s
"checking for $ac_word... " >&6; }
9172 if test ${ac_cv_path_LDD+y}
9174 printf %s
"(cached) " >&6
9178 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9182 as_dummy
="/sbin:/usr/sbin:$PATH"
9183 for as_dir
in $as_dummy
9186 case $as_dir in #(((
9189 *) as_dir
=$as_dir/ ;;
9191 for ac_exec_ext
in '' $ac_executable_extensions; do
9192 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9193 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9201 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9206 if test -n "$LDD"; then
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9208 printf "%s\n" "$LDD" >&6; }
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 printf "%s\n" "no" >&6; }
9215 if test -n "$ac_tool_prefix"; then
9216 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9217 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9219 printf %s
"checking for $ac_word... " >&6; }
9220 if test ${ac_cv_prog_OTOOL+y}
9222 printf %s
"(cached) " >&6
9224 if test -n "$OTOOL"; then
9225 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9231 case $as_dir in #(((
9234 *) as_dir
=$as_dir/ ;;
9236 for ac_exec_ext
in '' $ac_executable_extensions; do
9237 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9248 OTOOL
=$ac_cv_prog_OTOOL
9249 if test -n "$OTOOL"; then
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9251 printf "%s\n" "$OTOOL" >&6; }
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 printf "%s\n" "no" >&6; }
9259 if test -z "$ac_cv_prog_OTOOL"; then
9261 # Extract the first word of "otool", so it can be a program name with args.
9262 set dummy otool
; ac_word
=$2
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 printf %s
"checking for $ac_word... " >&6; }
9265 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9267 printf %s
"(cached) " >&6
9269 if test -n "$ac_ct_OTOOL"; then
9270 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9276 case $as_dir in #(((
9279 *) as_dir
=$as_dir/ ;;
9281 for ac_exec_ext
in '' $ac_executable_extensions; do
9282 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9283 ac_cv_prog_ac_ct_OTOOL
="otool"
9284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9293 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9294 if test -n "$ac_ct_OTOOL"; then
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9296 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 printf "%s\n" "no" >&6; }
9302 if test "x$ac_ct_OTOOL" = x
; then
9305 case $cross_compiling:$ac_tool_warned in
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9309 ac_tool_warned
=yes ;;
9314 OTOOL
="$ac_cv_prog_OTOOL"
9317 if test -n "$ac_tool_prefix"; then
9318 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9319 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9321 printf %s
"checking for $ac_word... " >&6; }
9322 if test ${ac_cv_prog_READELF+y}
9324 printf %s
"(cached) " >&6
9326 if test -n "$READELF"; then
9327 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9333 case $as_dir in #(((
9336 *) as_dir
=$as_dir/ ;;
9338 for ac_exec_ext
in '' $ac_executable_extensions; do
9339 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9340 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9350 READELF
=$ac_cv_prog_READELF
9351 if test -n "$READELF"; then
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9353 printf "%s\n" "$READELF" >&6; }
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9356 printf "%s\n" "no" >&6; }
9361 if test -z "$ac_cv_prog_READELF"; then
9362 ac_ct_READELF
=$READELF
9363 # Extract the first word of "readelf", so it can be a program name with args.
9364 set dummy readelf
; ac_word
=$2
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9366 printf %s
"checking for $ac_word... " >&6; }
9367 if test ${ac_cv_prog_ac_ct_READELF+y}
9369 printf %s
"(cached) " >&6
9371 if test -n "$ac_ct_READELF"; then
9372 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9378 case $as_dir in #(((
9381 *) as_dir
=$as_dir/ ;;
9383 for ac_exec_ext
in '' $ac_executable_extensions; do
9384 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9385 ac_cv_prog_ac_ct_READELF
="readelf"
9386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9395 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9396 if test -n "$ac_ct_READELF"; then
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9398 printf "%s\n" "$ac_ct_READELF" >&6; }
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 printf "%s\n" "no" >&6; }
9404 if test "x$ac_ct_READELF" = x
; then
9407 case $cross_compiling:$ac_tool_warned in
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9410 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9411 ac_tool_warned
=yes ;;
9413 READELF
=$ac_ct_READELF
9416 READELF
="$ac_cv_prog_READELF"
9424 CONFIGURE_TARGETS
=""
9427 wine_fn_config_makefile
()
9429 as_fn_append SUBDIRS
" \\$as_nl $1"
9432 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9434 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9435 if test -n "$PE_ARCHS"
9439 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9442 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9445 case "$1, $PE_ARCHS " in
9446 programs
/*,*\ arm64ec\
*) as_fn_append arm64ec_DISABLED_SUBDIRS
" $1" ;;
9451 wine_fn_config_symlink
()
9454 as_fn_append wine_rules
"
9456 @./config.status \$@"
9457 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9464 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9465 if test "x$HOST_ARCH" = xi386
9467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9468 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9469 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9471 printf %s
"(cached) " >&6
9473 ac_wine_try_cflags_saved
=$CFLAGS
9474 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9479 if ac_fn_c_try_link
"$LINENO"
9481 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9483 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9485 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9486 conftest
$ac_exeext conftest.
$ac_ext
9487 CFLAGS
=$ac_wine_try_cflags_saved
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9490 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9491 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9493 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9496 enable_loader
=${enable_loader:-no}
9497 enable_server
=${enable_server:-no}
9498 with_x
=${with_x:-no}
9499 with_pthread
=${with_pthread:-no}
9504 DLLFLAGS
="$DLLFLAGS -fPIC"
9506 enable_winemac_drv
=${enable_winemac_drv:-yes}
9507 CARBON_LIBS
="-framework Carbon"
9509 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9511 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9513 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9515 METAL_LIBS
="-framework Metal"
9517 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9519 CORESERVICES_LIBS
="-framework CoreServices"
9521 APPKIT_LIBS
="-framework AppKit"
9523 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9525 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9528 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9531 i386|x86_64
) wine_can_build_preloader
=yes ;;
9532 *) wine_can_build_preloader
=no
;;
9535 if test "$wine_can_build_preloader" = "yes"
9537 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"
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9539 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9540 if test ${ac_cv_cflags__Wl__no_pie+y}
9542 printf %s
"(cached) " >&6
9544 ac_wine_try_cflags_saved
=$CFLAGS
9545 CFLAGS
="$CFLAGS -Wl,-no_pie"
9546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9550 if ac_fn_c_try_link
"$LINENO"
9552 ac_cv_cflags__Wl__no_pie
=yes
9554 ac_cv_cflags__Wl__no_pie
=no
9556 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9557 conftest
$ac_exeext conftest.
$ac_ext
9558 CFLAGS
=$ac_wine_try_cflags_saved
9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9561 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9562 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9564 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9568 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9571 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9574 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9576 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9579 if test "x$with_coreaudio" != "xno";
9581 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9583 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9585 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9587 OPENCL_LIBS
="-framework OpenCL"
9589 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9593 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9595 ac_cpp
='$OBJCPP $CPPFLAGS'
9596 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9597 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9598 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9601 ac_cpp
='$OBJCPP $CPPFLAGS'
9602 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9605 if test -n "$ac_tool_prefix"; then
9606 for ac_prog
in gcc objcc objc cc CC clang
9608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9609 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9611 printf %s
"checking for $ac_word... " >&6; }
9612 if test ${ac_cv_prog_OBJC+y}
9614 printf %s
"(cached) " >&6
9616 if test -n "$OBJC"; then
9617 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9623 case $as_dir in #(((
9626 *) as_dir
=$as_dir/ ;;
9628 for ac_exec_ext
in '' $ac_executable_extensions; do
9629 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9630 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9640 OBJC
=$ac_cv_prog_OBJC
9641 if test -n "$OBJC"; then
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9643 printf "%s\n" "$OBJC" >&6; }
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9646 printf "%s\n" "no" >&6; }
9650 test -n "$OBJC" && break
9653 if test -z "$OBJC"; then
9655 for ac_prog
in gcc objcc objc cc CC clang
9657 # Extract the first word of "$ac_prog", so it can be a program name with args.
9658 set dummy
$ac_prog; ac_word
=$2
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 printf %s
"checking for $ac_word... " >&6; }
9661 if test ${ac_cv_prog_ac_ct_OBJC+y}
9663 printf %s
"(cached) " >&6
9665 if test -n "$ac_ct_OBJC"; then
9666 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9672 case $as_dir in #(((
9675 *) as_dir
=$as_dir/ ;;
9677 for ac_exec_ext
in '' $ac_executable_extensions; do
9678 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9689 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9690 if test -n "$ac_ct_OBJC"; then
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9692 printf "%s\n" "$ac_ct_OBJC" >&6; }
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 printf "%s\n" "no" >&6; }
9699 test -n "$ac_ct_OBJC" && break
9702 if test "x$ac_ct_OBJC" = x
; then
9705 case $cross_compiling:$ac_tool_warned in
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9708 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9709 ac_tool_warned
=yes ;;
9715 # Provide some information about the compiler.
9716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9719 for ac_option
in --version -v -V -qversion; do
9720 { { ac_try
="$ac_compiler $ac_option >&5"
9722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9723 *) ac_try_echo=$ac_try;;
9725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9726 printf "%s\n" "$ac_try_echo"; } >&5
9727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9729 if test -s conftest.err; then
9731 ... rest of stderr output deleted ...
9732 10q' conftest.err >conftest.er1
9733 cat conftest.er1 >&5
9735 rm -f conftest.er1 conftest.err
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; }
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9741 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9742 if test ${ac_cv_objc_compiler_gnu+y}
9744 printf %s "(cached) " >&6
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9760 if ac_fn_objc_try_compile "$LINENO"
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9767 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9771 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9772 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9774 if test $ac_compiler_gnu = yes; then
9779 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9780 ac_save_OBJCFLAGS=$OBJCFLAGS
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9782 printf %s "checking whether $OBJC accepts -g... " >&6; }
9783 if test ${ac_cv_prog_objc_g+y}
9785 printf %s "(cached) " >&6
9787 ac_save_objc_werror_flag=$ac_objc_werror_flag
9788 ac_objc_werror_flag=yes
9789 ac_cv_prog_objc_g=no
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9802 if ac_fn_objc_try_compile "$LINENO"
9804 ac_cv_prog_objc_g=yes
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9818 if ac_fn_objc_try_compile "$LINENO"
9822 ac_objc_werror_flag=$ac_save_objc_werror_flag
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9835 if ac_fn_objc_try_compile "$LINENO"
9837 ac_cv_prog_objc_g=yes
9839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 ac_objc_werror_flag=$ac_save_objc_werror_flag
9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9847 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9848 if test $ac_test_OBJCFLAGS; then
9849 OBJCFLAGS=$ac_save_OBJCFLAGS
9850 elif test $ac_cv_prog_objc_g = yes; then
9851 if test "$GOBJC" = yes; then
9857 if test "$GOBJC" = yes; then
9864 ac_cpp='$OBJCPP $CPPFLAGS'
9865 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9866 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9867 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <Metal/Metal.h>
9876 id<MTLDevice> device; device.registryID;
9881 if ac_fn_objc_try_compile "$LINENO"
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9884 printf "%s\n" "yes" >&6; }
9886 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 printf "%s\n" "no" >&6; }
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9894 ac_cpp='$CPP $CPPFLAGS'
9895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9900 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9901 WINELOADER_DEPENDS="wine_info.plist"
9907 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9909 DLLFLAGS="$DLLFLAGS -fPIC"
9911 LDEXECFLAGS="-Wl,-pie"
9912 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9914 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9915 if test ${ac_cv_cflags__Wl__z_defs+y}
9917 printf %s "(cached) " >&6
9919 ac_wine_try_cflags_saved=$CFLAGS
9920 CFLAGS="$CFLAGS -Wl,-z,defs"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 int main(int argc, char **argv) { return 0; }
9925 if ac_fn_c_try_link "$LINENO"
9927 ac_cv_cflags__Wl__z_defs=yes
9929 ac_cv_cflags__Wl__z_defs=no
9931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9936 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9937 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9939 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9942 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9943 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9945 printf %s "(cached) " >&6
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9953 if ac_fn_c_try_link "$LINENO"
9955 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9957 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9964 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9965 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9967 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9969 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9972 printf %s "checking for -lEGL... " >&6; }
9973 if test ${ac_cv_lib_soname_EGL+y}
9975 printf %s "(cached) " >&6
9977 ac_check_soname_save_LIBS=$LIBS
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 char eglGetProcAddress ();
9989 return eglGetProcAddress ();
9994 if ac_fn_c_try_link "$LINENO"
9997 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_EGL:+false} :
10002 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 ac_cv_lib_soname_EGL=
10008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_soname_save_LIBS
10012 if ${ac_cv_lib_soname_EGL:+false} :
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10015 printf "%s\n" "not found" >&6; }
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10019 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10021 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10026 printf %s "checking for -lGLESv2... " >&6; }
10027 if test ${ac_cv_lib_soname_GLESv2+y}
10029 printf %s "(cached) " >&6
10031 ac_check_soname_save_LIBS=$LIBS
10032 LIBS="-lGLESv2 $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10048 if ac_fn_c_try_link "$LINENO"
10051 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10052 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'` ;;
10053 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10054 if ${ac_cv_lib_soname_GLESv2:+false} :
10056 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 ac_cv_lib_soname_GLESv2=
10062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_soname_save_LIBS
10066 if ${ac_cv_lib_soname_GLESv2:+false} :
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10069 printf "%s\n" "not found" >&6; }
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10073 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10075 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10080 if test "x$exec_prefix" = xNONE
10083 i386) exec_prefix='${prefix}/x86' ;;
10084 x86_64) exec_prefix='${prefix}/x86_64' ;;
10085 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10086 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10093 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10095 if test $HOST_ARCH = i386
10097 DLLFLAGS="$DLLFLAGS -fno-PIC"
10098 LDDLLFLAGS="-fno-PIC"
10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10100 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10101 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10103 printf %s "(cached) " >&6
10105 ac_wine_try_cflags_saved=$CFLAGS
10106 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 int main(int argc, char **argv) { return 0; }
10111 if ac_fn_c_try_link "$LINENO"
10113 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10115 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10122 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10123 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10125 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10128 DLLFLAGS="$DLLFLAGS -fPIC"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10133 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10134 if test ${ac_cv_wl_z_defs+y}
10136 printf %s "(cached) " >&6
10138 ac_save_CFLAGS="$CFLAGS"
10139 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10144 if ac_fn_c_try_link "$LINENO"
10146 ac_cv_wl_z_defs=yes
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_save_CFLAGS
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10155 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10156 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10159 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10160 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10162 printf %s "(cached) " >&6
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10170 if ac_fn_c_try_link "$LINENO"
10172 ac_cv_cflags__Wl___export_dynamic=yes
10174 ac_cv_cflags__Wl___export_dynamic=no
10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10181 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10182 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10184 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10186 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10190 as_fn_append WINELOADER_LDFLAGS " -pie"
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10196 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10197 if test ${ac_cv_cflags__static_pie+y}
10199 printf %s "(cached) " >&6
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 CFLAGS="$CFLAGS -static-pie"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int main(int argc, char **argv) { return 0; }
10207 if ac_fn_c_try_link "$LINENO"
10209 ac_cv_cflags__static_pie=yes
10211 ac_cv_cflags__static_pie=no
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10218 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10219 if test "x$ac_cv_cflags__static_pie" = xyes
10221 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10223 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10232 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10233 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10235 printf %s "(cached) " >&6
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10243 if ac_fn_c_try_link "$LINENO"
10245 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10247 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10254 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10255 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10257 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10260 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10261 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10263 printf %s "(cached) " >&6
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10271 if ac_fn_c_try_link "$LINENO"
10273 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10275 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10282 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10283 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10285 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10290 as_fn_append WINELOADER_LDFLAGS " -pie"
10298 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10299 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10300 enable_winemac_drv=${enable_winemac_drv:-no}
10305 if test ${enable_archs+y}
10307 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10310 set x $enable_archs
10316 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10317 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10321 if test "x$with_mingw" != xno
10323 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10328 saved_CFLAGS=$CFLAGS
10329 saved_LDFLAGS=$LDFLAGS
10331 for wine_arch in $cross_archs
10333 case "x$with_mingw" in
10334 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10336 if eval \${${wine_arch}_CC:+false} :
10340 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10342 # Extract the first word of "$ac_prog", so it can be a program name with args.
10343 set dummy $ac_prog; ac_word=$2
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 printf %s "checking for $ac_word... " >&6; }
10346 if test ${ac_cv_prog_aarch64_CC+y}
10348 printf %s "(cached) " >&6
10350 if test -n "$aarch64_CC"; then
10351 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10354 for as_dir in $PATH
10357 case $as_dir in #(((
10360 *) as_dir=$as_dir/ ;;
10362 for ac_exec_ext in '' $ac_executable_extensions; do
10363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10364 ac_cv_prog_aarch64_CC="$ac_prog"
10365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10374 aarch64_CC=$ac_cv_prog_aarch64_CC
10375 if test -n "$aarch64_CC"; then
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10377 printf "%s\n" "$aarch64_CC" >&6; }
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10380 printf "%s\n" "no" >&6; }
10384 test -n "$aarch64_CC" && break
10386 test -n "$aarch64_CC" || aarch64_CC="false"
10390 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10392 # Extract the first word of "$ac_prog", so it can be a program name with args.
10393 set dummy $ac_prog; ac_word=$2
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 printf %s "checking for $ac_word... " >&6; }
10396 if test ${ac_cv_prog_arm64ec_CC+y}
10398 printf %s "(cached) " >&6
10400 if test -n "$arm64ec_CC"; then
10401 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10407 case $as_dir in #(((
10410 *) as_dir=$as_dir/ ;;
10412 for ac_exec_ext in '' $ac_executable_extensions; do
10413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10414 ac_cv_prog_arm64ec_CC="$ac_prog"
10415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10424 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10425 if test -n "$arm64ec_CC"; then
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10427 printf "%s\n" "$arm64ec_CC" >&6; }
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10430 printf "%s\n" "no" >&6; }
10434 test -n "$arm64ec_CC" && break
10436 test -n "$arm64ec_CC" || arm64ec_CC="false"
10440 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy $ac_prog; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_prog_arm_CC+y}
10448 printf %s "(cached) " >&6
10450 if test -n "$arm_CC"; then
10451 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10457 case $as_dir in #(((
10460 *) as_dir=$as_dir/ ;;
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_arm_CC="$ac_prog"
10465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10474 arm_CC=$ac_cv_prog_arm_CC
10475 if test -n "$arm_CC"; then
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10477 printf "%s\n" "$arm_CC" >&6; }
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 printf "%s\n" "no" >&6; }
10484 test -n "$arm_CC" && break
10486 test -n "$arm_CC" || arm_CC="false"
10490 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 "
10491 for ac_prog in $ac_prefix_list clang
10493 # Extract the first word of "$ac_prog", so it can be a program name with args.
10494 set dummy $ac_prog; ac_word=$2
10495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10496 printf %s "checking for $ac_word... " >&6; }
10497 if test ${ac_cv_prog_i386_CC+y}
10499 printf %s "(cached) " >&6
10501 if test -n "$i386_CC"; then
10502 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10505 for as_dir in $PATH
10508 case $as_dir in #(((
10511 *) as_dir=$as_dir/ ;;
10513 for ac_exec_ext in '' $ac_executable_extensions; do
10514 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10515 ac_cv_prog_i386_CC="$ac_prog"
10516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10525 i386_CC=$ac_cv_prog_i386_CC
10526 if test -n "$i386_CC"; then
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10528 printf "%s\n" "$i386_CC" >&6; }
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531 printf "%s\n" "no" >&6; }
10535 test -n "$i386_CC" && break
10537 test -n "$i386_CC" || i386_CC="false"
10541 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10542 for ac_prog in $ac_prefix_list clang
10544 # Extract the first word of "$ac_prog", so it can be a program name with args.
10545 set dummy $ac_prog; ac_word=$2
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10547 printf %s "checking for $ac_word... " >&6; }
10548 if test ${ac_cv_prog_x86_64_CC+y}
10550 printf %s "(cached) " >&6
10552 if test -n "$x86_64_CC"; then
10553 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10556 for as_dir in $PATH
10559 case $as_dir in #(((
10562 *) as_dir=$as_dir/ ;;
10564 for ac_exec_ext in '' $ac_executable_extensions; do
10565 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10566 ac_cv_prog_x86_64_CC="$ac_prog"
10567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10576 x86_64_CC=$ac_cv_prog_x86_64_CC
10577 if test -n "$x86_64_CC"; then
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10579 printf "%s\n" "$x86_64_CC" >&6; }
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10582 printf "%s\n" "no" >&6; }
10586 test -n "$x86_64_CC" && break
10588 test -n "$x86_64_CC" || x86_64_CC="false"
10594 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10595 LDFLAGS=$CROSSLDFLAGS
10596 eval CC=\$${wine_arch}_CC
10597 eval ${wine_arch}_CFLAGS=\$CFLAGS
10598 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10599 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10602 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10604 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10609 printf %s "checking whether $CC works... " >&6; }
10610 if eval test \${$as_wine_cv_crosscc+y}
10612 printf %s "(cached) " >&6
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10625 if ac_fn_c_try_compile "$LINENO"
10627 eval "$as_wine_cv_crosscc=yes"
10629 eval "$as_wine_cv_crosscc=no"
10631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10633 eval ac_res=\$$as_wine_cv_crosscc
10634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10635 printf "%s\n" "$ac_res" >&6; }
10637 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10641 while test $# -ge 1
10644 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10645 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10646 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10647 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10652 llvm_target=$target
10653 if test -z "$llvm_target"
10656 i386) llvm_target=i686-windows ;;
10657 arm) llvm_target=armv7-windows ;;
10658 *) llvm_target=$wine_arch-windows ;;
10661 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10662 llvm_extra_ldflags=""
10663 case $llvm_target in
10664 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10666 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10668 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10669 if eval test \${$as_ac_var+y}
10671 printf %s "(cached) " >&6
10673 ac_wine_try_cflags_saved=$CFLAGS
10674 ac_wine_try_cflags_saved_exeext=$ac_exeext
10675 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10679 void *__os_arm64x_dispatch_ret = 0;
10680 int __cdecl mainCRTStartup(void) { return 0; }
10682 if ac_fn_c_try_link "$LINENO"
10684 eval "$as_ac_var=yes"
10686 eval "$as_ac_var=no"
10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10689 conftest$ac_exeext conftest.$ac_ext
10690 CFLAGS=$ac_wine_try_cflags_saved
10691 ac_exeext=$ac_wine_try_cflags_saved_exeext
10693 eval ac_res=\$$as_ac_var
10694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10695 printf "%s\n" "$ac_res" >&6; }
10696 if eval test \"x\$"$as_ac_var"\" = x"yes"
10698 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10699 llvm_extra_ldflags="--no-default-config"
10701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10703 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10704 if eval test \${$as_ac_var+y}
10706 printf %s "(cached) " >&6
10708 ac_wine_try_cflags_saved=$CFLAGS
10709 ac_wine_try_cflags_saved_exeext=$ac_exeext
10710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 void *__os_arm64x_dispatch_ret = 0;
10715 int __cdecl mainCRTStartup(void) { return 0; }
10717 if ac_fn_c_try_link "$LINENO"
10719 eval "$as_ac_var=yes"
10721 eval "$as_ac_var=no"
10723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10724 conftest$ac_exeext conftest.$ac_ext
10725 CFLAGS=$ac_wine_try_cflags_saved
10726 ac_exeext=$ac_wine_try_cflags_saved_exeext
10728 eval ac_res=\$$as_ac_var
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10730 printf "%s\n" "$ac_res" >&6; }
10731 if eval test \"x\$"$as_ac_var"\" = x"yes"
10735 llvm_extra_cflags=""
10738 if test -n "$llvm_extra_cflags"
10740 target=$llvm_target
10741 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10742 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10743 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10744 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10746 eval "${wine_arch}_TARGET=\$target"
10750 if test -z "$target"
10752 if test ${enable_archs+y}
10754 as_fn_error $? "$wine_arch PE cross-compiler not found.
10755 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10760 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10763 printf %s "checking for $CC option to enable C99 features... " >&6; }
10764 if eval test \${$as_wine_cv_crosscc_c99+y}
10766 printf %s "(cached) " >&6
10768 eval "$as_wine_cv_crosscc_c99=no"
10769 for arg in '' '-std=gnu99' '-D__STDC__'
10771 test -z "$arg" || CC="$CC $arg"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 $ac_c_conftest_c99_program
10776 if ac_fn_c_try_compile "$LINENO"
10778 eval "$as_wine_cv_crosscc_c99=\$arg"
10780 eval "$as_wine_cv_crosscc_c99=no"
10782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10783 eval CC=\$${wine_arch}_CC
10784 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10793 eval res=\$$as_wine_cv_crosscc_c99
10796 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10797 printf "%s\n" "none needed" >&6; } ;;
10798 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10799 printf "%s\n" "unsupported" >&6; }
10800 if test ${enable_archs+y}
10802 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10803 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10807 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10808 printf "%s\n" "$res" >&6; }
10809 as_fn_append ${wine_arch}_CC " $res" ;;
10812 if test "x$wine_arch" = xi386
10816 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" |
$as_tr_sh`
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10819 printf %s "checking whether $CC supports SEH directives... " >&6; }
10820 if eval test \${$as_wine_cv_seh_support+y}
10822 printf %s "(cached) " >&6
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10835 if ac_fn_c_try_compile "$LINENO"
10837 eval "$as_wine_cv_seh_support=yes"
10839 eval "$as_wine_cv_seh_support=no"
10841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10843 eval ac_res=\$$as_wine_cv_seh_support
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10845 printf "%s\n" "$ac_res" >&6; }
10846 eval res=\$$as_wine_cv_seh_support
10848 if test "x$res" = xyes
10852 if test ${enable_archs+y}
10854 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10855 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10861 as_fn_append PE_ARCHS " $wine_arch"
10862 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10864 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10865 if eval test \${$as_ac_var+y}
10867 printf %s "(cached) " >&6
10869 ac_wine_try_cflags_saved=$CFLAGS
10870 ac_wine_try_cflags_saved_exeext=$ac_exeext
10871 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 void *__os_arm64x_dispatch_ret = 0;
10876 int __cdecl mainCRTStartup(void) { return 0; }
10878 if ac_fn_c_try_link "$LINENO"
10880 eval "$as_ac_var=yes"
10882 eval "$as_ac_var=no"
10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10885 conftest$ac_exeext conftest.$ac_ext
10886 CFLAGS=$ac_wine_try_cflags_saved
10887 ac_exeext=$ac_wine_try_cflags_saved_exeext
10889 eval ac_res=\$$as_ac_var
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10891 printf "%s\n" "$ac_res" >&6; }
10892 if eval test \"x\$"$as_ac_var"\" = x"yes"
10894 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10896 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10898 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10899 if eval test \${$as_ac_var+y}
10901 printf %s "(cached) " >&6
10903 ac_wine_try_cflags_saved=$CFLAGS
10904 ac_wine_try_cflags_saved_exeext=$ac_exeext
10905 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10909 void *__os_arm64x_dispatch_ret = 0;
10910 int __cdecl mainCRTStartup(void) { return 0; }
10912 if ac_fn_c_try_link "$LINENO"
10914 eval "$as_ac_var=yes"
10916 eval "$as_ac_var=no"
10918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10919 conftest$ac_exeext conftest.$ac_ext
10920 CFLAGS=$ac_wine_try_cflags_saved
10921 ac_exeext=$ac_wine_try_cflags_saved_exeext
10923 eval ac_res=\$$as_ac_var
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10925 printf "%s\n" "$ac_res" >&6; }
10926 if eval test \"x\$"$as_ac_var"\" = x"yes"
10928 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10930 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10932 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10933 if eval test \${$as_ac_var+y}
10935 printf %s "(cached) " >&6
10937 ac_wine_try_cflags_saved=$CFLAGS
10938 ac_wine_try_cflags_saved_exeext=$ac_exeext
10939 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 void *__os_arm64x_dispatch_ret = 0;
10944 int __cdecl mainCRTStartup(void) { return 0; }
10946 if ac_fn_c_try_link "$LINENO"
10948 eval "$as_ac_var=yes"
10950 eval "$as_ac_var=no"
10952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10953 conftest$ac_exeext conftest.$ac_ext
10954 CFLAGS=$ac_wine_try_cflags_saved
10955 ac_exeext=$ac_wine_try_cflags_saved_exeext
10957 eval ac_res=\$$as_ac_var
10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10959 printf "%s\n" "$ac_res" >&6; }
10960 if eval test \"x\$"$as_ac_var"\" = x"yes"
10962 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10964 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10966 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10967 if eval test \${$as_ac_var+y}
10969 printf %s "(cached) " >&6
10971 ac_wine_try_cflags_saved=$CFLAGS
10972 ac_wine_try_cflags_saved_exeext=$ac_exeext
10973 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10977 void *__os_arm64x_dispatch_ret = 0;
10978 int __cdecl mainCRTStartup(void) { return 0; }
10980 if ac_fn_c_try_link "$LINENO"
10982 eval "$as_ac_var=yes"
10984 eval "$as_ac_var=no"
10986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10987 conftest$ac_exeext conftest.$ac_ext
10988 CFLAGS=$ac_wine_try_cflags_saved
10989 ac_exeext=$ac_wine_try_cflags_saved_exeext
10991 eval ac_res=\$$as_ac_var
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10993 printf "%s\n" "$ac_res" >&6; }
10994 if eval test \"x\$"$as_ac_var"\" = x"yes"
10996 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10998 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11000 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11001 if eval test \${$as_ac_var+y}
11003 printf %s "(cached) " >&6
11005 ac_wine_try_cflags_saved=$CFLAGS
11006 ac_wine_try_cflags_saved_exeext=$ac_exeext
11007 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11011 void *__os_arm64x_dispatch_ret = 0;
11012 int __cdecl mainCRTStartup(void) { return 0; }
11014 if ac_fn_c_try_link "$LINENO"
11016 eval "$as_ac_var=yes"
11018 eval "$as_ac_var=no"
11020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11021 conftest$ac_exeext conftest.$ac_ext
11022 CFLAGS=$ac_wine_try_cflags_saved
11023 ac_exeext=$ac_wine_try_cflags_saved_exeext
11025 eval ac_res=\$$as_ac_var
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11027 printf "%s\n" "$ac_res" >&6; }
11028 if eval test \"x\$"$as_ac_var"\" = x"yes"
11030 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11032 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11034 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11035 if eval test \${$as_ac_var+y}
11037 printf %s "(cached) " >&6
11039 ac_wine_try_cflags_saved=$CFLAGS
11040 ac_wine_try_cflags_saved_exeext=$ac_exeext
11041 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11045 void *__os_arm64x_dispatch_ret = 0;
11046 int __cdecl mainCRTStartup(void) { return 0; }
11048 if ac_fn_c_try_link "$LINENO"
11050 eval "$as_ac_var=yes"
11052 eval "$as_ac_var=no"
11054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11055 conftest$ac_exeext conftest.$ac_ext
11056 CFLAGS=$ac_wine_try_cflags_saved
11057 ac_exeext=$ac_wine_try_cflags_saved_exeext
11059 eval ac_res=\$$as_ac_var
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11061 printf "%s\n" "$ac_res" >&6; }
11062 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11066 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11068 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11069 if eval test \${$as_ac_var+y}
11071 printf %s "(cached) " >&6
11073 ac_wine_try_cflags_saved=$CFLAGS
11074 ac_wine_try_cflags_saved_exeext=$ac_exeext
11075 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 void *__os_arm64x_dispatch_ret = 0;
11080 int __cdecl mainCRTStartup(void) { return 0; }
11082 if ac_fn_c_try_link "$LINENO"
11084 eval "$as_ac_var=yes"
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11102 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11103 if eval test \${$as_ac_var+y}
11105 printf %s "(cached) " >&6
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 void *__os_arm64x_dispatch_ret = 0;
11114 int __cdecl mainCRTStartup(void) { return 0; }
11116 if ac_fn_c_try_link "$LINENO"
11118 eval "$as_ac_var=yes"
11120 eval "$as_ac_var=no"
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11125 ac_exeext=$ac_wine_try_cflags_saved_exeext
11127 eval ac_res=\$$as_ac_var
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11129 printf "%s\n" "$ac_res" >&6; }
11130 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11134 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11136 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11137 if eval test \${$as_ac_var+y}
11139 printf %s "(cached) " >&6
11141 ac_wine_try_cflags_saved=$CFLAGS
11142 ac_wine_try_cflags_saved_exeext=$ac_exeext
11143 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 void *__os_arm64x_dispatch_ret = 0;
11148 int __cdecl mainCRTStartup(void) { return 0; }
11150 if ac_fn_c_try_link "$LINENO"
11152 eval "$as_ac_var=yes"
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11170 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11171 if eval test \${$as_ac_var+y}
11173 printf %s "(cached) " >&6
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 void *__os_arm64x_dispatch_ret = 0;
11182 int __cdecl mainCRTStartup(void) { return 0; }
11184 if ac_fn_c_try_link "$LINENO"
11186 eval "$as_ac_var=yes"
11188 eval "$as_ac_var=no"
11190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11191 conftest$ac_exeext conftest.$ac_ext
11192 CFLAGS=$ac_wine_try_cflags_saved
11193 ac_exeext=$ac_wine_try_cflags_saved_exeext
11195 eval ac_res=\$$as_ac_var
11196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11197 printf "%s\n" "$ac_res" >&6; }
11198 if eval test \"x\$"$as_ac_var"\" = x"yes"
11200 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11202 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11204 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11205 if eval test \${$as_ac_var+y}
11207 printf %s "(cached) " >&6
11209 ac_wine_try_cflags_saved=$CFLAGS
11210 ac_wine_try_cflags_saved_exeext=$ac_exeext
11211 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11215 void *__os_arm64x_dispatch_ret = 0;
11216 int __cdecl mainCRTStartup(void) { return 0; }
11218 if ac_fn_c_try_link "$LINENO"
11220 eval "$as_ac_var=yes"
11222 eval "$as_ac_var=no"
11224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11225 conftest$ac_exeext conftest.$ac_ext
11226 CFLAGS=$ac_wine_try_cflags_saved
11227 ac_exeext=$ac_wine_try_cflags_saved_exeext
11229 eval ac_res=\$$as_ac_var
11230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11231 printf "%s\n" "$ac_res" >&6; }
11232 if eval test \"x\$"$as_ac_var"\" = x"yes"
11234 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11236 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11238 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11239 if eval test \${$as_ac_var+y}
11241 printf %s "(cached) " >&6
11243 ac_wine_try_cflags_saved=$CFLAGS
11244 ac_wine_try_cflags_saved_exeext=$ac_exeext
11245 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 void *__os_arm64x_dispatch_ret = 0;
11250 int __cdecl mainCRTStartup(void) { return 0; }
11252 if ac_fn_c_try_link "$LINENO"
11254 eval "$as_ac_var=yes"
11256 eval "$as_ac_var=no"
11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11259 conftest$ac_exeext conftest.$ac_ext
11260 CFLAGS=$ac_wine_try_cflags_saved
11261 ac_exeext=$ac_wine_try_cflags_saved_exeext
11263 eval ac_res=\$$as_ac_var
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11265 printf "%s\n" "$ac_res" >&6; }
11266 if eval test \"x\$"$as_ac_var"\" = x"yes"
11268 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11270 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11272 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11273 if eval test \${$as_ac_var+y}
11275 printf %s "(cached) " >&6
11277 ac_wine_try_cflags_saved=$CFLAGS
11278 ac_wine_try_cflags_saved_exeext=$ac_exeext
11279 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 void *__os_arm64x_dispatch_ret = 0;
11284 int __cdecl mainCRTStartup(void) { return 0; }
11286 if ac_fn_c_try_link "$LINENO"
11288 eval "$as_ac_var=yes"
11290 eval "$as_ac_var=no"
11292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11293 conftest$ac_exeext conftest.$ac_ext
11294 CFLAGS=$ac_wine_try_cflags_saved
11295 ac_exeext=$ac_wine_try_cflags_saved_exeext
11297 eval ac_res=\$$as_ac_var
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11299 printf "%s\n" "$ac_res" >&6; }
11300 if eval test \"x\$"$as_ac_var"\" = x"yes"
11302 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11304 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11306 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11307 if eval test \${$as_ac_var+y}
11309 printf %s "(cached) " >&6
11311 ac_wine_try_cflags_saved=$CFLAGS
11312 ac_wine_try_cflags_saved_exeext=$ac_exeext
11313 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 void *__os_arm64x_dispatch_ret = 0;
11318 int __cdecl mainCRTStartup(void) { return 0; }
11320 if ac_fn_c_try_link "$LINENO"
11322 eval "$as_ac_var=yes"
11324 eval "$as_ac_var=no"
11326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11327 conftest$ac_exeext conftest.$ac_ext
11328 CFLAGS=$ac_wine_try_cflags_saved
11329 ac_exeext=$ac_wine_try_cflags_saved_exeext
11331 eval ac_res=\$$as_ac_var
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11333 printf "%s\n" "$ac_res" >&6; }
11334 if eval test \"x\$"$as_ac_var"\" = x"yes"
11336 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11338 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11340 printf %s "checking whether $CC supports -Wvla... " >&6; }
11341 if eval test \${$as_ac_var+y}
11343 printf %s "(cached) " >&6
11345 ac_wine_try_cflags_saved=$CFLAGS
11346 ac_wine_try_cflags_saved_exeext=$ac_exeext
11347 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11351 void *__os_arm64x_dispatch_ret = 0;
11352 int __cdecl mainCRTStartup(void) { return 0; }
11354 if ac_fn_c_try_link "$LINENO"
11356 eval "$as_ac_var=yes"
11358 eval "$as_ac_var=no"
11360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11361 conftest$ac_exeext conftest.$ac_ext
11362 CFLAGS=$ac_wine_try_cflags_saved
11363 ac_exeext=$ac_wine_try_cflags_saved_exeext
11365 eval ac_res=\$$as_ac_var
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11367 printf "%s\n" "$ac_res" >&6; }
11368 if eval test \"x\$"$as_ac_var"\" = x"yes"
11370 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11372 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11374 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11375 if eval test \${$as_ac_var+y}
11377 printf %s "(cached) " >&6
11379 ac_wine_try_cflags_saved=$CFLAGS
11380 ac_wine_try_cflags_saved_exeext=$ac_exeext
11381 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11385 void *__os_arm64x_dispatch_ret = 0;
11386 int __cdecl mainCRTStartup(void) { return 0; }
11388 if ac_fn_c_try_link "$LINENO"
11390 eval "$as_ac_var=yes"
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11406 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11408 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11409 if eval test \${$as_ac_var+y}
11411 printf %s "(cached) " >&6
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 void *__os_arm64x_dispatch_ret = 0;
11420 int __cdecl mainCRTStartup(void) { return 0; }
11422 if ac_fn_c_try_link "$LINENO"
11424 eval "$as_ac_var=yes"
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11442 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11443 if eval test \${$as_ac_var+y}
11445 printf %s "(cached) " >&6
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 void *__os_arm64x_dispatch_ret = 0;
11454 int __cdecl mainCRTStartup(void) { return 0; }
11456 if ac_fn_c_try_link "$LINENO"
11458 eval "$as_ac_var=yes"
11460 eval "$as_ac_var=no"
11462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11463 conftest$ac_exeext conftest.$ac_ext
11464 CFLAGS=$ac_wine_try_cflags_saved
11465 ac_exeext=$ac_wine_try_cflags_saved_exeext
11467 eval ac_res=\$$as_ac_var
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11469 printf "%s\n" "$ac_res" >&6; }
11470 if eval test \"x\$"$as_ac_var"\" = x"yes"
11472 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11474 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11476 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11477 if eval test \${$as_ac_var+y}
11479 printf %s "(cached) " >&6
11481 ac_wine_try_cflags_saved=$CFLAGS
11482 ac_wine_try_cflags_saved_exeext=$ac_exeext
11483 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 void *__os_arm64x_dispatch_ret = 0;
11488 int __cdecl mainCRTStartup(void) { return 0; }
11490 if ac_fn_c_try_link "$LINENO"
11492 eval "$as_ac_var=yes"
11494 eval "$as_ac_var=no"
11496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11497 conftest$ac_exeext conftest.$ac_ext
11498 CFLAGS=$ac_wine_try_cflags_saved
11499 ac_exeext=$ac_wine_try_cflags_saved_exeext
11501 eval ac_res=\$$as_ac_var
11502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11503 printf "%s\n" "$ac_res" >&6; }
11504 if eval test \"x\$"$as_ac_var"\" = x"yes"
11506 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11508 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" |
$as_tr_sh`
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11510 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11511 if eval test \${$as_ac_var+y}
11513 printf %s "(cached) " >&6
11515 ac_wine_try_cflags_saved=$CFLAGS
11516 ac_wine_try_cflags_saved_exeext=$ac_exeext
11517 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 void *__os_arm64x_dispatch_ret = 0;
11522 int __cdecl mainCRTStartup(void) { return 0; }
11524 if ac_fn_c_try_link "$LINENO"
11526 eval "$as_ac_var=yes"
11528 eval "$as_ac_var=no"
11530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11531 conftest$ac_exeext conftest.$ac_ext
11532 CFLAGS=$ac_wine_try_cflags_saved
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 eval ac_res=\$$as_ac_var
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11537 printf "%s\n" "$ac_res" >&6; }
11538 if eval test \"x\$"$as_ac_var"\" = x"yes"
11542 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" |
$as_tr_sh`
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11544 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11545 if eval test \${$as_ac_var+y}
11547 printf %s "(cached) " >&6
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_exeext=$ac_exeext
11551 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 void *__os_arm64x_dispatch_ret = 0;
11556 int __cdecl mainCRTStartup(void) { return 0; }
11558 if ac_fn_c_try_link "$LINENO"
11560 eval "$as_ac_var=yes"
11562 eval "$as_ac_var=no"
11564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11565 conftest$ac_exeext conftest.$ac_ext
11566 CFLAGS=$ac_wine_try_cflags_saved
11567 ac_exeext=$ac_wine_try_cflags_saved_exeext
11569 eval ac_res=\$$as_ac_var
11570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11571 printf "%s\n" "$ac_res" >&6; }
11572 if eval test \"x\$"$as_ac_var"\" = x"yes"
11574 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11578 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" |
$as_tr_sh`
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11580 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11581 if eval test \${$as_ac_var+y}
11583 printf %s "(cached) " >&6
11585 ac_wine_try_cflags_saved=$CFLAGS
11586 ac_wine_try_cflags_saved_exeext=$ac_exeext
11587 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11591 void *__os_arm64x_dispatch_ret = 0;
11592 int __cdecl mainCRTStartup(void) { return 0; }
11594 if ac_fn_c_try_link "$LINENO"
11596 eval "$as_ac_var=yes"
11598 eval "$as_ac_var=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS=$ac_wine_try_cflags_saved
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 eval ac_res=\$$as_ac_var
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11607 printf "%s\n" "$ac_res" >&6; }
11608 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11614 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11616 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11617 if eval test \${$as_ac_var+y}
11619 printf %s "(cached) " >&6
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 void *__os_arm64x_dispatch_ret = 0;
11628 int __cdecl mainCRTStartup(void) { return 0; }
11630 if ac_fn_c_try_link "$LINENO"
11632 eval "$as_ac_var=yes"
11634 eval "$as_ac_var=no"
11636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11637 conftest$ac_exeext conftest.$ac_ext
11638 CFLAGS=$ac_wine_try_cflags_saved
11639 ac_exeext=$ac_wine_try_cflags_saved_exeext
11641 eval ac_res=\$$as_ac_var
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11643 printf "%s\n" "$ac_res" >&6; }
11644 if eval test \"x\$"$as_ac_var"\" = x"yes"
11646 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11648 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" |
$as_tr_sh`
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11650 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11651 if eval test \${$as_ac_var+y}
11653 printf %s "(cached) " >&6
11655 ac_wine_try_cflags_saved=$CFLAGS
11656 ac_wine_try_cflags_saved_exeext=$ac_exeext
11657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11661 void *__os_arm64x_dispatch_ret = 0;
11662 int __cdecl mainCRTStartup(void) { return 0; }
11664 if ac_fn_c_try_link "$LINENO"
11666 eval "$as_ac_var=yes"
11668 eval "$as_ac_var=no"
11670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11671 conftest$ac_exeext conftest.$ac_ext
11672 CFLAGS=$ac_wine_try_cflags_saved
11673 ac_exeext=$ac_wine_try_cflags_saved_exeext
11675 eval ac_res=\$$as_ac_var
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11677 printf "%s\n" "$ac_res" >&6; }
11678 if eval test \"x\$"$as_ac_var"\" = x"yes"
11680 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11682 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11684 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11685 if eval test \${$as_ac_var+y}
11687 printf %s "(cached) " >&6
11689 ac_wine_try_cflags_saved=$CFLAGS
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11695 void *__os_arm64x_dispatch_ret = 0;
11696 int __cdecl mainCRTStartup(void) { return 0; }
11698 if ac_fn_c_try_link "$LINENO"
11700 eval "$as_ac_var=yes"
11702 eval "$as_ac_var=no"
11704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11705 conftest$ac_exeext conftest.$ac_ext
11706 CFLAGS=$ac_wine_try_cflags_saved
11707 ac_exeext=$ac_wine_try_cflags_saved_exeext
11709 eval ac_res=\$$as_ac_var
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11711 printf "%s\n" "$ac_res" >&6; }
11712 if eval test \"x\$"$as_ac_var"\" = x"yes"
11714 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11716 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11718 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11719 if eval test \${$as_ac_var+y}
11721 printf %s "(cached) " >&6
11723 ac_wine_try_cflags_saved=$CFLAGS
11724 ac_wine_try_cflags_saved_exeext=$ac_exeext
11725 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11729 void *__os_arm64x_dispatch_ret = 0;
11730 int __cdecl mainCRTStartup(void) { return 0; }
11732 if ac_fn_c_try_link "$LINENO"
11734 eval "$as_ac_var=yes"
11736 eval "$as_ac_var=no"
11738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11739 conftest$ac_exeext conftest.$ac_ext
11740 CFLAGS=$ac_wine_try_cflags_saved
11741 ac_exeext=$ac_wine_try_cflags_saved_exeext
11743 eval ac_res=\$$as_ac_var
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11745 printf "%s\n" "$ac_res" >&6; }
11746 if eval test \"x\$"$as_ac_var"\" = x"yes"
11748 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11750 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11752 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11753 if eval test \${$as_ac_var+y}
11755 printf %s "(cached) " >&6
11757 ac_wine_try_cflags_saved=$CFLAGS
11758 ac_wine_try_cflags_saved_exeext=$ac_exeext
11759 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11763 void *__os_arm64x_dispatch_ret = 0;
11764 int __cdecl mainCRTStartup(void) { return 0; }
11766 if ac_fn_c_try_link "$LINENO"
11768 eval "$as_ac_var=yes"
11770 eval "$as_ac_var=no"
11772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11773 conftest$ac_exeext conftest.$ac_ext
11774 CFLAGS=$ac_wine_try_cflags_saved
11775 ac_exeext=$ac_wine_try_cflags_saved_exeext
11777 eval ac_res=\$$as_ac_var
11778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11779 printf "%s\n" "$ac_res" >&6; }
11780 if eval test \"x\$"$as_ac_var"\" = x"yes"
11782 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11784 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11786 printf %s "checking whether $CC supports -mcx16... " >&6; }
11787 if eval test \${$as_ac_var+y}
11789 printf %s "(cached) " >&6
11791 ac_wine_try_cflags_saved=$CFLAGS
11792 ac_wine_try_cflags_saved_exeext=$ac_exeext
11793 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11797 void *__os_arm64x_dispatch_ret = 0;
11798 int __cdecl mainCRTStartup(void) { return 0; }
11800 if ac_fn_c_try_link "$LINENO"
11802 eval "$as_ac_var=yes"
11804 eval "$as_ac_var=no"
11806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11807 conftest$ac_exeext conftest.$ac_ext
11808 CFLAGS=$ac_wine_try_cflags_saved
11809 ac_exeext=$ac_wine_try_cflags_saved_exeext
11811 eval ac_res=\$$as_ac_var
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11813 printf "%s\n" "$ac_res" >&6; }
11814 if eval test \"x\$"$as_ac_var"\" = x"yes"
11816 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11818 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11820 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11821 if eval test \${$as_ac_var+y}
11823 printf %s "(cached) " >&6
11825 ac_wine_try_cflags_saved=$CFLAGS
11826 ac_wine_try_cflags_saved_exeext=$ac_exeext
11827 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11831 void *__os_arm64x_dispatch_ret = 0;
11832 int __cdecl mainCRTStartup(void) { return 0; }
11834 if ac_fn_c_try_link "$LINENO"
11836 eval "$as_ac_var=yes"
11838 eval "$as_ac_var=no"
11840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11841 conftest$ac_exeext conftest.$ac_ext
11842 CFLAGS=$ac_wine_try_cflags_saved
11843 ac_exeext=$ac_wine_try_cflags_saved_exeext
11845 eval ac_res=\$$as_ac_var
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11847 printf "%s\n" "$ac_res" >&6; }
11848 if eval test \"x\$"$as_ac_var"\" = x"yes"
11850 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11854 wine_crossdebug=$CROSSDEBUG
11855 if test -z "$wine_crossdebug"
11857 for ac_flag in $CFLAGS; do
11859 -gdwarf*) wine_crossdebug=dwarf ;;
11860 -gcodeview) wine_crossdebug=pdb ;;
11861 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11866 ac_debug_format_seen=""
11867 for ac_flag in $CFLAGS; do
11869 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11872 if test "x$ac_debug_format_seen" = x
11874 case $wine_crossdebug in
11875 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11877 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11878 if eval test \${$as_ac_var+y}
11880 printf %s "(cached) " >&6
11882 ac_wine_try_cflags_saved=$CFLAGS
11883 ac_wine_try_cflags_saved_exeext=$ac_exeext
11884 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11888 void *__os_arm64x_dispatch_ret = 0;
11889 int __cdecl mainCRTStartup(void) { return 0; }
11891 if ac_fn_c_try_link "$LINENO"
11893 eval "$as_ac_var=yes"
11895 eval "$as_ac_var=no"
11897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11898 conftest$ac_exeext conftest.$ac_ext
11899 CFLAGS=$ac_wine_try_cflags_saved
11900 ac_exeext=$ac_wine_try_cflags_saved_exeext
11902 eval ac_res=\$$as_ac_var
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11904 printf "%s\n" "$ac_res" >&6; }
11905 if eval test \"x\$"$as_ac_var"\" = x"yes"
11907 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11909 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11911 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11912 if eval test \${$as_ac_var+y}
11914 printf %s "(cached) " >&6
11916 ac_wine_try_cflags_saved=$CFLAGS
11917 ac_wine_try_cflags_saved_exeext=$ac_exeext
11918 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 void *__os_arm64x_dispatch_ret = 0;
11923 int __cdecl mainCRTStartup(void) { return 0; }
11925 if ac_fn_c_try_link "$LINENO"
11927 eval "$as_ac_var=yes"
11929 eval "$as_ac_var=no"
11931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11932 conftest$ac_exeext conftest.$ac_ext
11933 CFLAGS=$ac_wine_try_cflags_saved
11934 ac_exeext=$ac_wine_try_cflags_saved_exeext
11936 eval ac_res=\$$as_ac_var
11937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11938 printf "%s\n" "$ac_res" >&6; }
11939 if eval test \"x\$"$as_ac_var"\" = x"yes"
11941 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11945 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11947 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11949 printf %s "checking whether $CC supports -Werror... " >&6; }
11950 if eval test \${$as_ac_var+y}
11952 printf %s "(cached) " >&6
11954 ac_wine_try_cflags_saved=$CFLAGS
11955 ac_wine_try_cflags_saved_exeext=$ac_exeext
11956 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 void *__os_arm64x_dispatch_ret = 0;
11961 int __cdecl mainCRTStartup(void) { return 0; }
11963 if ac_fn_c_try_link "$LINENO"
11965 eval "$as_ac_var=yes"
11967 eval "$as_ac_var=no"
11969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11970 conftest$ac_exeext conftest.$ac_ext
11971 CFLAGS=$ac_wine_try_cflags_saved
11972 ac_exeext=$ac_wine_try_cflags_saved_exeext
11974 eval ac_res=\$$as_ac_var
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11976 printf "%s\n" "$ac_res" >&6; }
11977 if eval test \"x\$"$as_ac_var"\" = x"yes"
11979 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11981 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11983 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11984 if eval test \${$as_ac_var+y}
11986 printf %s "(cached) " >&6
11988 ac_wine_try_cflags_saved=$CFLAGS
11989 ac_wine_try_cflags_saved_exeext=$ac_exeext
11990 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994 void *__os_arm64x_dispatch_ret = 0;
11995 int __cdecl mainCRTStartup(void) { return 0; }
11997 if ac_fn_c_try_link "$LINENO"
11999 eval "$as_ac_var=yes"
12001 eval "$as_ac_var=no"
12003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12004 conftest$ac_exeext conftest.$ac_ext
12005 CFLAGS=$ac_wine_try_cflags_saved
12006 ac_exeext=$ac_wine_try_cflags_saved_exeext
12008 eval ac_res=\$$as_ac_var
12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12010 printf "%s\n" "$ac_res" >&6; }
12011 if eval test \"x\$"$as_ac_var"\" = x"yes"
12013 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12014 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12020 CFLAGS=$saved_CFLAGS
12021 LDFLAGS=$saved_LDFLAGS
12025 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
12030 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12032 if test "x$HOST_ARCH" = xi386
12034 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12036 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12038 for ac_prog in $ac_prefix_list
12040 # Extract the first word of "$ac_prog", so it can be a program name with args.
12041 set dummy $ac_prog; ac_word=$2
12042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12043 printf %s "checking for $ac_word... " >&6; }
12044 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12046 printf %s "(cached) " >&6
12048 if test -n "$MINGW_PKG_CONFIG"; then
12049 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12052 for as_dir in $PATH
12055 case $as_dir in #(((
12058 *) as_dir=$as_dir/ ;;
12060 for ac_exec_ext in '' $ac_executable_extensions; do
12061 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12062 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12072 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12073 if test -n "$MINGW_PKG_CONFIG"; then
12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12075 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 printf "%s\n" "no" >&6; }
12082 test -n "$MINGW_PKG_CONFIG" && break
12084 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12086 if ${FAUDIO_PE_CFLAGS:+false} :
12088 if test ${MINGW_PKG_CONFIG+y}
12090 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12093 if ${FAUDIO_PE_LIBS:+false} :
12095 if test ${MINGW_PKG_CONFIG+y}
12097 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12100 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12101 ac_save_CPPFLAGS=$CPPFLAGS
12102 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12104 printf %s "checking for MinGW FAudio.h... " >&6; }
12105 if test ${ac_cv_mingw_header_FAudio_h+y}
12107 printf %s "(cached) " >&6
12109 ac_wine_check_headers_saved_cc=$CC
12110 ac_wine_check_headers_saved_exeext=$ac_exeext
12111 eval CC=\$${wine_arch}_CC
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 #include <FAudio.h>
12125 if ac_fn_c_try_compile "$LINENO"
12127 ac_cv_mingw_header_FAudio_h=yes
12129 ac_cv_mingw_header_FAudio_h=no
12131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12132 CC=$ac_wine_check_headers_saved_cc
12133 ac_exeext=$ac_wine_check_headers_saved_exeext
12135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12136 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12137 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12140 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12141 if test ${ac_cv_mingw_lib_FAudio+y}
12143 printf %s "(cached) " >&6
12145 ac_wine_check_headers_saved_cc=$CC
12146 ac_wine_check_headers_saved_exeext=$ac_exeext
12147 ac_wine_check_headers_saved_libs=$LIBS
12148 eval CC=\$${wine_arch}_CC
12150 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 char FAudio_CommitOperationSet ();
12161 return FAudio_CommitOperationSet ();
12166 if ac_fn_c_try_link "$LINENO"
12168 ac_cv_mingw_lib_FAudio=yes
12170 ac_cv_mingw_lib_FAudio=no
12172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12173 conftest$ac_exeext conftest.$ac_ext
12174 CC=$ac_wine_check_headers_saved_cc
12175 ac_exeext=$ac_wine_check_headers_saved_exeext
12176 LIBS=$ac_wine_check_headers_saved_libs
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12179 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12180 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12184 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12187 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12189 CPPFLAGS=$ac_save_CPPFLAGS
12191 if test "x$FAUDIO_PE_LIBS" = "x"
12193 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12196 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12198 if test ${MINGW_PKG_CONFIG+y}
12200 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12203 if ${FLUIDSYNTH_PE_LIBS:+false} :
12205 if test ${MINGW_PKG_CONFIG+y}
12207 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12210 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12211 ac_save_CPPFLAGS=$CPPFLAGS
12212 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12214 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12215 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12217 printf %s "(cached) " >&6
12219 ac_wine_check_headers_saved_cc=$CC
12220 ac_wine_check_headers_saved_exeext=$ac_exeext
12221 eval CC=\$${wine_arch}_CC
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 #include <fluidsynth.h>
12235 if ac_fn_c_try_compile "$LINENO"
12237 ac_cv_mingw_header_fluidsynth_h=yes
12239 ac_cv_mingw_header_fluidsynth_h=no
12241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12242 CC=$ac_wine_check_headers_saved_cc
12243 ac_exeext=$ac_wine_check_headers_saved_exeext
12245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12246 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12247 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12250 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12251 if test ${ac_cv_mingw_lib_fluidsynth+y}
12253 printf %s "(cached) " >&6
12255 ac_wine_check_headers_saved_cc=$CC
12256 ac_wine_check_headers_saved_exeext=$ac_exeext
12257 ac_wine_check_headers_saved_libs=$LIBS
12258 eval CC=\$${wine_arch}_CC
12260 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 char new_fluid_synth ();
12271 return new_fluid_synth ();
12276 if ac_fn_c_try_link "$LINENO"
12278 ac_cv_mingw_lib_fluidsynth=yes
12280 ac_cv_mingw_lib_fluidsynth=no
12282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12283 conftest$ac_exeext conftest.$ac_ext
12284 CC=$ac_wine_check_headers_saved_cc
12285 ac_exeext=$ac_wine_check_headers_saved_exeext
12286 LIBS=$ac_wine_check_headers_saved_libs
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12289 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12290 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12294 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12297 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12299 CPPFLAGS=$ac_save_CPPFLAGS
12301 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12303 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12306 if ${JPEG_PE_CFLAGS:+false} :
12308 if test ${MINGW_PKG_CONFIG+y}
12310 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12313 if ${JPEG_PE_LIBS:+false} :
12315 if test ${MINGW_PKG_CONFIG+y}
12317 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12321 ac_save_CPPFLAGS=$CPPFLAGS
12322 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12324 printf %s "checking for MinGW jpeglib.h... " >&6; }
12325 if test ${ac_cv_mingw_header_jpeglib_h+y}
12327 printf %s "(cached) " >&6
12329 ac_wine_check_headers_saved_cc=$CC
12330 ac_wine_check_headers_saved_exeext=$ac_exeext
12331 eval CC=\$${wine_arch}_CC
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 #include <stddef.h>
12337 #include <jpeglib.h>
12346 if ac_fn_c_try_compile "$LINENO"
12348 ac_cv_mingw_header_jpeglib_h=yes
12350 ac_cv_mingw_header_jpeglib_h=no
12352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12353 CC=$ac_wine_check_headers_saved_cc
12354 ac_exeext=$ac_wine_check_headers_saved_exeext
12356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12357 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12358 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12361 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12362 if test ${ac_cv_mingw_lib_jpeg+y}
12364 printf %s "(cached) " >&6
12366 ac_wine_check_headers_saved_cc=$CC
12367 ac_wine_check_headers_saved_exeext=$ac_exeext
12368 ac_wine_check_headers_saved_libs=$LIBS
12369 eval CC=\$${wine_arch}_CC
12371 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12378 char jpeg_start_decompress ();
12382 return jpeg_start_decompress ();
12387 if ac_fn_c_try_link "$LINENO"
12389 ac_cv_mingw_lib_jpeg=yes
12391 ac_cv_mingw_lib_jpeg=no
12393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12394 conftest$ac_exeext conftest.$ac_ext
12395 CC=$ac_wine_check_headers_saved_cc
12396 ac_exeext=$ac_wine_check_headers_saved_exeext
12397 LIBS=$ac_wine_check_headers_saved_libs
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12400 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12401 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12405 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12408 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12410 CPPFLAGS=$ac_save_CPPFLAGS
12412 if test "x$JPEG_PE_LIBS" = "x"
12414 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12417 if ${LCMS2_PE_CFLAGS:+false} :
12419 if test ${MINGW_PKG_CONFIG+y}
12421 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12424 if ${LCMS2_PE_LIBS:+false} :
12426 if test ${MINGW_PKG_CONFIG+y}
12428 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12431 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12432 ac_save_CPPFLAGS=$CPPFLAGS
12433 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12435 printf %s "checking for MinGW lcms2.h... " >&6; }
12436 if test ${ac_cv_mingw_header_lcms2_h+y}
12438 printf %s "(cached) " >&6
12440 ac_wine_check_headers_saved_cc=$CC
12441 ac_wine_check_headers_saved_exeext=$ac_exeext
12442 eval CC=\$${wine_arch}_CC
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12456 if ac_fn_c_try_compile "$LINENO"
12458 ac_cv_mingw_header_lcms2_h=yes
12460 ac_cv_mingw_header_lcms2_h=no
12462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12463 CC=$ac_wine_check_headers_saved_cc
12464 ac_exeext=$ac_wine_check_headers_saved_exeext
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12467 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12468 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12471 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12472 if test ${ac_cv_mingw_lib_lcms2+y}
12474 printf %s "(cached) " >&6
12476 ac_wine_check_headers_saved_cc=$CC
12477 ac_wine_check_headers_saved_exeext=$ac_exeext
12478 ac_wine_check_headers_saved_libs=$LIBS
12479 eval CC=\$${wine_arch}_CC
12481 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 char cmsOpenProfileFromFile ();
12492 return cmsOpenProfileFromFile ();
12497 if ac_fn_c_try_link "$LINENO"
12499 ac_cv_mingw_lib_lcms2=yes
12501 ac_cv_mingw_lib_lcms2=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12504 conftest$ac_exeext conftest.$ac_ext
12505 CC=$ac_wine_check_headers_saved_cc
12506 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 LIBS=$ac_wine_check_headers_saved_libs
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12510 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12511 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12515 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12518 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12520 CPPFLAGS=$ac_save_CPPFLAGS
12522 if test "x$LCMS2_PE_LIBS" = "x"
12524 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12527 if ${MPG123_PE_CFLAGS:+false} :
12529 if test ${MINGW_PKG_CONFIG+y}
12531 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12534 if ${MPG123_PE_LIBS:+false} :
12536 if test ${MINGW_PKG_CONFIG+y}
12538 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12541 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12542 ac_save_CPPFLAGS=$CPPFLAGS
12543 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12545 printf %s "checking for MinGW mpg123.h... " >&6; }
12546 if test ${ac_cv_mingw_header_mpg123_h+y}
12548 printf %s "(cached) " >&6
12550 ac_wine_check_headers_saved_cc=$CC
12551 ac_wine_check_headers_saved_exeext=$ac_exeext
12552 eval CC=\$${wine_arch}_CC
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12557 #include <mpg123.h>
12566 if ac_fn_c_try_compile "$LINENO"
12568 ac_cv_mingw_header_mpg123_h=yes
12570 ac_cv_mingw_header_mpg123_h=no
12572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12573 CC=$ac_wine_check_headers_saved_cc
12574 ac_exeext=$ac_wine_check_headers_saved_exeext
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12577 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12578 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12581 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12582 if test ${ac_cv_mingw_lib_mpg123+y}
12584 printf %s "(cached) " >&6
12586 ac_wine_check_headers_saved_cc=$CC
12587 ac_wine_check_headers_saved_exeext=$ac_exeext
12588 ac_wine_check_headers_saved_libs=$LIBS
12589 eval CC=\$${wine_arch}_CC
12591 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12598 char mpg123_feed ();
12602 return mpg123_feed ();
12607 if ac_fn_c_try_link "$LINENO"
12609 ac_cv_mingw_lib_mpg123=yes
12611 ac_cv_mingw_lib_mpg123=no
12613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12614 conftest$ac_exeext conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12617 LIBS=$ac_wine_check_headers_saved_libs
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12620 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12621 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12625 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12628 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12630 CPPFLAGS=$ac_save_CPPFLAGS
12632 if test "x$MPG123_PE_LIBS" = "x"
12634 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12637 if ${PNG_PE_CFLAGS:+false} :
12639 if test ${MINGW_PKG_CONFIG+y}
12641 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12644 if ${PNG_PE_LIBS:+false} :
12646 if test ${MINGW_PKG_CONFIG+y}
12648 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12652 ac_save_CPPFLAGS=$CPPFLAGS
12653 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12655 printf %s "checking for MinGW png.h... " >&6; }
12656 if test ${ac_cv_mingw_header_png_h+y}
12658 printf %s "(cached) " >&6
12660 ac_wine_check_headers_saved_cc=$CC
12661 ac_wine_check_headers_saved_exeext=$ac_exeext
12662 eval CC=\$${wine_arch}_CC
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12676 if ac_fn_c_try_compile "$LINENO"
12678 ac_cv_mingw_header_png_h=yes
12680 ac_cv_mingw_header_png_h=no
12682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12683 CC=$ac_wine_check_headers_saved_cc
12684 ac_exeext=$ac_wine_check_headers_saved_exeext
12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12687 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12688 if test "x$ac_cv_mingw_header_png_h" = xyes
12690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12691 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12692 if test ${ac_cv_mingw_lib_png+y}
12694 printf %s "(cached) " >&6
12696 ac_wine_check_headers_saved_cc=$CC
12697 ac_wine_check_headers_saved_exeext=$ac_exeext
12698 ac_wine_check_headers_saved_libs=$LIBS
12699 eval CC=\$${wine_arch}_CC
12701 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 char png_create_read_struct ();
12712 return png_create_read_struct ();
12717 if ac_fn_c_try_link "$LINENO"
12719 ac_cv_mingw_lib_png=yes
12721 ac_cv_mingw_lib_png=no
12723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12724 conftest$ac_exeext conftest.$ac_ext
12725 CC=$ac_wine_check_headers_saved_cc
12726 ac_exeext=$ac_wine_check_headers_saved_exeext
12727 LIBS=$ac_wine_check_headers_saved_libs
12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12730 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12731 if test "x$ac_cv_mingw_lib_png" = xyes
12735 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12738 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12740 CPPFLAGS=$ac_save_CPPFLAGS
12742 if test "x$PNG_PE_LIBS" = "x"
12744 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12747 if ${TIFF_PE_CFLAGS:+false} :
12749 if test ${MINGW_PKG_CONFIG+y}
12751 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12754 if ${TIFF_PE_LIBS:+false} :
12756 if test ${MINGW_PKG_CONFIG+y}
12758 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12762 ac_save_CPPFLAGS=$CPPFLAGS
12763 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12765 printf %s "checking for MinGW tiffio.h... " >&6; }
12766 if test ${ac_cv_mingw_header_tiffio_h+y}
12768 printf %s "(cached) " >&6
12770 ac_wine_check_headers_saved_cc=$CC
12771 ac_wine_check_headers_saved_exeext=$ac_exeext
12772 eval CC=\$${wine_arch}_CC
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 #include <tiffio.h>
12786 if ac_fn_c_try_compile "$LINENO"
12788 ac_cv_mingw_header_tiffio_h=yes
12790 ac_cv_mingw_header_tiffio_h=no
12792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12793 CC=$ac_wine_check_headers_saved_cc
12794 ac_exeext=$ac_wine_check_headers_saved_exeext
12796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12797 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12798 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12801 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12802 if test ${ac_cv_mingw_lib_tiff+y}
12804 printf %s "(cached) " >&6
12806 ac_wine_check_headers_saved_cc=$CC
12807 ac_wine_check_headers_saved_exeext=$ac_exeext
12808 ac_wine_check_headers_saved_libs=$LIBS
12809 eval CC=\$${wine_arch}_CC
12811 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 char TIFFClientOpen ();
12822 return TIFFClientOpen ();
12827 if ac_fn_c_try_link "$LINENO"
12829 ac_cv_mingw_lib_tiff=yes
12831 ac_cv_mingw_lib_tiff=no
12833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12834 conftest$ac_exeext conftest.$ac_ext
12835 CC=$ac_wine_check_headers_saved_cc
12836 ac_exeext=$ac_wine_check_headers_saved_exeext
12837 LIBS=$ac_wine_check_headers_saved_libs
12839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12840 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12841 if test "x$ac_cv_mingw_lib_tiff" = xyes
12845 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12848 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12850 CPPFLAGS=$ac_save_CPPFLAGS
12852 if test "x$TIFF_PE_LIBS" = "x"
12854 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12857 if ${XML2_PE_CFLAGS:+false} :
12859 if test ${MINGW_PKG_CONFIG+y}
12861 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12864 if ${XML2_PE_LIBS:+false} :
12866 if test ${MINGW_PKG_CONFIG+y}
12868 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12871 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12872 ac_save_CPPFLAGS=$CPPFLAGS
12873 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12875 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12876 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12878 printf %s "(cached) " >&6
12880 ac_wine_check_headers_saved_cc=$CC
12881 ac_wine_check_headers_saved_exeext=$ac_exeext
12882 eval CC=\$${wine_arch}_CC
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 #include <libxml/parser.h>
12896 if ac_fn_c_try_compile "$LINENO"
12898 ac_cv_mingw_header_libxml_parser_h=yes
12900 ac_cv_mingw_header_libxml_parser_h=no
12902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12903 CC=$ac_wine_check_headers_saved_cc
12904 ac_exeext=$ac_wine_check_headers_saved_exeext
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12907 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12908 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12913 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12914 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12916 printf %s "(cached) " >&6
12918 ac_wine_check_headers_saved_cc=$CC
12919 ac_wine_check_headers_saved_exeext=$ac_exeext
12920 eval CC=\$${wine_arch}_CC
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12925 #include <libxml/xmlsave.h>
12934 if ac_fn_c_try_compile "$LINENO"
12936 ac_cv_mingw_header_libxml_xmlsave_h=yes
12938 ac_cv_mingw_header_libxml_xmlsave_h=no
12940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12941 CC=$ac_wine_check_headers_saved_cc
12942 ac_exeext=$ac_wine_check_headers_saved_exeext
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12945 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12946 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12951 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12952 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12954 printf %s "(cached) " >&6
12956 ac_wine_check_headers_saved_cc=$CC
12957 ac_wine_check_headers_saved_exeext=$ac_exeext
12958 eval CC=\$${wine_arch}_CC
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 #include <libxml/SAX2.h>
12972 if ac_fn_c_try_compile "$LINENO"
12974 ac_cv_mingw_header_libxml_SAX2_h=yes
12976 ac_cv_mingw_header_libxml_SAX2_h=no
12978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12979 CC=$ac_wine_check_headers_saved_cc
12980 ac_exeext=$ac_wine_check_headers_saved_exeext
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12983 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12984 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12988 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"
12990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12991 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12992 if test ${ac_cv_mingw_lib_xml2+y}
12994 printf %s "(cached) " >&6
12996 ac_wine_check_headers_saved_cc=$CC
12997 ac_wine_check_headers_saved_exeext=$ac_exeext
12998 ac_wine_check_headers_saved_libs=$LIBS
12999 eval CC=\$${wine_arch}_CC
13001 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13005 /* Override any GCC internal prototype to avoid an error.
13006 Use char because int might match the return type of a GCC
13007 builtin and then its argument prototype would still apply. */
13008 char xmlFirstElementChild ();
13012 return xmlFirstElementChild ();
13017 if ac_fn_c_try_link "$LINENO"
13019 ac_cv_mingw_lib_xml2=yes
13021 ac_cv_mingw_lib_xml2=no
13023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13024 conftest$ac_exeext conftest.$ac_ext
13025 CC=$ac_wine_check_headers_saved_cc
13026 ac_exeext=$ac_wine_check_headers_saved_exeext
13027 LIBS=$ac_wine_check_headers_saved_libs
13029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13030 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13031 if test "x$ac_cv_mingw_lib_xml2" = xyes
13035 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13041 CPPFLAGS=$ac_save_CPPFLAGS
13043 if test "x$XML2_PE_LIBS" = "x"
13045 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13048 if ${XSLT_PE_CFLAGS:+false} :
13050 if test ${MINGW_PKG_CONFIG+y}
13052 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
13055 if ${XSLT_PE_LIBS:+false} :
13057 if test ${MINGW_PKG_CONFIG+y}
13059 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
13062 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13063 ac_save_CPPFLAGS=$CPPFLAGS
13064 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13066 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13067 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13069 printf %s "(cached) " >&6
13071 ac_wine_check_headers_saved_cc=$CC
13072 ac_wine_check_headers_saved_exeext=$ac_exeext
13073 eval CC=\$${wine_arch}_CC
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 #include <libxslt/pattern.h>
13087 if ac_fn_c_try_compile "$LINENO"
13089 ac_cv_mingw_header_libxslt_pattern_h=yes
13091 ac_cv_mingw_header_libxslt_pattern_h=no
13093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13094 CC=$ac_wine_check_headers_saved_cc
13095 ac_exeext=$ac_wine_check_headers_saved_exeext
13097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13098 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13099 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13104 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13105 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13107 printf %s "(cached) " >&6
13109 ac_wine_check_headers_saved_cc=$CC
13110 ac_wine_check_headers_saved_exeext=$ac_exeext
13111 eval CC=\$${wine_arch}_CC
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 #include <libxslt/transform.h>
13125 if ac_fn_c_try_compile "$LINENO"
13127 ac_cv_mingw_header_libxslt_transform_h=yes
13129 ac_cv_mingw_header_libxslt_transform_h=no
13131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13132 CC=$ac_wine_check_headers_saved_cc
13133 ac_exeext=$ac_wine_check_headers_saved_exeext
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13136 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13137 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13141 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13144 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13145 if test ${ac_cv_mingw_lib_xslt+y}
13147 printf %s "(cached) " >&6
13149 ac_wine_check_headers_saved_cc=$CC
13150 ac_wine_check_headers_saved_exeext=$ac_exeext
13151 ac_wine_check_headers_saved_libs=$LIBS
13152 eval CC=\$${wine_arch}_CC
13154 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13161 char xsltCompilePattern ();
13165 return xsltCompilePattern ();
13170 if ac_fn_c_try_link "$LINENO"
13172 ac_cv_mingw_lib_xslt=yes
13174 ac_cv_mingw_lib_xslt=no
13176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13177 conftest$ac_exeext conftest.$ac_ext
13178 CC=$ac_wine_check_headers_saved_cc
13179 ac_exeext=$ac_wine_check_headers_saved_exeext
13180 LIBS=$ac_wine_check_headers_saved_libs
13182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13183 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13184 if test "x$ac_cv_mingw_lib_xslt" = xyes
13188 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13194 CPPFLAGS=$ac_save_CPPFLAGS
13196 if test "x$XSLT_PE_LIBS" = "x"
13198 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13201 if ${VKD3D_PE_CFLAGS:+false} :
13203 if test ${MINGW_PKG_CONFIG+y}
13205 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13208 if ${VKD3D_PE_LIBS:+false} :
13210 if test ${MINGW_PKG_CONFIG+y}
13212 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13215 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13216 ac_save_CPPFLAGS=$CPPFLAGS
13217 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13219 printf %s "checking for MinGW vkd3d.h... " >&6; }
13220 if test ${ac_cv_mingw_header_vkd3d_h+y}
13222 printf %s "(cached) " >&6
13224 ac_wine_check_headers_saved_cc=$CC
13225 ac_wine_check_headers_saved_exeext=$ac_exeext
13226 eval CC=\$${wine_arch}_CC
13228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13240 if ac_fn_c_try_compile "$LINENO"
13242 ac_cv_mingw_header_vkd3d_h=yes
13244 ac_cv_mingw_header_vkd3d_h=no
13246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13247 CC=$ac_wine_check_headers_saved_cc
13248 ac_exeext=$ac_wine_check_headers_saved_exeext
13250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13251 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13252 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13257 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13258 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13260 printf %s "(cached) " >&6
13262 ac_wine_check_headers_saved_cc=$CC
13263 ac_wine_check_headers_saved_exeext=$ac_exeext
13264 eval CC=\$${wine_arch}_CC
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 #include <vkd3d_shader.h>
13278 if ac_fn_c_try_compile "$LINENO"
13280 ac_cv_mingw_header_vkd3d_shader_h=yes
13282 ac_cv_mingw_header_vkd3d_shader_h=no
13284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13285 CC=$ac_wine_check_headers_saved_cc
13286 ac_exeext=$ac_wine_check_headers_saved_exeext
13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13289 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13290 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13294 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13297 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13298 if test ${ac_cv_mingw_lib_vkd3d+y}
13300 printf %s "(cached) " >&6
13302 ac_wine_check_headers_saved_cc=$CC
13303 ac_wine_check_headers_saved_exeext=$ac_exeext
13304 ac_wine_check_headers_saved_libs=$LIBS
13305 eval CC=\$${wine_arch}_CC
13307 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 char vkd3d_set_log_callback ();
13318 return vkd3d_set_log_callback ();
13323 if ac_fn_c_try_link "$LINENO"
13325 ac_cv_mingw_lib_vkd3d=yes
13327 ac_cv_mingw_lib_vkd3d=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13330 conftest$ac_exeext conftest.$ac_ext
13331 CC=$ac_wine_check_headers_saved_cc
13332 ac_exeext=$ac_wine_check_headers_saved_exeext
13333 LIBS=$ac_wine_check_headers_saved_libs
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13336 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13337 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13344 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13345 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13347 printf %s "(cached) " >&6
13349 ac_wine_check_headers_saved_cc=$CC
13350 ac_wine_check_headers_saved_exeext=$ac_exeext
13351 ac_wine_check_headers_saved_libs=$LIBS
13352 eval CC=\$${wine_arch}_CC
13354 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13361 char vkd3d_shader_build_varying_map ();
13365 return vkd3d_shader_build_varying_map ();
13370 if ac_fn_c_try_link "$LINENO"
13372 ac_cv_mingw_lib_vkd3d_shader=yes
13374 ac_cv_mingw_lib_vkd3d_shader=no
13376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13377 conftest$ac_exeext conftest.$ac_ext
13378 CC=$ac_wine_check_headers_saved_cc
13379 ac_exeext=$ac_wine_check_headers_saved_exeext
13380 LIBS=$ac_wine_check_headers_saved_libs
13382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13383 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13384 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13390 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13399 CPPFLAGS=$ac_save_CPPFLAGS
13401 if test "x$VKD3D_PE_LIBS" = "x"
13403 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13406 if ${ZLIB_PE_CFLAGS:+false} :
13408 if test ${MINGW_PKG_CONFIG+y}
13410 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13413 if ${ZLIB_PE_LIBS:+false} :
13415 if test ${MINGW_PKG_CONFIG+y}
13417 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13420 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13424 printf %s "checking for MinGW zlib.h... " >&6; }
13425 if test ${ac_cv_mingw_header_zlib_h+y}
13427 printf %s "(cached) " >&6
13429 ac_wine_check_headers_saved_cc=$CC
13430 ac_wine_check_headers_saved_exeext=$ac_exeext
13431 eval CC=\$${wine_arch}_CC
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13445 if ac_fn_c_try_compile "$LINENO"
13447 ac_cv_mingw_header_zlib_h=yes
13449 ac_cv_mingw_header_zlib_h=no
13451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13452 CC=$ac_wine_check_headers_saved_cc
13453 ac_exeext=$ac_wine_check_headers_saved_exeext
13455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13456 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13457 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13460 printf %s "checking for inflate in MinGW -lz... " >&6; }
13461 if test ${ac_cv_mingw_lib_z+y}
13463 printf %s "(cached) " >&6
13465 ac_wine_check_headers_saved_cc=$CC
13466 ac_wine_check_headers_saved_exeext=$ac_exeext
13467 ac_wine_check_headers_saved_libs=$LIBS
13468 eval CC=\$${wine_arch}_CC
13470 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13486 if ac_fn_c_try_link "$LINENO"
13488 ac_cv_mingw_lib_z=yes
13490 ac_cv_mingw_lib_z=no
13492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13493 conftest$ac_exeext conftest.$ac_ext
13494 CC=$ac_wine_check_headers_saved_cc
13495 ac_exeext=$ac_wine_check_headers_saved_exeext
13496 LIBS=$ac_wine_check_headers_saved_libs
13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13499 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13500 if test "x$ac_cv_mingw_lib_z" = xyes
13504 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13507 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13509 CPPFLAGS=$ac_save_CPPFLAGS
13511 if test "x$ZLIB_PE_LIBS" = "x"
13513 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13517 if ${FAUDIO_PE_LIBS:+false} :
13519 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13520 if ${FAUDIO_PE_CFLAGS:+false} :
13522 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13532 if ${FLUIDSYNTH_PE_LIBS:+false} :
13534 FLUIDSYNTH_PE_LIBS="fluidsynth"
13535 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13537 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13539 enable_fluidsynth=no
13542 enable_fluidsynth=no
13544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13547 if ${GSM_PE_LIBS:+false} :
13550 if ${GSM_PE_CFLAGS:+false} :
13552 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13562 if ${JPEG_PE_LIBS:+false} :
13565 if ${JPEG_PE_CFLAGS:+false} :
13567 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13577 if ${JXR_PE_LIBS:+false} :
13580 if ${JXR_PE_CFLAGS:+false} :
13582 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13592 if ${LCMS2_PE_LIBS:+false} :
13594 LCMS2_PE_LIBS=lcms2
13595 if ${LCMS2_PE_CFLAGS:+false} :
13597 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13607 if ${LDAP_PE_LIBS:+false} :
13610 if ${LDAP_PE_CFLAGS:+false} :
13612 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13622 if ${MPG123_PE_LIBS:+false} :
13624 MPG123_PE_LIBS=mpg123
13625 if ${MPG123_PE_CFLAGS:+false} :
13627 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13637 if ${MUSL_PE_LIBS:+false} :
13640 if ${MUSL_PE_CFLAGS:+false} :
13649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13652 if ${PNG_PE_LIBS:+false} :
13654 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13655 if ${PNG_PE_CFLAGS:+false} :
13657 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13667 if ${TIFF_PE_LIBS:+false} :
13669 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13670 if ${TIFF_PE_CFLAGS:+false} :
13672 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13682 if ${VKD3D_PE_LIBS:+false} :
13684 VKD3D_PE_LIBS=vkd3d
13685 if ${VKD3D_PE_CFLAGS:+false} :
13687 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13697 if ${XML2_PE_LIBS:+false} :
13700 if ${XML2_PE_CFLAGS:+false} :
13702 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13712 if ${XSLT_PE_LIBS:+false} :
13715 if ${XSLT_PE_CFLAGS:+false} :
13717 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13727 if ${ZLIB_PE_LIBS:+false} :
13730 if ${ZLIB_PE_CFLAGS:+false} :
13732 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13742 if ${ZYDIS_PE_LIBS:+false} :
13744 ZYDIS_PE_LIBS=zydis
13745 if ${ZYDIS_PE_CFLAGS:+false} :
13747 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13759 if test "x$with_pthread" = xno
13763 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13764 if test "x$ac_cv_func_pthread_create" = xyes
13768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13769 printf %s "checking for pthread_create in -lpthread... " >&6; }
13770 if test ${ac_cv_lib_pthread_pthread_create+y}
13772 printf %s "(cached) " >&6
13774 ac_check_lib_save_LIBS=$LIBS
13775 LIBS="-lpthread $LIBS"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 char pthread_create ();
13786 return pthread_create ();
13791 if ac_fn_c_try_link "$LINENO"
13793 ac_cv_lib_pthread_pthread_create=yes
13795 ac_cv_lib_pthread_pthread_create=no
13797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13798 conftest$ac_exeext conftest.$ac_ext
13799 LIBS=$ac_check_lib_save_LIBS
13801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13802 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13803 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13805 PTHREAD_LIBS="-lpthread"
13812 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13814 case "x$with_pthread" in
13816 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13817 Wine cannot support threads without libpthread.
13818 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13825 ac_cpp='$CPP $CPPFLAGS'
13826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13830 printf %s "checking how to run the C preprocessor... " >&6; }
13831 # On Suns, sometimes $CPP names a directory.
13832 if test -n "$CPP" && test -d "$CPP"; then
13835 if test -z "$CPP"; then
13836 if test ${ac_cv_prog_CPP+y}
13838 printf %s "(cached) " >&6
13840 # Double quotes because $CC needs to be expanded
13841 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13843 ac_preproc_ok=false
13844 for ac_c_preproc_warn_flag in '' yes
13846 # Use a header file that comes with gcc, so configuring glibc
13847 # with a fresh cross-compiler works.
13848 # On the NeXT, cc -E runs the code through the compiler's parser,
13849 # not just through cpp. "Syntax error" is here to catch this case.
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13852 #include <limits.h>
13855 if ac_fn_c_try_cpp "$LINENO"
13859 # Broken: fails on valid input.
13862 rm -f conftest.err conftest.i conftest.$ac_ext
13864 # OK, works on sane cases. Now check whether nonexistent headers
13865 # can be detected and how.
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13868 #include <ac_nonexistent.h>
13870 if ac_fn_c_try_cpp "$LINENO"
13872 # Broken: success on invalid input.
13875 # Passes both tests.
13879 rm -f conftest.err conftest.i conftest.$ac_ext
13882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13883 rm -f conftest.i conftest.err conftest.
$ac_ext
13890 ac_cv_prog_CPP
=$CPP
13893 CPP
=$ac_cv_prog_CPP
13895 ac_cv_prog_CPP
=$CPP
13897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13898 printf "%s\n" "$CPP" >&6; }
13899 ac_preproc_ok
=false
13900 for ac_c_preproc_warn_flag
in '' yes
13902 # Use a header file that comes with gcc, so configuring glibc
13903 # with a fresh cross-compiler works.
13904 # On the NeXT, cc -E runs the code through the compiler's parser,
13905 # not just through cpp. "Syntax error" is here to catch this case.
13906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 #include <limits.h>
13911 if ac_fn_c_try_cpp
"$LINENO"
13915 # Broken: fails on valid input.
13918 rm -f conftest.err conftest.i conftest.
$ac_ext
13920 # OK, works on sane cases. Now check whether nonexistent headers
13921 # can be detected and how.
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 #include <ac_nonexistent.h>
13926 if ac_fn_c_try_cpp
"$LINENO"
13928 # Broken: success on invalid input.
13931 # Passes both tests.
13935 rm -f conftest.err conftest.i conftest.
$ac_ext
13938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13939 rm -f conftest.i conftest.err conftest.
$ac_ext
13944 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13945 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13946 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13947 See \`config.log' for more details" "$LINENO" 5; }
13951 ac_cpp
='$CPP $CPPFLAGS'
13952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13958 printf %s
"checking for X... " >&6; }
13961 # Check whether --with-x was given.
13962 if test ${with_x+y}
13967 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13968 if test "x$with_x" = xno
; then
13969 # The user explicitly disabled X.
13972 case $x_includes,$x_libraries in #(
13973 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13974 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13976 printf %s
"(cached) " >&6
13978 # One or both of the vars are not set, and there is no cached value.
13981 # Do we need to do anything special at all?
13984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 #include <X11/Xlib.h>
13995 if ac_fn_c_try_link
"$LINENO"
13997 # We can compile and link X programs with no special options.
14001 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14002 conftest
$ac_exeext conftest.
$ac_ext
14003 LIBS
="$ac_save_LIBS"
14004 # If that didn't work, only try xmkmf and file system searches
14005 # for native compilation.
14006 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
14008 rm -f -r conftest.dir
14009 if mkdir conftest.dir
; then
14011 cat >Imakefile
<<'_ACEOF'
14013 @echo incroot='${INCROOT}'
14015 @echo usrlibdir='${USRLIBDIR}'
14017 @echo libdir='${LIBDIR}'
14019 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14020 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14021 for ac_var
in incroot usrlibdir libdir
; do
14022 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14024 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14025 for ac_extension
in a so sl dylib la dll
; do
14026 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14027 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14028 ac_im_usrlibdir
=$ac_im_libdir; break
14031 # Screen out bogus values from the imake configuration. They are
14032 # bogus both because they are the default anyway, and because
14033 # using them would break gcc on systems where it needs fixed includes.
14034 case $ac_im_incroot in
14035 /usr
/include
) ac_x_includes
= ;;
14036 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14038 case $ac_im_usrlibdir in
14039 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14040 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14044 rm -f -r conftest.dir
14047 # Standard set of common directories for X headers.
14048 # Check X11 before X11Rn because it is often a symlink to the current release.
14062 /usr/local/X11/include
14063 /usr/local/X11R7/include
14064 /usr/local/X11R6/include
14065 /usr/local/X11R5/include
14066 /usr/local/X11R4/include
14068 /usr/local/include/X11
14069 /usr/local/include/X11R7
14070 /usr/local/include/X11R6
14071 /usr/local/include/X11R5
14072 /usr/local/include/X11R4
14078 /usr/XFree86/include/X11
14082 /usr/unsupported/include
14083 /usr/athena/include
14084 /usr/local/x11r5/include
14085 /usr/lpp/Xamples/include
14087 /usr/openwin/include
14088 /usr/openwin/share/include'
14090 if test "$ac_x_includes" = no
; then
14091 # Guess where to find include files, by looking for Xlib.h.
14092 # First, try using that file with no special directory specified.
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 #include <X11/Xlib.h>
14097 if ac_fn_c_try_cpp
"$LINENO"
14099 # We can compile using X headers with no special include directory.
14102 for ac_dir
in $ac_x_header_dirs; do
14103 if test -r "$ac_dir/X11/Xlib.h"; then
14104 ac_x_includes
=$ac_dir
14109 rm -f conftest.err conftest.i conftest.
$ac_ext
14110 fi # $ac_x_includes = no
14112 if test "$ac_x_libraries" = no
; then
14113 # Check for the libraries.
14114 # See if we find them without any special options.
14115 # Don't add to $LIBS permanently.
14118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14120 #include <X11/Xlib.h>
14129 if ac_fn_c_try_link
"$LINENO"
14132 # We can link X programs with no special library path.
14136 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14138 # Don't even attempt the hair of trying to link an X program!
14139 for ac_extension
in a so sl dylib la dll
; do
14140 if test -r "$ac_dir/libX11.$ac_extension"; then
14141 ac_x_libraries
=$ac_dir
14147 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14148 conftest
$ac_exeext conftest.
$ac_ext
14149 fi # $ac_x_libraries = no
14152 # Record the results.
14153 case $ac_x_includes,$ac_x_libraries in #(
14154 no
,* |
*,no |
*\'*) :
14155 # Didn't find X, or a directory has "'" in its name.
14156 ac_cv_have_x
="have_x=no" ;; #(
14158 # Record where we found X for the cache.
14159 ac_cv_have_x
="have_x=yes\
14160 ac_x_includes='$ac_x_includes'\
14161 ac_x_libraries='$ac_x_libraries'" ;;
14167 eval "$ac_cv_have_x"
14170 if test "$have_x" != yes; then
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14172 printf "%s\n" "$have_x" >&6; }
14175 # If each of the values was on the command line, it overrides each guess.
14176 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14177 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14178 # Update the cache value to reflect the command line values.
14179 ac_cv_have_x
="have_x=yes\
14180 ac_x_includes='$x_includes'\
14181 ac_x_libraries='$x_libraries'"
14182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14183 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14186 if test "$no_x" = yes; then
14187 # Not all programs may use this symbol, but it does not hurt to define it.
14189 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14191 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14193 if test -n "$x_includes"; then
14194 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14197 # It would also be nice to do this for all -L options, not just this one.
14198 if test -n "$x_libraries"; then
14199 X_LIBS
="$X_LIBS -L$x_libraries"
14200 # For Solaris; some versions of Sun CC require a space after -R and
14201 # others require no space. Words are not sufficient . . . .
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14203 printf %s
"checking whether -R must be followed by a space... " >&6; }
14204 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14205 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14206 ac_c_werror_flag
=yes
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14218 if ac_fn_c_try_link
"$LINENO"
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14221 printf "%s\n" "no" >&6; }
14222 X_LIBS
="$X_LIBS -R$x_libraries"
14224 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14236 if ac_fn_c_try_link
"$LINENO"
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14239 printf "%s\n" "yes" >&6; }
14240 X_LIBS
="$X_LIBS -R $x_libraries"
14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14243 printf "%s\n" "neither works" >&6; }
14245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14249 conftest
$ac_exeext conftest.
$ac_ext
14250 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14251 LIBS
=$ac_xsave_LIBS
14254 # Check for system-dependent libraries X programs must link with.
14255 # Do this before checking for the system-independent R6 libraries
14256 # (-lICE), since we may need -lsocket or whatever for X linking.
14258 if test "$ISC" = yes; then
14259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14261 # Martyn Johnson says this is needed for Ultrix, if the X
14262 # libraries were built with DECnet support. And Karl Berry says
14263 # the Alpha needs dnet_stub (dnet does not exist).
14264 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14271 char XOpenDisplay ();
14275 return XOpenDisplay ();
14280 if ac_fn_c_try_link
"$LINENO"
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14285 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14286 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14288 printf %s
"(cached) " >&6
14290 ac_check_lib_save_LIBS
=$LIBS
14291 LIBS
="-ldnet $LIBS"
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14302 return dnet_ntoa ();
14307 if ac_fn_c_try_link
"$LINENO"
14309 ac_cv_lib_dnet_dnet_ntoa
=yes
14311 ac_cv_lib_dnet_dnet_ntoa
=no
14313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14314 conftest
$ac_exeext conftest.
$ac_ext
14315 LIBS
=$ac_check_lib_save_LIBS
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14318 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14319 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14321 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14324 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14326 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14327 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14329 printf %s
"(cached) " >&6
14331 ac_check_lib_save_LIBS
=$LIBS
14332 LIBS
="-ldnet_stub $LIBS"
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14336 /* Override any GCC internal prototype to avoid an error.
14337 Use char because int might match the return type of a GCC
14338 builtin and then its argument prototype would still apply. */
14343 return dnet_ntoa ();
14348 if ac_fn_c_try_link
"$LINENO"
14350 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14352 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14355 conftest
$ac_exeext conftest.
$ac_ext
14356 LIBS
=$ac_check_lib_save_LIBS
14358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14359 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14360 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 LIBS
="$ac_xsave_LIBS"
14371 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14372 # to get the SysV transport functions.
14373 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14375 # The nsl library prevents programs from opening the X display
14376 # on Irix 5.2, according to T.E. Dickey.
14377 # The functions gethostbyname, getservbyname, and inet_addr are
14378 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14379 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14380 if test "x$ac_cv_func_gethostbyname" = xyes
14385 if test $ac_cv_func_gethostbyname = no
; then
14386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14387 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14388 if test ${ac_cv_lib_nsl_gethostbyname+y}
14390 printf %s
"(cached) " >&6
14392 ac_check_lib_save_LIBS
=$LIBS
14394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14400 char gethostbyname ();
14404 return gethostbyname ();
14409 if ac_fn_c_try_link
"$LINENO"
14411 ac_cv_lib_nsl_gethostbyname
=yes
14413 ac_cv_lib_nsl_gethostbyname
=no
14415 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14416 conftest
$ac_exeext conftest.
$ac_ext
14417 LIBS
=$ac_check_lib_save_LIBS
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14420 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14421 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14423 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14426 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14428 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14429 if test ${ac_cv_lib_bsd_gethostbyname+y}
14431 printf %s
"(cached) " >&6
14433 ac_check_lib_save_LIBS
=$LIBS
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14438 /* Override any GCC internal prototype to avoid an error.
14439 Use char because int might match the return type of a GCC
14440 builtin and then its argument prototype would still apply. */
14441 char gethostbyname ();
14445 return gethostbyname ();
14450 if ac_fn_c_try_link
"$LINENO"
14452 ac_cv_lib_bsd_gethostbyname
=yes
14454 ac_cv_lib_bsd_gethostbyname
=no
14456 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 LIBS
=$ac_check_lib_save_LIBS
14460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14461 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14462 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14464 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14470 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14471 # socket/setsockopt and other routines are undefined under SCO ODT
14472 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14473 # on later versions), says Simon Leinen: it contains gethostby*
14474 # variants that don't use the name server (or something). -lsocket
14475 # must be given before -lnsl if both are needed. We assume that
14476 # if connect needs -lnsl, so does gethostbyname.
14477 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14478 if test "x$ac_cv_func_connect" = xyes
14483 if test $ac_cv_func_connect = no
; then
14484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14485 printf %s
"checking for connect in -lsocket... " >&6; }
14486 if test ${ac_cv_lib_socket_connect+y}
14488 printf %s
"(cached) " >&6
14490 ac_check_lib_save_LIBS
=$LIBS
14491 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14495 /* Override any GCC internal prototype to avoid an error.
14496 Use char because int might match the return type of a GCC
14497 builtin and then its argument prototype would still apply. */
14507 if ac_fn_c_try_link
"$LINENO"
14509 ac_cv_lib_socket_connect
=yes
14511 ac_cv_lib_socket_connect
=no
14513 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14514 conftest
$ac_exeext conftest.
$ac_ext
14515 LIBS
=$ac_check_lib_save_LIBS
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14518 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14519 if test "x$ac_cv_lib_socket_connect" = xyes
14521 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14526 # Guillermo Gomez says -lposix is necessary on A/UX.
14527 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14528 if test "x$ac_cv_func_remove" = xyes
14533 if test $ac_cv_func_remove = no
; then
14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14535 printf %s
"checking for remove in -lposix... " >&6; }
14536 if test ${ac_cv_lib_posix_remove+y}
14538 printf %s
"(cached) " >&6
14540 ac_check_lib_save_LIBS
=$LIBS
14541 LIBS
="-lposix $LIBS"
14542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14557 if ac_fn_c_try_link
"$LINENO"
14559 ac_cv_lib_posix_remove
=yes
14561 ac_cv_lib_posix_remove
=no
14563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14564 conftest
$ac_exeext conftest.
$ac_ext
14565 LIBS
=$ac_check_lib_save_LIBS
14567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14568 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14569 if test "x$ac_cv_lib_posix_remove" = xyes
14571 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14576 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14577 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14578 if test "x$ac_cv_func_shmat" = xyes
14583 if test $ac_cv_func_shmat = no
; then
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14585 printf %s
"checking for shmat in -lipc... " >&6; }
14586 if test ${ac_cv_lib_ipc_shmat+y}
14588 printf %s
"(cached) " >&6
14590 ac_check_lib_save_LIBS
=$LIBS
14592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14607 if ac_fn_c_try_link
"$LINENO"
14609 ac_cv_lib_ipc_shmat
=yes
14611 ac_cv_lib_ipc_shmat
=no
14613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14614 conftest
$ac_exeext conftest.
$ac_ext
14615 LIBS
=$ac_check_lib_save_LIBS
14617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14618 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14619 if test "x$ac_cv_lib_ipc_shmat" = xyes
14621 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14627 # Check for libraries that X11R6 Xt/Xaw programs need.
14628 ac_save_LDFLAGS
=$LDFLAGS
14629 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14630 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14631 # check for ICE first), but we must link in the order -lSM -lICE or
14632 # we get undefined symbols. So assume we have SM if we have ICE.
14633 # These have to be linked with before -lX11, unlike the other
14634 # libraries we check for below, so use a different variable.
14635 # John Interrante, Karl Berry
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14637 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14638 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14640 printf %s
"(cached) " >&6
14642 ac_check_lib_save_LIBS
=$LIBS
14643 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 char IceConnectionNumber ();
14654 return IceConnectionNumber ();
14659 if ac_fn_c_try_link
"$LINENO"
14661 ac_cv_lib_ICE_IceConnectionNumber
=yes
14663 ac_cv_lib_ICE_IceConnectionNumber
=no
14665 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14666 conftest
$ac_exeext conftest.
$ac_ext
14667 LIBS
=$ac_check_lib_save_LIBS
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14670 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14671 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14673 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14676 LDFLAGS
=$ac_save_LDFLAGS
14681 if test "$have_x" = "yes"
14683 ac_save_CPPFLAGS
="$CPPFLAGS"
14684 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14687 printf %s
"checking for -lX11... " >&6; }
14688 if test ${ac_cv_lib_soname_X11+y}
14690 printf %s
"(cached) " >&6
14692 ac_check_soname_save_LIBS
=$LIBS
14693 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 char XCreateWindow ();
14704 return XCreateWindow ();
14709 if ac_fn_c_try_link
"$LINENO"
14712 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14713 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'` ;;
14714 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14715 if ${ac_cv_lib_soname_X11:+false} :
14717 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14721 ac_cv_lib_soname_X11
=
14723 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14724 conftest
$ac_exeext conftest.
$ac_ext
14725 LIBS
=$ac_check_soname_save_LIBS
14727 if ${ac_cv_lib_soname_X11:+false} :
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14730 printf "%s\n" "not found" >&6; }
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14734 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14736 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14741 printf %s
"checking for -lXext... " >&6; }
14742 if test ${ac_cv_lib_soname_Xext+y}
14744 printf %s
"(cached) " >&6
14746 ac_check_soname_save_LIBS
=$LIBS
14747 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 char XextCreateExtension ();
14758 return XextCreateExtension ();
14763 if ac_fn_c_try_link
"$LINENO"
14766 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14767 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'` ;;
14768 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14769 if ${ac_cv_lib_soname_Xext:+false} :
14771 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 ac_cv_lib_soname_Xext
=
14777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 LIBS
=$ac_check_soname_save_LIBS
14781 if ${ac_cv_lib_soname_Xext:+false} :
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14784 printf "%s\n" "not found" >&6; }
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14788 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14790 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14792 X_LIBS
="$X_LIBS -lXext"
14794 X_LIBS
="$X_LIBS -lX11"
14796 xlib_includes
="#include <X11/Xlib.h>
14797 #include <X11/Xutil.h>"
14799 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14801 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14803 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14806 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14808 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14810 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14813 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14815 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14817 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14820 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14822 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14824 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14827 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14829 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14831 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14834 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14836 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14838 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14841 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14843 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14845 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14848 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14850 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14852 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14855 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14857 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14859 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14864 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14866 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14869 printf %s
"checking for -lXcursor... " >&6; }
14870 if test ${ac_cv_lib_soname_Xcursor+y}
14872 printf %s
"(cached) " >&6
14874 ac_check_soname_save_LIBS
=$LIBS
14875 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XcursorImageLoadCursor ();
14886 return XcursorImageLoadCursor ();
14891 if ac_fn_c_try_link
"$LINENO"
14894 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_Xcursor:+false} :
14899 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 ac_cv_lib_soname_Xcursor
=
14905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14906 conftest
$ac_exeext conftest.
$ac_ext
14907 LIBS
=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_Xcursor:+false} :
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 printf "%s\n" "not found" >&6; }
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14916 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14918 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14924 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14926 case "x$with_xcursor" in
14927 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14929 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14930 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14935 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14937 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14940 printf %s
"checking for -lXi... " >&6; }
14941 if test ${ac_cv_lib_soname_Xi+y}
14943 printf %s
"(cached) " >&6
14945 ac_check_soname_save_LIBS
=$LIBS
14946 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14950 /* Override any GCC internal prototype to avoid an error.
14951 Use char because int might match the return type of a GCC
14952 builtin and then its argument prototype would still apply. */
14953 char XOpenDevice ();
14957 return XOpenDevice ();
14962 if ac_fn_c_try_link
"$LINENO"
14965 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14966 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'` ;;
14967 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14968 if ${ac_cv_lib_soname_Xi:+false} :
14970 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14974 ac_cv_lib_soname_Xi
=
14976 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14977 conftest
$ac_exeext conftest.
$ac_ext
14978 LIBS
=$ac_check_soname_save_LIBS
14980 if ${ac_cv_lib_soname_Xi:+false} :
14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14983 printf "%s\n" "not found" >&6; }
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14987 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14989 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14995 if test "x$ac_cv_lib_soname_Xi" = "x"
14997 case "x$with_xinput" in
14998 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15000 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15001 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15006 if test "x$ac_cv_lib_soname_Xi" != x
15008 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15010 case "x$with_xinput2" in
15011 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15013 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
15014 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15020 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15023 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
15024 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15026 printf %s
"(cached) " >&6
15028 ac_check_lib_save_LIBS
=$LIBS
15029 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15036 char XShmQueryExtension ();
15040 return XShmQueryExtension ();
15045 if ac_fn_c_try_link
"$LINENO"
15047 ac_cv_lib_Xext_XShmQueryExtension
=yes
15049 ac_cv_lib_Xext_XShmQueryExtension
=no
15051 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15052 conftest
$ac_exeext conftest.
$ac_ext
15053 LIBS
=$ac_check_lib_save_LIBS
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15056 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15057 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15060 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15065 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15067 case "x$with_xshm" in
15068 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15070 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15071 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15076 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15079 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15080 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15082 printf %s
"(cached) " >&6
15084 ac_check_lib_save_LIBS
=$LIBS
15085 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 char XShapeQueryExtension ();
15096 return XShapeQueryExtension ();
15101 if ac_fn_c_try_link
"$LINENO"
15103 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15105 ac_cv_lib_Xext_XShapeQueryExtension
=no
15107 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15108 conftest
$ac_exeext conftest.
$ac_ext
15109 LIBS
=$ac_check_lib_save_LIBS
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15112 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15113 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15116 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15121 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15123 case "x$with_xshape" in
15124 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15126 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15127 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15132 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15135 printf %s
"checking for -lXxf86vm... " >&6; }
15136 if test ${ac_cv_lib_soname_Xxf86vm+y}
15138 printf %s
"(cached) " >&6
15140 ac_check_soname_save_LIBS
=$LIBS
15141 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XF86VidModeQueryExtension ();
15152 return XF86VidModeQueryExtension ();
15157 if ac_fn_c_try_link
"$LINENO"
15160 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15161 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'` ;;
15162 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15163 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15165 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 ac_cv_lib_soname_Xxf86vm
=
15171 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15172 conftest
$ac_exeext conftest.
$ac_ext
15173 LIBS
=$ac_check_soname_save_LIBS
15175 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15178 printf "%s\n" "not found" >&6; }
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15182 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15184 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15189 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15191 case "x$with_xxf86vm" in
15192 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15194 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15195 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15200 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15203 printf %s
"checking for -lXrender... " >&6; }
15204 if test ${ac_cv_lib_soname_Xrender+y}
15206 printf %s
"(cached) " >&6
15208 ac_check_soname_save_LIBS
=$LIBS
15209 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15211 /* end confdefs.h. */
15213 /* Override any GCC internal prototype to avoid an error.
15214 Use char because int might match the return type of a GCC
15215 builtin and then its argument prototype would still apply. */
15216 char XRenderQueryExtension ();
15220 return XRenderQueryExtension ();
15225 if ac_fn_c_try_link
"$LINENO"
15228 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15229 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'` ;;
15230 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15231 if ${ac_cv_lib_soname_Xrender:+false} :
15233 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15237 ac_cv_lib_soname_Xrender
=
15239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15240 conftest
$ac_exeext conftest.
$ac_ext
15241 LIBS
=$ac_check_soname_save_LIBS
15243 if ${ac_cv_lib_soname_Xrender:+false} :
15245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15246 printf "%s\n" "not found" >&6; }
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15250 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15252 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15255 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15256 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15258 printf %s
"(cached) " >&6
15260 ac_check_lib_save_LIBS
=$LIBS
15261 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15265 /* Override any GCC internal prototype to avoid an error.
15266 Use char because int might match the return type of a GCC
15267 builtin and then its argument prototype would still apply. */
15268 char XRenderSetPictureTransform ();
15272 return XRenderSetPictureTransform ();
15277 if ac_fn_c_try_link
"$LINENO"
15279 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15281 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15283 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15284 conftest
$ac_exeext conftest.
$ac_ext
15285 LIBS
=$ac_check_lib_save_LIBS
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15288 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15289 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15292 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15297 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15298 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15300 printf %s
"(cached) " >&6
15302 ac_check_lib_save_LIBS
=$LIBS
15303 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XRenderCreateLinearGradient ();
15314 return XRenderCreateLinearGradient ();
15319 if ac_fn_c_try_link
"$LINENO"
15321 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15323 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15325 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15326 conftest
$ac_exeext conftest.
$ac_ext
15327 LIBS
=$ac_check_lib_save_LIBS
15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15330 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15331 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15334 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15341 if test "x$ac_cv_lib_soname_Xrender" = "x"
15343 case "x$with_xrender" in
15344 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15346 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15347 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15352 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 #include <X11/Xlib.h>
15357 #include <X11/extensions/Xrandr.h>
15361 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15366 if ac_fn_c_try_compile
"$LINENO"
15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15369 printf %s
"checking for -lXrandr... " >&6; }
15370 if test ${ac_cv_lib_soname_Xrandr+y}
15372 printf %s
"(cached) " >&6
15374 ac_check_soname_save_LIBS
=$LIBS
15375 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15382 char XRRQueryExtension ();
15386 return XRRQueryExtension ();
15391 if ac_fn_c_try_link
"$LINENO"
15394 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15397 if ${ac_cv_lib_soname_Xrandr:+false} :
15399 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 ac_cv_lib_soname_Xrandr
=
15405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15406 conftest
$ac_exeext conftest.
$ac_ext
15407 LIBS
=$ac_check_soname_save_LIBS
15409 if ${ac_cv_lib_soname_Xrandr:+false} :
15411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15412 printf "%s\n" "not found" >&6; }
15415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15416 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15418 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15422 #include <X11/Xlib.h>
15423 #include <X11/extensions/Xrandr.h>
15427 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15432 if ac_fn_c_try_compile
"$LINENO"
15435 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15438 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15440 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15443 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15445 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15447 case "x$with_xrandr" in
15448 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15450 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15451 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15456 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15460 #include <X11/Xlib.h>
15461 #include <X11/extensions/Xfixes.h>
15465 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15470 if ac_fn_c_try_compile
"$LINENO"
15472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15473 printf %s
"checking for -lXfixes... " >&6; }
15474 if test ${ac_cv_lib_soname_Xfixes+y}
15476 printf %s
"(cached) " >&6
15478 ac_check_soname_save_LIBS
=$LIBS
15479 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 char XFixesQueryVersion ();
15490 return XFixesQueryVersion ();
15495 if ac_fn_c_try_link
"$LINENO"
15498 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15499 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'` ;;
15500 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15501 if ${ac_cv_lib_soname_Xfixes:+false} :
15503 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15507 ac_cv_lib_soname_Xfixes
=
15509 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15510 conftest
$ac_exeext conftest.
$ac_ext
15511 LIBS
=$ac_check_soname_save_LIBS
15513 if ${ac_cv_lib_soname_Xfixes:+false} :
15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15516 printf "%s\n" "not found" >&6; }
15519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15520 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15522 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15527 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15529 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15531 case "x$with_xfixes" in
15532 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15534 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15535 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15540 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15544 #include <X11/Xlib.h>
15545 #include <X11/extensions/Xinerama.h>
15549 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15554 if ac_fn_c_try_compile
"$LINENO"
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15557 printf %s
"checking for -lXinerama... " >&6; }
15558 if test ${ac_cv_lib_soname_Xinerama+y}
15560 printf %s
"(cached) " >&6
15562 ac_check_soname_save_LIBS
=$LIBS
15563 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15565 /* end confdefs.h. */
15567 /* Override any GCC internal prototype to avoid an error.
15568 Use char because int might match the return type of a GCC
15569 builtin and then its argument prototype would still apply. */
15570 char XineramaQueryScreens ();
15574 return XineramaQueryScreens ();
15579 if ac_fn_c_try_link
"$LINENO"
15582 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15583 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'` ;;
15584 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15585 if ${ac_cv_lib_soname_Xinerama:+false} :
15587 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15591 ac_cv_lib_soname_Xinerama
=
15593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15594 conftest
$ac_exeext conftest.
$ac_ext
15595 LIBS
=$ac_check_soname_save_LIBS
15597 if ${ac_cv_lib_soname_Xinerama:+false} :
15599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15600 printf "%s\n" "not found" >&6; }
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15604 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15606 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15611 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15613 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15615 case "x$with_xinerama" in
15616 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15618 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15619 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15624 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15626 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15629 printf %s
"checking for -lXcomposite... " >&6; }
15630 if test ${ac_cv_lib_soname_Xcomposite+y}
15632 printf %s
"(cached) " >&6
15634 ac_check_soname_save_LIBS
=$LIBS
15635 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15639 /* Override any GCC internal prototype to avoid an error.
15640 Use char because int might match the return type of a GCC
15641 builtin and then its argument prototype would still apply. */
15642 char XCompositeRedirectWindow ();
15646 return XCompositeRedirectWindow ();
15651 if ac_fn_c_try_link
"$LINENO"
15654 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15655 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'` ;;
15656 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15657 if ${ac_cv_lib_soname_Xcomposite:+false} :
15659 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15663 ac_cv_lib_soname_Xcomposite
=
15665 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15666 conftest
$ac_exeext conftest.
$ac_ext
15667 LIBS
=$ac_check_soname_save_LIBS
15669 if ${ac_cv_lib_soname_Xcomposite:+false} :
15671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15672 printf "%s\n" "not found" >&6; }
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15676 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15678 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15684 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15686 case "x$with_xcomposite" in
15687 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15689 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15690 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15695 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15697 if test "x$ac_cv_member_XICCallback_callback" = xyes
15700 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15704 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15706 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15709 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15717 if test "x$with_opengl" != "xno"
15719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15720 printf %s
"checking for -lGL... " >&6; }
15721 if test ${ac_cv_lib_soname_GL+y}
15723 printf %s
"(cached) " >&6
15725 ac_check_soname_save_LIBS
=$LIBS
15726 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15730 /* Override any GCC internal prototype to avoid an error.
15731 Use char because int might match the return type of a GCC
15732 builtin and then its argument prototype would still apply. */
15733 char glXCreateContext ();
15737 return glXCreateContext ();
15742 if ac_fn_c_try_link
"$LINENO"
15745 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15746 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'` ;;
15747 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15748 if ${ac_cv_lib_soname_GL:+false} :
15750 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15754 ac_cv_lib_soname_GL
=
15756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15757 conftest
$ac_exeext conftest.
$ac_ext
15758 LIBS
=$ac_check_soname_save_LIBS
15760 if ${ac_cv_lib_soname_GL:+false} :
15762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15763 printf "%s\n" "not found" >&6; }
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15765 printf %s
"checking for -lGL... " >&6; }
15766 if test ${ac_cv_lib_soname_GL+y}
15768 printf %s
"(cached) " >&6
15770 ac_check_soname_save_LIBS
=$LIBS
15771 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"
15772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 char glXCreateContext ();
15782 return glXCreateContext ();
15787 if ac_fn_c_try_link
"$LINENO"
15790 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15791 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'` ;;
15792 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15793 if ${ac_cv_lib_soname_GL:+false} :
15795 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15799 ac_cv_lib_soname_GL
=
15801 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15802 conftest
$ac_exeext conftest.
$ac_ext
15803 LIBS
=$ac_check_soname_save_LIBS
15805 if ${ac_cv_lib_soname_GL:+false} :
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15808 printf "%s\n" "not found" >&6; }
15809 if test -f /usr
/X11R
6/lib
/libGL.a
15811 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15812 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15814 opengl_msg
="No OpenGL library found on this system."
15817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15818 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15820 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15822 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"
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15826 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15828 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15832 if test "x$with_osmesa" != "xno"
15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15835 printf %s
"checking for -lOSMesa... " >&6; }
15836 if test ${ac_cv_lib_soname_OSMesa+y}
15838 printf %s
"(cached) " >&6
15840 ac_check_soname_save_LIBS
=$LIBS
15841 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15845 /* Override any GCC internal prototype to avoid an error.
15846 Use char because int might match the return type of a GCC
15847 builtin and then its argument prototype would still apply. */
15848 char OSMesaGetProcAddress ();
15852 return OSMesaGetProcAddress ();
15857 if ac_fn_c_try_link
"$LINENO"
15860 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15861 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'` ;;
15862 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15863 if ${ac_cv_lib_soname_OSMesa:+false} :
15865 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15869 ac_cv_lib_soname_OSMesa
=
15871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15872 conftest
$ac_exeext conftest.
$ac_ext
15873 LIBS
=$ac_check_soname_save_LIBS
15875 if ${ac_cv_lib_soname_OSMesa:+false} :
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15878 printf "%s\n" "not found" >&6; }
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15882 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15884 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15888 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15890 case "x$with_osmesa" in
15891 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15893 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15894 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15900 if test -n "$opengl_msg"
15902 case "x$with_opengl" in
15903 x
) as_fn_append wine_warnings
"|$opengl_msg
15904 OpenGL and Direct3D won't be supported." ;;
15906 *) as_fn_error $?
"$opengl_msg
15907 OpenGL and Direct3D won't be supported.
15908 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15913 CPPFLAGS
="$ac_save_CPPFLAGS"
15919 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15921 if test "x$X_LIBS" = "x"
15925 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15926 without X support, which probably isn't what you want. You will need
15927 to install ${notice_platform}development packages of Xlib at the very least.
15928 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15930 enable_winex11_drv
=${enable_winex11_drv:-no}
15933 if test "x$X_LIBS" = "x"
15936 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15938 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15939 This is an error since --with-x was requested." "$LINENO" 5 ;;
15941 enable_winex11_drv
=${enable_winex11_drv:-no}
15945 if test "x$with_wayland" != "xno"
15948 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15950 if test ${PKG_CONFIG+y}
15952 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15956 if ${WAYLAND_CLIENT_LIBS:+false} :
15958 if test ${PKG_CONFIG+y}
15960 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15967 if test -s conftest.err
; then
15968 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15969 cat conftest.err
>&5
15972 ac_save_CPPFLAGS
=$CPPFLAGS
15973 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15974 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15975 if test "x$ac_cv_header_wayland_client_h" = xyes
15977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15978 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15979 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15981 printf %s
"(cached) " >&6
15983 ac_check_lib_save_LIBS
=$LIBS
15984 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15988 /* Override any GCC internal prototype to avoid an error.
15989 Use char because int might match the return type of a GCC
15990 builtin and then its argument prototype would still apply. */
15991 char wl_display_connect ();
15995 return wl_display_connect ();
16000 if ac_fn_c_try_link
"$LINENO"
16002 ac_cv_lib_wayland_client_wl_display_connect
=yes
16004 ac_cv_lib_wayland_client_wl_display_connect
=no
16006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16007 conftest
$ac_exeext conftest.
$ac_ext
16008 LIBS
=$ac_check_lib_save_LIBS
16010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16011 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16012 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16014 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16015 set dummy wayland-scanner
; ac_word
=$2
16016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16017 printf %s
"checking for $ac_word... " >&6; }
16018 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16020 printf %s
"(cached) " >&6
16022 case $WAYLAND_SCANNER in
16024 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
16027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16028 for as_dir
in $PATH
16031 case $as_dir in #(((
16034 *) as_dir
=$as_dir/ ;;
16036 for ac_exec_ext
in '' $ac_executable_extensions; do
16037 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
16038 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16046 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`"
16050 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
16051 if test -n "$WAYLAND_SCANNER"; then
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16053 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16056 printf "%s\n" "no" >&6; }
16061 WAYLAND_CLIENT_LIBS
=""
16066 CPPFLAGS
=$ac_save_CPPFLAGS
16069 if ${XKBCOMMON_CFLAGS:+false} :
16071 if test ${PKG_CONFIG+y}
16073 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16077 if ${XKBCOMMON_LIBS:+false} :
16079 if test ${PKG_CONFIG+y}
16081 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16088 if test -s conftest.err
; then
16089 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16090 cat conftest.err
>&5
16093 ac_save_CPPFLAGS
=$CPPFLAGS
16094 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
16095 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16096 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16098 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16103 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
16104 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16106 printf %s
"(cached) " >&6
16108 ac_check_lib_save_LIBS
=$LIBS
16109 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 char xkb_context_new ();
16120 return xkb_context_new ();
16125 if ac_fn_c_try_link
"$LINENO"
16127 ac_cv_lib_xkbcommon_xkb_context_new
=yes
16129 ac_cv_lib_xkbcommon_xkb_context_new
=no
16131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16132 conftest
$ac_exeext conftest.
$ac_ext
16133 LIBS
=$ac_check_lib_save_LIBS
16135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16136 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16137 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16144 CPPFLAGS
=$ac_save_CPPFLAGS
16147 if ${XKBREGISTRY_CFLAGS:+false} :
16149 if test ${PKG_CONFIG+y}
16151 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16155 if ${XKBREGISTRY_LIBS:+false} :
16157 if test ${PKG_CONFIG+y}
16159 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16166 if test -s conftest.err
; then
16167 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16168 cat conftest.err
>&5
16171 ac_save_CPPFLAGS
=$CPPFLAGS
16172 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16173 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16174 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16176 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16181 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16182 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16184 printf %s
"(cached) " >&6
16186 ac_check_lib_save_LIBS
=$LIBS
16187 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16191 /* Override any GCC internal prototype to avoid an error.
16192 Use char because int might match the return type of a GCC
16193 builtin and then its argument prototype would still apply. */
16194 char rxkb_context_new ();
16198 return rxkb_context_new ();
16203 if ac_fn_c_try_link
"$LINENO"
16205 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16207 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16210 conftest
$ac_exeext conftest.
$ac_ext
16211 LIBS
=$ac_check_lib_save_LIBS
16213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16214 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16215 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16219 XKBREGISTRY_LIBS
=""
16222 CPPFLAGS
=$ac_save_CPPFLAGS
16224 if test "x$with_opengl" != "xno"
16227 if ${EGL_CFLAGS:+false} :
16229 if test ${PKG_CONFIG+y}
16231 EGL_CFLAGS
=`$PKG_CONFIG --cflags egl 2>conftest.err`
16235 if ${EGL_LIBS:+false} :
16237 if test ${PKG_CONFIG+y}
16239 EGL_LIBS
=`$PKG_CONFIG --libs egl 2>/dev/null`
16243 EGL_LIBS
=${EGL_LIBS:-"-lEGL"}
16244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16246 if test -s conftest.err
; then
16247 printf %s
"$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16248 cat conftest.err
>&5
16251 ac_save_CPPFLAGS
=$CPPFLAGS
16252 CPPFLAGS
="$CPPFLAGS $EGL_CFLAGS"
16253 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16254 if test "x$ac_cv_header_EGL_egl_h" = xyes
16256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16257 printf %s
"checking for -lEGL... " >&6; }
16258 if test ${ac_cv_lib_soname_EGL+y}
16260 printf %s
"(cached) " >&6
16262 ac_check_soname_save_LIBS
=$LIBS
16263 LIBS
="-lEGL $EGL_LIBS $LIBS"
16264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16267 /* Override any GCC internal prototype to avoid an error.
16268 Use char because int might match the return type of a GCC
16269 builtin and then its argument prototype would still apply. */
16270 char eglGetProcAddress ();
16274 return eglGetProcAddress ();
16279 if ac_fn_c_try_link
"$LINENO"
16282 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16283 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'` ;;
16284 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16285 if ${ac_cv_lib_soname_EGL:+false} :
16287 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16291 ac_cv_lib_soname_EGL
=
16293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16294 conftest
$ac_exeext conftest.
$ac_ext
16295 LIBS
=$ac_check_soname_save_LIBS
16297 if ${ac_cv_lib_soname_EGL:+false} :
16299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16300 printf "%s\n" "not found" >&6; }
16303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16304 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16306 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16312 CPPFLAGS
=$ac_save_CPPFLAGS
16315 if ${WAYLAND_EGL_CFLAGS:+false} :
16317 if test ${PKG_CONFIG+y}
16319 WAYLAND_EGL_CFLAGS
=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16323 if ${WAYLAND_EGL_LIBS:+false} :
16325 if test ${PKG_CONFIG+y}
16327 WAYLAND_EGL_LIBS
=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16334 if test -s conftest.err
; then
16335 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16336 cat conftest.err
>&5
16339 ac_save_CPPFLAGS
=$CPPFLAGS
16340 CPPFLAGS
="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16341 ac_fn_c_check_header_compile
"$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16342 if test "x$ac_cv_header_wayland_egl_h" = xyes
16344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16345 printf %s
"checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16346 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16348 printf %s
"(cached) " >&6
16350 ac_check_lib_save_LIBS
=$LIBS
16351 LIBS
="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 char wl_egl_window_create ();
16362 return wl_egl_window_create ();
16367 if ac_fn_c_try_link
"$LINENO"
16369 ac_cv_lib_wayland_egl_wl_egl_window_create
=yes
16371 ac_cv_lib_wayland_egl_wl_egl_window_create
=no
16373 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16374 conftest
$ac_exeext conftest.
$ac_ext
16375 LIBS
=$ac_check_lib_save_LIBS
16377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16378 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16379 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16382 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16385 WAYLAND_EGL_LIBS
=""
16390 CPPFLAGS
=$ac_save_CPPFLAGS
16392 if test "x$with_wayland" != "x"
16394 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16396 case "x$with_opengl" in
16397 x
) as_fn_append wine_notices
"|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16399 *) as_fn_error $?
"EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16400 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16407 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"
16409 case "x$with_wayland" in
16410 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16412 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16413 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16415 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16418 if test "$ac_cv_header_CL_cl_h" = "yes"
16420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16421 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16422 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16424 printf %s
"(cached) " >&6
16426 ac_check_lib_save_LIBS
=$LIBS
16427 LIBS
="-lOpenCL $LIBS"
16428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16434 char clGetPlatformInfo ();
16438 return clGetPlatformInfo ();
16443 if ac_fn_c_try_link
"$LINENO"
16445 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16447 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16450 conftest
$ac_exeext conftest.
$ac_ext
16451 LIBS
=$ac_check_lib_save_LIBS
16453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16454 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16455 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16457 OPENCL_LIBS
="-lOpenCL"
16462 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16464 case "x$with_opencl" in
16465 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16467 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16468 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16470 enable_opencl
=${enable_opencl:-no}
16473 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16476 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16477 if test ${ac_cv_lib_pcap_pcap_init+y}
16479 printf %s
"(cached) " >&6
16481 ac_check_lib_save_LIBS
=$LIBS
16482 LIBS
="-lpcap $LIBS"
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16486 /* Override any GCC internal prototype to avoid an error.
16487 Use char because int might match the return type of a GCC
16488 builtin and then its argument prototype would still apply. */
16493 return pcap_init ();
16498 if ac_fn_c_try_link
"$LINENO"
16500 ac_cv_lib_pcap_pcap_init
=yes
16502 ac_cv_lib_pcap_pcap_init
=no
16504 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16505 conftest
$ac_exeext conftest.
$ac_ext
16506 LIBS
=$ac_check_lib_save_LIBS
16508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16509 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16510 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16517 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16519 case "x$with_pcap" in
16520 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16522 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16523 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16525 enable_wpcap
=${enable_wpcap:-no}
16528 if test "x$with_pcsclite" != "xno"
16530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16531 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16532 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16534 printf %s
"(cached) " >&6
16536 ac_check_lib_save_LIBS
=$LIBS
16537 LIBS
="-lpcsclite $LIBS"
16538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16541 /* Override any GCC internal prototype to avoid an error.
16542 Use char because int might match the return type of a GCC
16543 builtin and then its argument prototype would still apply. */
16544 char SCardEstablishContext ();
16548 return SCardEstablishContext ();
16553 if ac_fn_c_try_link
"$LINENO"
16555 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16557 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16560 conftest
$ac_exeext conftest.
$ac_ext
16561 LIBS
=$ac_check_lib_save_LIBS
16563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16564 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16565 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16567 PCSCLITE_LIBS
="-lpcsclite"
16571 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16577 if test "x$PCSCLITE_LIBS" = x
16579 case "x$with_pcsclite" in
16580 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16582 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16583 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16585 enable_winscard
=${enable_winscard:-no}
16588 if test "x$with_inotify" != "xno"
16591 if ${INOTIFY_CFLAGS:+false} :
16593 if test ${PKG_CONFIG+y}
16595 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16599 if ${INOTIFY_LIBS:+false} :
16601 if test ${PKG_CONFIG+y}
16603 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16610 if test -s conftest.err
; then
16611 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16612 cat conftest.err
>&5
16615 ac_save_CPPFLAGS
=$CPPFLAGS
16616 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16617 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16618 if test "x$ac_cv_header_sys_inotify_h" = xyes
16620 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16625 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16626 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16628 printf %s
"(cached) " >&6
16630 ac_check_lib_save_LIBS
=$LIBS
16631 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16635 /* Override any GCC internal prototype to avoid an error.
16636 Use char because int might match the return type of a GCC
16637 builtin and then its argument prototype would still apply. */
16638 char inotify_add_watch ();
16642 return inotify_add_watch ();
16647 if ac_fn_c_try_link
"$LINENO"
16649 ac_cv_lib_inotify_inotify_add_watch
=yes
16651 ac_cv_lib_inotify_inotify_add_watch
=no
16653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16654 conftest
$ac_exeext conftest.
$ac_ext
16655 LIBS
=$ac_check_lib_save_LIBS
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16658 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16659 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16666 CPPFLAGS
=$ac_save_CPPFLAGS
16669 if test "$ac_cv_header_sys_inotify_h" != "yes"
16671 case "x$with_inotify" in
16672 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16674 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16675 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16680 if test "x$with_dbus" != "xno"
16683 if ${DBUS_CFLAGS:+false} :
16685 if test ${PKG_CONFIG+y}
16687 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16691 if ${DBUS_LIBS:+false} :
16693 if test ${PKG_CONFIG+y}
16695 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16702 if test -s conftest.err
; then
16703 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16704 cat conftest.err
>&5
16707 ac_save_CPPFLAGS
=$CPPFLAGS
16708 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16709 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16713 printf %s
"checking for -ldbus-1... " >&6; }
16714 if test ${ac_cv_lib_soname_dbus_1+y}
16716 printf %s
"(cached) " >&6
16718 ac_check_soname_save_LIBS
=$LIBS
16719 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 char dbus_connection_close ();
16730 return dbus_connection_close ();
16735 if ac_fn_c_try_link
"$LINENO"
16738 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16739 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'` ;;
16740 *) 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'`
16741 if ${ac_cv_lib_soname_dbus_1:+false} :
16743 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16747 ac_cv_lib_soname_dbus_1
=
16749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16750 conftest
$ac_exeext conftest.
$ac_ext
16751 LIBS
=$ac_check_soname_save_LIBS
16753 if ${ac_cv_lib_soname_dbus_1:+false} :
16755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16756 printf "%s\n" "not found" >&6; }
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16760 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16762 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16770 CPPFLAGS
=$ac_save_CPPFLAGS
16774 darwin
*|macosx
*) ;;
16775 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16777 case "x$with_dbus" in
16778 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16780 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16781 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16787 if test "x$with_gnutls" != "xno"
16790 if ${GNUTLS_CFLAGS:+false} :
16792 if test ${PKG_CONFIG+y}
16794 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16798 if ${GNUTLS_LIBS:+false} :
16800 if test ${PKG_CONFIG+y}
16802 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16806 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16809 if test -s conftest.err
; then
16810 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16811 cat conftest.err
>&5
16814 ac_save_CPPFLAGS
=$CPPFLAGS
16815 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16816 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16817 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16821 #include <gnutls/gnutls.h>
16822 #include <gnutls/crypto.h>
16826 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16831 if ac_fn_c_try_compile
"$LINENO"
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16834 printf %s
"checking for -lgnutls... " >&6; }
16835 if test ${ac_cv_lib_soname_gnutls+y}
16837 printf %s
"(cached) " >&6
16839 ac_check_soname_save_LIBS
=$LIBS
16840 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16844 /* Override any GCC internal prototype to avoid an error.
16845 Use char because int might match the return type of a GCC
16846 builtin and then its argument prototype would still apply. */
16847 char gnutls_global_init ();
16851 return gnutls_global_init ();
16856 if ac_fn_c_try_link
"$LINENO"
16859 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16860 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'` ;;
16861 *) 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'`
16862 if ${ac_cv_lib_soname_gnutls:+false} :
16864 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'`
16868 ac_cv_lib_soname_gnutls
=
16870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16871 conftest
$ac_exeext conftest.
$ac_ext
16872 LIBS
=$ac_check_soname_save_LIBS
16874 if ${ac_cv_lib_soname_gnutls:+false} :
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16877 printf "%s\n" "not found" >&6; }
16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16881 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16883 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16887 ac_wine_check_funcs_save_LIBS
="$LIBS"
16888 LIBS
="$LIBS $GNUTLS_LIBS"
16890 for ac_func
in gnutls_cipher_init
16892 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16893 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16895 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16898 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16902 LIBS
="$ac_wine_check_funcs_save_LIBS"
16904 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16909 CPPFLAGS
=$ac_save_CPPFLAGS
16912 if test "x$ac_cv_lib_soname_gnutls" = "x"
16914 case "x$with_gnutls" in
16915 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16917 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16918 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16923 if test "x$with_sane" != "xno"
16926 if ${SANE_CFLAGS:+false} :
16928 if test ${PKG_CONFIG+y}
16930 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16933 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16934 if ${SANE_LIBS:+false} :
16936 if test ${PKG_CONFIG+y}
16938 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16941 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16945 if test -s conftest.err
; then
16946 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16947 cat conftest.err
>&5
16950 ac_save_CPPFLAGS
=$CPPFLAGS
16951 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16952 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16953 if test "x$ac_cv_header_sane_sane_h" = xyes
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16956 printf %s
"checking for sane_init in -lsane... " >&6; }
16957 if test ${ac_cv_lib_sane_sane_init+y}
16959 printf %s
"(cached) " >&6
16961 ac_check_lib_save_LIBS
=$LIBS
16962 LIBS
="-lsane $SANE_LIBS $LIBS"
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16973 return sane_init ();
16978 if ac_fn_c_try_link
"$LINENO"
16980 ac_cv_lib_sane_sane_init
=yes
16982 ac_cv_lib_sane_sane_init
=no
16984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16985 conftest
$ac_exeext conftest.
$ac_ext
16986 LIBS
=$ac_check_lib_save_LIBS
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16989 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16990 if test "x$ac_cv_lib_sane_sane_init" = xyes
16997 CPPFLAGS
=$ac_save_CPPFLAGS
17000 if test "$ac_cv_lib_sane_sane_init" != "yes"
17002 case "x$with_sane" in
17003 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17005 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
17006 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17008 enable_sane_ds
=${enable_sane_ds:-no}
17011 if test "x$with_usb" != "xno"
17014 if ${USB_CFLAGS:+false} :
17016 if test ${PKG_CONFIG+y}
17018 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17022 if ${USB_LIBS:+false} :
17024 if test ${PKG_CONFIG+y}
17026 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17030 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
17031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17033 if test -s conftest.err
; then
17034 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17035 cat conftest.err
>&5
17038 ac_save_CPPFLAGS
=$CPPFLAGS
17039 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
17040 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17041 if test "x$ac_cv_header_libusb_h" = xyes
17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17044 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17045 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17047 printf %s
"(cached) " >&6
17049 ac_check_lib_save_LIBS
=$LIBS
17050 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
17051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17054 /* Override any GCC internal prototype to avoid an error.
17055 Use char because int might match the return type of a GCC
17056 builtin and then its argument prototype would still apply. */
17057 char libusb_interrupt_event_handler ();
17061 return libusb_interrupt_event_handler ();
17066 if ac_fn_c_try_link
"$LINENO"
17068 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
17070 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
17072 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17073 conftest
$ac_exeext conftest.
$ac_ext
17074 LIBS
=$ac_check_lib_save_LIBS
17076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17077 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17078 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17089 CPPFLAGS
=$ac_save_CPPFLAGS
17092 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17094 case "x$with_usb" in
17095 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17097 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17098 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17100 enable_wineusb_sys
=${enable_wineusb_sys:-no}
17103 if test "x$with_v4l2" != "xno"
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17106 printf %s
"checking for -lv4l2... " >&6; }
17107 if test ${ac_cv_lib_soname_v4l2+y}
17109 printf %s
"(cached) " >&6
17111 ac_check_soname_save_LIBS
=$LIBS
17112 LIBS
="-lv4l2 $LIBS"
17113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17116 /* Override any GCC internal prototype to avoid an error.
17117 Use char because int might match the return type of a GCC
17118 builtin and then its argument prototype would still apply. */
17123 return v4l2_open ();
17128 if ac_fn_c_try_link
"$LINENO"
17131 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17132 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'` ;;
17133 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17134 if ${ac_cv_lib_soname_v4l2:+false} :
17136 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17140 ac_cv_lib_soname_v4l2
=
17142 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17143 conftest
$ac_exeext conftest.
$ac_ext
17144 LIBS
=$ac_check_soname_save_LIBS
17146 if ${ac_cv_lib_soname_v4l2:+false} :
17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17149 printf "%s\n" "not found" >&6; }
17152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17153 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17155 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17160 if test "x$ac_cv_lib_soname_v4l2" = "x"
17162 case "x$with_v4l2" in
17163 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
17165 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
17166 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17171 if test "x$with_gphoto" != "xno"
17174 if ${GPHOTO2_CFLAGS:+false} :
17176 if test ${PKG_CONFIG+y}
17178 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17181 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17182 if ${GPHOTO2_LIBS:+false} :
17184 if test ${PKG_CONFIG+y}
17186 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17189 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17190 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
17191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17193 if test -s conftest.err
; then
17194 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17195 cat conftest.err
>&5
17198 ac_save_CPPFLAGS
=$CPPFLAGS
17199 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
17200 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17201 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17204 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
17205 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17207 printf %s
"(cached) " >&6
17209 ac_check_lib_save_LIBS
=$LIBS
17210 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17217 char gp_camera_new ();
17221 return gp_camera_new ();
17226 if ac_fn_c_try_link
"$LINENO"
17228 ac_cv_lib_gphoto2_gp_camera_new
=yes
17230 ac_cv_lib_gphoto2_gp_camera_new
=no
17232 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17233 conftest
$ac_exeext conftest.
$ac_ext
17234 LIBS
=$ac_check_lib_save_LIBS
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17237 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17238 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17245 CPPFLAGS
=$ac_save_CPPFLAGS
17248 if ${GPHOTO2_PORT_CFLAGS:+false} :
17250 if test ${PKG_CONFIG+y}
17252 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17255 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17256 if ${GPHOTO2_PORT_LIBS:+false} :
17258 if test ${PKG_CONFIG+y}
17260 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17263 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17264 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17267 if test -s conftest.err
; then
17268 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17269 cat conftest.err
>&5
17272 ac_save_CPPFLAGS
=$CPPFLAGS
17273 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17274 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17275 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17278 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17279 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17281 printf %s
"(cached) " >&6
17283 ac_check_lib_save_LIBS
=$LIBS
17284 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17291 char gp_port_info_list_new ();
17295 return gp_port_info_list_new ();
17300 if ac_fn_c_try_link
"$LINENO"
17302 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
17304 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
17306 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17307 conftest
$ac_exeext conftest.
$ac_ext
17308 LIBS
=$ac_check_lib_save_LIBS
17310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17311 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17312 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17315 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17318 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17322 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17325 CPPFLAGS
=$ac_save_CPPFLAGS
17328 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17330 case "x$with_gphoto" in
17331 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17333 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17334 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17336 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
17338 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17340 case "x$with_gphoto" in
17341 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17343 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17344 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17350 if test "$ac_cv_header_resolv_h" = "yes"
17352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17353 printf %s
"checking for resolver library... " >&6; }
17354 if test ${ac_cv_have_resolv+y}
17356 printf %s
"(cached) " >&6
17358 ac_save_LIBS
="$LIBS"
17359 for lib
in '' -lresolv
17361 LIBS
="$lib $ac_save_LIBS"
17362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #ifdef HAVE_NETINET_IN_H
17365 #include <netinet/in.h>
17367 #include <resolv.h>
17371 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17376 if ac_fn_c_try_link
"$LINENO"
17378 ac_cv_have_resolv
=${lib:-"none required"}
17380 ac_cv_have_resolv
="not found"
17382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17383 conftest
$ac_exeext conftest.
$ac_ext
17384 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17386 LIBS
="$ac_save_LIBS"
17388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17389 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17391 case "$ac_cv_have_resolv" in
17395 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17398 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17400 RESOLV_LIBS
=$ac_cv_have_resolv
17404 if test "x$ac_cv_have_resolv" != "xnot found"
17406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17407 printf %s
"checking for res_getservers... " >&6; }
17408 if test ${ac_cv_have_res_getservers+y}
17410 printf %s
"(cached) " >&6
17412 ac_save_LIBS
="$LIBS"
17413 LIBS
="$RESOLV_LIBS $LIBS"
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #include <resolv.h>
17420 res_getservers(NULL, NULL, 0);
17425 if ac_fn_c_try_link
"$LINENO"
17427 ac_cv_have_res_getservers
=yes
17429 ac_cv_have_res_getservers
=no
17431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17432 conftest
$ac_exeext conftest.
$ac_ext
17433 LIBS
="$ac_save_LIBS"
17435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17436 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17437 if test "$ac_cv_have_res_getservers" = "yes"
17440 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17446 if test "x$with_freetype" != "xno"
17449 if ${FREETYPE_CFLAGS:+false} :
17451 if test ${PKG_CONFIG+y}
17453 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17456 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17457 if ${FREETYPE_LIBS:+false} :
17459 if test ${PKG_CONFIG+y}
17461 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17464 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17465 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17468 if test -s conftest.err
; then
17469 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17470 cat conftest.err
>&5
17473 ac_save_CPPFLAGS
=$CPPFLAGS
17474 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17475 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17476 if test "x$ac_cv_header_ft2build_h" = xyes
17478 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17482 if test "$ac_cv_header_ft2build_h" = "yes"
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17485 printf %s
"checking for -lfreetype... " >&6; }
17486 if test ${ac_cv_lib_soname_freetype+y}
17488 printf %s
"(cached) " >&6
17490 ac_check_soname_save_LIBS
=$LIBS
17491 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 /* Override any GCC internal prototype to avoid an error.
17496 Use char because int might match the return type of a GCC
17497 builtin and then its argument prototype would still apply. */
17498 char FT_Init_FreeType ();
17502 return FT_Init_FreeType ();
17507 if ac_fn_c_try_link
"$LINENO"
17510 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17511 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'` ;;
17512 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17513 if ${ac_cv_lib_soname_freetype:+false} :
17515 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17519 ac_cv_lib_soname_freetype
=
17521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17522 conftest
$ac_exeext conftest.
$ac_ext
17523 LIBS
=$ac_check_soname_save_LIBS
17525 if ${ac_cv_lib_soname_freetype:+false} :
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17528 printf "%s\n" "not found" >&6; }
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17532 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17534 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17537 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17539 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17540 #include FT_MODULE_H
17542 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17545 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17555 CPPFLAGS
=$ac_save_CPPFLAGS
17558 if test "x$ac_cv_lib_soname_freetype" = x
17560 case "x$with_freetype" in
17562 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17563 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17565 enable_fonts
=${enable_fonts:-no}
17568 ac_wine_check_funcs_save_LIBS
="$LIBS"
17569 LIBS
="$LIBS $PTHREAD_LIBS"
17570 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17571 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17573 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17577 LIBS
="$ac_wine_check_funcs_save_LIBS"
17579 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17581 if test "$ac_cv_header_gettext_po_h" = "yes"
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17584 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17585 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17587 printf %s
"(cached) " >&6
17589 ac_check_lib_save_LIBS
=$LIBS
17590 LIBS
="-lgettextpo $LIBS"
17591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17594 /* Override any GCC internal prototype to avoid an error.
17595 Use char because int might match the return type of a GCC
17596 builtin and then its argument prototype would still apply. */
17597 char po_message_msgctxt ();
17601 return po_message_msgctxt ();
17606 if ac_fn_c_try_link
"$LINENO"
17608 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17610 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17613 conftest
$ac_exeext conftest.
$ac_ext
17614 LIBS
=$ac_check_lib_save_LIBS
17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17617 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17618 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17621 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17623 GETTEXTPO_LIBS
="-lgettextpo"
17628 if test "x$GETTEXTPO_LIBS" = "x"
17630 case "x$with_gettextpo" in
17631 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17633 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17634 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17638 if test "$srcdir" != .
17640 case "x$with_gettextpo" in
17641 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17643 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17644 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17650 if test "x$with_pulse" != "xno";
17653 if ${PULSE_CFLAGS:+false} :
17655 if test ${PKG_CONFIG+y}
17657 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17661 if ${PULSE_LIBS:+false} :
17663 if test ${PKG_CONFIG+y}
17665 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17672 if test -s conftest.err
; then
17673 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17674 cat conftest.err
>&5
17677 ac_save_CPPFLAGS
=$CPPFLAGS
17678 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17679 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17680 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17683 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17684 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17686 printf %s
"(cached) " >&6
17688 ac_check_lib_save_LIBS
=$LIBS
17689 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17693 /* Override any GCC internal prototype to avoid an error.
17694 Use char because int might match the return type of a GCC
17695 builtin and then its argument prototype would still apply. */
17696 char pa_stream_is_corked ();
17700 return pa_stream_is_corked ();
17705 if ac_fn_c_try_link
"$LINENO"
17707 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17709 ac_cv_lib_pulse_pa_stream_is_corked
=no
17711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17712 conftest
$ac_exeext conftest.
$ac_ext
17713 LIBS
=$ac_check_lib_save_LIBS
17715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17716 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17717 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17728 CPPFLAGS
=$ac_save_CPPFLAGS
17731 if test -z "$PULSE_LIBS"
17733 case "x$with_pulse" in
17734 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17736 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17737 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17739 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17742 if test "x$with_gstreamer" != "xno"
17745 if ${GSTREAMER_CFLAGS:+false} :
17747 if test ${PKG_CONFIG+y}
17749 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17753 if ${GSTREAMER_LIBS:+false} :
17755 if test ${PKG_CONFIG+y}
17757 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17762 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
17763 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
17764 if test -s conftest.err
; then
17765 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17766 cat conftest.err
>&5
17769 ac_save_CPPFLAGS
=$CPPFLAGS
17770 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17771 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17772 if test "x$ac_cv_header_gst_gst_h" = xyes
17774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17775 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 #include <gst/gst.h>
17782 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17787 if ac_fn_c_try_compile
"$LINENO"
17789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17790 printf "%s\n" "yes" >&6; }
17791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17792 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17793 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17795 printf %s
"(cached) " >&6
17797 ac_check_lib_save_LIBS
=$LIBS
17798 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 /* Override any GCC internal prototype to avoid an error.
17803 Use char because int might match the return type of a GCC
17804 builtin and then its argument prototype would still apply. */
17805 char gst_pad_new ();
17809 return gst_pad_new ();
17814 if ac_fn_c_try_link
"$LINENO"
17816 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17818 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17820 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17821 conftest
$ac_exeext conftest.
$ac_ext
17822 LIBS
=$ac_check_lib_save_LIBS
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17825 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17826 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17833 printf "%s\n" "no" >&6; }
17834 ac_glib2_broken
=yes
17835 enable_winegstreamer
=${enable_winegstreamer:-no}
17836 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17838 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17841 CPPFLAGS
=$ac_save_CPPFLAGS
17844 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17846 case "x$with_gstreamer" in
17847 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17849 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17850 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17852 enable_winegstreamer
=${enable_winegstreamer:-no}
17857 if test "x$with_alsa" != "xno"
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17860 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17861 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17863 printf %s
"(cached) " >&6
17865 ac_check_lib_save_LIBS
=$LIBS
17866 LIBS
="-lasound $LIBS"
17867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 /* Override any GCC internal prototype to avoid an error.
17871 Use char because int might match the return type of a GCC
17872 builtin and then its argument prototype would still apply. */
17873 char snd_pcm_hw_params_get_access_mask ();
17877 return snd_pcm_hw_params_get_access_mask ();
17882 if ac_fn_c_try_link
"$LINENO"
17884 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17886 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17888 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17889 conftest
$ac_exeext conftest.
$ac_ext
17890 LIBS
=$ac_check_lib_save_LIBS
17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17893 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17894 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <alsa/asoundlib.h>
17902 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17907 if ac_fn_c_try_compile
"$LINENO"
17909 ALSA_LIBS
="-lasound"
17911 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17915 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17917 if test "x$with_oss" != xno
17919 ac_save_CPPFLAGS
="$CPPFLAGS"
17920 if test -f /etc
/oss.conf
17924 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17925 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17926 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17927 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17929 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17931 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17934 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17936 OSS4_CFLAGS
="$ac_oss_incl"
17938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17939 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17940 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17942 printf %s
"(cached) " >&6
17944 ac_check_lib_save_LIBS
=$LIBS
17945 LIBS
="-lossaudio $LIBS"
17946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 /* Override any GCC internal prototype to avoid an error.
17950 Use char because int might match the return type of a GCC
17951 builtin and then its argument prototype would still apply. */
17952 char _oss_ioctl ();
17956 return _oss_ioctl ();
17961 if ac_fn_c_try_link
"$LINENO"
17963 ac_cv_lib_ossaudio__oss_ioctl
=yes
17965 ac_cv_lib_ossaudio__oss_ioctl
=no
17967 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17968 conftest
$ac_exeext conftest.
$ac_ext
17969 LIBS
=$ac_check_lib_save_LIBS
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17972 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17973 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17975 OSS4_LIBS
="-lossaudio"
17983 CPPFLAGS
="$ac_save_CPPFLAGS"
17985 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17987 case "x$with_oss" in
17988 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17990 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17991 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17993 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17996 if test "x$with_udev" != "xno"
17999 if ${UDEV_CFLAGS:+false} :
18001 if test ${PKG_CONFIG+y}
18003 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18007 if ${UDEV_LIBS:+false} :
18009 if test ${PKG_CONFIG+y}
18011 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
18015 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
18016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18018 if test -s conftest.err
; then
18019 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18020 cat conftest.err
>&5
18023 ac_save_CPPFLAGS
=$CPPFLAGS
18024 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
18025 for ac_header
in libudev.h
18027 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18028 if test "x$ac_cv_header_libudev_h" = xyes
18030 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18032 printf %s
"checking for udev_new in -ludev... " >&6; }
18033 if test ${ac_cv_lib_udev_udev_new+y}
18035 printf %s
"(cached) " >&6
18037 ac_check_lib_save_LIBS
=$LIBS
18038 LIBS
="-ludev $UDEV_LIBS $LIBS"
18039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18042 /* Override any GCC internal prototype to avoid an error.
18043 Use char because int might match the return type of a GCC
18044 builtin and then its argument prototype would still apply. */
18049 return udev_new ();
18054 if ac_fn_c_try_link
"$LINENO"
18056 ac_cv_lib_udev_udev_new
=yes
18058 ac_cv_lib_udev_udev_new
=no
18060 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18061 conftest
$ac_exeext conftest.
$ac_ext
18062 LIBS
=$ac_check_lib_save_LIBS
18064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18065 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18066 if test "x$ac_cv_lib_udev_udev_new" = xyes
18069 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18080 CPPFLAGS
=$ac_save_CPPFLAGS
18083 if test "x$UDEV_LIBS" = "x"
18085 case "x$with_udev" in
18086 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18088 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
18089 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18094 if test $HOST_ARCH = x86_64
18096 if test "x$with_unwind" != xno
18099 if ${UNWIND_CFLAGS:+false} :
18101 if test ${PKG_CONFIG+y}
18103 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18107 if ${UNWIND_LIBS:+false} :
18109 if test ${PKG_CONFIG+y}
18111 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18115 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
18116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18118 if test -s conftest.err
; then
18119 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18120 cat conftest.err
>&5
18123 ac_save_CPPFLAGS
=$CPPFLAGS
18124 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
18125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18126 printf %s
"checking for unw_step... " >&6; }
18127 if test ${wine_cv_have_unw_step+y}
18129 printf %s
"(cached) " >&6
18131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #define UNW_LOCAL_ONLY
18134 #include <libunwind.h>
18138 unw_cursor_t cursor; unw_step( &cursor );
18143 if ac_fn_c_try_link
"$LINENO"
18145 wine_cv_have_unw_step
="yes"
18147 wine_cv_have_unw_step
="no"
18149 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18150 conftest
$ac_exeext conftest.
$ac_ext
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18153 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18154 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
18157 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
18158 LIBS
="$UNWIND_LIBS $LIBS"
18159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18160 printf %s
"checking for unw_step in libunwind... " >&6; }
18161 if test ${wine_cv_have_libunwind_unw_step+y}
18163 printf %s
"(cached) " >&6
18165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #define UNW_LOCAL_ONLY
18168 #include <libunwind.h>
18172 unw_cursor_t cursor; unw_step( &cursor );
18177 if ac_fn_c_try_link
"$LINENO"
18179 wine_cv_have_libunwind_unw_step
="yes"
18181 wine_cv_have_libunwind_unw_step
="no"
18183 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18184 conftest
$ac_exeext conftest.
$ac_ext
18186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18187 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18190 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
18191 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18194 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18197 CPPFLAGS
=$ac_save_CPPFLAGS
18202 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18204 case "x$with_unwind" in
18205 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18207 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
18208 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18215 if test "x$with_sdl" != "xno"
18218 if ${SDL2_CFLAGS:+false} :
18220 if test ${PKG_CONFIG+y}
18222 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18226 if ${SDL2_LIBS:+false} :
18228 if test ${PKG_CONFIG+y}
18230 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18234 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
18235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18237 if test -s conftest.err
; then
18238 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18239 cat conftest.err
>&5
18242 ac_save_CPPFLAGS
=$CPPFLAGS
18243 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
18244 for ac_header
in SDL.h
18246 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18247 if test "x$ac_cv_header_SDL_h" = xyes
18249 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18251 printf %s
"checking for -lSDL2... " >&6; }
18252 if test ${ac_cv_lib_soname_SDL2+y}
18254 printf %s
"(cached) " >&6
18256 ac_check_soname_save_LIBS
=$LIBS
18257 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
18258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18268 return SDL_Init ();
18273 if ac_fn_c_try_link
"$LINENO"
18276 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18277 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'` ;;
18278 *) 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'`
18279 if ${ac_cv_lib_soname_SDL2:+false} :
18281 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18285 ac_cv_lib_soname_SDL2
=
18287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18288 conftest
$ac_exeext conftest.
$ac_ext
18289 LIBS
=$ac_check_soname_save_LIBS
18291 if ${ac_cv_lib_soname_SDL2:+false} :
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18294 printf "%s\n" "not found" >&6; }
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18298 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18300 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18307 CPPFLAGS
=$ac_save_CPPFLAGS
18310 if test "x$ac_cv_lib_soname_SDL2" = "x"
18312 case "x$with_sdl" in
18313 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18315 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18316 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18321 if test "x$with_capi" != "xno"
18324 if ${CAPI20_CFLAGS:+false} :
18326 if test ${PKG_CONFIG+y}
18328 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18332 if ${CAPI20_LIBS:+false} :
18334 if test ${PKG_CONFIG+y}
18336 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
18341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18343 if test -s conftest.err
; then
18344 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18345 cat conftest.err
>&5
18348 ac_save_CPPFLAGS
=$CPPFLAGS
18349 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
18350 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18352 if test "x$ac_cv_header_capi20_h" = xyes
18354 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18357 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18359 if test "x$ac_cv_header_linux_capi_h" = xyes
18361 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18365 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18368 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18369 if test ${ac_cv_lib_capi20_capi20_register+y}
18371 printf %s
"(cached) " >&6
18373 ac_check_lib_save_LIBS
=$LIBS
18374 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18378 /* Override any GCC internal prototype to avoid an error.
18379 Use char because int might match the return type of a GCC
18380 builtin and then its argument prototype would still apply. */
18381 char capi20_register ();
18385 return capi20_register ();
18390 if ac_fn_c_try_link
"$LINENO"
18392 ac_cv_lib_capi20_capi20_register
=yes
18394 ac_cv_lib_capi20_capi20_register
=no
18396 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18397 conftest
$ac_exeext conftest.
$ac_ext
18398 LIBS
=$ac_check_lib_save_LIBS
18400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18401 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18402 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18410 CPPFLAGS
=$ac_save_CPPFLAGS
18413 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18415 case "x$with_capi" in
18416 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18418 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18419 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18421 enable_capi2032
=${enable_capi2032:-no}
18424 if test "x$with_cups" != "xno"
18427 if ${CUPS_CFLAGS:+false} :
18429 if test ${PKG_CONFIG+y}
18431 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18434 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18435 if ${CUPS_LIBS:+false} :
18437 if test ${PKG_CONFIG+y}
18439 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18442 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18443 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18446 if test -s conftest.err
; then
18447 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18448 cat conftest.err
>&5
18451 ac_save_CPPFLAGS
=$CPPFLAGS
18452 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18453 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18454 if test "x$ac_cv_header_cups_cups_h" = xyes
18456 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18459 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18460 if test "x$ac_cv_header_cups_ppd_h" = xyes
18462 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18466 if test "$ac_cv_header_cups_cups_h" = "yes"
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18469 printf %s
"checking for -lcups... " >&6; }
18470 if test ${ac_cv_lib_soname_cups+y}
18472 printf %s
"(cached) " >&6
18474 ac_check_soname_save_LIBS
=$LIBS
18475 LIBS
="-lcups $CUPS_LIBS $LIBS"
18476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18479 /* Override any GCC internal prototype to avoid an error.
18480 Use char because int might match the return type of a GCC
18481 builtin and then its argument prototype would still apply. */
18482 char cupsGetDefault ();
18486 return cupsGetDefault ();
18491 if ac_fn_c_try_link
"$LINENO"
18494 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18495 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'` ;;
18496 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18497 if ${ac_cv_lib_soname_cups:+false} :
18499 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18503 ac_cv_lib_soname_cups
=
18505 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18506 conftest
$ac_exeext conftest.
$ac_ext
18507 LIBS
=$ac_check_soname_save_LIBS
18509 if ${ac_cv_lib_soname_cups:+false} :
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18512 printf "%s\n" "not found" >&6; }
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18516 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18518 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18526 CPPFLAGS
=$ac_save_CPPFLAGS
18529 if test "x$ac_cv_lib_soname_cups" = "x"
18531 case "x$with_cups" in
18532 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18534 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18535 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18540 if test "x$with_fontconfig" != "xno"
18543 if ${FONTCONFIG_CFLAGS:+false} :
18545 if test ${PKG_CONFIG+y}
18547 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18550 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18551 if ${FONTCONFIG_LIBS:+false} :
18553 if test ${PKG_CONFIG+y}
18555 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18558 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18562 if test -s conftest.err
; then
18563 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18564 cat conftest.err
>&5
18567 ac_save_CPPFLAGS
=$CPPFLAGS
18568 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18569 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18570 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18573 printf %s
"checking for -lfontconfig... " >&6; }
18574 if test ${ac_cv_lib_soname_fontconfig+y}
18576 printf %s
"(cached) " >&6
18578 ac_check_soname_save_LIBS
=$LIBS
18579 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18583 /* Override any GCC internal prototype to avoid an error.
18584 Use char because int might match the return type of a GCC
18585 builtin and then its argument prototype would still apply. */
18595 if ac_fn_c_try_link
"$LINENO"
18598 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18599 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'` ;;
18600 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18601 if ${ac_cv_lib_soname_fontconfig:+false} :
18603 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18607 ac_cv_lib_soname_fontconfig
=
18609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18610 conftest
$ac_exeext conftest.
$ac_ext
18611 LIBS
=$ac_check_soname_save_LIBS
18613 if ${ac_cv_lib_soname_fontconfig:+false} :
18615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18616 printf "%s\n" "not found" >&6; }
18617 FONTCONFIG_CFLAGS
=""
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18620 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18622 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18627 FONTCONFIG_CFLAGS
=""
18630 CPPFLAGS
=$ac_save_CPPFLAGS
18633 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18635 case "x$with_fontconfig" in
18636 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18638 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18639 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18644 if test "x$with_krb5" != "xno"
18647 if ${KRB5_CFLAGS:+false} :
18649 if test ${PKG_CONFIG+y}
18651 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18654 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18655 if ${KRB5_LIBS:+false} :
18657 if test ${PKG_CONFIG+y}
18659 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18662 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18666 if test -s conftest.err
; then
18667 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18668 cat conftest.err
>&5
18671 ac_save_CPPFLAGS
=$CPPFLAGS
18672 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18673 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18674 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18676 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18680 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18683 printf %s
"checking for -lkrb5... " >&6; }
18684 if test ${ac_cv_lib_soname_krb5+y}
18686 printf %s
"(cached) " >&6
18688 ac_check_soname_save_LIBS
=$LIBS
18689 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18693 /* Override any GCC internal prototype to avoid an error.
18694 Use char because int might match the return type of a GCC
18695 builtin and then its argument prototype would still apply. */
18696 char krb5_is_config_principal ();
18700 return krb5_is_config_principal ();
18705 if ac_fn_c_try_link
"$LINENO"
18708 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18709 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'` ;;
18710 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18711 if ${ac_cv_lib_soname_krb5:+false} :
18713 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18717 ac_cv_lib_soname_krb5
=
18719 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18720 conftest
$ac_exeext conftest.
$ac_ext
18721 LIBS
=$ac_check_soname_save_LIBS
18723 if ${ac_cv_lib_soname_krb5:+false} :
18725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18726 printf "%s\n" "not found" >&6; }
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18730 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18732 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18739 CPPFLAGS
=$ac_save_CPPFLAGS
18742 if test "x$ac_cv_lib_soname_krb5" = "x"
18744 case "x$with_krb5" in
18745 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18747 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18748 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18752 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18754 if test "x$with_gssapi" != "xno"
18757 if ${GSSAPI_CFLAGS:+false} :
18759 if test ${PKG_CONFIG+y}
18761 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18764 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18765 if ${GSSAPI_LIBS:+false} :
18767 if test ${PKG_CONFIG+y}
18769 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18772 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18776 if test -s conftest.err
; then
18777 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18778 cat conftest.err
>&5
18781 ac_save_CPPFLAGS
=$CPPFLAGS
18782 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18783 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18784 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18786 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18789 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18790 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18792 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18796 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18799 printf %s
"checking for -lgssapi_krb5... " >&6; }
18800 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18802 printf %s
"(cached) " >&6
18804 ac_check_soname_save_LIBS
=$LIBS
18805 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18809 /* Override any GCC internal prototype to avoid an error.
18810 Use char because int might match the return type of a GCC
18811 builtin and then its argument prototype would still apply. */
18812 char gss_init_sec_context ();
18816 return gss_init_sec_context ();
18821 if ac_fn_c_try_link
"$LINENO"
18824 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18825 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'` ;;
18826 *) 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'`
18827 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18829 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18833 ac_cv_lib_soname_gssapi_krb5
=
18835 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18836 conftest
$ac_exeext conftest.
$ac_ext
18837 LIBS
=$ac_check_soname_save_LIBS
18839 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18842 printf "%s\n" "not found" >&6; }
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18846 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18848 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18855 CPPFLAGS
=$ac_save_CPPFLAGS
18858 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18860 case "x$with_gssapi" in
18861 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18863 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18864 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18869 if test "$ac_cv_header_libprocstat_h" = "yes"
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18872 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18873 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18875 printf %s
"(cached) " >&6
18877 ac_check_lib_save_LIBS
=$LIBS
18878 LIBS
="-lprocstat $LIBS"
18879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18882 /* Override any GCC internal prototype to avoid an error.
18883 Use char because int might match the return type of a GCC
18884 builtin and then its argument prototype would still apply. */
18885 char procstat_open_sysctl ();
18889 return procstat_open_sysctl ();
18894 if ac_fn_c_try_link
"$LINENO"
18896 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18898 ac_cv_lib_procstat_procstat_open_sysctl
=no
18900 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18901 conftest
$ac_exeext conftest.
$ac_ext
18902 LIBS
=$ac_check_lib_save_LIBS
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18905 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18906 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18909 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18911 PROCSTAT_LIBS
="-lprocstat"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18918 printf %s
"checking for -lodbc... " >&6; }
18919 if test ${ac_cv_lib_soname_odbc+y}
18921 printf %s
"(cached) " >&6
18923 ac_check_soname_save_LIBS
=$LIBS
18924 LIBS
="-lodbc $LIBS"
18925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18928 /* Override any GCC internal prototype to avoid an error.
18929 Use char because int might match the return type of a GCC
18930 builtin and then its argument prototype would still apply. */
18931 char SQLConnect ();
18935 return SQLConnect ();
18940 if ac_fn_c_try_link
"$LINENO"
18943 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18944 dylib
) ac_cv_lib_soname_odbc
=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18945 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18946 if ${ac_cv_lib_soname_odbc:+false} :
18948 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18952 ac_cv_lib_soname_odbc
=
18954 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18955 conftest
$ac_exeext conftest.
$ac_ext
18956 LIBS
=$ac_check_soname_save_LIBS
18958 if ${ac_cv_lib_soname_odbc:+false} :
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18961 printf "%s\n" "not found" >&6; }
18962 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18966 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18968 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18973 if test "x$with_netapi" != "xno"
18976 if ${NETAPI_CFLAGS:+false} :
18978 if test ${PKG_CONFIG+y}
18980 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18984 if ${NETAPI_LIBS:+false} :
18986 if test ${PKG_CONFIG+y}
18988 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18995 if test -s conftest.err
; then
18996 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18997 cat conftest.err
>&5
19000 ac_save_CPPFLAGS
=$CPPFLAGS
19001 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19003 printf %s
"checking for -lnetapi... " >&6; }
19004 if test ${ac_cv_lib_soname_netapi+y}
19006 printf %s
"(cached) " >&6
19008 ac_check_soname_save_LIBS
=$LIBS
19009 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19013 /* Override any GCC internal prototype to avoid an error.
19014 Use char because int might match the return type of a GCC
19015 builtin and then its argument prototype would still apply. */
19016 char libnetapi_init ();
19020 return libnetapi_init ();
19025 if ac_fn_c_try_link
"$LINENO"
19028 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19029 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'` ;;
19030 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19031 if ${ac_cv_lib_soname_netapi:+false} :
19033 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19037 ac_cv_lib_soname_netapi
=
19039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19040 conftest
$ac_exeext conftest.
$ac_ext
19041 LIBS
=$ac_check_soname_save_LIBS
19043 if ${ac_cv_lib_soname_netapi:+false} :
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19046 printf "%s\n" "not found" >&6; }
19047 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19051 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19053 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19057 CPPFLAGS
=$ac_save_CPPFLAGS
19060 if test "x$ac_cv_lib_soname_netapi" = "x"
19062 case "x$with_netapi" in
19063 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
19065 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
19066 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19068 enable_netapi
=${enable_netapi:-no}
19072 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
19073 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19075 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
19078 if test "x$with_vulkan" != "xno"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19081 printf %s
"checking for -lvulkan... " >&6; }
19082 if test ${ac_cv_lib_soname_vulkan+y}
19084 printf %s
"(cached) " >&6
19086 ac_check_soname_save_LIBS
=$LIBS
19087 LIBS
="-lvulkan $LIBS"
19088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19091 /* Override any GCC internal prototype to avoid an error.
19092 Use char because int might match the return type of a GCC
19093 builtin and then its argument prototype would still apply. */
19094 char vkGetInstanceProcAddr ();
19098 return vkGetInstanceProcAddr ();
19103 if ac_fn_c_try_link
"$LINENO"
19106 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19107 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'` ;;
19108 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19109 if ${ac_cv_lib_soname_vulkan:+false} :
19111 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19115 ac_cv_lib_soname_vulkan
=
19117 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19118 conftest
$ac_exeext conftest.
$ac_ext
19119 LIBS
=$ac_check_soname_save_LIBS
19121 if ${ac_cv_lib_soname_vulkan:+false} :
19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19124 printf "%s\n" "not found" >&6; }
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19128 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19130 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19134 if test "x$ac_cv_lib_soname_vulkan" = "x"
19136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19137 printf %s
"checking for -lMoltenVK... " >&6; }
19138 if test ${ac_cv_lib_soname_MoltenVK+y}
19140 printf %s
"(cached) " >&6
19142 ac_check_soname_save_LIBS
=$LIBS
19143 LIBS
="-lMoltenVK $LIBS"
19144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19147 /* Override any GCC internal prototype to avoid an error.
19148 Use char because int might match the return type of a GCC
19149 builtin and then its argument prototype would still apply. */
19150 char vkGetInstanceProcAddr ();
19154 return vkGetInstanceProcAddr ();
19159 if ac_fn_c_try_link
"$LINENO"
19162 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19163 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'` ;;
19164 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19165 if ${ac_cv_lib_soname_MoltenVK:+false} :
19167 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19171 ac_cv_lib_soname_MoltenVK
=
19173 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19174 conftest
$ac_exeext conftest.
$ac_ext
19175 LIBS
=$ac_check_soname_save_LIBS
19177 if ${ac_cv_lib_soname_MoltenVK:+false} :
19179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19180 printf "%s\n" "not found" >&6; }
19183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19184 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19186 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19192 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19194 case "x$with_vulkan" in
19195 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19197 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19198 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19204 if test "x${GCC}" = "xyes"
19206 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
19208 saved_CFLAGS
=$CFLAGS
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19210 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19211 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19213 printf %s
"(cached) " >&6
19215 ac_wine_try_cflags_saved
=$CFLAGS
19216 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 int main(int argc, char **argv) { return 0; }
19221 if ac_fn_c_try_link
"$LINENO"
19223 ac_cv_cflags__Werror_unknown_warning_option
=yes
19225 ac_cv_cflags__Werror_unknown_warning_option
=no
19227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19228 conftest
$ac_exeext conftest.
$ac_ext
19229 CFLAGS
=$ac_wine_try_cflags_saved
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19232 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19233 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19235 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19238 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19239 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19241 printf %s
"(cached) " >&6
19243 ac_wine_try_cflags_saved
=$CFLAGS
19244 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h. */
19247 int main(int argc, char **argv) { return 0; }
19249 if ac_fn_c_try_link
"$LINENO"
19251 ac_cv_cflags__Werror_unused_command_line_argument
=yes
19253 ac_cv_cflags__Werror_unused_command_line_argument
=no
19255 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19256 conftest
$ac_exeext conftest.
$ac_ext
19257 CFLAGS
=$ac_wine_try_cflags_saved
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19260 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19261 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19263 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19266 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19267 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19269 printf %s
"(cached) " >&6
19271 ac_wine_try_cflags_saved
=$CFLAGS
19272 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19277 if ac_fn_c_try_link
"$LINENO"
19279 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
19281 ac_cv_cflags__Werror_ignored_optimization_argument
=no
19283 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19284 conftest
$ac_exeext conftest.
$ac_ext
19285 CFLAGS
=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19288 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19289 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19291 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19294 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
19295 if test ${ac_cv_cflags__fcf_protection_none+y}
19297 printf %s
"(cached) " >&6
19299 ac_wine_try_cflags_saved
=$CFLAGS
19300 CFLAGS
="$CFLAGS -fcf-protection=none"
19301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19305 if ac_fn_c_try_link
"$LINENO"
19307 ac_cv_cflags__fcf_protection_none
=yes
19309 ac_cv_cflags__fcf_protection_none
=no
19311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19312 conftest
$ac_exeext conftest.
$ac_ext
19313 CFLAGS
=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19316 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19317 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19319 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19322 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19323 if test ${ac_cv_cflags__fvisibility_hidden+y}
19325 printf %s
"(cached) " >&6
19327 ac_wine_try_cflags_saved
=$CFLAGS
19328 CFLAGS
="$CFLAGS -fvisibility=hidden"
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19333 if ac_fn_c_try_link
"$LINENO"
19335 ac_cv_cflags__fvisibility_hidden
=yes
19337 ac_cv_cflags__fvisibility_hidden
=no
19339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19340 conftest
$ac_exeext conftest.
$ac_ext
19341 CFLAGS
=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19344 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19345 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19347 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19350 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
19351 if test ${ac_cv_cflags__fno_stack_protector+y}
19353 printf %s
"(cached) " >&6
19355 ac_wine_try_cflags_saved
=$CFLAGS
19356 CFLAGS
="$CFLAGS -fno-stack-protector"
19357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19359 int main(int argc, char **argv) { return 0; }
19361 if ac_fn_c_try_link
"$LINENO"
19363 ac_cv_cflags__fno_stack_protector
=yes
19365 ac_cv_cflags__fno_stack_protector
=no
19367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19368 conftest
$ac_exeext conftest.
$ac_ext
19369 CFLAGS
=$ac_wine_try_cflags_saved
19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19372 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19373 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19375 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19378 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19379 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19381 printf %s
"(cached) " >&6
19383 ac_wine_try_cflags_saved
=$CFLAGS
19384 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 int main(int argc, char **argv) { return 0; }
19389 if ac_fn_c_try_link
"$LINENO"
19391 ac_cv_cflags__fno_strict_aliasing
=yes
19393 ac_cv_cflags__fno_strict_aliasing
=no
19395 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19396 conftest
$ac_exeext conftest.
$ac_ext
19397 CFLAGS
=$ac_wine_try_cflags_saved
19399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19400 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19401 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19403 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19406 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19407 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19409 printf %s
"(cached) " >&6
19411 ac_wine_try_cflags_saved
=$CFLAGS
19412 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19417 if ac_fn_c_try_link
"$LINENO"
19419 ac_cv_cflags__Wdeclaration_after_statement
=yes
19421 ac_cv_cflags__Wdeclaration_after_statement
=no
19423 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19424 conftest
$ac_exeext conftest.
$ac_ext
19425 CFLAGS
=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19428 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19429 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19431 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19434 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19435 if test ${ac_cv_cflags__Wempty_body+y}
19437 printf %s
"(cached) " >&6
19439 ac_wine_try_cflags_saved
=$CFLAGS
19440 CFLAGS
="$CFLAGS -Wempty-body"
19441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443 int main(int argc, char **argv) { return 0; }
19445 if ac_fn_c_try_link
"$LINENO"
19447 ac_cv_cflags__Wempty_body
=yes
19449 ac_cv_cflags__Wempty_body
=no
19451 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19452 conftest
$ac_exeext conftest.
$ac_ext
19453 CFLAGS
=$ac_wine_try_cflags_saved
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19456 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19457 if test "x$ac_cv_cflags__Wempty_body" = xyes
19459 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19462 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19463 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19465 printf %s
"(cached) " >&6
19467 ac_wine_try_cflags_saved
=$CFLAGS
19468 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 int main(int argc, char **argv) { return 0; }
19473 if ac_fn_c_try_link
"$LINENO"
19475 ac_cv_cflags__Wignored_qualifiers
=yes
19477 ac_cv_cflags__Wignored_qualifiers
=no
19479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19480 conftest
$ac_exeext conftest.
$ac_ext
19481 CFLAGS
=$ac_wine_try_cflags_saved
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19484 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19485 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19487 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19490 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19491 if test ${ac_cv_cflags__Winit_self+y}
19493 printf %s
"(cached) " >&6
19495 ac_wine_try_cflags_saved
=$CFLAGS
19496 CFLAGS
="$CFLAGS -Winit-self"
19497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19501 if ac_fn_c_try_link
"$LINENO"
19503 ac_cv_cflags__Winit_self
=yes
19505 ac_cv_cflags__Winit_self
=no
19507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19508 conftest
$ac_exeext conftest.
$ac_ext
19509 CFLAGS
=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19512 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19513 if test "x$ac_cv_cflags__Winit_self" = xyes
19515 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19518 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19519 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19521 printf %s
"(cached) " >&6
19523 ac_wine_try_cflags_saved
=$CFLAGS
19524 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19529 if ac_fn_c_try_link
"$LINENO"
19531 ac_cv_cflags__Wpacked_not_aligned
=yes
19533 ac_cv_cflags__Wpacked_not_aligned
=no
19535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19536 conftest
$ac_exeext conftest.
$ac_ext
19537 CFLAGS
=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19541 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19543 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19546 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19547 if test ${ac_cv_cflags__Wpragma_pack+y}
19549 printf %s
"(cached) " >&6
19551 ac_wine_try_cflags_saved
=$CFLAGS
19552 CFLAGS
="$CFLAGS -Wpragma-pack"
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 int main(int argc, char **argv) { return 0; }
19557 if ac_fn_c_try_link
"$LINENO"
19559 ac_cv_cflags__Wpragma_pack
=yes
19561 ac_cv_cflags__Wpragma_pack
=no
19563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19564 conftest
$ac_exeext conftest.
$ac_ext
19565 CFLAGS
=$ac_wine_try_cflags_saved
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19568 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19569 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19571 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19574 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19575 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19577 printf %s
"(cached) " >&6
19579 ac_wine_try_cflags_saved
=$CFLAGS
19580 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 int main(int argc, char **argv) { return 0; }
19585 if ac_fn_c_try_link
"$LINENO"
19587 ac_cv_cflags__Wshift_overflow_2
=yes
19589 ac_cv_cflags__Wshift_overflow_2
=no
19591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19592 conftest
$ac_exeext conftest.
$ac_ext
19593 CFLAGS
=$ac_wine_try_cflags_saved
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19596 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19597 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19599 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19602 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19603 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19605 printf %s
"(cached) " >&6
19607 ac_wine_try_cflags_saved
=$CFLAGS
19608 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611 int main(int argc, char **argv) { return 0; }
19613 if ac_fn_c_try_link
"$LINENO"
19615 ac_cv_cflags__Wstrict_prototypes
=yes
19617 ac_cv_cflags__Wstrict_prototypes
=no
19619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19620 conftest
$ac_exeext conftest.
$ac_ext
19621 CFLAGS
=$ac_wine_try_cflags_saved
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19624 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19625 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19627 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19630 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19631 if test ${ac_cv_cflags__Wtype_limits+y}
19633 printf %s
"(cached) " >&6
19635 ac_wine_try_cflags_saved
=$CFLAGS
19636 CFLAGS
="$CFLAGS -Wtype-limits"
19637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 int main(int argc, char **argv) { return 0; }
19641 if ac_fn_c_try_link
"$LINENO"
19643 ac_cv_cflags__Wtype_limits
=yes
19645 ac_cv_cflags__Wtype_limits
=no
19647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19648 conftest
$ac_exeext conftest.
$ac_ext
19649 CFLAGS
=$ac_wine_try_cflags_saved
19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19652 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19653 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19655 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19658 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19659 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19661 printf %s
"(cached) " >&6
19663 ac_wine_try_cflags_saved
=$CFLAGS
19664 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 int main(int argc, char **argv) { return 0; }
19669 if ac_fn_c_try_link
"$LINENO"
19671 ac_cv_cflags__Wunused_but_set_parameter
=yes
19673 ac_cv_cflags__Wunused_but_set_parameter
=no
19675 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19676 conftest
$ac_exeext conftest.
$ac_ext
19677 CFLAGS
=$ac_wine_try_cflags_saved
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19680 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19681 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19683 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19686 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19687 if test ${ac_cv_cflags__Wvla+y}
19689 printf %s
"(cached) " >&6
19691 ac_wine_try_cflags_saved
=$CFLAGS
19692 CFLAGS
="$CFLAGS -Wvla"
19693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 int main(int argc, char **argv) { return 0; }
19697 if ac_fn_c_try_link
"$LINENO"
19699 ac_cv_cflags__Wvla
=yes
19701 ac_cv_cflags__Wvla
=no
19703 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19704 conftest
$ac_exeext conftest.
$ac_ext
19705 CFLAGS
=$ac_wine_try_cflags_saved
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19708 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19709 if test "x$ac_cv_cflags__Wvla" = xyes
19711 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19714 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19715 if test ${ac_cv_cflags__Wwrite_strings+y}
19717 printf %s
"(cached) " >&6
19719 ac_wine_try_cflags_saved
=$CFLAGS
19720 CFLAGS
="$CFLAGS -Wwrite-strings"
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19723 int main(int argc, char **argv) { return 0; }
19725 if ac_fn_c_try_link
"$LINENO"
19727 ac_cv_cflags__Wwrite_strings
=yes
19729 ac_cv_cflags__Wwrite_strings
=no
19731 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19732 conftest
$ac_exeext conftest.
$ac_ext
19733 CFLAGS
=$ac_wine_try_cflags_saved
19735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19736 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19737 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19739 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19743 printf %s
"checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19744 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19746 printf %s
"(cached) " >&6
19748 ac_wine_try_cflags_saved
=$CFLAGS
19749 CFLAGS
="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 int main(int argc, char **argv) { return 0; }
19754 if ac_fn_c_try_link
"$LINENO"
19756 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=yes
19758 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=no
19760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19761 conftest
$ac_exeext conftest.
$ac_ext
19762 CFLAGS
=$ac_wine_try_cflags_saved
19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19765 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19766 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19768 EXTRACFLAGS
="$EXTRACFLAGS -Wno-misleading-indentation"
19771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19772 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19773 if test ${ac_cv_cflags__Wpointer_arith+y}
19775 printf %s
"(cached) " >&6
19777 ac_wine_try_cflags_saved
=$CFLAGS
19778 CFLAGS
="$CFLAGS -Wpointer-arith"
19779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19781 int main(int argc, char **argv) { return 0; }
19783 if ac_fn_c_try_link
"$LINENO"
19785 ac_cv_cflags__Wpointer_arith
=yes
19787 ac_cv_cflags__Wpointer_arith
=no
19789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19790 conftest
$ac_exeext conftest.
$ac_ext
19791 CFLAGS
=$ac_wine_try_cflags_saved
19793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19794 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19795 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19797 saved_string_h_CFLAGS
=$CFLAGS
19798 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19800 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19801 if test ${ac_cv_c_string_h_warnings+y}
19803 printf %s
"(cached) " >&6
19805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #include <string.h>
19816 if ac_fn_c_try_compile
"$LINENO"
19818 ac_cv_c_string_h_warnings
=no
19820 ac_cv_c_string_h_warnings
=yes
19822 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19825 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19826 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19827 CFLAGS
=$saved_string_h_CFLAGS
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19831 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19832 if test ${ac_cv_cflags__Wlogical_op+y}
19834 printf %s
"(cached) " >&6
19836 ac_wine_try_cflags_saved
=$CFLAGS
19837 CFLAGS
="$CFLAGS -Wlogical-op"
19838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 int main(int argc, char **argv) { return 0; }
19842 if ac_fn_c_try_link
"$LINENO"
19844 ac_cv_cflags__Wlogical_op
=yes
19846 ac_cv_cflags__Wlogical_op
=no
19848 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19849 conftest
$ac_exeext conftest.
$ac_ext
19850 CFLAGS
=$ac_wine_try_cflags_saved
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19853 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19854 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19856 saved_string_h_CFLAGS
=$CFLAGS
19857 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19859 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19860 if test ${ac_cv_c_logicalop_noisy+y}
19862 printf %s
"(cached) " >&6
19864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866 #include <string.h>
19867 char*f(const char *h,char n) {return strchr(h,n);}
19876 if ac_fn_c_try_compile
"$LINENO"
19878 ac_cv_c_logicalop_noisy
=no
19880 ac_cv_c_logicalop_noisy
=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_logicalop_noisy" >&5
19885 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19886 CFLAGS
=$saved_string_h_CFLAGS
19887 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19891 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19892 if test ${wine_cv_64bit_compare_swap+y}
19894 printf %s
"(cached) " >&6
19896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19909 if ac_fn_c_try_compile
"$LINENO"
19911 wine_cv_64bit_compare_swap
="none needed"
19914 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
19915 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19916 *) wine_cv_64bit_compare_swap
="unknown" ;;
19918 if test "x$wine_cv_64bit_compare_swap" != xunknown
19920 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19934 if ac_fn_c_try_compile
"$LINENO"
19938 wine_cv_64bit_compare_swap
="unknown"
19940 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19941 CFLAGS
=$saved_CFLAGS
19944 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19947 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19948 case "$wine_cv_64bit_compare_swap" in
19949 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19951 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19954 ac_debug_format_seen
=""
19955 for ac_flag
in $CFLAGS; do
19957 -gdwarf*) ac_debug_format_seen
=yes ;;
19958 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19961 if test "x$ac_debug_format_seen" = xdefault
19963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19964 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19965 if test ${ac_cv_cflags__gdwarf_4+y}
19967 printf %s
"(cached) " >&6
19969 ac_wine_try_cflags_saved
=$CFLAGS
19970 CFLAGS
="$CFLAGS -gdwarf-4"
19971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19973 int main(int argc, char **argv) { return 0; }
19975 if ac_fn_c_try_link
"$LINENO"
19977 ac_cv_cflags__gdwarf_4
=yes
19979 ac_cv_cflags__gdwarf_4
=no
19981 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19982 conftest
$ac_exeext conftest.
$ac_ext
19983 CFLAGS
=$ac_wine_try_cflags_saved
19985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19986 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19987 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19989 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19996 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19997 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19998 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20000 printf %s
"(cached) " >&6
20002 ac_wine_try_cflags_saved
=$CFLAGS
20003 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
20004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 int main(int argc, char **argv) { return 0; }
20008 if ac_fn_c_try_link
"$LINENO"
20010 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
20012 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
20014 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20015 conftest
$ac_exeext conftest.
$ac_ext
20016 CFLAGS
=$ac_wine_try_cflags_saved
20018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20019 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20020 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20022 DELAYLOADFLAG
="-Wl,-delayload,"
20025 *) MSVCRTFLAGS
="-D_WIN32"
20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20027 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
20028 if test ${ac_cv_cflags__fno_builtin+y}
20030 printf %s
"(cached) " >&6
20032 ac_wine_try_cflags_saved
=$CFLAGS
20033 CFLAGS
="$CFLAGS -fno-builtin"
20034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 int main(int argc, char **argv) { return 0; }
20038 if ac_fn_c_try_link
"$LINENO"
20040 ac_cv_cflags__fno_builtin
=yes
20042 ac_cv_cflags__fno_builtin
=no
20044 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20045 conftest
$ac_exeext conftest.
$ac_ext
20046 CFLAGS
=$ac_wine_try_cflags_saved
20048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20049 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20050 if test "x$ac_cv_cflags__fno_builtin" = xyes
20052 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
20054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20055 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
20056 if test ${ac_cv_cflags__fshort_wchar+y}
20058 printf %s
"(cached) " >&6
20060 ac_wine_try_cflags_saved
=$CFLAGS
20061 CFLAGS
="$CFLAGS -fshort-wchar"
20062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20064 int main(int argc, char **argv) { return 0; }
20066 if ac_fn_c_try_link
"$LINENO"
20068 ac_cv_cflags__fshort_wchar
=yes
20070 ac_cv_cflags__fshort_wchar
=no
20072 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20073 conftest
$ac_exeext conftest.
$ac_ext
20074 CFLAGS
=$ac_wine_try_cflags_saved
20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20077 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20078 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20080 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
20082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20083 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20084 if test ${ac_cv_cflags__Wno_format+y}
20086 printf %s
"(cached) " >&6
20088 ac_wine_try_cflags_saved
=$CFLAGS
20089 CFLAGS
="$CFLAGS -Wno-format"
20090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092 int main(int argc, char **argv) { return 0; }
20094 if ac_fn_c_try_link
"$LINENO"
20096 ac_cv_cflags__Wno_format
=yes
20098 ac_cv_cflags__Wno_format
=no
20100 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20101 conftest
$ac_exeext conftest.
$ac_ext
20102 CFLAGS
=$ac_wine_try_cflags_saved
20104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20105 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20106 if test "x$ac_cv_cflags__Wno_format" = xyes
20108 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
20113 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20114 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20115 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20117 printf %s
"(cached) " >&6
20119 ac_wine_try_cflags_saved
=$CFLAGS
20120 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
20121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20122 /* end confdefs.h. */
20123 int main(int argc, char **argv) { return 0; }
20125 if ac_fn_c_try_link
"$LINENO"
20127 ac_cv_cflags__fno_omit_frame_pointer
=yes
20129 ac_cv_cflags__fno_omit_frame_pointer
=no
20131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20132 conftest
$ac_exeext conftest.
$ac_ext
20133 CFLAGS
=$ac_wine_try_cflags_saved
20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20136 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20137 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20139 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
20143 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20144 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20145 if test ${ac_cv_cflags__Wno_format+y}
20147 printf %s
"(cached) " >&6
20149 ac_wine_try_cflags_saved
=$CFLAGS
20150 CFLAGS
="$CFLAGS -Wno-format"
20151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20153 int main(int argc, char **argv) { return 0; }
20155 if ac_fn_c_try_link
"$LINENO"
20157 ac_cv_cflags__Wno_format
=yes
20159 ac_cv_cflags__Wno_format
=no
20161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20162 conftest
$ac_exeext conftest.
$ac_ext
20163 CFLAGS
=$ac_wine_try_cflags_saved
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20166 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20167 if test "x$ac_cv_cflags__Wno_format" = xyes
20169 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
20171 *) if test -z "$PE_ARCHS"
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20174 printf %s
"checking for working -mabi=ms... " >&6; }
20175 if test ${ac_cv_mabi_ms+y}
20177 printf %s
"(cached) " >&6
20179 CFLAGS
="$CFLAGS -mabi=ms"
20180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <stdarg.h>
20183 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20192 if ac_fn_c_try_compile
"$LINENO"
20198 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20199 CFLAGS
=$saved_CFLAGS
20201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20202 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20203 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
20205 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
20208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20209 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20210 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20212 printf %s
"(cached) " >&6
20214 ac_wine_try_cflags_saved
=$CFLAGS
20215 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
20216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 int main(int argc, char **argv) { return 0; }
20220 if ac_fn_c_try_link
"$LINENO"
20222 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
20224 ac_cv_cflags__Wincompatible_function_pointer_types
=no
20226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20227 conftest
$ac_exeext conftest.
$ac_ext
20228 CFLAGS
=$ac_wine_try_cflags_saved
20230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20231 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20232 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20234 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20238 CFLAGS
=$saved_CFLAGS
20240 if test "x$enable_werror" = "xyes"
20242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20243 printf %s
"checking whether the compiler supports -Werror... " >&6; }
20244 if test ${ac_cv_cflags__Werror+y}
20246 printf %s
"(cached) " >&6
20248 ac_wine_try_cflags_saved
=$CFLAGS
20249 CFLAGS
="$CFLAGS -Werror"
20250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252 int main(int argc, char **argv) { return 0; }
20254 if ac_fn_c_try_link
"$LINENO"
20256 ac_cv_cflags__Werror
=yes
20258 ac_cv_cflags__Werror
=no
20260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20261 conftest
$ac_exeext conftest.
$ac_ext
20262 CFLAGS
=$ac_wine_try_cflags_saved
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20265 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20266 if test "x$ac_cv_cflags__Werror" = xyes
20268 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
20271 if test "x$enable_build_id" = "xyes"
20273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20274 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
20275 if test ${ac_cv_cflags__Wl___build_id+y}
20277 printf %s
"(cached) " >&6
20279 ac_wine_try_cflags_saved
=$CFLAGS
20280 CFLAGS
="$CFLAGS -Wl,--build-id"
20281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20283 int main(int argc, char **argv) { return 0; }
20285 if ac_fn_c_try_link
"$LINENO"
20287 ac_cv_cflags__Wl___build_id
=yes
20289 ac_cv_cflags__Wl___build_id
=no
20291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20292 conftest
$ac_exeext conftest.
$ac_ext
20293 CFLAGS
=$ac_wine_try_cflags_saved
20295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20296 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20297 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20299 CFLAGS
="$CFLAGS -Wl,--build-id"
20300 LDFLAGS
="$LDFLAGS -Wl,--build-id"
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20307 printf %s
"checking for the need to disable Fortify... " >&6; }
20308 if test ${ac_cv_c_fortify_enabled+y}
20310 printf %s
"(cached) " >&6
20312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20314 #include <string.h>
20318 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20319 #error Fortify enabled
20325 if ac_fn_c_try_compile
"$LINENO"
20327 ac_cv_c_fortify_enabled
=no
20329 ac_cv_c_fortify_enabled
=yes
20331 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20334 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20335 if test "$ac_cv_c_fortify_enabled" = yes
20337 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20342 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
20343 if test ${ac_cv_c_cfi_support+y}
20345 printf %s
"(cached) " >&6
20347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20358 if ac_fn_c_try_compile
"$LINENO"
20360 ac_cv_c_cfi_support
="yes"
20362 ac_cv_c_cfi_support
="no"
20364 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20367 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20368 if test "$ac_cv_c_cfi_support" = "yes"
20370 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
20371 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
20372 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20373 elif test $HOST_ARCH = x86_64
20375 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20379 case "$HOST_ARCH,$PE_ARCHS" in
20380 x86_64
,*i386
*) wine_binary
="wine" ;;
20381 x86_64
,*) wine_binary
="wine64" ;;
20382 *) wine_binary
="wine" ;;
20384 WINELOADER_PROGRAMS
="$wine_binary"
20389 if test $HOST_ARCH != unknown
20391 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20392 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20396 if test "$wine_can_build_preloader" = "yes"
20398 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20399 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20406 printf %s
"checking for library containing dlopen... " >&6; }
20407 if test ${ac_cv_search_dlopen+y}
20409 printf %s
"(cached) " >&6
20411 ac_func_search_save_LIBS
=$LIBS
20412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20413 /* end confdefs.h. */
20415 /* Override any GCC internal prototype to avoid an error.
20416 Use char because int might match the return type of a GCC
20417 builtin and then its argument prototype would still apply. */
20427 for ac_lib
in '' dl
20429 if test -z "$ac_lib"; then
20430 ac_res
="none required"
20433 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20435 if ac_fn_c_try_link
"$LINENO"
20437 ac_cv_search_dlopen
=$ac_res
20439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20441 if test ${ac_cv_search_dlopen+y}
20446 if test ${ac_cv_search_dlopen+y}
20450 ac_cv_search_dlopen
=no
20452 rm conftest.
$ac_ext
20453 LIBS
=$ac_func_search_save_LIBS
20455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20456 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20457 ac_res
=$ac_cv_search_dlopen
20458 if test "$ac_res" != no
20460 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20466 printf %s
"checking for library containing gethostbyname... " >&6; }
20467 if test ${ac_cv_search_gethostbyname+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. */
20478 char gethostbyname ();
20482 return gethostbyname ();
20487 for ac_lib
in '' nsl
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_gethostbyname
=$ac_res
20499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20501 if test ${ac_cv_search_gethostbyname+y}
20506 if test ${ac_cv_search_gethostbyname+y}
20510 ac_cv_search_gethostbyname
=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_gethostbyname" >&5
20516 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20517 ac_res
=$ac_cv_search_gethostbyname
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 connect" >&5
20526 printf %s
"checking for library containing connect... " >&6; }
20527 if test ${ac_cv_search_connect+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. */
20547 for ac_lib
in '' socket
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_connect
=$ac_res
20559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20561 if test ${ac_cv_search_connect+y}
20566 if test ${ac_cv_search_connect+y}
20570 ac_cv_search_connect
=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_connect" >&5
20576 printf "%s\n" "$ac_cv_search_connect" >&6; }
20577 ac_res
=$ac_cv_search_connect
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 inet_aton" >&5
20586 printf %s
"checking for library containing inet_aton... " >&6; }
20587 if test ${ac_cv_search_inet_aton+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. */
20602 return inet_aton ();
20607 for ac_lib
in '' resolv
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_inet_aton
=$ac_res
20619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20621 if test ${ac_cv_search_inet_aton+y}
20626 if test ${ac_cv_search_inet_aton+y}
20630 ac_cv_search_inet_aton
=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_inet_aton" >&5
20636 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20637 ac_res
=$ac_cv_search_inet_aton
20638 if test "$ac_res" != no
20640 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20645 ac_save_CFLAGS
="$CFLAGS"
20646 CFLAGS
="$CFLAGS $BUILTINFLAG"
20647 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20648 if test "x$ac_cv_func_dladdr1" = xyes
20650 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20653 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20654 if test "x$ac_cv_func_dlinfo" = xyes
20656 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20659 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20660 if test "x$ac_cv_func_epoll_create" = xyes
20662 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20665 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20666 if test "x$ac_cv_func_fstatfs" = xyes
20668 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20671 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20672 if test "x$ac_cv_func_futimens" = xyes
20674 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20677 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20678 if test "x$ac_cv_func_futimes" = xyes
20680 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20683 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20684 if test "x$ac_cv_func_futimesat" = xyes
20686 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20689 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20690 if test "x$ac_cv_func_getaddrinfo" = xyes
20692 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20695 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20696 if test "x$ac_cv_func_getattrlist" = xyes
20698 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20701 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20702 if test "x$ac_cv_func_getauxval" = xyes
20704 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20707 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20708 if test "x$ac_cv_func_getifaddrs" = xyes
20710 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20713 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20714 if test "x$ac_cv_func_getrandom" = xyes
20716 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20719 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20720 if test "x$ac_cv_func_kqueue" = xyes
20722 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20725 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20726 if test "x$ac_cv_func_mach_continuous_time" = xyes
20728 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20731 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20732 if test "x$ac_cv_func_pipe2" = xyes
20734 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20737 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20738 if test "x$ac_cv_func_port_create" = xyes
20740 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20743 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20744 if test "x$ac_cv_func_posix_fadvise" = xyes
20746 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20749 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20750 if test "x$ac_cv_func_posix_fallocate" = xyes
20752 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20755 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20756 if test "x$ac_cv_func_prctl" = xyes
20758 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20761 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20762 if test "x$ac_cv_func_proc_pidinfo" = xyes
20764 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20767 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20768 if test "x$ac_cv_func_sched_yield" = xyes
20770 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20773 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20774 if test "x$ac_cv_func_setproctitle" = xyes
20776 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20779 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20780 if test "x$ac_cv_func_setprogname" = xyes
20782 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20785 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20786 if test "x$ac_cv_func_sigprocmask" = xyes
20788 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20791 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20792 if test "x$ac_cv_func_sysinfo" = xyes
20794 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20797 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20798 if test "x$ac_cv_func_tcdrain" = xyes
20800 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20803 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20804 if test "x$ac_cv_func_thr_kill2" = xyes
20806 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20810 CFLAGS
="$ac_save_CFLAGS"
20813 darwin
*|macosx
*) ;;
20814 *) ac_save_LIBS
=$LIBS
20815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20816 printf %s
"checking for library containing clock_gettime... " >&6; }
20817 if test ${ac_cv_search_clock_gettime+y}
20819 printf %s
"(cached) " >&6
20821 ac_func_search_save_LIBS
=$LIBS
20822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20825 /* Override any GCC internal prototype to avoid an error.
20826 Use char because int might match the return type of a GCC
20827 builtin and then its argument prototype would still apply. */
20828 char clock_gettime ();
20832 return clock_gettime ();
20837 for ac_lib
in '' rt
20839 if test -z "$ac_lib"; then
20840 ac_res
="none required"
20843 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20845 if ac_fn_c_try_link
"$LINENO"
20847 ac_cv_search_clock_gettime
=$ac_res
20849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20851 if test ${ac_cv_search_clock_gettime+y}
20856 if test ${ac_cv_search_clock_gettime+y}
20860 ac_cv_search_clock_gettime
=no
20862 rm conftest.
$ac_ext
20863 LIBS
=$ac_func_search_save_LIBS
20865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20866 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20867 ac_res
=$ac_cv_search_clock_gettime
20868 if test "$ac_res" != no
20870 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20872 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20874 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20883 printf %s
"checking for sched_setaffinity... " >&6; }
20884 if test ${wine_cv_have_sched_setaffinity+y}
20886 printf %s
"(cached) " >&6
20888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20894 sched_setaffinity(0, 0, 0);
20899 if ac_fn_c_try_link
"$LINENO"
20901 wine_cv_have_sched_setaffinity
=yes
20903 wine_cv_have_sched_setaffinity
=no
20905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20906 conftest
$ac_exeext conftest.
$ac_ext
20908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20909 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20910 if test "$wine_cv_have_sched_setaffinity" = "yes"
20913 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20919 printf %s
"checking for inline... " >&6; }
20920 if test ${ac_cv_c_inline+y}
20922 printf %s
"(cached) " >&6
20925 for ac_kw
in inline __inline__ __inline
; do
20926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20927 /* end confdefs.h. */
20928 #ifndef __cplusplus
20930 static $ac_kw foo_t static_foo (void) {return 0; }
20931 $ac_kw foo_t foo (void) {return 0; }
20935 if ac_fn_c_try_compile
"$LINENO"
20937 ac_cv_c_inline
=$ac_kw
20939 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20940 test "$ac_cv_c_inline" != no
&& break
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20945 printf "%s\n" "$ac_cv_c_inline" >&6; }
20947 case $ac_cv_c_inline in
20950 case $ac_cv_c_inline in
20952 *) ac_val
=$ac_cv_c_inline;;
20954 cat >>confdefs.h
<<_ACEOF
20955 #ifndef __cplusplus
20956 #define inline $ac_val
20962 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20964 if test "x$ac_cv_type_request_sense" = xyes
20967 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20973 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20974 #include <sys/socket.h>
20975 #ifdef HAVE_SYS_SOCKETVAR_H
20976 #include <sys/socketvar.h>
20978 #ifdef HAVE_NET_ROUTE_H
20979 #include <net/route.h>
20981 #ifdef HAVE_NETINET_IN_H
20982 #include <netinet/in.h>
20984 #ifdef HAVE_NETINET_IN_SYSTM_H
20985 #include <netinet/in_systm.h>
20987 #ifdef HAVE_NETINET_IP_H
20988 #include <netinet/ip.h>
20990 #ifdef HAVE_NETINET_IN_PCB_H
20991 #include <netinet/in_pcb.h>
20994 if test "x$ac_cv_type_struct_xinpgen" = xyes
20997 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21004 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21005 if test ${wine_cv_linux_gethostbyname_r_6+y}
21007 printf %s
"(cached) " >&6
21009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21018 struct hostent *result;
21025 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21026 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21032 if ac_fn_c_try_link
"$LINENO"
21034 wine_cv_linux_gethostbyname_r_6
=yes
21036 wine_cv_linux_gethostbyname_r_6
=no
21039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21040 conftest
$ac_exeext conftest.
$ac_ext
21043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21044 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21045 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21048 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21052 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21053 #include <sys/socket.h>
21054 #ifdef HAVE_SYS_UN_H
21055 # include <sys/un.h>
21058 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21061 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21067 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21068 #ifdef HAVE_SCSI_SG_H
21069 #include <scsi/sg.h>
21072 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21075 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21079 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>
21080 #ifdef HAVE_SCSI_SG_H
21081 #include <scsi/sg.h>
21084 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21087 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21093 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21095 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21098 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21104 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21105 #ifdef HAVE_SYS_MTIO_H
21106 #include <sys/mtio.h>
21109 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21112 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21116 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21117 #ifdef HAVE_SYS_MTIO_H
21118 #include <sys/mtio.h>
21121 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21124 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21128 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21129 #ifdef HAVE_SYS_MTIO_H
21130 #include <sys/mtio.h>
21133 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21136 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21142 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21143 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21146 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21150 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21151 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21154 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21158 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21159 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21162 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21166 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21167 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21170 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21174 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21175 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21178 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21182 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21183 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21186 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21190 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21191 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21194 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21198 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21199 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21202 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21206 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21207 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21210 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21214 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21215 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21218 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21222 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21223 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21226 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21232 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>
21233 #ifdef HAVE_NETINET_IN_H
21234 #include <netinet/in.h>
21237 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21240 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21246 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
21247 #include <resolv.h>
21250 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21253 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21259 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21260 #include <netinet/in.h>
21263 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21266 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21272 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21273 #ifdef HAVE_SYS_SOCKETVAR_H
21274 #include <sys/socketvar.h>
21276 #ifdef HAVE_NETINET_IN_H
21277 #include <netinet/in.h>
21279 #ifdef HAVE_NETINET_IP_VAR_H
21280 #include <netinet/ip_var.h>
21283 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21286 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21292 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
21293 #include <netinet/ip_var.h>
21296 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21299 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21305 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21306 #ifdef HAVE_SYS_SOCKETVAR_H
21307 #include <sys/socketvar.h>
21309 #ifdef HAVE_NETINET_IN_H
21310 #include <netinet/in.h>
21312 #ifdef HAVE_NETINET6_IP6_VAR_H
21313 #include <netinet6/ip6_var.h>
21316 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21319 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21325 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21326 #ifdef HAVE_SYS_SOCKETVAR_H
21327 #include <sys/socketvar.h>
21329 #ifdef HAVE_NETINET_IN_H
21330 #include <netinet/in.h>
21332 #ifdef HAVE_NETINET_IP_H
21333 #include <netinet/ip.h>
21335 #ifdef HAVE_NETINET_IP_ICMP_H
21336 #include <netinet/ip_icmp.h>
21338 #ifdef HAVE_NETINET_ICMP_VAR_H
21339 #include <netinet/icmp_var.h>
21342 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21345 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21351 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21352 #ifdef HAVE_SYS_SOCKETVAR_H
21353 #include <sys/socketvar.h>
21355 #ifdef HAVE_NETINET_IN_H
21356 #include <netinet/in.h>
21358 #ifdef HAVE_NETINET_ICMP6_H
21359 #include <netinet/icmp6.h>
21362 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21365 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21371 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21372 #ifdef HAVE_SYS_SOCKETVAR_H
21373 #include <sys/socketvar.h>
21375 #ifdef HAVE_NETINET_IN_H
21376 #include <netinet/in.h>
21378 #ifdef HAVE_NETINET_TCP_H
21379 #include <netinet/tcp.h>
21381 #ifdef HAVE_NETINET_TCP_VAR_H
21382 #include <netinet/tcp_var.h>
21385 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21388 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21394 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
21395 #include <netinet/tcp_var.h>
21398 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21401 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21407 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21408 #ifdef HAVE_NETINET_IN_H
21409 #include <netinet/in.h>
21411 #ifdef HAVE_NETINET_IP_VAR_H
21412 #include <netinet/ip_var.h>
21414 #ifdef HAVE_NETINET_UDP_H
21415 #include <netinet/udp.h>
21417 #ifdef HAVE_NETINET_UDP_VAR_H
21418 #include <netinet/udp_var.h>
21421 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21424 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21430 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21431 #ifdef HAVE_NET_IF_H
21432 # include <net/if.h>
21435 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21438 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21444 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21445 # include <sys/sysinfo.h>
21448 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21451 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21455 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21456 # include <sys/sysinfo.h>
21459 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21462 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21468 LIBS
="$ac_save_LIBS"
21470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21471 printf %s
"checking for __builtin_popcount... " >&6; }
21472 if test ${ac_cv_have___builtin_popcount+y}
21474 printf %s
"(cached) " >&6
21476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21477 /* end confdefs.h. */
21482 return __builtin_popcount(1)
21487 if ac_fn_c_try_link
"$LINENO"
21489 ac_cv_have___builtin_popcount
="yes"
21491 ac_cv_have___builtin_popcount
="no"
21493 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21494 conftest
$ac_exeext conftest.
$ac_ext
21496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21497 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21498 if test "$ac_cv_have___builtin_popcount" = "yes"
21501 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21506 printf %s
"checking for __clear_cache... " >&6; }
21507 if test ${ac_cv_have___clear_cache+y}
21509 printf %s
"(cached) " >&6
21511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21517 __clear_cache((void*)0, (void*)0); return 0;
21522 if ac_fn_c_try_link
"$LINENO"
21524 ac_cv_have___clear_cache
="yes"
21526 ac_cv_have___clear_cache
="no"
21528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21529 conftest
$ac_exeext conftest.
$ac_ext
21531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21532 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21533 if test "$ac_cv_have___clear_cache" = "yes"
21536 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21542 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21543 printf %s
"checking whether we need to define __i386__... " >&6; }
21544 if test ${ac_cv_cpp_def___i386__+y}
21546 printf %s
"(cached) " >&6
21548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21549 /* end confdefs.h. */
21554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21555 $EGREP "yes" >/dev
/null
2>&1
21557 ac_cv_cpp_def___i386__
=yes
21559 ac_cv_cpp_def___i386__
=no
21564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21565 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21566 if test "x$ac_cv_cpp_def___i386__" = xyes
21568 CFLAGS
="$CFLAGS -D__i386__"
21569 LINTFLAGS
="$LINTFLAGS -D__i386__"
21571 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21572 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21573 if test ${ac_cv_cpp_def___x86_64__+y}
21575 printf %s
"(cached) " >&6
21577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21578 /* end confdefs.h. */
21583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21584 $EGREP "yes" >/dev
/null
2>&1
21586 ac_cv_cpp_def___x86_64__
=yes
21588 ac_cv_cpp_def___x86_64__
=no
21593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21594 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21595 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21597 CFLAGS
="$CFLAGS -D__x86_64__"
21598 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21600 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21601 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21602 if test ${ac_cv_cpp_def___sparc64__+y}
21604 printf %s
"(cached) " >&6
21606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #ifndef __sparc64__
21612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21613 $EGREP "yes" >/dev
/null
2>&1
21615 ac_cv_cpp_def___sparc64__
=yes
21617 ac_cv_cpp_def___sparc64__
=no
21622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21623 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21624 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21626 CFLAGS
="$CFLAGS -D__sparc64__"
21627 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21629 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21630 printf %s
"checking whether we need to define __sparc__... " >&6; }
21631 if test ${ac_cv_cpp_def___sparc__+y}
21633 printf %s
"(cached) " >&6
21635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21636 /* end confdefs.h. */
21641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21642 $EGREP "yes" >/dev
/null
2>&1
21644 ac_cv_cpp_def___sparc__
=yes
21646 ac_cv_cpp_def___sparc__
=no
21651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21652 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21653 if test "x$ac_cv_cpp_def___sparc__" = xyes
21655 CFLAGS
="$CFLAGS -D__sparc__"
21656 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21658 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21659 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21660 if test ${ac_cv_cpp_def___powerpc64__+y}
21662 printf %s
"(cached) " >&6
21664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #ifndef __powerpc64__
21670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21671 $EGREP "yes" >/dev
/null
2>&1
21673 ac_cv_cpp_def___powerpc64__
=yes
21675 ac_cv_cpp_def___powerpc64__
=no
21680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21681 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21682 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21684 CFLAGS
="$CFLAGS -D__powerpc64__"
21685 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21687 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21688 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21689 if test ${ac_cv_cpp_def___powerpc__+y}
21691 printf %s
"(cached) " >&6
21693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #ifndef __powerpc__
21699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21700 $EGREP "yes" >/dev
/null
2>&1
21702 ac_cv_cpp_def___powerpc__
=yes
21704 ac_cv_cpp_def___powerpc__
=no
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21710 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21711 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21713 CFLAGS
="$CFLAGS -D__powerpc__"
21714 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21716 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21717 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21718 if test ${ac_cv_cpp_def___aarch64__+y}
21720 printf %s
"(cached) " >&6
21722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21724 #ifndef __aarch64__
21728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21729 $EGREP "yes" >/dev
/null
2>&1
21731 ac_cv_cpp_def___aarch64__
=yes
21733 ac_cv_cpp_def___aarch64__
=no
21738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21739 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21740 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21742 CFLAGS
="$CFLAGS -D__aarch64__"
21743 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21745 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21746 printf %s
"checking whether we need to define __arm__... " >&6; }
21747 if test ${ac_cv_cpp_def___arm__+y}
21749 printf %s
"(cached) " >&6
21751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21758 $EGREP "yes" >/dev
/null
2>&1
21760 ac_cv_cpp_def___arm__
=yes
21762 ac_cv_cpp_def___arm__
=no
21767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21768 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21769 if test "x$ac_cv_cpp_def___arm__" = xyes
21771 CFLAGS
="$CFLAGS -D__arm__"
21772 LINTFLAGS
="$LINTFLAGS -D__arm__"
21776 case $host_vendor in
21777 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21778 printf %s
"checking whether we need to define __sun__... " >&6; }
21779 if test ${ac_cv_cpp_def___sun__+y}
21781 printf %s
"(cached) " >&6
21783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h. */
21789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21790 $EGREP "yes" >/dev
/null
2>&1
21792 ac_cv_cpp_def___sun__
=yes
21794 ac_cv_cpp_def___sun__
=no
21799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21800 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21801 if test "x$ac_cv_cpp_def___sun__" = xyes
21803 CFLAGS
="$CFLAGS -D__sun__"
21804 LINTFLAGS
="$LINTFLAGS -D__sun__"
21812 ac_config_commands
="$ac_config_commands include/stamp-h"
21814 printf %s
"creating Makefile rules..." >&6
21817 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21820 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21822 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21823 wine_fn_config_symlink wine
21824 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21825 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21826 wine_fn_config_symlink wine64
21829 wine_fn_config_makefile dlls
/acledit enable_acledit
21830 wine_fn_config_makefile dlls
/aclui enable_aclui
21831 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21832 wine_fn_config_makefile dlls
/activeds enable_activeds
21833 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21834 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21835 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21836 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21837 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21838 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21839 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21840 wine_fn_config_makefile dlls
/advpack enable_advpack
21841 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21842 wine_fn_config_makefile dlls
/amsi enable_amsi
21843 wine_fn_config_makefile dlls
/amstream enable_amstream
21844 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21845 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21846 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21847 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21848 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21849 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21850 wine_fn_config_makefile dlls
/atl enable_atl
21851 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21852 wine_fn_config_makefile dlls
/atl100 enable_atl100
21853 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21854 wine_fn_config_makefile dlls
/atl110 enable_atl110
21855 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21856 wine_fn_config_makefile dlls
/atl80 enable_atl80
21857 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21858 wine_fn_config_makefile dlls
/atl90 enable_atl90
21859 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21860 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21861 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21862 wine_fn_config_makefile dlls
/authz enable_authz
21863 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21864 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21865 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21866 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21867 wine_fn_config_makefile dlls
/avrt enable_avrt
21868 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21869 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21870 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21871 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21872 wine_fn_config_makefile dlls
/browseui enable_browseui
21873 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21874 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21875 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21876 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21877 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21878 wine_fn_config_makefile dlls
/cards enable_cards
21879 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21880 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21881 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21882 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21883 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21884 wine_fn_config_makefile dlls
/combase enable_combase
21885 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21886 wine_fn_config_makefile dlls
/comcat enable_comcat
21887 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21888 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21889 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21890 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21891 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21892 wine_fn_config_makefile dlls
/coml2 enable_coml2
21893 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21894 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21895 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21896 wine_fn_config_makefile dlls
/compstui enable_compstui
21897 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21898 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21899 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21900 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21901 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21902 wine_fn_config_makefile dlls
/connect enable_connect
21903 wine_fn_config_makefile dlls
/credui enable_credui
21904 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21905 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21906 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21907 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21908 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21909 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21910 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21911 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21912 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21913 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21914 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21915 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21916 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21917 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21918 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21919 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21920 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21921 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21922 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21923 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21924 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21925 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21926 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21927 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21928 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21929 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21930 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21931 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21932 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21933 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21934 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21935 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21936 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21937 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21938 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21939 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21940 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21941 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21942 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21943 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21944 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21945 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21946 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21947 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21948 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21949 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21950 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21951 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21952 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21953 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21954 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21955 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21956 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21957 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21958 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21959 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21960 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21961 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21962 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21963 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21964 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21965 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21966 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21967 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21968 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21969 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21970 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21971 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21972 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21973 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21974 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21975 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21976 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21977 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21978 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21979 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21980 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21981 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21982 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21983 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21984 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21985 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21986 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21987 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21988 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21989 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21990 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21991 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21992 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21993 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21994 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21995 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21996 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21997 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21998 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21999 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
22000 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
22001 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
22002 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
22003 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
22004 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
22005 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
22006 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
22007 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
22008 wine_fn_config_makefile dlls
/davclnt enable_davclnt
22009 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
22010 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
22011 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
22012 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
22013 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
22014 wine_fn_config_makefile dlls
/dcomp enable_dcomp
22015 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
22016 wine_fn_config_makefile dlls
/ddraw enable_ddraw
22017 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
22018 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
22019 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
22020 wine_fn_config_makefile dlls
/devenum enable_devenum
22021 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
22022 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
22023 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
22024 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
22025 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
22026 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
22027 wine_fn_config_makefile dlls
/difxapi enable_difxapi
22028 wine_fn_config_makefile dlls
/dinput enable_dinput
22029 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
22030 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
22031 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
22032 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
22033 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
22034 wine_fn_config_makefile dlls
/dispex enable_dispex
22035 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
22036 wine_fn_config_makefile dlls
/display.drv16 enable_win16
22037 wine_fn_config_makefile dlls
/dmband enable_dmband
22038 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
22039 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
22040 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
22041 wine_fn_config_makefile dlls
/dmime enable_dmime
22042 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
22043 wine_fn_config_makefile dlls
/dmloader enable_dmloader
22044 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
22045 wine_fn_config_makefile dlls
/dmscript enable_dmscript
22046 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
22047 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
22048 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
22049 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
22050 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
22051 wine_fn_config_makefile dlls
/dmusic enable_dmusic
22052 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
22053 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
22054 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
22055 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
22056 wine_fn_config_makefile dlls
/dplay enable_dplay
22057 wine_fn_config_makefile dlls
/dplayx enable_dplayx
22058 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
22059 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
22060 wine_fn_config_makefile dlls
/dpnet enable_dpnet
22061 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
22062 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
22063 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
22064 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
22065 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
22066 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
22067 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
22068 wine_fn_config_makefile dlls
/drmclien enable_drmclien
22069 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
22070 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
22071 wine_fn_config_makefile dlls
/dsound enable_dsound
22072 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
22073 wine_fn_config_makefile dlls
/dsquery enable_dsquery
22074 wine_fn_config_makefile dlls
/dssenh enable_dssenh
22075 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
22076 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
22077 wine_fn_config_makefile dlls
/dswave enable_dswave
22078 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
22079 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
22080 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
22081 wine_fn_config_makefile dlls
/dwrite enable_dwrite
22082 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
22083 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
22084 wine_fn_config_makefile dlls
/dxcore enable_dxcore
22085 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
22086 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
22087 wine_fn_config_makefile dlls
/dxgi enable_dxgi
22088 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
22089 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
22090 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
22091 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
22092 wine_fn_config_makefile dlls
/esent enable_esent
22093 wine_fn_config_makefile dlls
/evr enable_evr
22094 wine_fn_config_makefile dlls
/evr
/tests enable_tests
22095 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
22096 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
22097 wine_fn_config_makefile dlls
/faultrep enable_faultrep
22098 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
22099 wine_fn_config_makefile dlls
/feclient enable_feclient
22100 wine_fn_config_makefile dlls
/fltlib enable_fltlib
22101 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
22102 wine_fn_config_makefile dlls
/fntcache enable_fntcache
22103 wine_fn_config_makefile dlls
/fontsub enable_fontsub
22104 wine_fn_config_makefile dlls
/fusion enable_fusion
22105 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
22106 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
22107 wine_fn_config_makefile dlls
/gameux enable_gameux
22108 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
22109 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
22110 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
22111 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
22112 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
22113 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
22114 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
22115 wine_fn_config_makefile dlls
/geolocation enable_geolocation
22116 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
22117 wine_fn_config_makefile dlls
/glu32 enable_glu32
22118 wine_fn_config_makefile dlls
/glu32
/tests enable_tests
22119 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
22120 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
22121 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
22122 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
22123 wine_fn_config_makefile dlls
/hal enable_hal
22124 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
22125 wine_fn_config_makefile dlls
/hid enable_hid
22126 wine_fn_config_makefile dlls
/hid
/tests enable_tests
22127 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
22128 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
22129 wine_fn_config_makefile dlls
/hlink enable_hlink
22130 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
22131 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
22132 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
22133 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
22134 wine_fn_config_makefile dlls
/http.sys enable_http_sys
22135 wine_fn_config_makefile dlls
/httpapi enable_httpapi
22136 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
22137 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
22138 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
22139 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
22140 wine_fn_config_makefile dlls
/iccvid enable_iccvid
22141 wine_fn_config_makefile dlls
/icmp enable_icmp
22142 wine_fn_config_makefile dlls
/ieframe enable_ieframe
22143 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
22144 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
22145 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
22146 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
22147 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
22148 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
22149 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
22150 wine_fn_config_makefile dlls
/imm32 enable_imm32
22151 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
22152 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
22153 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
22154 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
22155 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
22156 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
22157 wine_fn_config_makefile dlls
/infosoft enable_infosoft
22158 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
22159 wine_fn_config_makefile dlls
/initpki enable_initpki
22160 wine_fn_config_makefile dlls
/inkobj enable_inkobj
22161 wine_fn_config_makefile dlls
/inseng enable_inseng
22162 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
22163 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
22164 wine_fn_config_makefile dlls
/iprop enable_iprop
22165 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
22166 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
22167 wine_fn_config_makefile dlls
/itircl enable_itircl
22168 wine_fn_config_makefile dlls
/itss enable_itss
22169 wine_fn_config_makefile dlls
/itss
/tests enable_tests
22170 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
22171 wine_fn_config_makefile dlls
/jscript enable_jscript
22172 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
22173 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
22174 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
22175 wine_fn_config_makefile dlls
/kerberos enable_kerberos
22176 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
22177 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
22178 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
22179 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
22180 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
22181 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
22182 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
22183 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
22184 wine_fn_config_makefile dlls
/ksuser enable_ksuser
22185 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
22186 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
22187 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
22188 wine_fn_config_makefile dlls
/loadperf enable_loadperf
22189 wine_fn_config_makefile dlls
/localspl enable_localspl
22190 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
22191 wine_fn_config_makefile dlls
/localui enable_localui
22192 wine_fn_config_makefile dlls
/localui
/tests enable_tests
22193 wine_fn_config_makefile dlls
/lz32 enable_lz32
22194 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
22195 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
22196 wine_fn_config_makefile dlls
/magnification enable_magnification
22197 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
22198 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
22199 wine_fn_config_makefile dlls
/mapistub enable_mapistub
22200 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
22201 wine_fn_config_makefile dlls
/mcicda enable_mcicda
22202 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
22203 wine_fn_config_makefile dlls
/mciseq enable_mciseq
22204 wine_fn_config_makefile dlls
/mciwave enable_mciwave
22205 wine_fn_config_makefile dlls
/mf enable_mf
22206 wine_fn_config_makefile dlls
/mf
/tests enable_tests
22207 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
22208 wine_fn_config_makefile dlls
/mferror enable_mferror
22209 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
22210 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
22211 wine_fn_config_makefile dlls
/mfplat enable_mfplat
22212 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
22213 wine_fn_config_makefile dlls
/mfplay enable_mfplay
22214 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
22215 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
22216 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
22217 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
22218 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
22219 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
22220 wine_fn_config_makefile dlls
/midimap enable_midimap
22221 wine_fn_config_makefile dlls
/mlang enable_mlang
22222 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
22223 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
22224 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
22225 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
22226 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
22227 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
22228 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
22229 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
22230 wine_fn_config_makefile dlls
/mouhid.sys enable_mouhid_sys
22231 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
22232 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
22233 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
22234 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
22235 wine_fn_config_makefile dlls
/mpr enable_mpr
22236 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
22237 wine_fn_config_makefile dlls
/mprapi enable_mprapi
22238 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
22239 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
22240 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
22241 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
22242 wine_fn_config_makefile dlls
/msado15 enable_msado15
22243 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
22244 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
22245 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
22246 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
22247 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
22248 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
22249 wine_fn_config_makefile dlls
/mscms enable_mscms
22250 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
22251 wine_fn_config_makefile dlls
/mscoree enable_mscoree
22252 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
22253 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
22254 wine_fn_config_makefile dlls
/msctf enable_msctf
22255 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
22256 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
22257 wine_fn_config_makefile dlls
/msctfp enable_msctfp
22258 wine_fn_config_makefile dlls
/msdaps enable_msdaps
22259 wine_fn_config_makefile dlls
/msdasql enable_msdasql
22260 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
22261 wine_fn_config_makefile dlls
/msdelta enable_msdelta
22262 wine_fn_config_makefile dlls
/msdmo enable_msdmo
22263 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
22264 wine_fn_config_makefile dlls
/msdrm enable_msdrm
22265 wine_fn_config_makefile dlls
/msftedit enable_msftedit
22266 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
22267 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
22268 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
22269 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
22270 wine_fn_config_makefile dlls
/mshtml enable_mshtml
22271 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
22272 wine_fn_config_makefile dlls
/msi enable_msi
22273 wine_fn_config_makefile dlls
/msi
/tests enable_tests
22274 wine_fn_config_makefile dlls
/msident enable_msident
22275 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
22276 wine_fn_config_makefile dlls
/msimsg enable_msimsg
22277 wine_fn_config_makefile dlls
/msimtf enable_msimtf
22278 wine_fn_config_makefile dlls
/msisip enable_msisip
22279 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
22280 wine_fn_config_makefile dlls
/msls31 enable_msls31
22281 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
22282 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
22283 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
22284 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
22285 wine_fn_config_makefile dlls
/msports enable_msports
22286 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
22287 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
22288 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
22289 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
22290 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
22291 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
22292 wine_fn_config_makefile dlls
/mstask enable_mstask
22293 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
22294 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
22295 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
22296 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
22297 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
22298 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
22299 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
22300 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
22301 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
22302 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
22303 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
22304 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
22305 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
22306 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
22307 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
22308 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
22309 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
22310 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
22311 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
22312 wine_fn_config_makefile dlls
/msvcp140_
2/tests enable_tests
22313 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22314 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
22315 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22316 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
22317 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
22318 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
22319 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
22320 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
22321 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
22322 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
22323 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
22324 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
22325 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
22326 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
22327 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
22328 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
22329 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
22330 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
22331 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
22332 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
22333 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
22334 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
22335 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
22336 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
22337 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
22338 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
22339 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
22340 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
22341 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
22342 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
22343 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
22344 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
22345 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
22346 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
22347 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
22348 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
22349 wine_fn_config_makefile dlls
/mswsock enable_mswsock
22350 wine_fn_config_makefile dlls
/msxml enable_msxml
22351 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
22352 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
22353 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
22354 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
22355 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
22356 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
22357 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
22358 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
22359 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
22360 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
22361 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
22362 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
22363 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
22364 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
22365 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
22366 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
22367 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
22368 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
22369 wine_fn_config_makefile dlls
/netprofm enable_netprofm
22370 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
22371 wine_fn_config_makefile dlls
/netutils enable_netutils
22372 wine_fn_config_makefile dlls
/newdev enable_newdev
22373 wine_fn_config_makefile dlls
/ninput enable_ninput
22374 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
22375 wine_fn_config_makefile dlls
/normaliz enable_normaliz
22376 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
22377 wine_fn_config_makefile dlls
/npptools enable_npptools
22378 wine_fn_config_makefile dlls
/nsi enable_nsi
22379 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
22380 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
22381 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22382 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22383 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22384 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22385 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22386 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22387 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22388 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22389 wine_fn_config_makefile dlls
/objsel enable_objsel
22390 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22391 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22392 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22393 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22394 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22395 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22396 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22397 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22398 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22399 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22400 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22401 wine_fn_config_makefile dlls
/ole32 enable_ole32
22402 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22403 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22404 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22405 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22406 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22407 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22408 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22409 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22410 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22411 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22412 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22413 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22414 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22415 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22416 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22417 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22418 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22419 wine_fn_config_makefile dlls
/opencl enable_opencl
22420 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22421 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22422 wine_fn_config_makefile dlls
/packager enable_packager
22423 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22424 wine_fn_config_makefile dlls
/pdh enable_pdh
22425 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22426 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22427 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22428 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22429 wine_fn_config_makefile dlls
/printui enable_printui
22430 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22431 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22432 wine_fn_config_makefile dlls
/propsys enable_propsys
22433 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22434 wine_fn_config_makefile dlls
/psapi enable_psapi
22435 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22436 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22437 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22438 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22439 wine_fn_config_makefile dlls
/qasf enable_qasf
22440 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22441 wine_fn_config_makefile dlls
/qcap enable_qcap
22442 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22443 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22444 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22445 wine_fn_config_makefile dlls
/qedit enable_qedit
22446 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22447 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22448 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22449 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22450 wine_fn_config_makefile dlls
/quartz enable_quartz
22451 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22452 wine_fn_config_makefile dlls
/query enable_query
22453 wine_fn_config_makefile dlls
/qwave enable_qwave
22454 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22455 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22456 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22457 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22458 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22459 wine_fn_config_makefile dlls
/regapi enable_regapi
22460 wine_fn_config_makefile dlls
/resutils enable_resutils
22461 wine_fn_config_makefile dlls
/riched20 enable_riched20
22462 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22463 wine_fn_config_makefile dlls
/riched32 enable_riched32
22464 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22465 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22466 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22467 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22468 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22469 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22470 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22471 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22472 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22473 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22474 wine_fn_config_makefile dlls
/samlib enable_samlib
22475 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22476 wine_fn_config_makefile dlls
/sapi enable_sapi
22477 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22478 wine_fn_config_makefile dlls
/sas enable_sas
22479 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22480 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22481 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22482 wine_fn_config_makefile dlls
/schannel enable_schannel
22483 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22484 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22485 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22486 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22487 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22488 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22489 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22490 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22491 wine_fn_config_makefile dlls
/sechost enable_sechost
22492 wine_fn_config_makefile dlls
/secur32 enable_secur32
22493 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22494 wine_fn_config_makefile dlls
/security enable_security
22495 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22496 wine_fn_config_makefile dlls
/serialui enable_serialui
22497 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22498 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22499 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22500 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22501 wine_fn_config_makefile dlls
/sfc enable_sfc
22502 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22503 wine_fn_config_makefile dlls
/shcore enable_shcore
22504 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22505 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22506 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22507 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22508 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22509 wine_fn_config_makefile dlls
/shell32 enable_shell32
22510 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22511 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22512 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22513 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22514 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22515 wine_fn_config_makefile dlls
/slc enable_slc
22516 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22517 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22518 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22519 wine_fn_config_makefile dlls
/softpub enable_softpub
22520 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22521 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22522 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22523 wine_fn_config_makefile dlls
/sppc enable_sppc
22524 wine_fn_config_makefile dlls
/srclient enable_srclient
22525 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22526 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22527 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22528 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22529 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22530 wine_fn_config_makefile dlls
/sti enable_sti
22531 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22532 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22533 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22534 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22535 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22536 wine_fn_config_makefile dlls
/sxs enable_sxs
22537 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22538 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22539 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22540 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22541 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22542 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22543 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22544 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22545 wine_fn_config_makefile dlls
/tbs enable_tbs
22546 wine_fn_config_makefile dlls
/tdh enable_tdh
22547 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22548 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22549 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22550 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22551 wine_fn_config_makefile dlls
/traffic enable_traffic
22552 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22553 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22554 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22555 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22556 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22557 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22558 wine_fn_config_makefile dlls
/tzres enable_tzres
22559 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22560 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22561 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22562 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22563 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22564 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22565 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22566 wine_fn_config_makefile dlls
/unicows enable_unicows
22567 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22568 wine_fn_config_makefile dlls
/url enable_url
22569 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22570 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22571 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22572 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22573 wine_fn_config_makefile dlls
/user32 enable_user32
22574 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22575 wine_fn_config_makefile dlls
/userenv enable_userenv
22576 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22577 wine_fn_config_makefile dlls
/usp10 enable_usp10
22578 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22579 wine_fn_config_makefile dlls
/utildll enable_utildll
22580 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22581 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22582 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22583 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22584 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22585 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22586 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22587 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22588 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22589 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22590 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22591 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22592 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22593 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22594 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22595 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22596 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22597 wine_fn_config_makefile dlls
/version enable_version
22598 wine_fn_config_makefile dlls
/version
/tests enable_tests
22599 wine_fn_config_makefile dlls
/vga enable_vga
22600 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22601 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22602 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22603 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22604 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22605 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22606 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22607 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22608 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22609 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22610 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22611 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22612 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22613 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22614 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22615 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22616 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22617 wine_fn_config_makefile dlls
/webservices enable_webservices
22618 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22619 wine_fn_config_makefile dlls
/websocket enable_websocket
22620 wine_fn_config_makefile dlls
/wer enable_wer
22621 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22622 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22623 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22624 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22625 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22626 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22627 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22628 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22629 wine_fn_config_makefile dlls
/win32u enable_win32u
22630 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22631 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22632 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22633 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22634 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22635 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22636 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22637 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22638 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22639 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22640 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22641 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22642 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22643 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22644 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22645 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22646 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22647 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22648 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22649 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22650 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22651 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22652 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22653 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22654 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22655 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22656 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22657 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22658 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22659 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22660 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22661 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22662 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid
/tests enable_tests
22663 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22664 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22665 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22666 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22667 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22668 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22669 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22670 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22671 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22672 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22673 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22674 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22675 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22676 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22677 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22678 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22679 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22680 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22681 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22682 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22683 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22684 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22685 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22686 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22687 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22688 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22689 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22690 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22691 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22692 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22693 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22694 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22695 wine_fn_config_makefile dlls
/wing32 enable_wing32
22696 wine_fn_config_makefile dlls
/wing32
/tests enable_tests
22697 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22698 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22699 wine_fn_config_makefile dlls
/wininet enable_wininet
22700 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22701 wine_fn_config_makefile dlls
/winmm enable_winmm
22702 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22703 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22704 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22705 wine_fn_config_makefile dlls
/winprint enable_winprint
22706 wine_fn_config_makefile dlls
/winscard enable_winscard
22707 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22708 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22709 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22710 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22711 wine_fn_config_makefile dlls
/winsta enable_winsta
22712 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22713 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22714 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22715 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22716 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22717 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22718 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22719 wine_fn_config_makefile dlls
/winusb enable_winusb
22720 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22721 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22722 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22723 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22724 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22725 wine_fn_config_makefile dlls
/wldp enable_wldp
22726 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22727 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22728 wine_fn_config_makefile dlls
/wmi enable_wmi
22729 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22730 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22731 wine_fn_config_makefile dlls
/wmp enable_wmp
22732 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22733 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22734 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22735 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22736 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22737 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22738 wine_fn_config_makefile dlls
/wow32 enable_win16
22739 wine_fn_config_makefile dlls
/wow64 enable_wow64
22740 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22741 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22742 wine_fn_config_makefile dlls
/wpc enable_wpc
22743 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22744 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22745 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22746 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22747 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22748 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22749 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22750 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22751 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22752 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22753 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22754 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22755 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22756 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22757 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22758 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22759 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22760 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22761 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22762 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22763 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22764 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22765 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22766 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22767 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22768 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22769 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22770 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22771 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22772 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22773 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22774 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22775 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22776 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22777 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22778 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22779 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22780 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22781 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22782 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22783 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22784 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22785 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22786 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22787 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22788 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22789 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22790 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22791 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22792 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22793 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22794 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22795 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22796 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22797 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22798 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22799 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22800 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22801 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22802 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22803 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22804 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22805 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22806 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22807 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22808 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22809 wine_fn_config_makefile fonts enable_fonts
22810 wine_fn_config_makefile include enable_include
22811 wine_fn_config_makefile libs
/adsiid enable_adsiid
22812 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22813 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22814 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22815 wine_fn_config_makefile libs
/dxguid enable_dxguid
22816 wine_fn_config_makefile libs
/faudio enable_faudio
22817 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22818 wine_fn_config_makefile libs
/gsm enable_gsm
22819 wine_fn_config_makefile libs
/jpeg enable_jpeg
22820 wine_fn_config_makefile libs
/jxr enable_jxr
22821 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22822 wine_fn_config_makefile libs
/ldap enable_ldap
22823 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22824 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22825 wine_fn_config_makefile libs
/musl enable_musl
22826 wine_fn_config_makefile libs
/png enable_png
22827 wine_fn_config_makefile libs
/strmbase enable_strmbase
22828 wine_fn_config_makefile libs
/strmiids enable_strmiids
22829 wine_fn_config_makefile libs
/tiff enable_tiff
22830 wine_fn_config_makefile libs
/uuid enable_uuid
22831 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22832 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22833 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22834 wine_fn_config_makefile libs
/xml2 enable_xml2
22835 wine_fn_config_makefile libs
/xslt enable_xslt
22836 wine_fn_config_makefile libs
/zlib enable_zlib
22837 wine_fn_config_makefile libs
/zydis enable_zydis
22838 wine_fn_config_makefile loader enable_loader
22839 wine_fn_config_makefile nls enable_nls
22840 wine_fn_config_makefile po enable_po
22841 wine_fn_config_makefile programs
/arp enable_arp
22842 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22843 wine_fn_config_makefile programs
/attrib enable_attrib
22844 wine_fn_config_makefile programs
/cabarc enable_cabarc
22845 wine_fn_config_makefile programs
/cacls enable_cacls
22846 wine_fn_config_makefile programs
/certutil enable_certutil
22847 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22848 wine_fn_config_makefile programs
/clock enable_clock
22849 wine_fn_config_makefile programs
/cmd enable_cmd
22850 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22851 wine_fn_config_makefile programs
/conhost enable_conhost
22852 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22853 wine_fn_config_makefile programs
/control enable_control
22854 wine_fn_config_makefile programs
/cscript enable_cscript
22855 wine_fn_config_makefile programs
/dism enable_dism
22856 wine_fn_config_makefile programs
/dllhost enable_dllhost
22857 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22858 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22859 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22860 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22861 wine_fn_config_makefile programs
/eject enable_eject
22862 wine_fn_config_makefile programs
/expand enable_expand
22863 wine_fn_config_makefile programs
/explorer enable_explorer
22864 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22865 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22866 wine_fn_config_makefile programs
/fc enable_fc
22867 wine_fn_config_makefile programs
/find enable_find
22868 wine_fn_config_makefile programs
/find
/tests enable_tests
22869 wine_fn_config_makefile programs
/findstr enable_findstr
22870 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22871 wine_fn_config_makefile programs
/fsutil enable_fsutil
22872 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22873 wine_fn_config_makefile programs
/hh enable_hh
22874 wine_fn_config_makefile programs
/hostname enable_hostname
22875 wine_fn_config_makefile programs
/icacls enable_icacls
22876 wine_fn_config_makefile programs
/icinfo enable_icinfo
22877 wine_fn_config_makefile programs
/iexplore enable_iexplore
22878 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22879 wine_fn_config_makefile programs
/klist enable_klist
22880 wine_fn_config_makefile programs
/lodctr enable_lodctr
22881 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22882 wine_fn_config_makefile programs
/mshta enable_mshta
22883 wine_fn_config_makefile programs
/msidb enable_msidb
22884 wine_fn_config_makefile programs
/msiexec enable_msiexec
22885 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22886 wine_fn_config_makefile programs
/net enable_net
22887 wine_fn_config_makefile programs
/netsh enable_netsh
22888 wine_fn_config_makefile programs
/netstat enable_netstat
22889 wine_fn_config_makefile programs
/ngen enable_ngen
22890 wine_fn_config_makefile programs
/notepad enable_notepad
22891 wine_fn_config_makefile programs
/oleview enable_oleview
22892 wine_fn_config_makefile programs
/ping enable_ping
22893 wine_fn_config_makefile programs
/plugplay enable_plugplay
22894 wine_fn_config_makefile programs
/pnputil enable_pnputil
22895 wine_fn_config_makefile programs
/powershell enable_powershell
22896 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22897 wine_fn_config_makefile programs
/progman enable_progman
22898 wine_fn_config_makefile programs
/reg enable_reg
22899 wine_fn_config_makefile programs
/reg
/tests enable_tests
22900 wine_fn_config_makefile programs
/regasm enable_regasm
22901 wine_fn_config_makefile programs
/regedit enable_regedit
22902 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22903 wine_fn_config_makefile programs
/regini enable_regini
22904 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22905 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22906 wine_fn_config_makefile programs
/robocopy enable_robocopy
22907 wine_fn_config_makefile programs
/rpcss enable_rpcss
22908 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22909 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22910 wine_fn_config_makefile programs
/sc enable_sc
22911 wine_fn_config_makefile programs
/sc
/tests enable_tests
22912 wine_fn_config_makefile programs
/schtasks enable_schtasks
22913 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22914 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22915 wine_fn_config_makefile programs
/secedit enable_secedit
22916 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22917 wine_fn_config_makefile programs
/services enable_services
22918 wine_fn_config_makefile programs
/services
/tests enable_tests
22919 wine_fn_config_makefile programs
/setx enable_setx
22920 wine_fn_config_makefile programs
/shutdown enable_shutdown
22921 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22922 wine_fn_config_makefile programs
/start enable_start
22923 wine_fn_config_makefile programs
/subst enable_subst
22924 wine_fn_config_makefile programs
/svchost enable_svchost
22925 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22926 wine_fn_config_makefile programs
/taskkill enable_taskkill
22927 wine_fn_config_makefile programs
/tasklist enable_tasklist
22928 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22929 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22930 wine_fn_config_makefile programs
/termsv enable_termsv
22931 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22932 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22933 wine_fn_config_makefile programs
/view enable_view
22934 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22935 wine_fn_config_makefile programs
/where enable_where
22936 wine_fn_config_makefile programs
/whoami enable_whoami
22937 wine_fn_config_makefile programs
/wineboot enable_wineboot
22938 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22939 wine_fn_config_makefile programs
/winecfg enable_winecfg
22940 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22941 wine_fn_config_makefile programs
/winedbg enable_winedbg
22942 wine_fn_config_makefile programs
/winedevice enable_winedevice
22943 wine_fn_config_makefile programs
/winefile enable_winefile
22944 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22945 wine_fn_config_makefile programs
/winemine enable_winemine
22946 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22947 wine_fn_config_makefile programs
/winepath enable_winepath
22948 wine_fn_config_makefile programs
/winetest enable_winetest
22949 wine_fn_config_makefile programs
/winevdm enable_win16
22950 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22951 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22952 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22953 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22954 wine_fn_config_makefile programs
/winver enable_winver
22955 wine_fn_config_makefile programs
/wmic enable_wmic
22956 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22957 wine_fn_config_makefile programs
/wordpad enable_wordpad
22958 wine_fn_config_makefile programs
/write enable_write
22959 wine_fn_config_makefile programs
/wscript enable_wscript
22960 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22961 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22962 wine_fn_config_makefile programs
/wusa enable_wusa
22963 wine_fn_config_makefile programs
/xcopy enable_xcopy
22964 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22965 wine_fn_config_makefile server enable_server
22966 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22967 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22968 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22969 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22970 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22971 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22972 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22973 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22974 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22977 as_fn_append CONFIGURE_TARGETS
" TAGS"
22978 as_fn_append CONFIGURE_TARGETS
" tags"
22979 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22980 as_fn_append CONFIGURE_TARGETS
" config.log"
22981 as_fn_append CONFIGURE_TARGETS
" config.status"
22982 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22983 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22984 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22986 if test "x$enable_tools" != xno
22988 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22989 ac_config_commands
="$ac_config_commands tools/makedep"
22993 ac_config_commands
="$ac_config_commands Makefile"
23000 as_fn_append wine_rules
"
23002 @echo \"Wine build complete.\"
23006 Makefile: config.status \$(MAKEDEP)
23007 @./config.status Makefile
23008 depend: \$(MAKEDEP)
23009 \$(MAKEDEP)$makedep_flags"
23012 as_fn_append wine_rules
"
23013 config.status: ${wine_srcdir}configure
23014 @./config.status --recheck
23015 include/config.h: include/stamp-h
23016 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23017 @./config.status include/config.h include/stamp-h"
23019 if test "x$enable_maintainer_mode" = xyes
23021 as_fn_append wine_rules
"
23022 configure: configure.ac aclocal.m4
23023 autoconf --warnings=all
23024 include/config.h.in: include/stamp-h.in
23025 include/stamp-h.in: configure.ac aclocal.m4
23026 autoheader --warnings=all
23027 @echo timestamp > \$@"
23030 if test "x$enable_tools" != xno
23032 as_fn_append wine_rules
"
23033 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23034 @./config.status tools/makedep
23035 Makefile: tools/makedep$ac_exeext"
23037 as_fn_append wine_rules
"
23039 @echo \"You need to run make in $toolsdir first\" && false"
23043 if test -n "$with_wine64"
23045 case "$with_wine64" in
23049 rm -f fonts server
2>/dev
/null
23050 as_fn_append wine_rules
"
23051 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23052 loader/wine64 loader/wine64-preloader:
23053 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23054 $with_wine64/loader/wine:
23055 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23056 $with_wine64/loader/wine-preloader:
23057 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23059 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23061 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
23062 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
23066 programs/msidb/msidb \
23067 programs/msiexec/msiexec \
23068 programs/notepad/notepad \
23069 programs/regedit/regedit \
23070 programs/regsvr32/regsvr32 \
23071 programs/wineboot/wineboot \
23072 programs/winecfg/winecfg \
23073 programs/wineconsole/wineconsole \
23074 programs/winedbg/winedbg \
23075 programs/winefile/winefile \
23076 programs/winemine/winemine \
23077 programs/winepath/winepath \
23081 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
23082 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23087 as_fn_append wine_rules
"
23089 rm -rf autom4te.cache
23091 rm -f configure include/config.h.in"
23094 as_fn_append wine_rules
"
23095 dlls/ntdll/unix/version.c: dummy
23096 @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)
23097 programs/winetest/build.rc: dummy
23098 @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)
23099 programs/winetest/build.nfo:
23101 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
23102 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23103 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23106 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23108 as_fn_append wine_rules
"
23111 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23114 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23116 .PHONY: depend dummy install-manpages"
23118 printf "%s\n" " done" >&6
23119 cat >confcache
<<\_ACEOF
23120 # This file is a shell script that caches the results of configure
23121 # tests run on this system so they can be shared between configure
23122 # scripts and configure runs, see configure's option --config-cache.
23123 # It is not useful on other systems. If it contains results you don't
23124 # want to keep, you may remove or edit it.
23126 # config.status only pays attention to the cache file if you give it
23127 # the --recheck option to rerun configure.
23129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23131 # following values.
23135 # The following way of writing the cache mishandles newlines in values,
23136 # but we know of no workaround that is simple, portable, and efficient.
23137 # So, we kill variables containing newlines.
23138 # Ultrix sh set writes to stderr and can't be redirected directly,
23139 # and sets the high bit in the cache file unless we assign to the vars.
23141 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23142 eval ac_val
=\$
$ac_var
23146 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23147 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23150 _ | IFS | as_nl
) ;; #(
23151 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23152 *) { eval $ac_var=; unset $ac_var;} ;;
23158 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23159 *${as_nl}ac_space
=\
*)
23160 # `set' does not quote correctly, so add quotes: double-quote
23161 # substitution turns \\\\ into \\, and sed turns \\ into \.
23164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23167 # `set' quotes correctly as required by POSIX, so do not add quotes.
23168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23177 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23179 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23181 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23182 if test -w "$cache_file"; then
23183 if test "x$cache_file" != "x/dev/null"; then
23184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23185 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23186 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23187 cat confcache
>"$cache_file"
23189 case $cache_file in #(
23191 mv -f confcache
"$cache_file"$$
&&
23192 mv -f "$cache_file"$$
"$cache_file" ;; #(
23194 mv -f confcache
"$cache_file" ;;
23199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23200 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23205 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23206 # Let make expand exec_prefix.
23207 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23209 DEFS
=-DHAVE_CONFIG_H
23214 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23215 # 1. Remove the extension, and $U if already installed.
23216 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23217 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23218 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23219 # will be set to the directory where LIBOBJS objects are built.
23220 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23221 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23223 LIBOBJS
=$ac_libobjs
23225 LTLIBOBJS
=$ac_ltlibobjs
23229 : "${CONFIG_STATUS=./config.status}"
23231 ac_clean_files_save
=$ac_clean_files
23232 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23234 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23236 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23238 # Generated by $as_me.
23239 # Run this file to recreate the current configuration.
23240 # Compiler output produced by configure, useful for debugging
23241 # configure, is in config.log if it exists.
23244 ac_cs_recheck=false
23247 SHELL=\${CONFIG_SHELL-$SHELL}
23250 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23251 ## -------------------- ##
23252 ## M4sh Initialization. ##
23253 ## -------------------- ##
23255 # Be more Bourne compatible
23256 DUALCASE
=1; export DUALCASE
# for MKS sh
23258 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
23262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23263 # is contrary to our usage. Disable this feature.
23264 alias -g '${1+"$@"}'='"$@"'
23265 setopt NO_GLOB_SUBST
23267 case `(set -o) 2>/dev/null` in #(
23277 # Reset variables that may have inherited troublesome values from
23280 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23281 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23282 # side effect of setting IFS to empty, thus disabling word splitting.)
23283 # Quoting is to prevent editors from complaining about space-tab.
23293 # Ensure predictable behavior from utilities with locale-dependent output.
23299 # We cannot yet rely on "unset" to work, but we need these variables
23300 # to be unset--not just set to an empty or harmless value--now, to
23301 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23302 # also avoids known problems related to "unset" and subshell syntax
23303 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23304 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
23305 do eval test \
${$as_var+y} \
23306 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23309 # Ensure that fds 0, 1, and 2 are open.
23310 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
23311 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
23312 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
23314 # The user is always right.
23315 if ${PATH_SEPARATOR+false} :; then
23317 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
23318 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
23324 # Find who we are. Look in the path if we contain no directory separator.
23327 *[\\/]* ) as_myself
=$0 ;;
23328 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23329 for as_dir
in $PATH
23332 case $as_dir in #(((
23335 *) as_dir
=$as_dir/ ;;
23337 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
23343 # We did not find ourselves, most probably we were run as `sh COMMAND'
23344 # in which case we are not to be found in the path.
23345 if test "x$as_myself" = x
; then
23348 if test ! -f "$as_myself"; then
23349 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23355 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23356 # ----------------------------------------
23357 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23358 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23359 # script with STATUS, using 1 if that was 0.
23362 as_status
=$1; test $as_status -eq 0 && as_status
=1
23364 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23367 printf "%s\n" "$as_me: error: $2" >&2
23368 as_fn_exit
$as_status
23373 # as_fn_set_status STATUS
23374 # -----------------------
23375 # Set $? to STATUS, without forking.
23376 as_fn_set_status
()
23379 } # as_fn_set_status
23381 # as_fn_exit STATUS
23382 # -----------------
23383 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23387 as_fn_set_status
$1
23393 # Portably unset VAR.
23396 { eval $1=; unset $1;}
23398 as_unset
=as_fn_unset
23400 # as_fn_append VAR VALUE
23401 # ----------------------
23402 # Append the text in VALUE to the end of the definition contained in VAR. Take
23403 # advantage of any shell optimizations that allow amortized linear growth over
23404 # repeated appends, instead of the typical quadratic growth present in naive
23406 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23408 eval 'as_fn_append ()
23419 # as_fn_arith ARG...
23420 # ------------------
23421 # Perform arithmetic evaluation on the ARGs, and store the result in the
23422 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23423 # must be portable across $(()) and expr.
23424 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23426 eval 'as_fn_arith ()
23433 as_val
=`expr "$@" || test $? -eq 1`
23438 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23439 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23445 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23446 as_basename
=basename
23451 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23457 as_me
=`$as_basename -- "$0" ||
23458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23459 X"$0" : 'X\(//\)$' \| \
23460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23461 printf "%s\n" X/"$0" |
23462 sed '/^.*\/\([^/][^/]*\)\/*$/{
23476 # Avoid depending upon Character Ranges.
23477 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23478 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23479 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23480 as_cr_digits
='0123456789'
23481 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23484 # Determine whether it's possible to make 'echo' print without a newline.
23485 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23486 # for compatibility with existing Makefiles.
23487 ECHO_C
= ECHO_N
= ECHO_T
=
23488 case `echo -n x` in #(((((
23490 case `echo 'xy\c'` in
23491 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23493 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23500 # For backward compatibility with old third-party macros, we provide
23501 # the shell variables $as_echo and $as_echo_n. New code should use
23502 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23503 as_echo
='printf %s\n'
23504 as_echo_n
='printf %s'
23506 rm -f conf$$ conf$$.exe conf$$.
file
23507 if test -d conf$$.dir
; then
23508 rm -f conf$$.dir
/conf$$.
file
23511 mkdir conf$$.dir
2>/dev
/null
23513 if (echo >conf$$.
file) 2>/dev
/null
; then
23514 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23516 # ... but there are two gotchas:
23517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23519 # In both cases, we have to default to `cp -pR'.
23520 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23522 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23530 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23531 rmdir conf$$.dir
2>/dev
/null
23536 # Create "$as_dir" as a directory, including parents if necessary.
23541 -*) as_dir
=.
/$as_dir;;
23543 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23547 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23548 *) as_qdir
=$as_dir;;
23550 as_dirs
="'$as_qdir' $as_dirs"
23551 as_dir
=`$as_dirname -- "$as_dir" ||
23552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23553 X"$as_dir" : 'X\(//\)[^/]' \| \
23554 X"$as_dir" : 'X\(//\)$' \| \
23555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23556 printf "%s\n" X"$as_dir" |
23557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23561 /^X\(\/\/\)[^/].*/{
23574 test -d "$as_dir" && break
23576 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23577 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23581 if mkdir
-p .
2>/dev
/null
; then
23582 as_mkdir_p
='mkdir -p "$as_dir"'
23584 test -d .
/-p && rmdir .
/-p
23589 # as_fn_executable_p FILE
23590 # -----------------------
23591 # Test if FILE is an executable regular file.
23592 as_fn_executable_p
()
23594 test -f "$1" && test -x "$1"
23595 } # as_fn_executable_p
23596 as_test_x
='test -x'
23597 as_executable_p
=as_fn_executable_p
23599 # Sed expression to map a string onto a valid CPP name.
23600 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23602 # Sed expression to map a string onto a valid variable name.
23603 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23607 ## ----------------------------------- ##
23608 ## Main body of $CONFIG_STATUS script. ##
23609 ## ----------------------------------- ##
23611 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23614 # Save the log message, to keep $0 and so on meaningful, and to
23615 # report actual input values of CONFIG_FILES etc. instead of their
23616 # values after options handling.
23618 This file was extended by Wine $as_me 9.4, which was
23619 generated by GNU Autoconf 2.71. Invocation command line was
23621 CONFIG_FILES = $CONFIG_FILES
23622 CONFIG_HEADERS = $CONFIG_HEADERS
23623 CONFIG_LINKS = $CONFIG_LINKS
23624 CONFIG_COMMANDS = $CONFIG_COMMANDS
23627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23633 case $ac_config_headers in *"
23634 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23639 # Files that config.status was made for.
23640 config_headers="$ac_config_headers"
23641 config_links="$ac_config_links"
23642 config_commands="$ac_config_commands"
23646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23648 \`$as_me' instantiates files and other configuration actions
23649 from templates according to the current configuration. Unless the files
23650 and actions are specified as TAGs, all are instantiated by default.
23652 Usage: $0 [OPTION]... [TAG]...
23654 -h, --help print this help, then exit
23655 -V, --version print version number and configuration settings, then exit
23656 --config print configuration, then exit
23657 -q, --quiet, --silent
23658 do not print progress messages
23659 -d, --debug don't remove temporary files
23660 --recheck update $as_me by reconfiguring in the same conditions
23661 --header=FILE[:TEMPLATE]
23662 instantiate the configuration header FILE
23664 Configuration headers:
23667 Configuration links:
23670 Configuration commands:
23673 Report bugs to <wine-devel@winehq.org>.
23674 Wine home page: <https://www.winehq.org>."
23677 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23678 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23680 ac_cs_config='$ac_cs_config_escaped'
23682 Wine config.status 9.4
23683 configured by $0, generated by GNU Autoconf 2.71,
23684 with options \\"\$ac_cs_config\\"
23686 Copyright (C) 2021 Free Software Foundation, Inc.
23687 This config.status script is free software; the Free Software Foundation
23688 gives unlimited permission to copy, distribute and modify it."
23692 test -n "\$AWK" || AWK=awk
23695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23696 # The default lists apply if the user does not specify any file.
23702 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23703 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23707 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23719 # Handling of the options.
23720 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23722 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23723 printf "%s\n" "$ac_cs_version"; exit ;;
23724 --config |
--confi |
--conf |
--con |
--co |
--c )
23725 printf "%s\n" "$ac_cs_config"; exit ;;
23726 --debug |
--debu |
--deb |
--de |
--d |
-d )
23728 --header |
--heade |
--head |
--hea )
23731 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23733 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23734 ac_need_defaults
=false
;;
23736 # Conflict between --help and --header
23737 as_fn_error $?
"ambiguous option: \`$1'
23738 Try \`$0 --help' for more information.";;
23739 --help |
--hel |
-h )
23740 printf "%s\n" "$ac_cs_usage"; exit ;;
23741 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23742 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23745 # This is an error.
23746 -*) as_fn_error $?
"unrecognized option: \`$1'
23747 Try \`$0 --help' for more information." ;;
23749 *) as_fn_append ac_config_targets
" $1"
23750 ac_need_defaults
=false
;;
23756 ac_configure_extra_args
=
23758 if $ac_cs_silent; then
23760 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23765 if \$ac_cs_recheck; then
23766 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23768 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23769 CONFIG_SHELL='$SHELL'
23770 export CONFIG_SHELL
23775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23779 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23780 ## Running $as_me. ##
23782 printf "%s\n" "$ac_log"
23786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23790 wine_fn_output_makedep ()
23792 as_dir=tools; as_fn_mkdir_p
23793 $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
23795 wine_fn_output_makefile ()
23797 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23798 # This Makefile understands the following targets:
23800 # all (default): build wine
23801 # clean: remove all intermediate files
23802 # distclean: also remove all files created by configure
23804 # testclean: clean test results to force running all tests again
23805 # install-lib: install libraries needed to run applications
23806 # install-dev: install development environment
23807 # install: install everything
23808 # uninstall: uninstall everything
23809 # ctags: create a tags file for vim and others.
23810 # etags: create a TAGS file for Emacs.
23813 PATH_SEPARATOR = $PATH_SEPARATOR
23814 PACKAGE_NAME = $PACKAGE_NAME
23815 PACKAGE_TARNAME = $PACKAGE_TARNAME
23816 PACKAGE_VERSION = $PACKAGE_VERSION
23817 PACKAGE_STRING = $PACKAGE_STRING
23818 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23819 PACKAGE_URL = $PACKAGE_URL
23820 exec_prefix = $exec_prefix
23822 program_transform_name = $program_transform_name
23825 libexecdir = $libexecdir
23826 datarootdir = $datarootdir
23828 sysconfdir = $sysconfdir
23829 sharedstatedir = $sharedstatedir
23830 localstatedir = $localstatedir
23831 runstatedir = $runstatedir
23832 includedir = $includedir
23833 oldincludedir = $oldincludedir
23841 localedir = $localedir
23848 build_alias = $build_alias
23849 host_alias = $host_alias
23850 target_alias = $target_alias
23851 system_dllpath = $system_dllpath
23853 build_cpu = $build_cpu
23854 build_vendor = $build_vendor
23855 build_os = $build_os
23857 host_cpu = $host_cpu
23858 host_vendor = $host_vendor
23864 SET_MAKE = $SET_MAKE
23868 CPPFLAGS = $CPPFLAGS
23869 ac_ct_CC = $ac_ct_CC
23873 CXXFLAGS = $CXXFLAGS
23874 ac_ct_CXX = $ac_ct_CXX
23877 TARGETFLAGS = $TARGETFLAGS
23878 toolsext = $toolsext
23879 HOST_ARCH = $HOST_ARCH
23880 aarch64_CC = $aarch64_CC
23881 aarch64_CFLAGS = $aarch64_CFLAGS
23882 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23883 aarch64_LDFLAGS = $aarch64_LDFLAGS
23884 aarch64_DEBUG = $aarch64_DEBUG
23885 aarch64_TARGET = $aarch64_TARGET
23886 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23887 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23889 arm_CFLAGS = $arm_CFLAGS
23890 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23891 arm_LDFLAGS = $arm_LDFLAGS
23892 arm_DEBUG = $arm_DEBUG
23893 arm_TARGET = $arm_TARGET
23894 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23895 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23896 arm64ec_CC = $arm64ec_CC
23897 arm64ec_CFLAGS = $arm64ec_CFLAGS
23898 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23899 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23900 arm64ec_DEBUG = $arm64ec_DEBUG
23901 arm64ec_TARGET = $arm64ec_TARGET
23902 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23903 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23905 i386_CFLAGS = $i386_CFLAGS
23906 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23907 i386_LDFLAGS = $i386_LDFLAGS
23908 i386_DEBUG = $i386_DEBUG
23909 i386_TARGET = $i386_TARGET
23910 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23911 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23912 x86_64_CC = $x86_64_CC
23913 x86_64_CFLAGS = $x86_64_CFLAGS
23914 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23915 x86_64_LDFLAGS = $x86_64_LDFLAGS
23916 x86_64_DEBUG = $x86_64_DEBUG
23917 x86_64_TARGET = $x86_64_TARGET
23918 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23919 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23920 toolsdir = $toolsdir
23922 RUNTESTFLAGS = $RUNTESTFLAGS
23927 ac_ct_AR = $ac_ct_AR
23933 LDCONFIG = $LDCONFIG
23935 PKG_CONFIG = $PKG_CONFIG
23936 FONTFORGE = $FONTFORGE
23940 I386_LIBS = $I386_LIBS
23941 OPENGL_LIBS = $OPENGL_LIBS
23942 DLLFLAGS = $DLLFLAGS
23943 LDDLLFLAGS = $LDDLLFLAGS
23944 LDEXECFLAGS = $LDEXECFLAGS
23945 EXTRACFLAGS = $EXTRACFLAGS
23946 UNIXDLLFLAGS = $UNIXDLLFLAGS
23947 UNIXLDFLAGS = $UNIXLDFLAGS
23948 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23949 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23950 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23951 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23957 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23958 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23959 CARBON_LIBS = $CARBON_LIBS
23960 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23961 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23962 IOKIT_LIBS = $IOKIT_LIBS
23963 METAL_LIBS = $METAL_LIBS
23964 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23965 CORESERVICES_LIBS = $CORESERVICES_LIBS
23966 APPKIT_LIBS = $APPKIT_LIBS
23967 SECURITY_LIBS = $SECURITY_LIBS
23968 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23969 COREAUDIO_LIBS = $COREAUDIO_LIBS
23970 OPENCL_LIBS = $OPENCL_LIBS
23972 OBJCFLAGS = $OBJCFLAGS
23973 ac_ct_OBJC = $ac_ct_OBJC
23974 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23975 PE_ARCHS = $PE_ARCHS
23976 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23977 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23978 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23979 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23980 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23981 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23982 GSM_PE_LIBS = $GSM_PE_LIBS
23983 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23984 JPEG_PE_LIBS = $JPEG_PE_LIBS
23985 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23986 JXR_PE_LIBS = $JXR_PE_LIBS
23987 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23988 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23989 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23990 LDAP_PE_LIBS = $LDAP_PE_LIBS
23991 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23992 MPG123_PE_LIBS = $MPG123_PE_LIBS
23993 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23994 MUSL_PE_LIBS = $MUSL_PE_LIBS
23995 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23996 PNG_PE_LIBS = $PNG_PE_LIBS
23997 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23998 TIFF_PE_LIBS = $TIFF_PE_LIBS
23999 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24000 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24001 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24002 XML2_PE_LIBS = $XML2_PE_LIBS
24003 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24004 XSLT_PE_LIBS = $XSLT_PE_LIBS
24005 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24006 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24007 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24008 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24009 PTHREAD_LIBS = $PTHREAD_LIBS
24012 X_CFLAGS = $X_CFLAGS
24013 X_PRE_LIBS = $X_PRE_LIBS
24015 X_EXTRA_LIBS = $X_EXTRA_LIBS
24016 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24017 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24018 WAYLAND_SCANNER = $WAYLAND_SCANNER
24019 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24020 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24021 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24022 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24023 EGL_CFLAGS = $EGL_CFLAGS
24024 EGL_LIBS = $EGL_LIBS
24025 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24026 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24027 PCAP_LIBS = $PCAP_LIBS
24028 PCSCLITE_LIBS = $PCSCLITE_LIBS
24029 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24030 INOTIFY_LIBS = $INOTIFY_LIBS
24031 DBUS_CFLAGS = $DBUS_CFLAGS
24032 DBUS_LIBS = $DBUS_LIBS
24033 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24034 GNUTLS_LIBS = $GNUTLS_LIBS
24035 SANE_CFLAGS = $SANE_CFLAGS
24036 SANE_LIBS = $SANE_LIBS
24037 USB_CFLAGS = $USB_CFLAGS
24038 USB_LIBS = $USB_LIBS
24039 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24040 GPHOTO2_LIBS = $GPHOTO2_LIBS
24041 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24042 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24043 RESOLV_LIBS = $RESOLV_LIBS
24044 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24045 FREETYPE_LIBS = $FREETYPE_LIBS
24046 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24047 PULSE_CFLAGS = $PULSE_CFLAGS
24048 PULSE_LIBS = $PULSE_LIBS
24049 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24050 GSTREAMER_LIBS = $GSTREAMER_LIBS
24051 ALSA_LIBS = $ALSA_LIBS
24052 OSS4_CFLAGS = $OSS4_CFLAGS
24053 OSS4_LIBS = $OSS4_LIBS
24054 UDEV_CFLAGS = $UDEV_CFLAGS
24055 UDEV_LIBS = $UDEV_LIBS
24056 UNWIND_CFLAGS = $UNWIND_CFLAGS
24057 UNWIND_LIBS = $UNWIND_LIBS
24058 SDL2_CFLAGS = $SDL2_CFLAGS
24059 SDL2_LIBS = $SDL2_LIBS
24060 CAPI20_CFLAGS = $CAPI20_CFLAGS
24061 CAPI20_LIBS = $CAPI20_LIBS
24062 CUPS_CFLAGS = $CUPS_CFLAGS
24063 CUPS_LIBS = $CUPS_LIBS
24064 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24065 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24066 KRB5_CFLAGS = $KRB5_CFLAGS
24067 KRB5_LIBS = $KRB5_LIBS
24068 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24069 GSSAPI_LIBS = $GSSAPI_LIBS
24070 PROCSTAT_LIBS = $PROCSTAT_LIBS
24071 NETAPI_CFLAGS = $NETAPI_CFLAGS
24072 NETAPI_LIBS = $NETAPI_LIBS
24073 MSVCRTFLAGS = $MSVCRTFLAGS
24074 DELAYLOADFLAG = $DELAYLOADFLAG
24075 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24077 TAGSFLAGS = $TAGSFLAGS
24079 LTLIBOBJS = $LTLIBOBJS
24083 as_fn_error $? "could not create Makefile" "$LINENO" 5
24088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24090 # Handling of arguments.
24091 for ac_config_target
in $ac_config_targets
24093 case $ac_config_target in
24094 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24095 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24096 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
24097 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24098 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
24099 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
24101 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24106 # If the user did not use the arguments to specify the items to instantiate,
24107 # then the envvar interface is used. Set only those that are not.
24108 # We use the long form for the default assignment because of an extremely
24109 # bizarre bug on SunOS 4.1.3.
24110 if $ac_need_defaults; then
24111 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
24112 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
24113 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
24116 # Have a temporary directory for convenience. Make it in the build tree
24117 # simply because there is no reason against having it here, and in addition,
24118 # creating and moving files from /tmp can sometimes cause problems.
24119 # Hook for its removal unless debugging.
24120 # Note that there is a small window in which the directory will not be cleaned:
24121 # after its creation but before its name has been assigned to `$tmp'.
24125 trap 'exit_status=$?
24126 : "${ac_tmp:=$tmp}"
24127 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24129 trap 'as_fn_exit 1' 1 2 13 15
24131 # Create a (secure) tmp directory for tmp files.
24134 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24138 tmp
=.
/conf$$
-$RANDOM
24139 (umask 077 && mkdir
"$tmp")
24140 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24143 # Set up the scripts for CONFIG_HEADERS section.
24144 # No need to generate them if there are no CONFIG_HEADERS.
24145 # This happens for instance with `./config.status Makefile'.
24146 if test -n "$CONFIG_HEADERS"; then
24147 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24151 # Transform confdefs.h into an awk script `defines.awk', embedded as
24152 # here-document in config.status, that substitutes the proper values into
24153 # config.h.in to produce config.h.
24155 # Create a delimiter string that does not exist in confdefs.h, to ease
24156 # handling of long lines.
24158 for ac_last_try
in false false
:; do
24159 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
24160 if test -z "$ac_tt"; then
24162 elif $ac_last_try; then
24163 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
24165 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24169 # For the awk script, D is an array of macro values keyed by name,
24170 # likewise P contains macro parameters if any. Preserve backslash
24171 # newline sequences.
24173 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24175 s/.\{148\}/&'"$ac_delim"'/g
24178 s/^[ ]*#[ ]*define[ ][ ]*/ /
24185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24187 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24191 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24192 D["\1"]=" \3\\\\\\n"\\/p
24194 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24199 s/.\{148\}/&'"$ac_delim"'/g
24204 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24207 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24209 ' <confdefs.h |
sed '
24210 s/'"$ac_delim"'/"\\\
24211 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
24213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24214 for (key in D) D_is_set[key] = 1
24217 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24219 split(line, arg, " ")
24220 if (arg[1] == "#") {
24224 defundef = substr(arg[1], 2)
24227 split(mac1, mac2, "(") #)
24229 prefix = substr(line, 1, index(line, defundef) - 1)
24230 if (D_is_set[macro]) {
24231 # Preserve the white space surrounding the "#".
24232 print prefix "define", macro P[macro] D[macro]
24235 # Replace #undef with comments. This is necessary, for example,
24236 # in the case of _POSIX_SOURCE, which is predefined and required
24237 # on some systems where configure will not decide to define it.
24238 if (defundef == "undef") {
24239 print "/*", prefix defundef, macro, "*/"
24247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24248 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24249 fi # test -n "$CONFIG_HEADERS"
24252 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24257 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24259 case $ac_mode$ac_tag in
24261 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24262 :[FH
]-) ac_tag
=-:-;;
24263 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24280 -) ac_f
="$ac_tmp/stdin";;
24281 *) # Look for the file first in the build tree, then in the source tree
24282 # (if the path is not absolute). The absolute path cannot be DOS-style,
24283 # because $ac_f cannot contain `:'.
24287 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24289 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24291 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24292 as_fn_append ac_file_inputs
" '$ac_f'"
24295 # Let's still pretend it is `configure' which instantiates (i.e., don't
24296 # use $as_me), people would be surprised to read:
24297 # /* config.h. Generated by config.status. */
24298 configure_input
='Generated from '`
24299 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24301 if test x
"$ac_file" != x-
; then
24302 configure_input
="$ac_file. $configure_input"
24303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24304 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24306 # Neutralize special characters interpreted by sed in replacement strings.
24307 case $configure_input in #(
24308 *\
&* |
*\|
* |
*\\* )
24309 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
24310 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24311 *) ac_sed_conf_input
=$configure_input;;
24315 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24316 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24321 ac_dir
=`$as_dirname -- "$ac_file" ||
24322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24323 X"$ac_file" : 'X\(//\)[^/]' \| \
24324 X"$ac_file" : 'X\(//\)$' \| \
24325 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24326 printf "%s\n" X"$ac_file" |
24327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24331 /^X\(\/\/\)[^/].*/{
24344 as_dir
="$ac_dir"; as_fn_mkdir_p
24348 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24350 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24351 # A ".." for each directory in $ac_dir_suffix.
24352 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24353 case $ac_top_builddir_sub in
24354 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24355 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24358 ac_abs_top_builddir
=$ac_pwd
24359 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24360 # for backward compatibility:
24361 ac_top_builddir
=$ac_top_build_prefix
24364 .
) # We are building in place.
24366 ac_top_srcdir
=$ac_top_builddir_sub
24367 ac_abs_top_srcdir
=$ac_pwd ;;
24368 [\\/]* | ?
:[\\/]* ) # Absolute name.
24369 ac_srcdir
=$srcdir$ac_dir_suffix;
24370 ac_top_srcdir
=$srcdir
24371 ac_abs_top_srcdir
=$srcdir ;;
24372 *) # Relative name.
24373 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24374 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24375 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24377 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24386 if test x
"$ac_file" != x-
; then
24388 printf "%s\n" "/* $configure_input */" >&1 \
24389 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24390 } >"$ac_tmp/config.h" \
24391 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24392 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24394 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24397 mv "$ac_tmp/config.h" "$ac_file" \
24398 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24401 printf "%s\n" "/* $configure_input */" >&1 \
24402 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24403 || as_fn_error $?
"could not create -" "$LINENO" 5
24411 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24414 # Prefer the file from the source tree if names are identical.
24415 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24416 ac_source
=$srcdir/$ac_source
24419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24420 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24422 if test ! -r "$ac_source"; then
24423 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24427 # Try a relative symlink, then a hard link, then a copy.
24429 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24430 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24432 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24433 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24434 cp -p "$ac_source" "$ac_file" ||
24435 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24438 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24439 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24444 case $ac_file$ac_mode in
24445 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24446 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24447 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24455 ac_clean_files
=$ac_clean_files_save
24457 test $ac_write_fail = 0 ||
24458 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24461 # configure is writing to config.log, and then calls config.status.
24462 # config.status does its own redirection, appending to config.log.
24463 # Unfortunately, on DOS this fails, as config.log is still kept open
24464 # by configure, so config.status won't be able to write to it; its
24465 # output is simply discarded. So we exec the FD to /dev/null,
24466 # effectively closing config.log, so it can be properly (re)opened and
24467 # appended to by config.status. When coming back to configure, we
24468 # need to make the FD available again.
24469 if test "$no_create" != yes; then
24471 ac_config_status_args
=
24472 test "$silent" = yes &&
24473 ac_config_status_args
="$ac_config_status_args --quiet"
24475 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24477 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24478 # would make configure fail if this is the last instruction.
24479 $ac_cs_success || as_fn_exit
1
24481 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24483 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24487 if test "$no_create" = "yes"
24493 if test "x$wine_notices" != x
; then
24496 for msg
in $wine_notices; do
24502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24503 printf "%s\n" "$as_me: $msg" >&6;}
24508 for msg
in $wine_warnings; do
24515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24516 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24522 $as_me: Finished. Do '${ac_make}' to compile Wine.