2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.7.
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.7'
615 PACKAGE_STRING
='Wine 9.7'
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.7 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.7:";;
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.7, 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 if test "x$enable_win64" = "xyes"
6409 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6410 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6414 cygwin
*|mingw32
*) toolsext
=".exe"
6422 aarch64
*) HOST_ARCH
=aarch64
;;
6423 arm
*) HOST_ARCH
=arm
;;
6424 i
[3456789]86*) HOST_ARCH
=i386
;;
6425 x86_64
) HOST_ARCH
=x86_64
;;
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6430 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6431 if test ${wine_cv_toolsdir+y}
6433 printf %s
"(cached) " >&6
6435 wine_cv_toolsdir
="$with_wine_tools"
6436 if test -z "$with_wine_tools"; then
6437 if test "$cross_compiling" = "yes"; then
6438 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6439 elif test -n "$with_wine64"; then
6440 wine_cv_toolsdir
="$with_wine64"
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6445 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6446 if test -z "$wine_cv_toolsdir"; then
6447 wine_makedep
=tools
/makedep
$toolsext
6448 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6449 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6450 enable_tools
=${enable_tools:-no}
6451 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6453 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6455 toolsdir
=$wine_cv_toolsdir
6457 MAKEDEP
=$wine_makedep
6459 RUNTESTFLAGS
="-q -P wine"
6461 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'"
6464 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6466 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6471 # Extract the first word of "$ac_prog", so it can be a program name with args.
6472 set dummy
$ac_prog; ac_word
=$2
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 printf %s
"checking for $ac_word... " >&6; }
6475 if test ${ac_cv_prog_FLEX+y}
6477 printf %s
"(cached) " >&6
6479 if test -n "$FLEX"; then
6480 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6486 case $as_dir in #(((
6489 *) as_dir
=$as_dir/ ;;
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_FLEX
="$ac_prog"
6494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6503 FLEX
=$ac_cv_prog_FLEX
6504 if test -n "$FLEX"; then
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6506 printf "%s\n" "$FLEX" >&6; }
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 printf "%s\n" "no" >&6; }
6513 test -n "$FLEX" && break
6515 test -n "$FLEX" || FLEX
="none"
6517 if test "$FLEX" = "none"
6519 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6522 printf %s
"checking whether flex is recent enough... " >&6; }
6523 if test ${wine_cv_recent_flex+y}
6525 printf %s
"(cached) " >&6
6527 cat >conftest.l
<<EOF
6529 #include "prediluvian.h"
6533 if $FLEX -t conftest.l
>/dev
/null
2>&5
6535 wine_cv_recent_flex
=yes
6537 wine_cv_recent_flex
=no
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6541 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6542 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
6544 for ac_prog
in bison
6546 # Extract the first word of "$ac_prog", so it can be a program name with args.
6547 set dummy
$ac_prog; ac_word
=$2
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 printf %s
"checking for $ac_word... " >&6; }
6550 if test ${ac_cv_prog_BISON+y}
6552 printf %s
"(cached) " >&6
6554 if test -n "$BISON"; then
6555 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6561 case $as_dir in #(((
6564 *) as_dir
=$as_dir/ ;;
6566 for ac_exec_ext
in '' $ac_executable_extensions; do
6567 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_BISON
="$ac_prog"
6569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6578 BISON
=$ac_cv_prog_BISON
6579 if test -n "$BISON"; then
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6581 printf "%s\n" "$BISON" >&6; }
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 printf "%s\n" "no" >&6; }
6588 test -n "$BISON" && break
6590 test -n "$BISON" || BISON
="none"
6592 if test "$BISON" = "none"
6594 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6597 printf %s
"checking whether bison is recent enough... " >&6; }
6598 if test ${wine_cv_recent_bison+y}
6600 printf %s
"(cached) " >&6
6602 cat >conftest.y
<<EOF
6603 %define parse.error verbose
6607 if $BISON conftest.y
>/dev
/null
2>&5
6609 wine_cv_recent_bison
=yes
6611 wine_cv_recent_bison
=no
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6615 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6616 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
6618 if test -n "$ac_tool_prefix"; then
6619 for ac_prog
in ar gar
6621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6622 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s
"checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_AR+y}
6627 printf %s
"(cached) " >&6
6629 if test -n "$AR"; then
6630 ac_cv_prog_AR
="$AR" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 case $as_dir in #(((
6639 *) as_dir
=$as_dir/ ;;
6641 for ac_exec_ext
in '' $ac_executable_extensions; do
6642 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 if test -n "$AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6656 printf "%s\n" "$AR" >&6; }
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$AR" && break
6666 if test -z "$AR"; then
6668 for ac_prog
in ar gar
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy
$ac_prog; ac_word
=$2
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 printf %s
"checking for $ac_word... " >&6; }
6674 if test ${ac_cv_prog_ac_ct_AR+y}
6676 printf %s
"(cached) " >&6
6678 if test -n "$ac_ct_AR"; then
6679 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6685 case $as_dir in #(((
6688 *) as_dir
=$as_dir/ ;;
6690 for ac_exec_ext
in '' $ac_executable_extensions; do
6691 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_AR
="$ac_prog"
6693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6702 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6703 if test -n "$ac_ct_AR"; then
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6705 printf "%s\n" "$ac_ct_AR" >&6; }
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 printf "%s\n" "no" >&6; }
6712 test -n "$ac_ct_AR" && break
6715 if test "x$ac_ct_AR" = x
; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned
=yes ;;
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s
"checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_STRIP+y}
6735 printf %s
"(cached) " >&6
6737 if test -n "$STRIP"; then
6738 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6744 case $as_dir in #(((
6747 *) as_dir
=$as_dir/ ;;
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6761 STRIP
=$ac_cv_prog_STRIP
6762 if test -n "$STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6764 printf "%s\n" "$STRIP" >&6; }
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6772 if test -z "$ac_cv_prog_STRIP"; then
6774 # Extract the first word of "strip", so it can be a program name with args.
6775 set dummy strip
; ac_word
=$2
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 printf %s
"checking for $ac_word... " >&6; }
6778 if test ${ac_cv_prog_ac_ct_STRIP+y}
6780 printf %s
"(cached) " >&6
6782 if test -n "$ac_ct_STRIP"; then
6783 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6789 case $as_dir in #(((
6792 *) as_dir
=$as_dir/ ;;
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP
="strip"
6797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6806 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 printf "%s\n" "$ac_ct_STRIP" >&6; }
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 printf "%s\n" "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x
; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned
=yes ;;
6827 STRIP
="$ac_cv_prog_STRIP"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6832 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s
"checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_RANLIB+y}
6837 printf %s
"(cached) " >&6
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 case $as_dir in #(((
6849 *) as_dir
=$as_dir/ ;;
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6863 RANLIB
=$ac_cv_prog_RANLIB
6864 if test -n "$RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866 printf "%s\n" "$RANLIB" >&6; }
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6874 if test -z "$ac_cv_prog_RANLIB"; then
6875 ac_ct_RANLIB
=$RANLIB
6876 # Extract the first word of "ranlib", so it can be a program name with args.
6877 set dummy ranlib
; ac_word
=$2
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 printf %s
"checking for $ac_word... " >&6; }
6880 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6882 printf %s
"(cached) " >&6
6884 if test -n "$ac_ct_RANLIB"; then
6885 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6891 case $as_dir in #(((
6894 *) as_dir
=$as_dir/ ;;
6896 for ac_exec_ext
in '' $ac_executable_extensions; do
6897 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6908 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 printf "%s\n" "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x
; then
6920 case $cross_compiling:$ac_tool_warned in
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned
=yes ;;
6926 RANLIB
=$ac_ct_RANLIB
6929 RANLIB
="$ac_cv_prog_RANLIB"
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6933 printf %s
"checking whether ln -s works... " >&6; }
6935 if test "$LN_S" = "ln -s"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6937 printf "%s\n" "yes" >&6; }
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6940 printf "%s\n" "no, using $LN_S" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6944 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6945 if test ${ac_cv_path_GREP+y}
6947 printf %s
"(cached) " >&6
6949 if test -z "$GREP"; then
6950 ac_path_GREP_found
=false
6951 # Loop through the user's path and test for each of PROGNAME-LIST
6952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6956 case $as_dir in #(((
6959 *) as_dir
=$as_dir/ ;;
6961 for ac_prog
in grep ggrep
6963 for ac_exec_ext
in '' $ac_executable_extensions; do
6964 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6965 as_fn_executable_p
"$ac_path_GREP" ||
continue
6966 # Check for GNU ac_path_GREP and select it if it is found.
6967 # Check for GNU $ac_path_GREP
6968 case `"$ac_path_GREP" --version 2>&1` in
6970 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6973 printf %s
0123456789 >"conftest.in"
6976 cat "conftest.in" "conftest.in" >"conftest.tmp"
6977 mv "conftest.tmp" "conftest.in"
6978 cp "conftest.in" "conftest.nl"
6979 printf "%s\n" 'GREP' >> "conftest.nl"
6980 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6981 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6982 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6983 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6984 # Best one so far, save it but keep looking for a better one
6985 ac_cv_path_GREP
="$ac_path_GREP"
6986 ac_path_GREP_max
=$ac_count
6988 # 10*(2^10) chars as input seems more than enough
6989 test $ac_count -gt 10 && break
6991 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6994 $ac_path_GREP_found && break 3
6999 if test -z "$ac_cv_path_GREP"; then
7000 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7003 ac_cv_path_GREP
=$GREP
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7008 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7009 GREP
="$ac_cv_path_GREP"
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7013 printf %s
"checking for egrep... " >&6; }
7014 if test ${ac_cv_path_EGREP+y}
7016 printf %s
"(cached) " >&6
7018 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7019 then ac_cv_path_EGREP
="$GREP -E"
7021 if test -z "$EGREP"; then
7022 ac_path_EGREP_found
=false
7023 # Loop through the user's path and test for each of PROGNAME-LIST
7024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7028 case $as_dir in #(((
7031 *) as_dir
=$as_dir/ ;;
7033 for ac_prog
in egrep
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7037 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7038 # Check for GNU ac_path_EGREP and select it if it is found.
7039 # Check for GNU $ac_path_EGREP
7040 case `"$ac_path_EGREP" --version 2>&1` in
7042 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7045 printf %s
0123456789 >"conftest.in"
7048 cat "conftest.in" "conftest.in" >"conftest.tmp"
7049 mv "conftest.tmp" "conftest.in"
7050 cp "conftest.in" "conftest.nl"
7051 printf "%s\n" 'EGREP' >> "conftest.nl"
7052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7053 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7054 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7056 # Best one so far, save it but keep looking for a better one
7057 ac_cv_path_EGREP
="$ac_path_EGREP"
7058 ac_path_EGREP_max
=$ac_count
7060 # 10*(2^10) chars as input seems more than enough
7061 test $ac_count -gt 10 && break
7063 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7066 $ac_path_EGREP_found && break 3
7071 if test -z "$ac_cv_path_EGREP"; then
7072 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7075 ac_cv_path_EGREP
=$EGREP
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7081 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7082 EGREP
="$ac_cv_path_EGREP"
7085 # Extract the first word of "ldconfig", so it can be a program name with args.
7086 set dummy ldconfig
; ac_word
=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s
"checking for $ac_word... " >&6; }
7089 if test ${ac_cv_path_LDCONFIG+y}
7091 printf %s
"(cached) " >&6
7095 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7099 for as_dir
in /sbin
/usr
/sbin
$PATH
7102 case $as_dir in #(((
7105 *) as_dir
=$as_dir/ ;;
7107 for ac_exec_ext
in '' $ac_executable_extensions; do
7108 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7121 LDCONFIG
=$ac_cv_path_LDCONFIG
7122 if test -n "$LDCONFIG"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7124 printf "%s\n" "$LDCONFIG" >&6; }
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 for ac_prog
in msgfmt
7133 # Extract the first word of "$ac_prog", so it can be a program name with args.
7134 set dummy
$ac_prog; ac_word
=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s
"checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_MSGFMT+y}
7139 printf %s
"(cached) " >&6
7141 if test -n "$MSGFMT"; then
7142 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 case $as_dir in #(((
7151 *) as_dir
=$as_dir/ ;;
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_MSGFMT
="$ac_prog"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7165 MSGFMT
=$ac_cv_prog_MSGFMT
7166 if test -n "$MSGFMT"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7168 printf "%s\n" "$MSGFMT" >&6; }
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7175 test -n "$MSGFMT" && break
7177 test -n "$MSGFMT" || MSGFMT
="false"
7179 if test ${ac_tool_prefix+y}
7181 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7182 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 printf %s
"checking for $ac_word... " >&6; }
7185 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 printf %s
"(cached) " >&6
7189 if test -n "$PKG_CONFIG"; then
7190 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7196 case $as_dir in #(((
7199 *) as_dir
=$as_dir/ ;;
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7213 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7214 if test -n "$PKG_CONFIG"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7216 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 printf "%s\n" "no" >&6; }
7224 if ${ac_cv_prog_PKG_CONFIG:+false} :
7226 if test "x$cross_compiling" = xyes
7230 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7231 # Extract the first word of "pkg-config", so it can be a program name with args.
7232 set dummy pkg-config
; ac_word
=$2
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 printf %s
"checking for $ac_word... " >&6; }
7235 if test ${ac_cv_prog_PKG_CONFIG+y}
7237 printf %s
"(cached) " >&6
7239 if test -n "$PKG_CONFIG"; then
7240 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7246 case $as_dir in #(((
7249 *) as_dir
=$as_dir/ ;;
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_PKG_CONFIG
="pkg-config"
7254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7263 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7264 if test -n "$PKG_CONFIG"; then
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7266 printf "%s\n" "$PKG_CONFIG" >&6; }
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 printf "%s\n" "no" >&6; }
7275 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7278 if test "x$enable_maintainer_mode" != "xyes"
7285 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7286 for ac_prog
in fontforge
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy
$ac_prog; ac_word
=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s
"checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_FONTFORGE+y}
7294 printf %s
"(cached) " >&6
7296 if test -n "$FONTFORGE"; then
7297 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 case $as_dir in #(((
7306 *) as_dir
=$as_dir/ ;;
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_FONTFORGE
="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7320 FONTFORGE
=$ac_cv_prog_FONTFORGE
7321 if test -n "$FONTFORGE"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7323 printf "%s\n" "$FONTFORGE" >&6; }
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$FONTFORGE" && break
7332 test -n "$FONTFORGE" || FONTFORGE
="false"
7334 for ac_prog
in rsvg-convert rsvg
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy
$ac_prog; ac_word
=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s
"checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_RSVG+y}
7342 printf %s
"(cached) " >&6
7344 if test -n "$RSVG"; then
7345 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7351 case $as_dir in #(((
7354 *) as_dir
=$as_dir/ ;;
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_RSVG
="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7368 RSVG
=$ac_cv_prog_RSVG
7369 if test -n "$RSVG"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7371 printf "%s\n" "$RSVG" >&6; }
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$RSVG" && break
7380 test -n "$RSVG" || RSVG
="false"
7382 for ac_prog
in convert
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy
$ac_prog; ac_word
=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s
"checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_CONVERT+y}
7390 printf %s
"(cached) " >&6
7392 if test -n "$CONVERT"; then
7393 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 case $as_dir in #(((
7402 *) as_dir
=$as_dir/ ;;
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_CONVERT
="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7416 CONVERT
=$ac_cv_prog_CONVERT
7417 if test -n "$CONVERT"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7419 printf "%s\n" "$CONVERT" >&6; }
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$CONVERT" && break
7428 test -n "$CONVERT" || CONVERT
="false"
7430 for ac_prog
in icotool
7432 # Extract the first word of "$ac_prog", so it can be a program name with args.
7433 set dummy
$ac_prog; ac_word
=$2
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 printf %s
"checking for $ac_word... " >&6; }
7436 if test ${ac_cv_prog_ICOTOOL+y}
7438 printf %s
"(cached) " >&6
7440 if test -n "$ICOTOOL"; then
7441 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7447 case $as_dir in #(((
7450 *) as_dir
=$as_dir/ ;;
7452 for ac_exec_ext
in '' $ac_executable_extensions; do
7453 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ICOTOOL
="$ac_prog"
7455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7464 ICOTOOL
=$ac_cv_prog_ICOTOOL
7465 if test -n "$ICOTOOL"; then
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7467 printf "%s\n" "$ICOTOOL" >&6; }
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 printf "%s\n" "no" >&6; }
7474 test -n "$ICOTOOL" && break
7476 test -n "$ICOTOOL" || ICOTOOL
="false"
7478 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7479 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7481 if test "$CONVERT" = false
7483 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7486 printf %s
"checking for recent enough imagemagick... " >&6; }
7487 convert_version
=`convert --version | head -n1`
7488 if test "x$convert_version" != "x"
7490 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7491 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7492 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 if test "$CONVERT" = false
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7500 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7501 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7508 if test "$ICOTOOL" = false
7510 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7513 printf %s
"checking for recent enough icotool... " >&6; }
7514 icotool_version
=`icotool --version | head -n1`
7515 if test "x$icotool_version" != "x"
7517 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7518 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7519 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7522 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7525 if test "$ICOTOOL" = false
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7528 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7529 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7542 test "x$with_gettext" != xno || MSGFMT
=false
7543 if test "$MSGFMT" != "false"
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7546 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7547 if test ${wine_cv_msgfmt_contexts+y}
7549 printf %s
"(cached) " >&6
7551 cat >conftest.po
<<EOF
7557 if $MSGFMT -o /dev
/null conftest.po
2>&5
7559 wine_cv_msgfmt_contexts
=yes
7561 wine_cv_msgfmt_contexts
=no
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7565 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7566 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7568 if test "$MSGFMT" = false
7570 case "x$with_gettext" in
7571 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7573 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7574 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7576 enable_po
=${enable_po:-no}
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7581 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7582 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7584 printf %s
"(cached) " >&6
7586 ac_check_lib_save_LIBS
=$LIBS
7588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7591 /* Override any GCC internal prototype to avoid an error.
7592 Use char because int might match the return type of a GCC
7593 builtin and then its argument prototype would still apply. */
7594 char i386_set_ldt ();
7598 return i386_set_ldt ();
7603 if ac_fn_c_try_link
"$LINENO"
7605 ac_cv_lib_i386_i386_set_ldt
=yes
7607 ac_cv_lib_i386_i386_set_ldt
=no
7609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7614 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7615 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7626 # Check whether --enable-largefile was given.
7627 if test ${enable_largefile+y}
7629 enableval
=$enable_largefile;
7632 if test "$enable_largefile" != no
; then
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7635 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7636 if test ${ac_cv_sys_largefile_CC+y}
7638 printf %s
"(cached) " >&6
7640 ac_cv_sys_largefile_CC
=no
7641 if test "$GCC" != yes; then
7644 # IRIX 6.2 and later do not support large files by default,
7645 # so use the C compiler's -n32 option if that helps.
7646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7665 if ac_fn_c_try_compile
"$LINENO"
7669 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7671 if ac_fn_c_try_compile
"$LINENO"
7673 ac_cv_sys_largefile_CC
=' -n32'; break
7675 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7679 rm -f conftest.
$ac_ext
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7683 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7684 if test "$ac_cv_sys_largefile_CC" != no
; then
7685 CC
=$CC$ac_cv_sys_largefile_CC
7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7689 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7690 if test ${ac_cv_sys_file_offset_bits+y}
7692 printf %s
"(cached) " >&6
7695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7714 if ac_fn_c_try_compile
"$LINENO"
7716 ac_cv_sys_file_offset_bits
=no
; break
7718 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #define _FILE_OFFSET_BITS 64
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7739 if ac_fn_c_try_compile
"$LINENO"
7741 ac_cv_sys_file_offset_bits
=64; break
7743 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7744 ac_cv_sys_file_offset_bits
=unknown
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7749 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7750 case $ac_cv_sys_file_offset_bits in #(
7753 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7757 if test $ac_cv_sys_file_offset_bits = unknown
; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7759 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7760 if test ${ac_cv_sys_large_files+y}
7762 printf %s
"(cached) " >&6
7765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7784 if ac_fn_c_try_compile
"$LINENO"
7786 ac_cv_sys_large_files
=no
; break
7788 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #define _LARGE_FILES 1
7792 #include <sys/types.h>
7793 /* Check that off_t can represent 2**63 - 1 correctly.
7794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7795 since some C++ compilers masquerading as C compilers
7796 incorrectly reject 9223372036854775807. */
7797 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7799 && LARGE_OFF_T % 2147483647 == 1)
7809 if ac_fn_c_try_compile
"$LINENO"
7811 ac_cv_sys_large_files
=1; break
7813 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7814 ac_cv_sys_large_files
=unknown
7818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7819 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7820 case $ac_cv_sys_large_files in #(
7823 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7830 test "$ac_cv_sys_file_offset_bits" = 64 &&
7831 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7834 ac_header
= ac_cache
=
7835 for ac_item
in $ac_header_c_list
7837 if test $ac_cache; then
7838 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7839 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7840 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7842 ac_header
= ac_cache
=
7843 elif test $ac_header; then
7857 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7860 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7863 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_asm_types_h" = xyes
7896 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_asm_user_h" = xyes
7902 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_elf_h" = xyes
7908 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_float_h" = xyes
7914 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_libproc_h" = xyes
7926 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_link_h" = xyes
7932 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_input_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_major_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_param_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_types_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_wireless_h" = xyes
8004 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_lwp_h" = xyes
8010 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8016 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mach_mach_h" = xyes
8022 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_machine_cpu_h" = xyes
8028 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8034 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mntent_h" = xyes
8040 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netdb_h" = xyes
8046 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_in_h" = xyes
8052 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8058 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8064 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8070 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8076 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_port_h" = xyes
8082 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pwd_h" = xyes
8088 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_sched_h" = xyes
8094 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8100 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8106 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_scsi_sg_h" = xyes
8112 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_stdint_h" = xyes
8118 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_attr_h" = xyes
8124 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_auxv_h" = xyes
8130 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_cdio_h" = xyes
8136 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_epoll_h" = xyes
8142 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_event_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_extattr_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_filio_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_ipc_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_link_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_modem_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_mtio_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_param_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_prctl_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_queue_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_random_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_resource_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_shm_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_signal_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_sockio_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_strtio_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_syscall_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_times_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_uio_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_user_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_utsname_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_vnode_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_xattr_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_syscall_h" = xyes
8316 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_utime_h" = xyes
8322 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8328 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8334 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8342 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8346 if test $ac_cv_header_sys_mkdev_h = no
; then
8347 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8351 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8357 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8358 if test ${ac_cv_header_stat_broken+y}
8360 printf %s
"(cached) " >&6
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 #include <sys/types.h>
8365 #include <sys/stat.h>
8367 #if defined S_ISBLK && defined S_IFDIR
8368 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8371 #if defined S_ISBLK && defined S_IFCHR
8372 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8375 #if defined S_ISLNK && defined S_IFREG
8376 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8379 #if defined S_ISSOCK && defined S_IFREG
8380 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8384 if ac_fn_c_try_compile
"$LINENO"
8386 ac_cv_header_stat_broken
=no
8388 ac_cv_header_stat_broken
=yes
8390 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8393 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8394 if test $ac_cv_header_stat_broken = yes; then
8396 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8402 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8403 #ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8407 if test "x$ac_cv_header_sys_conf_h" = xyes
8409 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8417 if test "x$ac_cv_header_sys_mount_h" = xyes
8419 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8427 if test "x$ac_cv_header_sys_statfs_h" = xyes
8429 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8437 if test "x$ac_cv_header_sys_user_h" = xyes
8439 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8447 if test "x$ac_cv_header_sys_vfs_h" = xyes
8449 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8454 saved_sysctl_h_CFLAGS
=$CFLAGS
8455 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8456 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8461 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8463 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8467 CFLAGS
=$saved_sysctl_h_CFLAGS
8469 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8470 #include <sys/socket.h>
8471 #ifdef HAVE_SYS_SOCKETVAR_H
8472 # include <sys/socketvar.h>
8474 #ifdef HAVE_NET_ROUTE_H
8475 # include <net/route.h>
8477 #ifdef HAVE_NETINET_IN_H
8478 # include <netinet/in.h>
8480 #ifdef HAVE_NETINET_IN_SYSTM_H
8481 # include <netinet/in_systm.h>
8483 #ifdef HAVE_NET_IF_H
8484 # include <net/if.h>
8486 #ifdef HAVE_NETINET_IP_H
8487 # include <netinet/ip.h>
8490 if test "x$ac_cv_header_netinet_ip_h" = xyes
8492 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8496 #include <sys/socket.h>
8497 #ifdef HAVE_SYS_SOCKETVAR_H
8498 # include <sys/socketvar.h>
8500 #ifdef HAVE_NET_ROUTE_H
8501 # include <net/route.h>
8503 #ifdef HAVE_NETINET_IN_H
8504 # include <netinet/in.h>
8506 #ifdef HAVE_NETINET_IN_SYSTM_H
8507 # include <netinet/in_systm.h>
8509 #ifdef HAVE_NET_IF_H
8510 # include <net/if.h>
8512 #ifdef HAVE_NETINET_IP_H
8513 # include <netinet/ip.h>
8516 if test "x$ac_cv_header_net_if_h" = xyes
8518 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8522 #include <sys/socket.h>
8523 #ifdef HAVE_SYS_SOCKETVAR_H
8524 # include <sys/socketvar.h>
8526 #ifdef HAVE_NET_ROUTE_H
8527 # include <net/route.h>
8529 #ifdef HAVE_NETINET_IN_H
8530 # include <netinet/in.h>
8532 #ifdef HAVE_NETINET_IN_SYSTM_H
8533 # include <netinet/in_systm.h>
8535 #ifdef HAVE_NET_IF_H
8536 # include <net/if.h>
8538 #ifdef HAVE_NETINET_IP_H
8539 # include <netinet/ip.h>
8542 if test "x$ac_cv_header_net_if_arp_h" = xyes
8544 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8548 #include <sys/socket.h>
8549 #ifdef HAVE_SYS_SOCKETVAR_H
8550 # include <sys/socketvar.h>
8552 #ifdef HAVE_NET_ROUTE_H
8553 # include <net/route.h>
8555 #ifdef HAVE_NETINET_IN_H
8556 # include <netinet/in.h>
8558 #ifdef HAVE_NETINET_IN_SYSTM_H
8559 # include <netinet/in_systm.h>
8561 #ifdef HAVE_NET_IF_H
8562 # include <net/if.h>
8564 #ifdef HAVE_NETINET_IP_H
8565 # include <netinet/ip.h>
8568 if test "x$ac_cv_header_net_if_dl_h" = xyes
8570 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8574 #include <sys/socket.h>
8575 #ifdef HAVE_SYS_SOCKETVAR_H
8576 # include <sys/socketvar.h>
8578 #ifdef HAVE_NET_ROUTE_H
8579 # include <net/route.h>
8581 #ifdef HAVE_NETINET_IN_H
8582 # include <netinet/in.h>
8584 #ifdef HAVE_NETINET_IN_SYSTM_H
8585 # include <netinet/in_systm.h>
8587 #ifdef HAVE_NET_IF_H
8588 # include <net/if.h>
8590 #ifdef HAVE_NETINET_IP_H
8591 # include <netinet/ip.h>
8594 if test "x$ac_cv_header_net_if_types_h" = xyes
8596 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8600 #include <sys/socket.h>
8601 #ifdef HAVE_SYS_SOCKETVAR_H
8602 # include <sys/socketvar.h>
8604 #ifdef HAVE_NET_ROUTE_H
8605 # include <net/route.h>
8607 #ifdef HAVE_NETINET_IN_H
8608 # include <netinet/in.h>
8610 #ifdef HAVE_NETINET_IN_SYSTM_H
8611 # include <netinet/in_systm.h>
8613 #ifdef HAVE_NET_IF_H
8614 # include <net/if.h>
8616 #ifdef HAVE_NETINET_IP_H
8617 # include <netinet/ip.h>
8620 if test "x$ac_cv_header_net_route_h" = xyes
8622 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8626 #include <sys/socket.h>
8627 #ifdef HAVE_SYS_SOCKETVAR_H
8628 # include <sys/socketvar.h>
8630 #ifdef HAVE_NET_ROUTE_H
8631 # include <net/route.h>
8633 #ifdef HAVE_NETINET_IN_H
8634 # include <netinet/in.h>
8636 #ifdef HAVE_NETINET_IN_SYSTM_H
8637 # include <netinet/in_systm.h>
8639 #ifdef HAVE_NET_IF_H
8640 # include <net/if.h>
8642 #ifdef HAVE_NETINET_IP_H
8643 # include <netinet/ip.h>
8646 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8648 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8652 #include <sys/socket.h>
8653 #ifdef HAVE_SYS_SOCKETVAR_H
8654 # include <sys/socketvar.h>
8656 #ifdef HAVE_NET_ROUTE_H
8657 # include <net/route.h>
8659 #ifdef HAVE_NETINET_IN_H
8660 # include <netinet/in.h>
8662 #ifdef HAVE_NETINET_IN_SYSTM_H
8663 # include <netinet/in_systm.h>
8665 #ifdef HAVE_NET_IF_H
8666 # include <net/if.h>
8668 #ifdef HAVE_NETINET_IP_H
8669 # include <netinet/ip.h>
8672 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8674 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8678 #include <sys/socket.h>
8679 #ifdef HAVE_SYS_SOCKETVAR_H
8680 # include <sys/socketvar.h>
8682 #ifdef HAVE_NET_ROUTE_H
8683 # include <net/route.h>
8685 #ifdef HAVE_NETINET_IN_H
8686 # include <netinet/in.h>
8688 #ifdef HAVE_NETINET_IN_SYSTM_H
8689 # include <netinet/in_systm.h>
8691 #ifdef HAVE_NET_IF_H
8692 # include <net/if.h>
8694 #ifdef HAVE_NETINET_IP_H
8695 # include <netinet/ip.h>
8698 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8700 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8704 #include <sys/socket.h>
8705 #ifdef HAVE_SYS_SOCKETVAR_H
8706 # include <sys/socketvar.h>
8708 #ifdef HAVE_NET_ROUTE_H
8709 # include <net/route.h>
8711 #ifdef HAVE_NETINET_IN_H
8712 # include <netinet/in.h>
8714 #ifdef HAVE_NETINET_IN_SYSTM_H
8715 # include <netinet/in_systm.h>
8717 #ifdef HAVE_NET_IF_H
8718 # include <net/if.h>
8720 #ifdef HAVE_NETINET_IP_H
8721 # include <netinet/ip.h>
8724 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8726 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8730 #include <sys/socket.h>
8731 #ifdef HAVE_SYS_SOCKETVAR_H
8732 # include <sys/socketvar.h>
8734 #ifdef HAVE_NET_ROUTE_H
8735 # include <net/route.h>
8737 #ifdef HAVE_NETINET_IN_H
8738 # include <netinet/in.h>
8740 #ifdef HAVE_NETINET_IN_SYSTM_H
8741 # include <netinet/in_systm.h>
8743 #ifdef HAVE_NET_IF_H
8744 # include <net/if.h>
8746 #ifdef HAVE_NETINET_IP_H
8747 # include <netinet/ip.h>
8750 if test "x$ac_cv_header_netinet_udp_h" = xyes
8752 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8756 #include <sys/socket.h>
8757 #ifdef HAVE_SYS_SOCKETVAR_H
8758 # include <sys/socketvar.h>
8760 #ifdef HAVE_NET_ROUTE_H
8761 # include <net/route.h>
8763 #ifdef HAVE_NETINET_IN_H
8764 # include <netinet/in.h>
8766 #ifdef HAVE_NETINET_IN_SYSTM_H
8767 # include <netinet/in_systm.h>
8769 #ifdef HAVE_NET_IF_H
8770 # include <net/if.h>
8772 #ifdef HAVE_NETINET_IP_H
8773 # include <netinet/ip.h>
8776 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8778 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8786 #ifdef HAVE_NET_ROUTE_H
8787 # include <net/route.h>
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8795 #ifdef HAVE_NET_IF_H
8796 # include <net/if.h>
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8802 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8804 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8812 #ifdef HAVE_NET_ROUTE_H
8813 # include <net/route.h>
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8821 #ifdef HAVE_NET_IF_H
8822 # include <net/if.h>
8824 #ifdef HAVE_NETINET_IP_H
8825 # include <netinet/ip.h>
8828 if test "x$ac_cv_header_sys_un_h" = xyes
8830 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8835 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8836 #include <sys/socket.h>
8837 #ifdef HAVE_SYS_SOCKETVAR_H
8838 # include <sys/socketvar.h>
8840 #ifdef HAVE_NETINET_IN_H
8841 # include <netinet/in.h>
8843 #ifdef HAVE_NETINET_IN_SYSTM_H
8844 # include <netinet/in_systm.h>
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8849 #ifdef HAVE_NETINET_IP_VAR_H
8850 # include <netinet/ip_var.h>
8852 #ifdef HAVE_NETINET_IP_ICMP_H
8853 # include <netinet/ip_icmp.h>
8855 #ifdef HAVE_NETINET_UDP_H
8856 # include <netinet/udp.h>
8858 #ifdef HAVE_NETINET_TCP_H
8859 # include <netinet/tcp.h>
8862 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8864 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8878 #ifdef HAVE_NETINET_IP_H
8879 # include <netinet/ip.h>
8881 #ifdef HAVE_NETINET_IP_VAR_H
8882 # include <netinet/ip_var.h>
8884 #ifdef HAVE_NETINET_IP_ICMP_H
8885 # include <netinet/ip_icmp.h>
8887 #ifdef HAVE_NETINET_UDP_H
8888 # include <netinet/udp.h>
8890 #ifdef HAVE_NETINET_TCP_H
8891 # include <netinet/tcp.h>
8894 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8896 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8899 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8900 #include <sys/socket.h>
8901 #ifdef HAVE_SYS_SOCKETVAR_H
8902 # include <sys/socketvar.h>
8904 #ifdef HAVE_NETINET_IN_H
8905 # include <netinet/in.h>
8907 #ifdef HAVE_NETINET_IN_SYSTM_H
8908 # include <netinet/in_systm.h>
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8913 #ifdef HAVE_NETINET_IP_VAR_H
8914 # include <netinet/ip_var.h>
8916 #ifdef HAVE_NETINET_IP_ICMP_H
8917 # include <netinet/ip_icmp.h>
8919 #ifdef HAVE_NETINET_UDP_H
8920 # include <netinet/udp.h>
8922 #ifdef HAVE_NETINET_TCP_H
8923 # include <netinet/tcp.h>
8926 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8928 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8932 #include <sys/socket.h>
8933 #ifdef HAVE_SYS_SOCKETVAR_H
8934 # include <sys/socketvar.h>
8936 #ifdef HAVE_NETINET_IN_H
8937 # include <netinet/in.h>
8939 #ifdef HAVE_NETINET_IN_SYSTM_H
8940 # include <netinet/in_systm.h>
8942 #ifdef HAVE_NETINET_IP_H
8943 # include <netinet/ip.h>
8945 #ifdef HAVE_NETINET_IP_VAR_H
8946 # include <netinet/ip_var.h>
8948 #ifdef HAVE_NETINET_IP_ICMP_H
8949 # include <netinet/ip_icmp.h>
8951 #ifdef HAVE_NETINET_UDP_H
8952 # include <netinet/udp.h>
8954 #ifdef HAVE_NETINET_TCP_H
8955 # include <netinet/tcp.h>
8958 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8960 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8974 if test "x$ac_cv_header_linux_ipx_h" = xyes
8976 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8988 if test "x$ac_cv_header_linux_irda_h" = xyes
8990 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8994 #include <sys/socket.h>
8995 #ifdef HAVE_ASM_TYPES_H
8996 # include <asm/types.h>
8998 #ifdef HAVE_LINUX_TYPES_H
8999 # include <linux/types.h>
9002 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9004 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9009 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9010 #include <sys/socket.h>
9011 #ifdef HAVE_NETINET_IN_H
9012 # include <netinet/in.h>
9014 #ifdef HAVE_ARPA_NAMESER_H
9015 # include <arpa/nameser.h>
9018 if test "x$ac_cv_header_resolv_h" = xyes
9020 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9027 if test "x$ac_cv_header_ifaddrs_h" = xyes
9029 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9036 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9038 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9044 #ifdef HAVE_SYS_UCONTEXT_H
9045 #include <sys/ucontext.h>
9048 if test "x$ac_cv_header_sys_thr_h" = xyes
9050 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9057 if test "x$ac_cv_header_pthread_np_h" = xyes
9059 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9065 #include <sys/types.h>
9066 #ifdef HAVE_ASM_TYPES_H
9067 #include <asm/types.h>
9070 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9072 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9078 #include <sys/param.h>
9080 #include <sys/socket.h>
9081 #ifdef HAVE_SYS_QUEUE_H
9082 #include <sys/queue.h>
9085 if test "x$ac_cv_header_libprocstat_h" = xyes
9087 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9092 if test "x$ac_cv_header_sys_xattr_h" = xyes
9094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9095 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9096 if test ${wine_cv_xattr_extra_args+y}
9098 printf %s
"(cached) " >&6
9100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <sys/xattr.h>
9106 getxattr("", "", "", 0, 0, 0);
9111 if ac_fn_c_try_compile
"$LINENO"
9113 wine_cv_xattr_extra_args
=yes
9115 wine_cv_xattr_extra_args
=no
9117 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9120 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9121 test $wine_cv_xattr_extra_args != yes ||
9122 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9135 UNIXDLLFLAGS
="-fPIC"
9137 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9143 WINELOADER_LDFLAGS
=""
9145 WINEPRELOADER_LDFLAGS
=""
9150 # Extract the first word of "ldd", so it can be a program name with args.
9151 set dummy ldd
; ac_word
=$2
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153 printf %s
"checking for $ac_word... " >&6; }
9154 if test ${ac_cv_path_LDD+y}
9156 printf %s
"(cached) " >&6
9160 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9164 as_dummy
="/sbin:/usr/sbin:$PATH"
9165 for as_dir
in $as_dummy
9168 case $as_dir in #(((
9171 *) as_dir
=$as_dir/ ;;
9173 for ac_exec_ext
in '' $ac_executable_extensions; do
9174 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9175 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9188 if test -n "$LDD"; then
9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9190 printf "%s\n" "$LDD" >&6; }
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 printf "%s\n" "no" >&6; }
9197 if test -n "$ac_tool_prefix"; then
9198 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9199 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201 printf %s
"checking for $ac_word... " >&6; }
9202 if test ${ac_cv_prog_OTOOL+y}
9204 printf %s
"(cached) " >&6
9206 if test -n "$OTOOL"; then
9207 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9213 case $as_dir in #(((
9216 *) as_dir
=$as_dir/ ;;
9218 for ac_exec_ext
in '' $ac_executable_extensions; do
9219 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9220 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9230 OTOOL
=$ac_cv_prog_OTOOL
9231 if test -n "$OTOOL"; then
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9233 printf "%s\n" "$OTOOL" >&6; }
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 printf "%s\n" "no" >&6; }
9241 if test -z "$ac_cv_prog_OTOOL"; then
9243 # Extract the first word of "otool", so it can be a program name with args.
9244 set dummy otool
; ac_word
=$2
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9246 printf %s
"checking for $ac_word... " >&6; }
9247 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9249 printf %s
"(cached) " >&6
9251 if test -n "$ac_ct_OTOOL"; then
9252 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9258 case $as_dir in #(((
9261 *) as_dir
=$as_dir/ ;;
9263 for ac_exec_ext
in '' $ac_executable_extensions; do
9264 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9265 ac_cv_prog_ac_ct_OTOOL
="otool"
9266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9275 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9276 if test -n "$ac_ct_OTOOL"; then
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9278 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 printf "%s\n" "no" >&6; }
9284 if test "x$ac_ct_OTOOL" = x
; then
9287 case $cross_compiling:$ac_tool_warned in
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9290 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9291 ac_tool_warned
=yes ;;
9296 OTOOL
="$ac_cv_prog_OTOOL"
9299 if test -n "$ac_tool_prefix"; then
9300 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9301 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9303 printf %s
"checking for $ac_word... " >&6; }
9304 if test ${ac_cv_prog_READELF+y}
9306 printf %s
"(cached) " >&6
9308 if test -n "$READELF"; then
9309 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9315 case $as_dir in #(((
9318 *) as_dir
=$as_dir/ ;;
9320 for ac_exec_ext
in '' $ac_executable_extensions; do
9321 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9322 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9332 READELF
=$ac_cv_prog_READELF
9333 if test -n "$READELF"; then
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9335 printf "%s\n" "$READELF" >&6; }
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 printf "%s\n" "no" >&6; }
9343 if test -z "$ac_cv_prog_READELF"; then
9344 ac_ct_READELF
=$READELF
9345 # Extract the first word of "readelf", so it can be a program name with args.
9346 set dummy readelf
; ac_word
=$2
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9348 printf %s
"checking for $ac_word... " >&6; }
9349 if test ${ac_cv_prog_ac_ct_READELF+y}
9351 printf %s
"(cached) " >&6
9353 if test -n "$ac_ct_READELF"; then
9354 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9360 case $as_dir in #(((
9363 *) as_dir
=$as_dir/ ;;
9365 for ac_exec_ext
in '' $ac_executable_extensions; do
9366 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_ac_ct_READELF
="readelf"
9368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9377 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9378 if test -n "$ac_ct_READELF"; then
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9380 printf "%s\n" "$ac_ct_READELF" >&6; }
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9383 printf "%s\n" "no" >&6; }
9386 if test "x$ac_ct_READELF" = x
; then
9389 case $cross_compiling:$ac_tool_warned in
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9392 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9393 ac_tool_warned
=yes ;;
9395 READELF
=$ac_ct_READELF
9398 READELF
="$ac_cv_prog_READELF"
9406 CONFIGURE_TARGETS
=""
9409 wine_fn_config_makefile
()
9411 as_fn_append SUBDIRS
" \\$as_nl $1"
9414 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9416 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9417 if test -n "$PE_ARCHS"
9421 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9424 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9427 case "$1, $PE_ARCHS " in
9428 programs
/*,*\ arm64ec\
*) as_fn_append arm64ec_DISABLED_SUBDIRS
" $1" ;;
9433 wine_fn_config_symlink
()
9436 as_fn_append wine_rules
"
9438 @./config.status \$@"
9439 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9446 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9447 if test "x$HOST_ARCH" = xi386
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9450 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9451 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9453 printf %s
"(cached) " >&6
9455 ac_wine_try_cflags_saved
=$CFLAGS
9456 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9461 if ac_fn_c_try_link
"$LINENO"
9463 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9465 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9467 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9468 conftest
$ac_exeext conftest.
$ac_ext
9469 CFLAGS
=$ac_wine_try_cflags_saved
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9472 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9473 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9475 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9478 enable_loader
=${enable_loader:-no}
9479 enable_server
=${enable_server:-no}
9480 with_x
=${with_x:-no}
9481 with_pthread
=${with_pthread:-no}
9486 DLLFLAGS
="$DLLFLAGS -fPIC"
9488 enable_winemac_drv
=${enable_winemac_drv:-yes}
9489 CARBON_LIBS
="-framework Carbon"
9491 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9493 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9495 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9497 METAL_LIBS
="-framework Metal"
9499 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9501 CORESERVICES_LIBS
="-framework CoreServices"
9503 APPKIT_LIBS
="-framework AppKit"
9505 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9507 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9510 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9513 i386|x86_64
) wine_can_build_preloader
=yes ;;
9514 *) wine_can_build_preloader
=no
;;
9517 if test "$wine_can_build_preloader" = "yes"
9519 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"
9520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9521 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9522 if test ${ac_cv_cflags__Wl__no_pie+y}
9524 printf %s
"(cached) " >&6
9526 ac_wine_try_cflags_saved
=$CFLAGS
9527 CFLAGS
="$CFLAGS -Wl,-no_pie"
9528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9530 int main(int argc, char **argv) { return 0; }
9532 if ac_fn_c_try_link
"$LINENO"
9534 ac_cv_cflags__Wl__no_pie
=yes
9536 ac_cv_cflags__Wl__no_pie
=no
9538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9539 conftest
$ac_exeext conftest.
$ac_ext
9540 CFLAGS
=$ac_wine_try_cflags_saved
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9543 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9544 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9546 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9550 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9553 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9556 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9558 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9561 if test "x$with_coreaudio" != "xno";
9563 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9565 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9567 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9569 OPENCL_LIBS
="-framework OpenCL"
9571 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9575 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9577 ac_cpp
='$OBJCPP $CPPFLAGS'
9578 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9579 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9580 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9583 ac_cpp
='$OBJCPP $CPPFLAGS'
9584 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9587 if test -n "$ac_tool_prefix"; then
9588 for ac_prog
in gcc objcc objc cc CC clang
9590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9591 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 printf %s
"checking for $ac_word... " >&6; }
9594 if test ${ac_cv_prog_OBJC+y}
9596 printf %s
"(cached) " >&6
9598 if test -n "$OBJC"; then
9599 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9605 case $as_dir in #(((
9608 *) as_dir
=$as_dir/ ;;
9610 for ac_exec_ext
in '' $ac_executable_extensions; do
9611 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9612 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9622 OBJC
=$ac_cv_prog_OBJC
9623 if test -n "$OBJC"; then
9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9625 printf "%s\n" "$OBJC" >&6; }
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 printf "%s\n" "no" >&6; }
9632 test -n "$OBJC" && break
9635 if test -z "$OBJC"; then
9637 for ac_prog
in gcc objcc objc cc CC clang
9639 # Extract the first word of "$ac_prog", so it can be a program name with args.
9640 set dummy
$ac_prog; ac_word
=$2
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9642 printf %s
"checking for $ac_word... " >&6; }
9643 if test ${ac_cv_prog_ac_ct_OBJC+y}
9645 printf %s
"(cached) " >&6
9647 if test -n "$ac_ct_OBJC"; then
9648 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9654 case $as_dir in #(((
9657 *) as_dir
=$as_dir/ ;;
9659 for ac_exec_ext
in '' $ac_executable_extensions; do
9660 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9661 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9671 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9672 if test -n "$ac_ct_OBJC"; then
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9674 printf "%s\n" "$ac_ct_OBJC" >&6; }
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 printf "%s\n" "no" >&6; }
9681 test -n "$ac_ct_OBJC" && break
9684 if test "x$ac_ct_OBJC" = x
; then
9687 case $cross_compiling:$ac_tool_warned in
9689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9690 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9691 ac_tool_warned
=yes ;;
9697 # Provide some information about the compiler.
9698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9701 for ac_option
in --version -v -V -qversion; do
9702 { { ac_try
="$ac_compiler $ac_option >&5"
9704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9705 *) ac_try_echo=$ac_try;;
9707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9708 printf "%s\n" "$ac_try_echo"; } >&5
9709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9711 if test -s conftest.err; then
9713 ... rest of stderr output deleted ...
9714 10q' conftest.err >conftest.er1
9715 cat conftest.er1 >&5
9717 rm -f conftest.er1 conftest.err
9718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9719 test $ac_status = 0; }
9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9723 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9724 if test ${ac_cv_objc_compiler_gnu+y}
9726 printf %s "(cached) " >&6
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9742 if ac_fn_objc_try_compile "$LINENO"
9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9749 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9753 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9754 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9756 if test $ac_compiler_gnu = yes; then
9761 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9762 ac_save_OBJCFLAGS=$OBJCFLAGS
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9764 printf %s "checking whether $OBJC accepts -g... " >&6; }
9765 if test ${ac_cv_prog_objc_g+y}
9767 printf %s "(cached) " >&6
9769 ac_save_objc_werror_flag=$ac_objc_werror_flag
9770 ac_objc_werror_flag=yes
9771 ac_cv_prog_objc_g=no
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9784 if ac_fn_objc_try_compile "$LINENO"
9786 ac_cv_prog_objc_g=yes
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9800 if ac_fn_objc_try_compile "$LINENO"
9804 ac_objc_werror_flag=$ac_save_objc_werror_flag
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9817 if ac_fn_objc_try_compile "$LINENO"
9819 ac_cv_prog_objc_g=yes
9821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9829 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9830 if test $ac_test_OBJCFLAGS; then
9831 OBJCFLAGS=$ac_save_OBJCFLAGS
9832 elif test $ac_cv_prog_objc_g = yes; then
9833 if test "$GOBJC" = yes; then
9839 if test "$GOBJC" = yes; then
9846 ac_cpp='$OBJCPP $CPPFLAGS'
9847 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 #include <Metal/Metal.h>
9858 id<MTLDevice> device; device.registryID;
9863 if ac_fn_objc_try_compile "$LINENO"
9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9866 printf "%s\n" "yes" >&6; }
9868 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9872 printf "%s\n" "no" >&6; }
9874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9876 ac_cpp='$CPP $CPPFLAGS'
9877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9882 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9883 WINELOADER_DEPENDS="wine_info.plist"
9889 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9891 DLLFLAGS="$DLLFLAGS -fPIC"
9893 LDEXECFLAGS="-Wl,-pie"
9894 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9896 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9897 if test ${ac_cv_cflags__Wl__z_defs+y}
9899 printf %s "(cached) " >&6
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 CFLAGS="$CFLAGS -Wl,-z,defs"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 int main(int argc, char **argv) { return 0; }
9907 if ac_fn_c_try_link "$LINENO"
9909 ac_cv_cflags__Wl__z_defs=yes
9911 ac_cv_cflags__Wl__z_defs=no
9913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9918 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9919 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9921 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9924 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9925 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9927 printf %s "(cached) " >&6
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9933 int main(int argc, char **argv) { return 0; }
9935 if ac_fn_c_try_link "$LINENO"
9937 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9939 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9942 conftest$ac_exeext conftest.$ac_ext
9943 CFLAGS=$ac_wine_try_cflags_saved
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9946 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9947 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9949 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9951 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9954 printf %s "checking for -lEGL... " >&6; }
9955 if test ${ac_cv_lib_soname_EGL+y}
9957 printf %s "(cached) " >&6
9959 ac_check_soname_save_LIBS=$LIBS
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9964 /* Override any GCC internal prototype to avoid an error.
9965 Use char because int might match the return type of a GCC
9966 builtin and then its argument prototype would still apply. */
9967 char eglGetProcAddress ();
9971 return eglGetProcAddress ();
9976 if ac_fn_c_try_link "$LINENO"
9979 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9982 if ${ac_cv_lib_soname_EGL:+false} :
9984 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 ac_cv_lib_soname_EGL=
9990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_EGL:+false} :
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9997 printf "%s\n" "not found" >&6; }
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10001 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10003 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10008 printf %s "checking for -lGLESv2... " >&6; }
10009 if test ${ac_cv_lib_soname_GLESv2+y}
10011 printf %s "(cached) " >&6
10013 ac_check_soname_save_LIBS=$LIBS
10014 LIBS="-lGLESv2 $LIBS"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10030 if ac_fn_c_try_link "$LINENO"
10033 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_GLESv2:+false} :
10038 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10042 ac_cv_lib_soname_GLESv2=
10044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_soname_save_LIBS
10048 if ${ac_cv_lib_soname_GLESv2:+false} :
10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10051 printf "%s\n" "not found" >&6; }
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10055 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10057 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10062 if test "x$exec_prefix" = xNONE
10065 i386) exec_prefix='${prefix}/x86' ;;
10066 x86_64) exec_prefix='${prefix}/x86_64' ;;
10067 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10068 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10075 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10077 if test $HOST_ARCH = i386
10079 DLLFLAGS="$DLLFLAGS -fno-PIC"
10080 LDDLLFLAGS="-fno-PIC"
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10082 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10083 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10085 printf %s "(cached) " >&6
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 int main(int argc, char **argv) { return 0; }
10093 if ac_fn_c_try_link "$LINENO"
10095 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10097 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10104 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10105 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10107 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10110 DLLFLAGS="$DLLFLAGS -fPIC"
10114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10115 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10116 if test ${ac_cv_wl_z_defs+y}
10118 printf %s "(cached) " >&6
10120 ac_save_CFLAGS="$CFLAGS"
10121 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10126 if ac_fn_c_try_link "$LINENO"
10128 ac_cv_wl_z_defs=yes
10132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_save_CFLAGS
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10137 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10138 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10141 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10142 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10144 printf %s "(cached) " >&6
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10150 int main(int argc, char **argv) { return 0; }
10152 if ac_fn_c_try_link "$LINENO"
10154 ac_cv_cflags__Wl___export_dynamic=yes
10156 ac_cv_cflags__Wl___export_dynamic=no
10158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10159 conftest$ac_exeext conftest.$ac_ext
10160 CFLAGS=$ac_wine_try_cflags_saved
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10163 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10164 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10166 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10168 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10172 as_fn_append WINELOADER_LDFLAGS " -pie"
10175 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10178 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10179 if test ${ac_cv_cflags__static_pie+y}
10181 printf %s "(cached) " >&6
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 CFLAGS="$CFLAGS -static-pie"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int main(int argc, char **argv) { return 0; }
10189 if ac_fn_c_try_link "$LINENO"
10191 ac_cv_cflags__static_pie=yes
10193 ac_cv_cflags__static_pie=no
10195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10200 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10201 if test "x$ac_cv_cflags__static_pie" = xyes
10203 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10205 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10214 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10215 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10217 printf %s "(cached) " >&6
10219 ac_wine_try_cflags_saved=$CFLAGS
10220 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int main(int argc, char **argv) { return 0; }
10225 if ac_fn_c_try_link "$LINENO"
10227 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10229 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10236 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10237 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10239 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10242 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10243 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10245 printf %s "(cached) " >&6
10247 ac_wine_try_cflags_saved=$CFLAGS
10248 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int main(int argc, char **argv) { return 0; }
10253 if ac_fn_c_try_link "$LINENO"
10255 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10257 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10260 conftest$ac_exeext conftest.$ac_ext
10261 CFLAGS=$ac_wine_try_cflags_saved
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10264 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10265 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10267 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10272 as_fn_append WINELOADER_LDFLAGS " -pie"
10280 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10281 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10282 enable_winemac_drv=${enable_winemac_drv:-no}
10287 if test ${enable_archs+y}
10289 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10292 set x $enable_archs
10298 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10299 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10303 if test "x$with_mingw" != xno
10305 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10310 saved_CFLAGS=$CFLAGS
10311 saved_LDFLAGS=$LDFLAGS
10313 for wine_arch in $cross_archs
10315 case "x$with_mingw" in
10316 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10318 if eval \${${wine_arch}_CC:+false} :
10322 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10324 # Extract the first word of "$ac_prog", so it can be a program name with args.
10325 set dummy $ac_prog; ac_word=$2
10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10327 printf %s "checking for $ac_word... " >&6; }
10328 if test ${ac_cv_prog_aarch64_CC+y}
10330 printf %s "(cached) " >&6
10332 if test -n "$aarch64_CC"; then
10333 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10336 for as_dir in $PATH
10339 case $as_dir in #(((
10342 *) as_dir=$as_dir/ ;;
10344 for ac_exec_ext in '' $ac_executable_extensions; do
10345 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10346 ac_cv_prog_aarch64_CC="$ac_prog"
10347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10356 aarch64_CC=$ac_cv_prog_aarch64_CC
10357 if test -n "$aarch64_CC"; then
10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10359 printf "%s\n" "$aarch64_CC" >&6; }
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10362 printf "%s\n" "no" >&6; }
10366 test -n "$aarch64_CC" && break
10368 test -n "$aarch64_CC" || aarch64_CC="false"
10372 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10374 # Extract the first word of "$ac_prog", so it can be a program name with args.
10375 set dummy $ac_prog; ac_word=$2
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 printf %s "checking for $ac_word... " >&6; }
10378 if test ${ac_cv_prog_arm64ec_CC+y}
10380 printf %s "(cached) " >&6
10382 if test -n "$arm64ec_CC"; then
10383 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10389 case $as_dir in #(((
10392 *) as_dir=$as_dir/ ;;
10394 for ac_exec_ext in '' $ac_executable_extensions; do
10395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10396 ac_cv_prog_arm64ec_CC="$ac_prog"
10397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10406 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10407 if test -n "$arm64ec_CC"; then
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10409 printf "%s\n" "$arm64ec_CC" >&6; }
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 printf "%s\n" "no" >&6; }
10416 test -n "$arm64ec_CC" && break
10418 test -n "$arm64ec_CC" || arm64ec_CC="false"
10422 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10424 # Extract the first word of "$ac_prog", so it can be a program name with args.
10425 set dummy $ac_prog; ac_word=$2
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 printf %s "checking for $ac_word... " >&6; }
10428 if test ${ac_cv_prog_arm_CC+y}
10430 printf %s "(cached) " >&6
10432 if test -n "$arm_CC"; then
10433 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 case $as_dir in #(((
10442 *) as_dir=$as_dir/ ;;
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_arm_CC="$ac_prog"
10447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456 arm_CC=$ac_cv_prog_arm_CC
10457 if test -n "$arm_CC"; then
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10459 printf "%s\n" "$arm_CC" >&6; }
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 printf "%s\n" "no" >&6; }
10466 test -n "$arm_CC" && break
10468 test -n "$arm_CC" || arm_CC="false"
10472 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 "
10473 for ac_prog in $ac_prefix_list clang
10475 # Extract the first word of "$ac_prog", so it can be a program name with args.
10476 set dummy $ac_prog; ac_word=$2
10477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 printf %s "checking for $ac_word... " >&6; }
10479 if test ${ac_cv_prog_i386_CC+y}
10481 printf %s "(cached) " >&6
10483 if test -n "$i386_CC"; then
10484 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10490 case $as_dir in #(((
10493 *) as_dir=$as_dir/ ;;
10495 for ac_exec_ext in '' $ac_executable_extensions; do
10496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10497 ac_cv_prog_i386_CC="$ac_prog"
10498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10507 i386_CC=$ac_cv_prog_i386_CC
10508 if test -n "$i386_CC"; then
10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10510 printf "%s\n" "$i386_CC" >&6; }
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10513 printf "%s\n" "no" >&6; }
10517 test -n "$i386_CC" && break
10519 test -n "$i386_CC" || i386_CC="false"
10523 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10524 for ac_prog in $ac_prefix_list clang
10526 # Extract the first word of "$ac_prog", so it can be a program name with args.
10527 set dummy $ac_prog; ac_word=$2
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10529 printf %s "checking for $ac_word... " >&6; }
10530 if test ${ac_cv_prog_x86_64_CC+y}
10532 printf %s "(cached) " >&6
10534 if test -n "$x86_64_CC"; then
10535 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10541 case $as_dir in #(((
10544 *) as_dir=$as_dir/ ;;
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_x86_64_CC="$ac_prog"
10549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10558 x86_64_CC=$ac_cv_prog_x86_64_CC
10559 if test -n "$x86_64_CC"; then
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10561 printf "%s\n" "$x86_64_CC" >&6; }
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10564 printf "%s\n" "no" >&6; }
10568 test -n "$x86_64_CC" && break
10570 test -n "$x86_64_CC" || x86_64_CC="false"
10576 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10577 LDFLAGS=$CROSSLDFLAGS
10578 eval CC=\$${wine_arch}_CC
10579 eval ${wine_arch}_CFLAGS=\$CFLAGS
10580 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10581 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10584 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10586 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10591 printf %s "checking whether $CC works... " >&6; }
10592 if eval test \${$as_wine_cv_crosscc+y}
10594 printf %s "(cached) " >&6
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10607 if ac_fn_c_try_compile "$LINENO"
10609 eval "$as_wine_cv_crosscc=yes"
10611 eval "$as_wine_cv_crosscc=no"
10613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10615 eval ac_res=\$$as_wine_cv_crosscc
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10617 printf "%s\n" "$ac_res" >&6; }
10619 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10623 while test $# -ge 1
10626 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10627 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10628 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10629 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10634 llvm_target=$target
10635 if test -z "$llvm_target"
10638 i386) llvm_target=i686-windows ;;
10639 arm) llvm_target=armv7-windows ;;
10640 *) llvm_target=$wine_arch-windows ;;
10643 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10644 llvm_extra_ldflags=""
10645 case $llvm_target in
10646 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10648 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10650 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10651 if eval test \${$as_ac_var+y}
10653 printf %s "(cached) " >&6
10655 ac_wine_try_cflags_saved=$CFLAGS
10656 ac_wine_try_cflags_saved_exeext=$ac_exeext
10657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 void *__os_arm64x_dispatch_ret = 0;
10662 int __cdecl mainCRTStartup(void) { return 0; }
10664 if ac_fn_c_try_link "$LINENO"
10666 eval "$as_ac_var=yes"
10668 eval "$as_ac_var=no"
10670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10671 conftest$ac_exeext conftest.$ac_ext
10672 CFLAGS=$ac_wine_try_cflags_saved
10673 ac_exeext=$ac_wine_try_cflags_saved_exeext
10675 eval ac_res=\$$as_ac_var
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10677 printf "%s\n" "$ac_res" >&6; }
10678 if eval test \"x\$"$as_ac_var"\" = x"yes"
10680 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10681 llvm_extra_ldflags="--no-default-config"
10683 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10685 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10686 if eval test \${$as_ac_var+y}
10688 printf %s "(cached) " >&6
10690 ac_wine_try_cflags_saved=$CFLAGS
10691 ac_wine_try_cflags_saved_exeext=$ac_exeext
10692 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10696 void *__os_arm64x_dispatch_ret = 0;
10697 int __cdecl mainCRTStartup(void) { return 0; }
10699 if ac_fn_c_try_link "$LINENO"
10701 eval "$as_ac_var=yes"
10703 eval "$as_ac_var=no"
10705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10706 conftest$ac_exeext conftest.$ac_ext
10707 CFLAGS=$ac_wine_try_cflags_saved
10708 ac_exeext=$ac_wine_try_cflags_saved_exeext
10710 eval ac_res=\$$as_ac_var
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10712 printf "%s\n" "$ac_res" >&6; }
10713 if eval test \"x\$"$as_ac_var"\" = x"yes"
10717 llvm_extra_cflags=""
10720 if test -n "$llvm_extra_cflags"
10722 target=$llvm_target
10723 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10724 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10725 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10726 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10728 eval "${wine_arch}_TARGET=\$target"
10732 if test -z "$target"
10734 if test ${enable_archs+y}
10736 as_fn_error $? "$wine_arch PE cross-compiler not found.
10737 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10742 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10745 printf %s "checking for $CC option to enable C99 features... " >&6; }
10746 if eval test \${$as_wine_cv_crosscc_c99+y}
10748 printf %s "(cached) " >&6
10750 eval "$as_wine_cv_crosscc_c99=no"
10751 for arg in '' '-std=gnu99' '-D__STDC__'
10753 test -z "$arg" || CC="$CC $arg"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 $ac_c_conftest_c99_program
10758 if ac_fn_c_try_compile "$LINENO"
10760 eval "$as_wine_cv_crosscc_c99=\$arg"
10762 eval "$as_wine_cv_crosscc_c99=no"
10764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10765 eval CC=\$${wine_arch}_CC
10766 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10775 eval res=\$$as_wine_cv_crosscc_c99
10778 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10779 printf "%s\n" "none needed" >&6; } ;;
10780 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10781 printf "%s\n" "unsupported" >&6; }
10782 if test ${enable_archs+y}
10784 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10785 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10789 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10790 printf "%s\n" "$res" >&6; }
10791 as_fn_append ${wine_arch}_CC " $res" ;;
10794 if test "x$wine_arch" = xi386
10798 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" |
$as_tr_sh`
10800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10801 printf %s "checking whether $CC supports SEH directives... " >&6; }
10802 if eval test \${$as_wine_cv_seh_support+y}
10804 printf %s "(cached) " >&6
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10817 if ac_fn_c_try_compile "$LINENO"
10819 eval "$as_wine_cv_seh_support=yes"
10821 eval "$as_wine_cv_seh_support=no"
10823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10825 eval ac_res=\$$as_wine_cv_seh_support
10826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10827 printf "%s\n" "$ac_res" >&6; }
10828 eval res=\$$as_wine_cv_seh_support
10830 if test "x$res" = xyes
10834 if test ${enable_archs+y}
10836 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10837 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10843 as_fn_append PE_ARCHS " $wine_arch"
10844 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10846 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10847 if eval test \${$as_ac_var+y}
10849 printf %s "(cached) " >&6
10851 ac_wine_try_cflags_saved=$CFLAGS
10852 ac_wine_try_cflags_saved_exeext=$ac_exeext
10853 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10857 void *__os_arm64x_dispatch_ret = 0;
10858 int __cdecl mainCRTStartup(void) { return 0; }
10860 if ac_fn_c_try_link "$LINENO"
10862 eval "$as_ac_var=yes"
10864 eval "$as_ac_var=no"
10866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10867 conftest$ac_exeext conftest.$ac_ext
10868 CFLAGS=$ac_wine_try_cflags_saved
10869 ac_exeext=$ac_wine_try_cflags_saved_exeext
10871 eval ac_res=\$$as_ac_var
10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10873 printf "%s\n" "$ac_res" >&6; }
10874 if eval test \"x\$"$as_ac_var"\" = x"yes"
10876 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10878 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10880 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10881 if eval test \${$as_ac_var+y}
10883 printf %s "(cached) " >&6
10885 ac_wine_try_cflags_saved=$CFLAGS
10886 ac_wine_try_cflags_saved_exeext=$ac_exeext
10887 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10891 void *__os_arm64x_dispatch_ret = 0;
10892 int __cdecl mainCRTStartup(void) { return 0; }
10894 if ac_fn_c_try_link "$LINENO"
10896 eval "$as_ac_var=yes"
10898 eval "$as_ac_var=no"
10900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10901 conftest$ac_exeext conftest.$ac_ext
10902 CFLAGS=$ac_wine_try_cflags_saved
10903 ac_exeext=$ac_wine_try_cflags_saved_exeext
10905 eval ac_res=\$$as_ac_var
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10907 printf "%s\n" "$ac_res" >&6; }
10908 if eval test \"x\$"$as_ac_var"\" = x"yes"
10910 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10912 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10914 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10915 if eval test \${$as_ac_var+y}
10917 printf %s "(cached) " >&6
10919 ac_wine_try_cflags_saved=$CFLAGS
10920 ac_wine_try_cflags_saved_exeext=$ac_exeext
10921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10925 void *__os_arm64x_dispatch_ret = 0;
10926 int __cdecl mainCRTStartup(void) { return 0; }
10928 if ac_fn_c_try_link "$LINENO"
10930 eval "$as_ac_var=yes"
10932 eval "$as_ac_var=no"
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 eval ac_res=\$$as_ac_var
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10941 printf "%s\n" "$ac_res" >&6; }
10942 if eval test \"x\$"$as_ac_var"\" = x"yes"
10944 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10948 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10949 if eval test \${$as_ac_var+y}
10951 printf %s "(cached) " >&6
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 void *__os_arm64x_dispatch_ret = 0;
10960 int __cdecl mainCRTStartup(void) { return 0; }
10962 if ac_fn_c_try_link "$LINENO"
10964 eval "$as_ac_var=yes"
10966 eval "$as_ac_var=no"
10968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10969 conftest$ac_exeext conftest.$ac_ext
10970 CFLAGS=$ac_wine_try_cflags_saved
10971 ac_exeext=$ac_wine_try_cflags_saved_exeext
10973 eval ac_res=\$$as_ac_var
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10975 printf "%s\n" "$ac_res" >&6; }
10976 if eval test \"x\$"$as_ac_var"\" = x"yes"
10978 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10980 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10982 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10983 if eval test \${$as_ac_var+y}
10985 printf %s "(cached) " >&6
10987 ac_wine_try_cflags_saved=$CFLAGS
10988 ac_wine_try_cflags_saved_exeext=$ac_exeext
10989 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10993 void *__os_arm64x_dispatch_ret = 0;
10994 int __cdecl mainCRTStartup(void) { return 0; }
10996 if ac_fn_c_try_link "$LINENO"
10998 eval "$as_ac_var=yes"
11000 eval "$as_ac_var=no"
11002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11003 conftest$ac_exeext conftest.$ac_ext
11004 CFLAGS=$ac_wine_try_cflags_saved
11005 ac_exeext=$ac_wine_try_cflags_saved_exeext
11007 eval ac_res=\$$as_ac_var
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11009 printf "%s\n" "$ac_res" >&6; }
11010 if eval test \"x\$"$as_ac_var"\" = x"yes"
11012 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11014 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11016 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11017 if eval test \${$as_ac_var+y}
11019 printf %s "(cached) " >&6
11021 ac_wine_try_cflags_saved=$CFLAGS
11022 ac_wine_try_cflags_saved_exeext=$ac_exeext
11023 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11027 void *__os_arm64x_dispatch_ret = 0;
11028 int __cdecl mainCRTStartup(void) { return 0; }
11030 if ac_fn_c_try_link "$LINENO"
11032 eval "$as_ac_var=yes"
11034 eval "$as_ac_var=no"
11036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11037 conftest$ac_exeext conftest.$ac_ext
11038 CFLAGS=$ac_wine_try_cflags_saved
11039 ac_exeext=$ac_wine_try_cflags_saved_exeext
11041 eval ac_res=\$$as_ac_var
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11043 printf "%s\n" "$ac_res" >&6; }
11044 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11048 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11050 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11051 if eval test \${$as_ac_var+y}
11053 printf %s "(cached) " >&6
11055 ac_wine_try_cflags_saved=$CFLAGS
11056 ac_wine_try_cflags_saved_exeext=$ac_exeext
11057 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 void *__os_arm64x_dispatch_ret = 0;
11062 int __cdecl mainCRTStartup(void) { return 0; }
11064 if ac_fn_c_try_link "$LINENO"
11066 eval "$as_ac_var=yes"
11068 eval "$as_ac_var=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 eval ac_res=\$$as_ac_var
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11077 printf "%s\n" "$ac_res" >&6; }
11078 if eval test \"x\$"$as_ac_var"\" = x"yes"
11080 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11082 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11084 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11085 if eval test \${$as_ac_var+y}
11087 printf %s "(cached) " >&6
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 void *__os_arm64x_dispatch_ret = 0;
11096 int __cdecl mainCRTStartup(void) { return 0; }
11098 if ac_fn_c_try_link "$LINENO"
11100 eval "$as_ac_var=yes"
11102 eval "$as_ac_var=no"
11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11105 conftest$ac_exeext conftest.$ac_ext
11106 CFLAGS=$ac_wine_try_cflags_saved
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 eval ac_res=\$$as_ac_var
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11111 printf "%s\n" "$ac_res" >&6; }
11112 if eval test \"x\$"$as_ac_var"\" = x"yes"
11114 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11116 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11118 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11119 if eval test \${$as_ac_var+y}
11121 printf %s "(cached) " >&6
11123 ac_wine_try_cflags_saved=$CFLAGS
11124 ac_wine_try_cflags_saved_exeext=$ac_exeext
11125 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 void *__os_arm64x_dispatch_ret = 0;
11130 int __cdecl mainCRTStartup(void) { return 0; }
11132 if ac_fn_c_try_link "$LINENO"
11134 eval "$as_ac_var=yes"
11136 eval "$as_ac_var=no"
11138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11139 conftest$ac_exeext conftest.$ac_ext
11140 CFLAGS=$ac_wine_try_cflags_saved
11141 ac_exeext=$ac_wine_try_cflags_saved_exeext
11143 eval ac_res=\$$as_ac_var
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11145 printf "%s\n" "$ac_res" >&6; }
11146 if eval test \"x\$"$as_ac_var"\" = x"yes"
11148 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11150 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11152 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11153 if eval test \${$as_ac_var+y}
11155 printf %s "(cached) " >&6
11157 ac_wine_try_cflags_saved=$CFLAGS
11158 ac_wine_try_cflags_saved_exeext=$ac_exeext
11159 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 void *__os_arm64x_dispatch_ret = 0;
11164 int __cdecl mainCRTStartup(void) { return 0; }
11166 if ac_fn_c_try_link "$LINENO"
11168 eval "$as_ac_var=yes"
11170 eval "$as_ac_var=no"
11172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11173 conftest$ac_exeext conftest.$ac_ext
11174 CFLAGS=$ac_wine_try_cflags_saved
11175 ac_exeext=$ac_wine_try_cflags_saved_exeext
11177 eval ac_res=\$$as_ac_var
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11179 printf "%s\n" "$ac_res" >&6; }
11180 if eval test \"x\$"$as_ac_var"\" = x"yes"
11182 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11184 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11186 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11187 if eval test \${$as_ac_var+y}
11189 printf %s "(cached) " >&6
11191 ac_wine_try_cflags_saved=$CFLAGS
11192 ac_wine_try_cflags_saved_exeext=$ac_exeext
11193 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11197 void *__os_arm64x_dispatch_ret = 0;
11198 int __cdecl mainCRTStartup(void) { return 0; }
11200 if ac_fn_c_try_link "$LINENO"
11202 eval "$as_ac_var=yes"
11204 eval "$as_ac_var=no"
11206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11207 conftest$ac_exeext conftest.$ac_ext
11208 CFLAGS=$ac_wine_try_cflags_saved
11209 ac_exeext=$ac_wine_try_cflags_saved_exeext
11211 eval ac_res=\$$as_ac_var
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11213 printf "%s\n" "$ac_res" >&6; }
11214 if eval test \"x\$"$as_ac_var"\" = x"yes"
11216 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11218 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11220 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11221 if eval test \${$as_ac_var+y}
11223 printf %s "(cached) " >&6
11225 ac_wine_try_cflags_saved=$CFLAGS
11226 ac_wine_try_cflags_saved_exeext=$ac_exeext
11227 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11231 void *__os_arm64x_dispatch_ret = 0;
11232 int __cdecl mainCRTStartup(void) { return 0; }
11234 if ac_fn_c_try_link "$LINENO"
11236 eval "$as_ac_var=yes"
11238 eval "$as_ac_var=no"
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 eval ac_res=\$$as_ac_var
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11247 printf "%s\n" "$ac_res" >&6; }
11248 if eval test \"x\$"$as_ac_var"\" = x"yes"
11250 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11252 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11254 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11255 if eval test \${$as_ac_var+y}
11257 printf %s "(cached) " >&6
11259 ac_wine_try_cflags_saved=$CFLAGS
11260 ac_wine_try_cflags_saved_exeext=$ac_exeext
11261 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 void *__os_arm64x_dispatch_ret = 0;
11266 int __cdecl mainCRTStartup(void) { return 0; }
11268 if ac_fn_c_try_link "$LINENO"
11270 eval "$as_ac_var=yes"
11272 eval "$as_ac_var=no"
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 eval ac_res=\$$as_ac_var
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11281 printf "%s\n" "$ac_res" >&6; }
11282 if eval test \"x\$"$as_ac_var"\" = x"yes"
11284 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11286 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11288 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11289 if eval test \${$as_ac_var+y}
11291 printf %s "(cached) " >&6
11293 ac_wine_try_cflags_saved=$CFLAGS
11294 ac_wine_try_cflags_saved_exeext=$ac_exeext
11295 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 void *__os_arm64x_dispatch_ret = 0;
11300 int __cdecl mainCRTStartup(void) { return 0; }
11302 if ac_fn_c_try_link "$LINENO"
11304 eval "$as_ac_var=yes"
11306 eval "$as_ac_var=no"
11308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11309 conftest$ac_exeext conftest.$ac_ext
11310 CFLAGS=$ac_wine_try_cflags_saved
11311 ac_exeext=$ac_wine_try_cflags_saved_exeext
11313 eval ac_res=\$$as_ac_var
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11315 printf "%s\n" "$ac_res" >&6; }
11316 if eval test \"x\$"$as_ac_var"\" = x"yes"
11318 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11320 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11322 printf %s "checking whether $CC supports -Wvla... " >&6; }
11323 if eval test \${$as_ac_var+y}
11325 printf %s "(cached) " >&6
11327 ac_wine_try_cflags_saved=$CFLAGS
11328 ac_wine_try_cflags_saved_exeext=$ac_exeext
11329 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11333 void *__os_arm64x_dispatch_ret = 0;
11334 int __cdecl mainCRTStartup(void) { return 0; }
11336 if ac_fn_c_try_link "$LINENO"
11338 eval "$as_ac_var=yes"
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11352 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11354 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11356 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11357 if eval test \${$as_ac_var+y}
11359 printf %s "(cached) " >&6
11361 ac_wine_try_cflags_saved=$CFLAGS
11362 ac_wine_try_cflags_saved_exeext=$ac_exeext
11363 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 void *__os_arm64x_dispatch_ret = 0;
11368 int __cdecl mainCRTStartup(void) { return 0; }
11370 if ac_fn_c_try_link "$LINENO"
11372 eval "$as_ac_var=yes"
11374 eval "$as_ac_var=no"
11376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11377 conftest$ac_exeext conftest.$ac_ext
11378 CFLAGS=$ac_wine_try_cflags_saved
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 eval ac_res=\$$as_ac_var
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11383 printf "%s\n" "$ac_res" >&6; }
11384 if eval test \"x\$"$as_ac_var"\" = x"yes"
11386 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11388 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11390 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11391 if eval test \${$as_ac_var+y}
11393 printf %s "(cached) " >&6
11395 ac_wine_try_cflags_saved=$CFLAGS
11396 ac_wine_try_cflags_saved_exeext=$ac_exeext
11397 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11401 void *__os_arm64x_dispatch_ret = 0;
11402 int __cdecl mainCRTStartup(void) { return 0; }
11404 if ac_fn_c_try_link "$LINENO"
11406 eval "$as_ac_var=yes"
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11420 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11422 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11424 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11425 if eval test \${$as_ac_var+y}
11427 printf %s "(cached) " >&6
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 void *__os_arm64x_dispatch_ret = 0;
11436 int __cdecl mainCRTStartup(void) { return 0; }
11438 if ac_fn_c_try_link "$LINENO"
11440 eval "$as_ac_var=yes"
11442 eval "$as_ac_var=no"
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 eval ac_res=\$$as_ac_var
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11451 printf "%s\n" "$ac_res" >&6; }
11452 if eval test \"x\$"$as_ac_var"\" = x"yes"
11454 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11456 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11458 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11459 if eval test \${$as_ac_var+y}
11461 printf %s "(cached) " >&6
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 void *__os_arm64x_dispatch_ret = 0;
11470 int __cdecl mainCRTStartup(void) { return 0; }
11472 if ac_fn_c_try_link "$LINENO"
11474 eval "$as_ac_var=yes"
11476 eval "$as_ac_var=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 eval ac_res=\$$as_ac_var
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11485 printf "%s\n" "$ac_res" >&6; }
11486 if eval test \"x\$"$as_ac_var"\" = x"yes"
11488 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11490 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" |
$as_tr_sh`
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11492 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11493 if eval test \${$as_ac_var+y}
11495 printf %s "(cached) " >&6
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 void *__os_arm64x_dispatch_ret = 0;
11504 int __cdecl mainCRTStartup(void) { return 0; }
11506 if ac_fn_c_try_link "$LINENO"
11508 eval "$as_ac_var=yes"
11510 eval "$as_ac_var=no"
11512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11513 conftest$ac_exeext conftest.$ac_ext
11514 CFLAGS=$ac_wine_try_cflags_saved
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 eval ac_res=\$$as_ac_var
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11519 printf "%s\n" "$ac_res" >&6; }
11520 if eval test \"x\$"$as_ac_var"\" = x"yes"
11524 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" |
$as_tr_sh`
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11526 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11527 if eval test \${$as_ac_var+y}
11529 printf %s "(cached) " >&6
11531 ac_wine_try_cflags_saved=$CFLAGS
11532 ac_wine_try_cflags_saved_exeext=$ac_exeext
11533 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 void *__os_arm64x_dispatch_ret = 0;
11538 int __cdecl mainCRTStartup(void) { return 0; }
11540 if ac_fn_c_try_link "$LINENO"
11542 eval "$as_ac_var=yes"
11544 eval "$as_ac_var=no"
11546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11547 conftest$ac_exeext conftest.$ac_ext
11548 CFLAGS=$ac_wine_try_cflags_saved
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 eval ac_res=\$$as_ac_var
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11553 printf "%s\n" "$ac_res" >&6; }
11554 if eval test \"x\$"$as_ac_var"\" = x"yes"
11556 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11560 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" |
$as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11562 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11563 if eval test \${$as_ac_var+y}
11565 printf %s "(cached) " >&6
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 void *__os_arm64x_dispatch_ret = 0;
11574 int __cdecl mainCRTStartup(void) { return 0; }
11576 if ac_fn_c_try_link "$LINENO"
11578 eval "$as_ac_var=yes"
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11592 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11596 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11598 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11599 if eval test \${$as_ac_var+y}
11601 printf %s "(cached) " >&6
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 void *__os_arm64x_dispatch_ret = 0;
11610 int __cdecl mainCRTStartup(void) { return 0; }
11612 if ac_fn_c_try_link "$LINENO"
11614 eval "$as_ac_var=yes"
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11628 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11630 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" |
$as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11632 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11633 if eval test \${$as_ac_var+y}
11635 printf %s "(cached) " >&6
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 void *__os_arm64x_dispatch_ret = 0;
11644 int __cdecl mainCRTStartup(void) { return 0; }
11646 if ac_fn_c_try_link "$LINENO"
11648 eval "$as_ac_var=yes"
11650 eval "$as_ac_var=no"
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 eval ac_res=\$$as_ac_var
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11659 printf "%s\n" "$ac_res" >&6; }
11660 if eval test \"x\$"$as_ac_var"\" = x"yes"
11662 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11664 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11666 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11667 if eval test \${$as_ac_var+y}
11669 printf %s "(cached) " >&6
11671 ac_wine_try_cflags_saved=$CFLAGS
11672 ac_wine_try_cflags_saved_exeext=$ac_exeext
11673 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 void *__os_arm64x_dispatch_ret = 0;
11678 int __cdecl mainCRTStartup(void) { return 0; }
11680 if ac_fn_c_try_link "$LINENO"
11682 eval "$as_ac_var=yes"
11684 eval "$as_ac_var=no"
11686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11687 conftest$ac_exeext conftest.$ac_ext
11688 CFLAGS=$ac_wine_try_cflags_saved
11689 ac_exeext=$ac_wine_try_cflags_saved_exeext
11691 eval ac_res=\$$as_ac_var
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11693 printf "%s\n" "$ac_res" >&6; }
11694 if eval test \"x\$"$as_ac_var"\" = x"yes"
11696 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11698 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11700 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11701 if eval test \${$as_ac_var+y}
11703 printf %s "(cached) " >&6
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 void *__os_arm64x_dispatch_ret = 0;
11712 int __cdecl mainCRTStartup(void) { return 0; }
11714 if ac_fn_c_try_link "$LINENO"
11716 eval "$as_ac_var=yes"
11718 eval "$as_ac_var=no"
11720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11721 conftest$ac_exeext conftest.$ac_ext
11722 CFLAGS=$ac_wine_try_cflags_saved
11723 ac_exeext=$ac_wine_try_cflags_saved_exeext
11725 eval ac_res=\$$as_ac_var
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11727 printf "%s\n" "$ac_res" >&6; }
11728 if eval test \"x\$"$as_ac_var"\" = x"yes"
11730 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11732 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11734 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11735 if eval test \${$as_ac_var+y}
11737 printf %s "(cached) " >&6
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_exeext=$ac_exeext
11741 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11745 void *__os_arm64x_dispatch_ret = 0;
11746 int __cdecl mainCRTStartup(void) { return 0; }
11748 if ac_fn_c_try_link "$LINENO"
11750 eval "$as_ac_var=yes"
11752 eval "$as_ac_var=no"
11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11755 conftest$ac_exeext conftest.$ac_ext
11756 CFLAGS=$ac_wine_try_cflags_saved
11757 ac_exeext=$ac_wine_try_cflags_saved_exeext
11759 eval ac_res=\$$as_ac_var
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11761 printf "%s\n" "$ac_res" >&6; }
11762 if eval test \"x\$"$as_ac_var"\" = x"yes"
11764 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11766 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11768 printf %s "checking whether $CC supports -mcx16... " >&6; }
11769 if eval test \${$as_ac_var+y}
11771 printf %s "(cached) " >&6
11773 ac_wine_try_cflags_saved=$CFLAGS
11774 ac_wine_try_cflags_saved_exeext=$ac_exeext
11775 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11779 void *__os_arm64x_dispatch_ret = 0;
11780 int __cdecl mainCRTStartup(void) { return 0; }
11782 if ac_fn_c_try_link "$LINENO"
11784 eval "$as_ac_var=yes"
11786 eval "$as_ac_var=no"
11788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11789 conftest$ac_exeext conftest.$ac_ext
11790 CFLAGS=$ac_wine_try_cflags_saved
11791 ac_exeext=$ac_wine_try_cflags_saved_exeext
11793 eval ac_res=\$$as_ac_var
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11795 printf "%s\n" "$ac_res" >&6; }
11796 if eval test \"x\$"$as_ac_var"\" = x"yes"
11798 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11800 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11802 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11803 if eval test \${$as_ac_var+y}
11805 printf %s "(cached) " >&6
11807 ac_wine_try_cflags_saved=$CFLAGS
11808 ac_wine_try_cflags_saved_exeext=$ac_exeext
11809 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11813 void *__os_arm64x_dispatch_ret = 0;
11814 int __cdecl mainCRTStartup(void) { return 0; }
11816 if ac_fn_c_try_link "$LINENO"
11818 eval "$as_ac_var=yes"
11820 eval "$as_ac_var=no"
11822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11823 conftest$ac_exeext conftest.$ac_ext
11824 CFLAGS=$ac_wine_try_cflags_saved
11825 ac_exeext=$ac_wine_try_cflags_saved_exeext
11827 eval ac_res=\$$as_ac_var
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11829 printf "%s\n" "$ac_res" >&6; }
11830 if eval test \"x\$"$as_ac_var"\" = x"yes"
11832 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11836 wine_crossdebug=$CROSSDEBUG
11837 if test -z "$wine_crossdebug"
11839 for ac_flag in $CFLAGS; do
11841 -gdwarf*) wine_crossdebug=dwarf ;;
11842 -gcodeview) wine_crossdebug=pdb ;;
11843 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11848 ac_debug_format_seen=""
11849 for ac_flag in $CFLAGS; do
11851 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11854 if test "x$ac_debug_format_seen" = x
11856 case $wine_crossdebug in
11857 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11859 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11860 if eval test \${$as_ac_var+y}
11862 printf %s "(cached) " >&6
11864 ac_wine_try_cflags_saved=$CFLAGS
11865 ac_wine_try_cflags_saved_exeext=$ac_exeext
11866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 void *__os_arm64x_dispatch_ret = 0;
11871 int __cdecl mainCRTStartup(void) { return 0; }
11873 if ac_fn_c_try_link "$LINENO"
11875 eval "$as_ac_var=yes"
11877 eval "$as_ac_var=no"
11879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11880 conftest$ac_exeext conftest.$ac_ext
11881 CFLAGS=$ac_wine_try_cflags_saved
11882 ac_exeext=$ac_wine_try_cflags_saved_exeext
11884 eval ac_res=\$$as_ac_var
11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11886 printf "%s\n" "$ac_res" >&6; }
11887 if eval test \"x\$"$as_ac_var"\" = x"yes"
11889 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11891 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11893 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11894 if eval test \${$as_ac_var+y}
11896 printf %s "(cached) " >&6
11898 ac_wine_try_cflags_saved=$CFLAGS
11899 ac_wine_try_cflags_saved_exeext=$ac_exeext
11900 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11904 void *__os_arm64x_dispatch_ret = 0;
11905 int __cdecl mainCRTStartup(void) { return 0; }
11907 if ac_fn_c_try_link "$LINENO"
11909 eval "$as_ac_var=yes"
11911 eval "$as_ac_var=no"
11913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11914 conftest$ac_exeext conftest.$ac_ext
11915 CFLAGS=$ac_wine_try_cflags_saved
11916 ac_exeext=$ac_wine_try_cflags_saved_exeext
11918 eval ac_res=\$$as_ac_var
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11920 printf "%s\n" "$ac_res" >&6; }
11921 if eval test \"x\$"$as_ac_var"\" = x"yes"
11923 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11927 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11929 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11931 printf %s "checking whether $CC supports -Werror... " >&6; }
11932 if eval test \${$as_ac_var+y}
11934 printf %s "(cached) " >&6
11936 ac_wine_try_cflags_saved=$CFLAGS
11937 ac_wine_try_cflags_saved_exeext=$ac_exeext
11938 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 void *__os_arm64x_dispatch_ret = 0;
11943 int __cdecl mainCRTStartup(void) { return 0; }
11945 if ac_fn_c_try_link "$LINENO"
11947 eval "$as_ac_var=yes"
11949 eval "$as_ac_var=no"
11951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11952 conftest$ac_exeext conftest.$ac_ext
11953 CFLAGS=$ac_wine_try_cflags_saved
11954 ac_exeext=$ac_wine_try_cflags_saved_exeext
11956 eval ac_res=\$$as_ac_var
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11958 printf "%s\n" "$ac_res" >&6; }
11959 if eval test \"x\$"$as_ac_var"\" = x"yes"
11961 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11963 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11965 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11966 if eval test \${$as_ac_var+y}
11968 printf %s "(cached) " >&6
11970 ac_wine_try_cflags_saved=$CFLAGS
11971 ac_wine_try_cflags_saved_exeext=$ac_exeext
11972 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11976 void *__os_arm64x_dispatch_ret = 0;
11977 int __cdecl mainCRTStartup(void) { return 0; }
11979 if ac_fn_c_try_link "$LINENO"
11981 eval "$as_ac_var=yes"
11983 eval "$as_ac_var=no"
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11986 conftest$ac_exeext conftest.$ac_ext
11987 CFLAGS=$ac_wine_try_cflags_saved
11988 ac_exeext=$ac_wine_try_cflags_saved_exeext
11990 eval ac_res=\$$as_ac_var
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11992 printf "%s\n" "$ac_res" >&6; }
11993 if eval test \"x\$"$as_ac_var"\" = x"yes"
11995 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11996 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12002 CFLAGS=$saved_CFLAGS
12003 LDFLAGS=$saved_LDFLAGS
12007 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
12012 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12014 if test "x$HOST_ARCH" = xi386
12016 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12018 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12020 for ac_prog in $ac_prefix_list
12022 # Extract the first word of "$ac_prog", so it can be a program name with args.
12023 set dummy $ac_prog; ac_word=$2
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025 printf %s "checking for $ac_word... " >&6; }
12026 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12028 printf %s "(cached) " >&6
12030 if test -n "$MINGW_PKG_CONFIG"; then
12031 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12034 for as_dir in $PATH
12037 case $as_dir in #(((
12040 *) as_dir=$as_dir/ ;;
12042 for ac_exec_ext in '' $ac_executable_extensions; do
12043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12054 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12055 if test -n "$MINGW_PKG_CONFIG"; then
12056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12057 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 printf "%s\n" "no" >&6; }
12064 test -n "$MINGW_PKG_CONFIG" && break
12066 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12068 if ${FAUDIO_PE_CFLAGS:+false} :
12070 if test ${MINGW_PKG_CONFIG+y}
12072 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12075 if ${FAUDIO_PE_LIBS:+false} :
12077 if test ${MINGW_PKG_CONFIG+y}
12079 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12082 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12086 printf %s "checking for MinGW FAudio.h... " >&6; }
12087 if test ${ac_cv_mingw_header_FAudio_h+y}
12089 printf %s "(cached) " >&6
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 eval CC=\$${wine_arch}_CC
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 #include <FAudio.h>
12107 if ac_fn_c_try_compile "$LINENO"
12109 ac_cv_mingw_header_FAudio_h=yes
12111 ac_cv_mingw_header_FAudio_h=no
12113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12118 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12119 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12122 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12123 if test ${ac_cv_mingw_lib_FAudio+y}
12125 printf %s "(cached) " >&6
12127 ac_wine_check_headers_saved_cc=$CC
12128 ac_wine_check_headers_saved_exeext=$ac_exeext
12129 ac_wine_check_headers_saved_libs=$LIBS
12130 eval CC=\$${wine_arch}_CC
12132 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 char FAudio_CommitOperationSet ();
12143 return FAudio_CommitOperationSet ();
12148 if ac_fn_c_try_link "$LINENO"
12150 ac_cv_mingw_lib_FAudio=yes
12152 ac_cv_mingw_lib_FAudio=no
12154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12155 conftest$ac_exeext conftest.$ac_ext
12156 CC=$ac_wine_check_headers_saved_cc
12157 ac_exeext=$ac_wine_check_headers_saved_exeext
12158 LIBS=$ac_wine_check_headers_saved_libs
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12161 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12162 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12166 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12169 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12173 if test "x$FAUDIO_PE_LIBS" = "x"
12175 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12178 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12180 if test ${MINGW_PKG_CONFIG+y}
12182 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12185 if ${FLUIDSYNTH_PE_LIBS:+false} :
12187 if test ${MINGW_PKG_CONFIG+y}
12189 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12192 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12193 ac_save_CPPFLAGS=$CPPFLAGS
12194 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12196 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12197 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12199 printf %s "(cached) " >&6
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12203 eval CC=\$${wine_arch}_CC
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 #include <fluidsynth.h>
12217 if ac_fn_c_try_compile "$LINENO"
12219 ac_cv_mingw_header_fluidsynth_h=yes
12221 ac_cv_mingw_header_fluidsynth_h=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12228 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12229 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12232 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12233 if test ${ac_cv_mingw_lib_fluidsynth+y}
12235 printf %s "(cached) " >&6
12237 ac_wine_check_headers_saved_cc=$CC
12238 ac_wine_check_headers_saved_exeext=$ac_exeext
12239 ac_wine_check_headers_saved_libs=$LIBS
12240 eval CC=\$${wine_arch}_CC
12242 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 char new_fluid_synth ();
12253 return new_fluid_synth ();
12258 if ac_fn_c_try_link "$LINENO"
12260 ac_cv_mingw_lib_fluidsynth=yes
12262 ac_cv_mingw_lib_fluidsynth=no
12264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12265 conftest$ac_exeext conftest.$ac_ext
12266 CC=$ac_wine_check_headers_saved_cc
12267 ac_exeext=$ac_wine_check_headers_saved_exeext
12268 LIBS=$ac_wine_check_headers_saved_libs
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12271 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12272 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12276 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12279 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12281 CPPFLAGS=$ac_save_CPPFLAGS
12283 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12285 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12288 if ${JPEG_PE_CFLAGS:+false} :
12290 if test ${MINGW_PKG_CONFIG+y}
12292 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12295 if ${JPEG_PE_LIBS:+false} :
12297 if test ${MINGW_PKG_CONFIG+y}
12299 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12306 printf %s "checking for MinGW jpeglib.h... " >&6; }
12307 if test ${ac_cv_mingw_header_jpeglib_h+y}
12309 printf %s "(cached) " >&6
12311 ac_wine_check_headers_saved_cc=$CC
12312 ac_wine_check_headers_saved_exeext=$ac_exeext
12313 eval CC=\$${wine_arch}_CC
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <stddef.h>
12319 #include <jpeglib.h>
12328 if ac_fn_c_try_compile "$LINENO"
12330 ac_cv_mingw_header_jpeglib_h=yes
12332 ac_cv_mingw_header_jpeglib_h=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12335 CC=$ac_wine_check_headers_saved_cc
12336 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12339 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12340 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12343 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12344 if test ${ac_cv_mingw_lib_jpeg+y}
12346 printf %s "(cached) " >&6
12348 ac_wine_check_headers_saved_cc=$CC
12349 ac_wine_check_headers_saved_exeext=$ac_exeext
12350 ac_wine_check_headers_saved_libs=$LIBS
12351 eval CC=\$${wine_arch}_CC
12353 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12360 char jpeg_start_decompress ();
12364 return jpeg_start_decompress ();
12369 if ac_fn_c_try_link "$LINENO"
12371 ac_cv_mingw_lib_jpeg=yes
12373 ac_cv_mingw_lib_jpeg=no
12375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12376 conftest$ac_exeext conftest.$ac_ext
12377 CC=$ac_wine_check_headers_saved_cc
12378 ac_exeext=$ac_wine_check_headers_saved_exeext
12379 LIBS=$ac_wine_check_headers_saved_libs
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12382 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12383 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12387 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12390 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12392 CPPFLAGS=$ac_save_CPPFLAGS
12394 if test "x$JPEG_PE_LIBS" = "x"
12396 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12399 if ${LCMS2_PE_CFLAGS:+false} :
12401 if test ${MINGW_PKG_CONFIG+y}
12403 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12406 if ${LCMS2_PE_LIBS:+false} :
12408 if test ${MINGW_PKG_CONFIG+y}
12410 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12413 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12414 ac_save_CPPFLAGS=$CPPFLAGS
12415 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12417 printf %s "checking for MinGW lcms2.h... " >&6; }
12418 if test ${ac_cv_mingw_header_lcms2_h+y}
12420 printf %s "(cached) " >&6
12422 ac_wine_check_headers_saved_cc=$CC
12423 ac_wine_check_headers_saved_exeext=$ac_exeext
12424 eval CC=\$${wine_arch}_CC
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12438 if ac_fn_c_try_compile "$LINENO"
12440 ac_cv_mingw_header_lcms2_h=yes
12442 ac_cv_mingw_header_lcms2_h=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12445 CC=$ac_wine_check_headers_saved_cc
12446 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12449 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12450 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12453 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12454 if test ${ac_cv_mingw_lib_lcms2+y}
12456 printf %s "(cached) " >&6
12458 ac_wine_check_headers_saved_cc=$CC
12459 ac_wine_check_headers_saved_exeext=$ac_exeext
12460 ac_wine_check_headers_saved_libs=$LIBS
12461 eval CC=\$${wine_arch}_CC
12463 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 char cmsOpenProfileFromFile ();
12474 return cmsOpenProfileFromFile ();
12479 if ac_fn_c_try_link "$LINENO"
12481 ac_cv_mingw_lib_lcms2=yes
12483 ac_cv_mingw_lib_lcms2=no
12485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12486 conftest$ac_exeext conftest.$ac_ext
12487 CC=$ac_wine_check_headers_saved_cc
12488 ac_exeext=$ac_wine_check_headers_saved_exeext
12489 LIBS=$ac_wine_check_headers_saved_libs
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12492 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12493 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12497 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12500 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12502 CPPFLAGS=$ac_save_CPPFLAGS
12504 if test "x$LCMS2_PE_LIBS" = "x"
12506 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12509 if ${MPG123_PE_CFLAGS:+false} :
12511 if test ${MINGW_PKG_CONFIG+y}
12513 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12516 if ${MPG123_PE_LIBS:+false} :
12518 if test ${MINGW_PKG_CONFIG+y}
12520 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12523 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12524 ac_save_CPPFLAGS=$CPPFLAGS
12525 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12527 printf %s "checking for MinGW mpg123.h... " >&6; }
12528 if test ${ac_cv_mingw_header_mpg123_h+y}
12530 printf %s "(cached) " >&6
12532 ac_wine_check_headers_saved_cc=$CC
12533 ac_wine_check_headers_saved_exeext=$ac_exeext
12534 eval CC=\$${wine_arch}_CC
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 #include <mpg123.h>
12548 if ac_fn_c_try_compile "$LINENO"
12550 ac_cv_mingw_header_mpg123_h=yes
12552 ac_cv_mingw_header_mpg123_h=no
12554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12555 CC=$ac_wine_check_headers_saved_cc
12556 ac_exeext=$ac_wine_check_headers_saved_exeext
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12559 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12560 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12563 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12564 if test ${ac_cv_mingw_lib_mpg123+y}
12566 printf %s "(cached) " >&6
12568 ac_wine_check_headers_saved_cc=$CC
12569 ac_wine_check_headers_saved_exeext=$ac_exeext
12570 ac_wine_check_headers_saved_libs=$LIBS
12571 eval CC=\$${wine_arch}_CC
12573 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 char mpg123_feed ();
12584 return mpg123_feed ();
12589 if ac_fn_c_try_link "$LINENO"
12591 ac_cv_mingw_lib_mpg123=yes
12593 ac_cv_mingw_lib_mpg123=no
12595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12596 conftest$ac_exeext conftest.$ac_ext
12597 CC=$ac_wine_check_headers_saved_cc
12598 ac_exeext=$ac_wine_check_headers_saved_exeext
12599 LIBS=$ac_wine_check_headers_saved_libs
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12602 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12603 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12607 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12610 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12612 CPPFLAGS=$ac_save_CPPFLAGS
12614 if test "x$MPG123_PE_LIBS" = "x"
12616 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12619 if ${PNG_PE_CFLAGS:+false} :
12621 if test ${MINGW_PKG_CONFIG+y}
12623 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12626 if ${PNG_PE_LIBS:+false} :
12628 if test ${MINGW_PKG_CONFIG+y}
12630 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12634 ac_save_CPPFLAGS=$CPPFLAGS
12635 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12637 printf %s "checking for MinGW png.h... " >&6; }
12638 if test ${ac_cv_mingw_header_png_h+y}
12640 printf %s "(cached) " >&6
12642 ac_wine_check_headers_saved_cc=$CC
12643 ac_wine_check_headers_saved_exeext=$ac_exeext
12644 eval CC=\$${wine_arch}_CC
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12658 if ac_fn_c_try_compile "$LINENO"
12660 ac_cv_mingw_header_png_h=yes
12662 ac_cv_mingw_header_png_h=no
12664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12665 CC=$ac_wine_check_headers_saved_cc
12666 ac_exeext=$ac_wine_check_headers_saved_exeext
12668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12669 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12670 if test "x$ac_cv_mingw_header_png_h" = xyes
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12673 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12674 if test ${ac_cv_mingw_lib_png+y}
12676 printf %s "(cached) " >&6
12678 ac_wine_check_headers_saved_cc=$CC
12679 ac_wine_check_headers_saved_exeext=$ac_exeext
12680 ac_wine_check_headers_saved_libs=$LIBS
12681 eval CC=\$${wine_arch}_CC
12683 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 /* Override any GCC internal prototype to avoid an error.
12688 Use char because int might match the return type of a GCC
12689 builtin and then its argument prototype would still apply. */
12690 char png_create_read_struct ();
12694 return png_create_read_struct ();
12699 if ac_fn_c_try_link "$LINENO"
12701 ac_cv_mingw_lib_png=yes
12703 ac_cv_mingw_lib_png=no
12705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12706 conftest$ac_exeext conftest.$ac_ext
12707 CC=$ac_wine_check_headers_saved_cc
12708 ac_exeext=$ac_wine_check_headers_saved_exeext
12709 LIBS=$ac_wine_check_headers_saved_libs
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12712 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12713 if test "x$ac_cv_mingw_lib_png" = xyes
12717 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12720 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12722 CPPFLAGS=$ac_save_CPPFLAGS
12724 if test "x$PNG_PE_LIBS" = "x"
12726 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12729 if ${TIFF_PE_CFLAGS:+false} :
12731 if test ${MINGW_PKG_CONFIG+y}
12733 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12736 if ${TIFF_PE_LIBS:+false} :
12738 if test ${MINGW_PKG_CONFIG+y}
12740 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12744 ac_save_CPPFLAGS=$CPPFLAGS
12745 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12747 printf %s "checking for MinGW tiffio.h... " >&6; }
12748 if test ${ac_cv_mingw_header_tiffio_h+y}
12750 printf %s "(cached) " >&6
12752 ac_wine_check_headers_saved_cc=$CC
12753 ac_wine_check_headers_saved_exeext=$ac_exeext
12754 eval CC=\$${wine_arch}_CC
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 #include <tiffio.h>
12768 if ac_fn_c_try_compile "$LINENO"
12770 ac_cv_mingw_header_tiffio_h=yes
12772 ac_cv_mingw_header_tiffio_h=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12775 CC=$ac_wine_check_headers_saved_cc
12776 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12779 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12780 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12783 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12784 if test ${ac_cv_mingw_lib_tiff+y}
12786 printf %s "(cached) " >&6
12788 ac_wine_check_headers_saved_cc=$CC
12789 ac_wine_check_headers_saved_exeext=$ac_exeext
12790 ac_wine_check_headers_saved_libs=$LIBS
12791 eval CC=\$${wine_arch}_CC
12793 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12800 char TIFFClientOpen ();
12804 return TIFFClientOpen ();
12809 if ac_fn_c_try_link "$LINENO"
12811 ac_cv_mingw_lib_tiff=yes
12813 ac_cv_mingw_lib_tiff=no
12815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12816 conftest$ac_exeext conftest.$ac_ext
12817 CC=$ac_wine_check_headers_saved_cc
12818 ac_exeext=$ac_wine_check_headers_saved_exeext
12819 LIBS=$ac_wine_check_headers_saved_libs
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12822 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12823 if test "x$ac_cv_mingw_lib_tiff" = xyes
12827 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12830 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12832 CPPFLAGS=$ac_save_CPPFLAGS
12834 if test "x$TIFF_PE_LIBS" = "x"
12836 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12839 if ${XML2_PE_CFLAGS:+false} :
12841 if test ${MINGW_PKG_CONFIG+y}
12843 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12846 if ${XML2_PE_LIBS:+false} :
12848 if test ${MINGW_PKG_CONFIG+y}
12850 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12853 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12854 ac_save_CPPFLAGS=$CPPFLAGS
12855 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12857 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12858 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12860 printf %s "(cached) " >&6
12862 ac_wine_check_headers_saved_cc=$CC
12863 ac_wine_check_headers_saved_exeext=$ac_exeext
12864 eval CC=\$${wine_arch}_CC
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 #include <libxml/parser.h>
12878 if ac_fn_c_try_compile "$LINENO"
12880 ac_cv_mingw_header_libxml_parser_h=yes
12882 ac_cv_mingw_header_libxml_parser_h=no
12884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12885 CC=$ac_wine_check_headers_saved_cc
12886 ac_exeext=$ac_wine_check_headers_saved_exeext
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12889 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12890 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12895 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12896 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12898 printf %s "(cached) " >&6
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 eval CC=\$${wine_arch}_CC
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 #include <libxml/xmlsave.h>
12916 if ac_fn_c_try_compile "$LINENO"
12918 ac_cv_mingw_header_libxml_xmlsave_h=yes
12920 ac_cv_mingw_header_libxml_xmlsave_h=no
12922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12923 CC=$ac_wine_check_headers_saved_cc
12924 ac_exeext=$ac_wine_check_headers_saved_exeext
12926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12927 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12928 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12933 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12934 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12936 printf %s "(cached) " >&6
12938 ac_wine_check_headers_saved_cc=$CC
12939 ac_wine_check_headers_saved_exeext=$ac_exeext
12940 eval CC=\$${wine_arch}_CC
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 #include <libxml/SAX2.h>
12954 if ac_fn_c_try_compile "$LINENO"
12956 ac_cv_mingw_header_libxml_SAX2_h=yes
12958 ac_cv_mingw_header_libxml_SAX2_h=no
12960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12961 CC=$ac_wine_check_headers_saved_cc
12962 ac_exeext=$ac_wine_check_headers_saved_exeext
12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12965 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12966 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12970 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"
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12973 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12974 if test ${ac_cv_mingw_lib_xml2+y}
12976 printf %s "(cached) " >&6
12978 ac_wine_check_headers_saved_cc=$CC
12979 ac_wine_check_headers_saved_exeext=$ac_exeext
12980 ac_wine_check_headers_saved_libs=$LIBS
12981 eval CC=\$${wine_arch}_CC
12983 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 char xmlFirstElementChild ();
12994 return xmlFirstElementChild ();
12999 if ac_fn_c_try_link "$LINENO"
13001 ac_cv_mingw_lib_xml2=yes
13003 ac_cv_mingw_lib_xml2=no
13005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13006 conftest$ac_exeext conftest.$ac_ext
13007 CC=$ac_wine_check_headers_saved_cc
13008 ac_exeext=$ac_wine_check_headers_saved_exeext
13009 LIBS=$ac_wine_check_headers_saved_libs
13011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13012 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13013 if test "x$ac_cv_mingw_lib_xml2" = xyes
13017 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13023 CPPFLAGS=$ac_save_CPPFLAGS
13025 if test "x$XML2_PE_LIBS" = "x"
13027 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13030 if ${XSLT_PE_CFLAGS:+false} :
13032 if test ${MINGW_PKG_CONFIG+y}
13034 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
13037 if ${XSLT_PE_LIBS:+false} :
13039 if test ${MINGW_PKG_CONFIG+y}
13041 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
13044 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13045 ac_save_CPPFLAGS=$CPPFLAGS
13046 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13048 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13049 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13051 printf %s "(cached) " >&6
13053 ac_wine_check_headers_saved_cc=$CC
13054 ac_wine_check_headers_saved_exeext=$ac_exeext
13055 eval CC=\$${wine_arch}_CC
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 #include <libxslt/pattern.h>
13069 if ac_fn_c_try_compile "$LINENO"
13071 ac_cv_mingw_header_libxslt_pattern_h=yes
13073 ac_cv_mingw_header_libxslt_pattern_h=no
13075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13076 CC=$ac_wine_check_headers_saved_cc
13077 ac_exeext=$ac_wine_check_headers_saved_exeext
13079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13080 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13081 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13086 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13087 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13089 printf %s "(cached) " >&6
13091 ac_wine_check_headers_saved_cc=$CC
13092 ac_wine_check_headers_saved_exeext=$ac_exeext
13093 eval CC=\$${wine_arch}_CC
13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13098 #include <libxslt/transform.h>
13107 if ac_fn_c_try_compile "$LINENO"
13109 ac_cv_mingw_header_libxslt_transform_h=yes
13111 ac_cv_mingw_header_libxslt_transform_h=no
13113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13114 CC=$ac_wine_check_headers_saved_cc
13115 ac_exeext=$ac_wine_check_headers_saved_exeext
13117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13118 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13119 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13123 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13126 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13127 if test ${ac_cv_mingw_lib_xslt+y}
13129 printf %s "(cached) " >&6
13131 ac_wine_check_headers_saved_cc=$CC
13132 ac_wine_check_headers_saved_exeext=$ac_exeext
13133 ac_wine_check_headers_saved_libs=$LIBS
13134 eval CC=\$${wine_arch}_CC
13136 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13143 char xsltCompilePattern ();
13147 return xsltCompilePattern ();
13152 if ac_fn_c_try_link "$LINENO"
13154 ac_cv_mingw_lib_xslt=yes
13156 ac_cv_mingw_lib_xslt=no
13158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13159 conftest$ac_exeext conftest.$ac_ext
13160 CC=$ac_wine_check_headers_saved_cc
13161 ac_exeext=$ac_wine_check_headers_saved_exeext
13162 LIBS=$ac_wine_check_headers_saved_libs
13164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13165 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13166 if test "x$ac_cv_mingw_lib_xslt" = xyes
13170 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13176 CPPFLAGS=$ac_save_CPPFLAGS
13178 if test "x$XSLT_PE_LIBS" = "x"
13180 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13183 if ${VKD3D_PE_CFLAGS:+false} :
13185 if test ${MINGW_PKG_CONFIG+y}
13187 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13190 if ${VKD3D_PE_LIBS:+false} :
13192 if test ${MINGW_PKG_CONFIG+y}
13194 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13197 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13198 ac_save_CPPFLAGS=$CPPFLAGS
13199 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13201 printf %s "checking for MinGW vkd3d.h... " >&6; }
13202 if test ${ac_cv_mingw_header_vkd3d_h+y}
13204 printf %s "(cached) " >&6
13206 ac_wine_check_headers_saved_cc=$CC
13207 ac_wine_check_headers_saved_exeext=$ac_exeext
13208 eval CC=\$${wine_arch}_CC
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13222 if ac_fn_c_try_compile "$LINENO"
13224 ac_cv_mingw_header_vkd3d_h=yes
13226 ac_cv_mingw_header_vkd3d_h=no
13228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13229 CC=$ac_wine_check_headers_saved_cc
13230 ac_exeext=$ac_wine_check_headers_saved_exeext
13232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13233 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13234 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13239 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13240 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13242 printf %s "(cached) " >&6
13244 ac_wine_check_headers_saved_cc=$CC
13245 ac_wine_check_headers_saved_exeext=$ac_exeext
13246 eval CC=\$${wine_arch}_CC
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 #include <vkd3d_shader.h>
13260 if ac_fn_c_try_compile "$LINENO"
13262 ac_cv_mingw_header_vkd3d_shader_h=yes
13264 ac_cv_mingw_header_vkd3d_shader_h=no
13266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13267 CC=$ac_wine_check_headers_saved_cc
13268 ac_exeext=$ac_wine_check_headers_saved_exeext
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13271 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13272 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13276 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13279 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13280 if test ${ac_cv_mingw_lib_vkd3d+y}
13282 printf %s "(cached) " >&6
13284 ac_wine_check_headers_saved_cc=$CC
13285 ac_wine_check_headers_saved_exeext=$ac_exeext
13286 ac_wine_check_headers_saved_libs=$LIBS
13287 eval CC=\$${wine_arch}_CC
13289 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13293 /* Override any GCC internal prototype to avoid an error.
13294 Use char because int might match the return type of a GCC
13295 builtin and then its argument prototype would still apply. */
13296 char vkd3d_set_log_callback ();
13300 return vkd3d_set_log_callback ();
13305 if ac_fn_c_try_link "$LINENO"
13307 ac_cv_mingw_lib_vkd3d=yes
13309 ac_cv_mingw_lib_vkd3d=no
13311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13312 conftest$ac_exeext conftest.$ac_ext
13313 CC=$ac_wine_check_headers_saved_cc
13314 ac_exeext=$ac_wine_check_headers_saved_exeext
13315 LIBS=$ac_wine_check_headers_saved_libs
13317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13318 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13319 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13326 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13327 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13329 printf %s "(cached) " >&6
13331 ac_wine_check_headers_saved_cc=$CC
13332 ac_wine_check_headers_saved_exeext=$ac_exeext
13333 ac_wine_check_headers_saved_libs=$LIBS
13334 eval CC=\$${wine_arch}_CC
13336 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 char vkd3d_shader_build_varying_map ();
13347 return vkd3d_shader_build_varying_map ();
13352 if ac_fn_c_try_link "$LINENO"
13354 ac_cv_mingw_lib_vkd3d_shader=yes
13356 ac_cv_mingw_lib_vkd3d_shader=no
13358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13359 conftest$ac_exeext conftest.$ac_ext
13360 CC=$ac_wine_check_headers_saved_cc
13361 ac_exeext=$ac_wine_check_headers_saved_exeext
13362 LIBS=$ac_wine_check_headers_saved_libs
13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13365 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13366 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13372 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13381 CPPFLAGS=$ac_save_CPPFLAGS
13383 if test "x$VKD3D_PE_LIBS" = "x"
13385 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13388 if ${ZLIB_PE_CFLAGS:+false} :
13390 if test ${MINGW_PKG_CONFIG+y}
13392 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13395 if ${ZLIB_PE_LIBS:+false} :
13397 if test ${MINGW_PKG_CONFIG+y}
13399 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13402 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13403 ac_save_CPPFLAGS=$CPPFLAGS
13404 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13406 printf %s "checking for MinGW zlib.h... " >&6; }
13407 if test ${ac_cv_mingw_header_zlib_h+y}
13409 printf %s "(cached) " >&6
13411 ac_wine_check_headers_saved_cc=$CC
13412 ac_wine_check_headers_saved_exeext=$ac_exeext
13413 eval CC=\$${wine_arch}_CC
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13427 if ac_fn_c_try_compile "$LINENO"
13429 ac_cv_mingw_header_zlib_h=yes
13431 ac_cv_mingw_header_zlib_h=no
13433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13434 CC=$ac_wine_check_headers_saved_cc
13435 ac_exeext=$ac_wine_check_headers_saved_exeext
13437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13438 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13439 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13442 printf %s "checking for inflate in MinGW -lz... " >&6; }
13443 if test ${ac_cv_mingw_lib_z+y}
13445 printf %s "(cached) " >&6
13447 ac_wine_check_headers_saved_cc=$CC
13448 ac_wine_check_headers_saved_exeext=$ac_exeext
13449 ac_wine_check_headers_saved_libs=$LIBS
13450 eval CC=\$${wine_arch}_CC
13452 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13468 if ac_fn_c_try_link "$LINENO"
13470 ac_cv_mingw_lib_z=yes
13472 ac_cv_mingw_lib_z=no
13474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13475 conftest$ac_exeext conftest.$ac_ext
13476 CC=$ac_wine_check_headers_saved_cc
13477 ac_exeext=$ac_wine_check_headers_saved_exeext
13478 LIBS=$ac_wine_check_headers_saved_libs
13480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13481 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13482 if test "x$ac_cv_mingw_lib_z" = xyes
13486 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13489 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13491 CPPFLAGS=$ac_save_CPPFLAGS
13493 if test "x$ZLIB_PE_LIBS" = "x"
13495 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13499 if ${FAUDIO_PE_LIBS:+false} :
13501 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13502 if ${FAUDIO_PE_CFLAGS:+false} :
13504 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13514 if ${FLUIDSYNTH_PE_LIBS:+false} :
13516 FLUIDSYNTH_PE_LIBS="fluidsynth"
13517 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13519 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13521 enable_fluidsynth=no
13524 enable_fluidsynth=no
13526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13529 if ${GSM_PE_LIBS:+false} :
13532 if ${GSM_PE_CFLAGS:+false} :
13534 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13544 if ${JPEG_PE_LIBS:+false} :
13547 if ${JPEG_PE_CFLAGS:+false} :
13549 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13559 if ${JXR_PE_LIBS:+false} :
13562 if ${JXR_PE_CFLAGS:+false} :
13564 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13574 if ${LCMS2_PE_LIBS:+false} :
13576 LCMS2_PE_LIBS=lcms2
13577 if ${LCMS2_PE_CFLAGS:+false} :
13579 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13589 if ${LDAP_PE_LIBS:+false} :
13592 if ${LDAP_PE_CFLAGS:+false} :
13594 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13604 if ${MPG123_PE_LIBS:+false} :
13606 MPG123_PE_LIBS=mpg123
13607 if ${MPG123_PE_CFLAGS:+false} :
13609 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13619 if ${MUSL_PE_LIBS:+false} :
13622 if ${MUSL_PE_CFLAGS:+false} :
13631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13634 if ${PNG_PE_LIBS:+false} :
13636 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13637 if ${PNG_PE_CFLAGS:+false} :
13639 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13649 if ${TIFF_PE_LIBS:+false} :
13651 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13652 if ${TIFF_PE_CFLAGS:+false} :
13654 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13664 if ${VKD3D_PE_LIBS:+false} :
13666 VKD3D_PE_LIBS=vkd3d
13667 if ${VKD3D_PE_CFLAGS:+false} :
13669 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13679 if ${XML2_PE_LIBS:+false} :
13682 if ${XML2_PE_CFLAGS:+false} :
13684 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13694 if ${XSLT_PE_LIBS:+false} :
13697 if ${XSLT_PE_CFLAGS:+false} :
13699 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13709 if ${ZLIB_PE_LIBS:+false} :
13712 if ${ZLIB_PE_CFLAGS:+false} :
13714 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13724 if ${ZYDIS_PE_LIBS:+false} :
13726 ZYDIS_PE_LIBS=zydis
13727 if ${ZYDIS_PE_CFLAGS:+false} :
13729 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13741 if test "x$with_pthread" = xno
13745 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13746 if test "x$ac_cv_func_pthread_create" = xyes
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13751 printf %s "checking for pthread_create in -lpthread... " >&6; }
13752 if test ${ac_cv_lib_pthread_pthread_create+y}
13754 printf %s "(cached) " >&6
13756 ac_check_lib_save_LIBS=$LIBS
13757 LIBS="-lpthread $LIBS"
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13761 /* Override any GCC internal prototype to avoid an error.
13762 Use char because int might match the return type of a GCC
13763 builtin and then its argument prototype would still apply. */
13764 char pthread_create ();
13768 return pthread_create ();
13773 if ac_fn_c_try_link "$LINENO"
13775 ac_cv_lib_pthread_pthread_create=yes
13777 ac_cv_lib_pthread_pthread_create=no
13779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_lib_save_LIBS
13783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13784 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13785 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13787 PTHREAD_LIBS="-lpthread"
13794 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13796 case "x$with_pthread" in
13798 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13799 Wine cannot support threads without libpthread.
13800 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13807 ac_cpp='$CPP $CPPFLAGS'
13808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13812 printf %s "checking how to run the C preprocessor... " >&6; }
13813 # On Suns, sometimes $CPP names a directory.
13814 if test -n "$CPP" && test -d "$CPP"; then
13817 if test -z "$CPP"; then
13818 if test ${ac_cv_prog_CPP+y}
13820 printf %s "(cached) " >&6
13822 # Double quotes because $CC needs to be expanded
13823 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13825 ac_preproc_ok=false
13826 for ac_c_preproc_warn_flag in '' yes
13828 # Use a header file that comes with gcc, so configuring glibc
13829 # with a fresh cross-compiler works.
13830 # On the NeXT, cc -E runs the code through the compiler's parser,
13831 # not just through cpp. "Syntax error" is here to catch this case.
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13834 #include <limits.h>
13837 if ac_fn_c_try_cpp "$LINENO"
13841 # Broken: fails on valid input.
13844 rm -f conftest.err conftest.i conftest.$ac_ext
13846 # OK, works on sane cases. Now check whether nonexistent headers
13847 # can be detected and how.
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 #include <ac_nonexistent.h>
13852 if ac_fn_c_try_cpp "$LINENO"
13854 # Broken: success on invalid input.
13857 # Passes both tests.
13861 rm -f conftest.err conftest.i conftest.$ac_ext
13864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13865 rm -f conftest.i conftest.err conftest.
$ac_ext
13872 ac_cv_prog_CPP
=$CPP
13875 CPP
=$ac_cv_prog_CPP
13877 ac_cv_prog_CPP
=$CPP
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13880 printf "%s\n" "$CPP" >&6; }
13881 ac_preproc_ok
=false
13882 for ac_c_preproc_warn_flag
in '' yes
13884 # Use a header file that comes with gcc, so configuring glibc
13885 # with a fresh cross-compiler works.
13886 # On the NeXT, cc -E runs the code through the compiler's parser,
13887 # not just through cpp. "Syntax error" is here to catch this case.
13888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 #include <limits.h>
13893 if ac_fn_c_try_cpp
"$LINENO"
13897 # Broken: fails on valid input.
13900 rm -f conftest.err conftest.i conftest.
$ac_ext
13902 # OK, works on sane cases. Now check whether nonexistent headers
13903 # can be detected and how.
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #include <ac_nonexistent.h>
13908 if ac_fn_c_try_cpp
"$LINENO"
13910 # Broken: success on invalid input.
13913 # Passes both tests.
13917 rm -f conftest.err conftest.i conftest.
$ac_ext
13920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13921 rm -f conftest.i conftest.err conftest.
$ac_ext
13926 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13927 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13928 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13929 See \`config.log' for more details" "$LINENO" 5; }
13933 ac_cpp
='$CPP $CPPFLAGS'
13934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13940 printf %s
"checking for X... " >&6; }
13943 # Check whether --with-x was given.
13944 if test ${with_x+y}
13949 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13950 if test "x$with_x" = xno
; then
13951 # The user explicitly disabled X.
13954 case $x_includes,$x_libraries in #(
13955 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13956 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13958 printf %s
"(cached) " >&6
13960 # One or both of the vars are not set, and there is no cached value.
13963 # Do we need to do anything special at all?
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 #include <X11/Xlib.h>
13977 if ac_fn_c_try_link
"$LINENO"
13979 # We can compile and link X programs with no special options.
13983 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 LIBS
="$ac_save_LIBS"
13986 # If that didn't work, only try xmkmf and file system searches
13987 # for native compilation.
13988 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13990 rm -f -r conftest.dir
13991 if mkdir conftest.dir
; then
13993 cat >Imakefile
<<'_ACEOF'
13995 @echo incroot='${INCROOT}'
13997 @echo usrlibdir='${USRLIBDIR}'
13999 @echo libdir='${LIBDIR}'
14001 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14002 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14003 for ac_var
in incroot usrlibdir libdir
; do
14004 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14006 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14007 for ac_extension
in a so sl dylib la dll
; do
14008 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14009 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14010 ac_im_usrlibdir
=$ac_im_libdir; break
14013 # Screen out bogus values from the imake configuration. They are
14014 # bogus both because they are the default anyway, and because
14015 # using them would break gcc on systems where it needs fixed includes.
14016 case $ac_im_incroot in
14017 /usr
/include
) ac_x_includes
= ;;
14018 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14020 case $ac_im_usrlibdir in
14021 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14022 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14026 rm -f -r conftest.dir
14029 # Standard set of common directories for X headers.
14030 # Check X11 before X11Rn because it is often a symlink to the current release.
14044 /usr/local/X11/include
14045 /usr/local/X11R7/include
14046 /usr/local/X11R6/include
14047 /usr/local/X11R5/include
14048 /usr/local/X11R4/include
14050 /usr/local/include/X11
14051 /usr/local/include/X11R7
14052 /usr/local/include/X11R6
14053 /usr/local/include/X11R5
14054 /usr/local/include/X11R4
14060 /usr/XFree86/include/X11
14064 /usr/unsupported/include
14065 /usr/athena/include
14066 /usr/local/x11r5/include
14067 /usr/lpp/Xamples/include
14069 /usr/openwin/include
14070 /usr/openwin/share/include'
14072 if test "$ac_x_includes" = no
; then
14073 # Guess where to find include files, by looking for Xlib.h.
14074 # First, try using that file with no special directory specified.
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 #include <X11/Xlib.h>
14079 if ac_fn_c_try_cpp
"$LINENO"
14081 # We can compile using X headers with no special include directory.
14084 for ac_dir
in $ac_x_header_dirs; do
14085 if test -r "$ac_dir/X11/Xlib.h"; then
14086 ac_x_includes
=$ac_dir
14091 rm -f conftest.err conftest.i conftest.
$ac_ext
14092 fi # $ac_x_includes = no
14094 if test "$ac_x_libraries" = no
; then
14095 # Check for the libraries.
14096 # See if we find them without any special options.
14097 # Don't add to $LIBS permanently.
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 #include <X11/Xlib.h>
14111 if ac_fn_c_try_link
"$LINENO"
14114 # We can link X programs with no special library path.
14118 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14120 # Don't even attempt the hair of trying to link an X program!
14121 for ac_extension
in a so sl dylib la dll
; do
14122 if test -r "$ac_dir/libX11.$ac_extension"; then
14123 ac_x_libraries
=$ac_dir
14129 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 fi # $ac_x_libraries = no
14134 # Record the results.
14135 case $ac_x_includes,$ac_x_libraries in #(
14136 no
,* |
*,no |
*\'*) :
14137 # Didn't find X, or a directory has "'" in its name.
14138 ac_cv_have_x
="have_x=no" ;; #(
14140 # Record where we found X for the cache.
14141 ac_cv_have_x
="have_x=yes\
14142 ac_x_includes='$ac_x_includes'\
14143 ac_x_libraries='$ac_x_libraries'" ;;
14149 eval "$ac_cv_have_x"
14152 if test "$have_x" != yes; then
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14154 printf "%s\n" "$have_x" >&6; }
14157 # If each of the values was on the command line, it overrides each guess.
14158 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14159 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14160 # Update the cache value to reflect the command line values.
14161 ac_cv_have_x
="have_x=yes\
14162 ac_x_includes='$x_includes'\
14163 ac_x_libraries='$x_libraries'"
14164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14165 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14168 if test "$no_x" = yes; then
14169 # Not all programs may use this symbol, but it does not hurt to define it.
14171 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14173 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14175 if test -n "$x_includes"; then
14176 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14179 # It would also be nice to do this for all -L options, not just this one.
14180 if test -n "$x_libraries"; then
14181 X_LIBS
="$X_LIBS -L$x_libraries"
14182 # For Solaris; some versions of Sun CC require a space after -R and
14183 # others require no space. Words are not sufficient . . . .
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14185 printf %s
"checking whether -R must be followed by a space... " >&6; }
14186 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14187 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14188 ac_c_werror_flag
=yes
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14200 if ac_fn_c_try_link
"$LINENO"
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14203 printf "%s\n" "no" >&6; }
14204 X_LIBS
="$X_LIBS -R$x_libraries"
14206 LIBS
="$ac_xsave_LIBS -R $x_libraries"
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: yes" >&5
14221 printf "%s\n" "yes" >&6; }
14222 X_LIBS
="$X_LIBS -R $x_libraries"
14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14225 printf "%s\n" "neither works" >&6; }
14227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14228 conftest
$ac_exeext conftest.
$ac_ext
14230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14231 conftest
$ac_exeext conftest.
$ac_ext
14232 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14233 LIBS
=$ac_xsave_LIBS
14236 # Check for system-dependent libraries X programs must link with.
14237 # Do this before checking for the system-independent R6 libraries
14238 # (-lICE), since we may need -lsocket or whatever for X linking.
14240 if test "$ISC" = yes; then
14241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14243 # Martyn Johnson says this is needed for Ultrix, if the X
14244 # libraries were built with DECnet support. And Karl Berry says
14245 # the Alpha needs dnet_stub (dnet does not exist).
14246 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14250 /* Override any GCC internal prototype to avoid an error.
14251 Use char because int might match the return type of a GCC
14252 builtin and then its argument prototype would still apply. */
14253 char XOpenDisplay ();
14257 return XOpenDisplay ();
14262 if ac_fn_c_try_link
"$LINENO"
14266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14267 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14268 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14270 printf %s
"(cached) " >&6
14272 ac_check_lib_save_LIBS
=$LIBS
14273 LIBS
="-ldnet $LIBS"
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14277 /* Override any GCC internal prototype to avoid an error.
14278 Use char because int might match the return type of a GCC
14279 builtin and then its argument prototype would still apply. */
14284 return dnet_ntoa ();
14289 if ac_fn_c_try_link
"$LINENO"
14291 ac_cv_lib_dnet_dnet_ntoa
=yes
14293 ac_cv_lib_dnet_dnet_ntoa
=no
14295 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14296 conftest
$ac_exeext conftest.
$ac_ext
14297 LIBS
=$ac_check_lib_save_LIBS
14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14300 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14301 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14303 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14306 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14308 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14309 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14311 printf %s
"(cached) " >&6
14313 ac_check_lib_save_LIBS
=$LIBS
14314 LIBS
="-ldnet_stub $LIBS"
14315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14318 /* Override any GCC internal prototype to avoid an error.
14319 Use char because int might match the return type of a GCC
14320 builtin and then its argument prototype would still apply. */
14325 return dnet_ntoa ();
14330 if ac_fn_c_try_link
"$LINENO"
14332 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14334 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14337 conftest
$ac_exeext conftest.
$ac_ext
14338 LIBS
=$ac_check_lib_save_LIBS
14340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14341 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14342 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14349 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14350 conftest
$ac_exeext conftest.
$ac_ext
14351 LIBS
="$ac_xsave_LIBS"
14353 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14354 # to get the SysV transport functions.
14355 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14357 # The nsl library prevents programs from opening the X display
14358 # on Irix 5.2, according to T.E. Dickey.
14359 # The functions gethostbyname, getservbyname, and inet_addr are
14360 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14361 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14362 if test "x$ac_cv_func_gethostbyname" = xyes
14367 if test $ac_cv_func_gethostbyname = no
; then
14368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14369 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14370 if test ${ac_cv_lib_nsl_gethostbyname+y}
14372 printf %s
"(cached) " >&6
14374 ac_check_lib_save_LIBS
=$LIBS
14376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply. */
14382 char gethostbyname ();
14386 return gethostbyname ();
14391 if ac_fn_c_try_link
"$LINENO"
14393 ac_cv_lib_nsl_gethostbyname
=yes
14395 ac_cv_lib_nsl_gethostbyname
=no
14397 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 LIBS
=$ac_check_lib_save_LIBS
14401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14402 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14403 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14408 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14410 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14411 if test ${ac_cv_lib_bsd_gethostbyname+y}
14413 printf %s
"(cached) " >&6
14415 ac_check_lib_save_LIBS
=$LIBS
14417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14423 char gethostbyname ();
14427 return gethostbyname ();
14432 if ac_fn_c_try_link
"$LINENO"
14434 ac_cv_lib_bsd_gethostbyname
=yes
14436 ac_cv_lib_bsd_gethostbyname
=no
14438 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14439 conftest
$ac_exeext conftest.
$ac_ext
14440 LIBS
=$ac_check_lib_save_LIBS
14442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14443 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14444 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14452 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14453 # socket/setsockopt and other routines are undefined under SCO ODT
14454 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14455 # on later versions), says Simon Leinen: it contains gethostby*
14456 # variants that don't use the name server (or something). -lsocket
14457 # must be given before -lnsl if both are needed. We assume that
14458 # if connect needs -lnsl, so does gethostbyname.
14459 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14460 if test "x$ac_cv_func_connect" = xyes
14465 if test $ac_cv_func_connect = no
; then
14466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14467 printf %s
"checking for connect in -lsocket... " >&6; }
14468 if test ${ac_cv_lib_socket_connect+y}
14470 printf %s
"(cached) " >&6
14472 ac_check_lib_save_LIBS
=$LIBS
14473 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14489 if ac_fn_c_try_link
"$LINENO"
14491 ac_cv_lib_socket_connect
=yes
14493 ac_cv_lib_socket_connect
=no
14495 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14496 conftest
$ac_exeext conftest.
$ac_ext
14497 LIBS
=$ac_check_lib_save_LIBS
14499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14500 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14501 if test "x$ac_cv_lib_socket_connect" = xyes
14503 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14508 # Guillermo Gomez says -lposix is necessary on A/UX.
14509 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14510 if test "x$ac_cv_func_remove" = xyes
14515 if test $ac_cv_func_remove = no
; then
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14517 printf %s
"checking for remove in -lposix... " >&6; }
14518 if test ${ac_cv_lib_posix_remove+y}
14520 printf %s
"(cached) " >&6
14522 ac_check_lib_save_LIBS
=$LIBS
14523 LIBS
="-lposix $LIBS"
14524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14539 if ac_fn_c_try_link
"$LINENO"
14541 ac_cv_lib_posix_remove
=yes
14543 ac_cv_lib_posix_remove
=no
14545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14546 conftest
$ac_exeext conftest.
$ac_ext
14547 LIBS
=$ac_check_lib_save_LIBS
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14550 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14551 if test "x$ac_cv_lib_posix_remove" = xyes
14553 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14558 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14559 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14560 if test "x$ac_cv_func_shmat" = xyes
14565 if test $ac_cv_func_shmat = no
; then
14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14567 printf %s
"checking for shmat in -lipc... " >&6; }
14568 if test ${ac_cv_lib_ipc_shmat+y}
14570 printf %s
"(cached) " >&6
14572 ac_check_lib_save_LIBS
=$LIBS
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14577 /* Override any GCC internal prototype to avoid an error.
14578 Use char because int might match the return type of a GCC
14579 builtin and then its argument prototype would still apply. */
14589 if ac_fn_c_try_link
"$LINENO"
14591 ac_cv_lib_ipc_shmat
=yes
14593 ac_cv_lib_ipc_shmat
=no
14595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14596 conftest
$ac_exeext conftest.
$ac_ext
14597 LIBS
=$ac_check_lib_save_LIBS
14599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14600 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14601 if test "x$ac_cv_lib_ipc_shmat" = xyes
14603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14609 # Check for libraries that X11R6 Xt/Xaw programs need.
14610 ac_save_LDFLAGS
=$LDFLAGS
14611 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14612 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14613 # check for ICE first), but we must link in the order -lSM -lICE or
14614 # we get undefined symbols. So assume we have SM if we have ICE.
14615 # These have to be linked with before -lX11, unlike the other
14616 # libraries we check for below, so use a different variable.
14617 # John Interrante, Karl Berry
14618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14619 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14620 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14622 printf %s
"(cached) " >&6
14624 ac_check_lib_save_LIBS
=$LIBS
14625 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 char IceConnectionNumber ();
14636 return IceConnectionNumber ();
14641 if ac_fn_c_try_link
"$LINENO"
14643 ac_cv_lib_ICE_IceConnectionNumber
=yes
14645 ac_cv_lib_ICE_IceConnectionNumber
=no
14647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14648 conftest
$ac_exeext conftest.
$ac_ext
14649 LIBS
=$ac_check_lib_save_LIBS
14651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14652 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14653 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14655 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14658 LDFLAGS
=$ac_save_LDFLAGS
14663 if test "$have_x" = "yes"
14665 ac_save_CPPFLAGS
="$CPPFLAGS"
14666 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14669 printf %s
"checking for -lX11... " >&6; }
14670 if test ${ac_cv_lib_soname_X11+y}
14672 printf %s
"(cached) " >&6
14674 ac_check_soname_save_LIBS
=$LIBS
14675 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14679 /* Override any GCC internal prototype to avoid an error.
14680 Use char because int might match the return type of a GCC
14681 builtin and then its argument prototype would still apply. */
14682 char XCreateWindow ();
14686 return XCreateWindow ();
14691 if ac_fn_c_try_link
"$LINENO"
14694 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14695 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'` ;;
14696 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14697 if ${ac_cv_lib_soname_X11:+false} :
14699 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14703 ac_cv_lib_soname_X11
=
14705 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14706 conftest
$ac_exeext conftest.
$ac_ext
14707 LIBS
=$ac_check_soname_save_LIBS
14709 if ${ac_cv_lib_soname_X11:+false} :
14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14712 printf "%s\n" "not found" >&6; }
14715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14716 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14718 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14723 printf %s
"checking for -lXext... " >&6; }
14724 if test ${ac_cv_lib_soname_Xext+y}
14726 printf %s
"(cached) " >&6
14728 ac_check_soname_save_LIBS
=$LIBS
14729 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XextCreateExtension ();
14740 return XextCreateExtension ();
14745 if ac_fn_c_try_link
"$LINENO"
14748 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14749 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'` ;;
14750 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14751 if ${ac_cv_lib_soname_Xext:+false} :
14753 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14757 ac_cv_lib_soname_Xext
=
14759 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14760 conftest
$ac_exeext conftest.
$ac_ext
14761 LIBS
=$ac_check_soname_save_LIBS
14763 if ${ac_cv_lib_soname_Xext:+false} :
14765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14766 printf "%s\n" "not found" >&6; }
14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14770 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14772 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14774 X_LIBS
="$X_LIBS -lXext"
14776 X_LIBS
="$X_LIBS -lX11"
14778 xlib_includes
="#include <X11/Xlib.h>
14779 #include <X11/Xutil.h>"
14781 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14783 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14785 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14788 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14790 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14792 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14795 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14797 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14799 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14802 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14804 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14806 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14809 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14811 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14813 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14816 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14818 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14820 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14823 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14825 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14827 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14830 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14832 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14834 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14837 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14839 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14841 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14846 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14848 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14851 printf %s
"checking for -lXcursor... " >&6; }
14852 if test ${ac_cv_lib_soname_Xcursor+y}
14854 printf %s
"(cached) " >&6
14856 ac_check_soname_save_LIBS
=$LIBS
14857 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14864 char XcursorImageLoadCursor ();
14868 return XcursorImageLoadCursor ();
14873 if ac_fn_c_try_link
"$LINENO"
14876 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14877 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'` ;;
14878 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14879 if ${ac_cv_lib_soname_Xcursor:+false} :
14881 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14885 ac_cv_lib_soname_Xcursor
=
14887 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14888 conftest
$ac_exeext conftest.
$ac_ext
14889 LIBS
=$ac_check_soname_save_LIBS
14891 if ${ac_cv_lib_soname_Xcursor:+false} :
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14894 printf "%s\n" "not found" >&6; }
14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14898 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14900 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14906 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14908 case "x$with_xcursor" in
14909 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14911 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14912 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14917 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14919 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14922 printf %s
"checking for -lXi... " >&6; }
14923 if test ${ac_cv_lib_soname_Xi+y}
14925 printf %s
"(cached) " >&6
14927 ac_check_soname_save_LIBS
=$LIBS
14928 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14932 /* Override any GCC internal prototype to avoid an error.
14933 Use char because int might match the return type of a GCC
14934 builtin and then its argument prototype would still apply. */
14935 char XOpenDevice ();
14939 return XOpenDevice ();
14944 if ac_fn_c_try_link
"$LINENO"
14947 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14948 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'` ;;
14949 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14950 if ${ac_cv_lib_soname_Xi:+false} :
14952 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14956 ac_cv_lib_soname_Xi
=
14958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14959 conftest
$ac_exeext conftest.
$ac_ext
14960 LIBS
=$ac_check_soname_save_LIBS
14962 if ${ac_cv_lib_soname_Xi:+false} :
14964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14965 printf "%s\n" "not found" >&6; }
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14969 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14971 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14977 if test "x$ac_cv_lib_soname_Xi" = "x"
14979 case "x$with_xinput" in
14980 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14982 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14983 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14988 if test "x$ac_cv_lib_soname_Xi" != x
14990 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14992 case "x$with_xinput2" in
14993 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14995 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14996 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15002 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15005 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
15006 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15008 printf %s
"(cached) " >&6
15010 ac_check_lib_save_LIBS
=$LIBS
15011 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 char XShmQueryExtension ();
15022 return XShmQueryExtension ();
15027 if ac_fn_c_try_link
"$LINENO"
15029 ac_cv_lib_Xext_XShmQueryExtension
=yes
15031 ac_cv_lib_Xext_XShmQueryExtension
=no
15033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15034 conftest
$ac_exeext conftest.
$ac_ext
15035 LIBS
=$ac_check_lib_save_LIBS
15037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15038 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15039 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15042 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15047 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15049 case "x$with_xshm" in
15050 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15052 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15053 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15058 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15061 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15062 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15064 printf %s
"(cached) " >&6
15066 ac_check_lib_save_LIBS
=$LIBS
15067 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 char XShapeQueryExtension ();
15078 return XShapeQueryExtension ();
15083 if ac_fn_c_try_link
"$LINENO"
15085 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15087 ac_cv_lib_Xext_XShapeQueryExtension
=no
15089 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15090 conftest
$ac_exeext conftest.
$ac_ext
15091 LIBS
=$ac_check_lib_save_LIBS
15093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15094 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15095 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15098 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15103 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15105 case "x$with_xshape" in
15106 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15108 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15109 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15114 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15117 printf %s
"checking for -lXxf86vm... " >&6; }
15118 if test ${ac_cv_lib_soname_Xxf86vm+y}
15120 printf %s
"(cached) " >&6
15122 ac_check_soname_save_LIBS
=$LIBS
15123 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XF86VidModeQueryExtension ();
15134 return XF86VidModeQueryExtension ();
15139 if ac_fn_c_try_link
"$LINENO"
15142 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15143 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'` ;;
15144 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15145 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15147 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15151 ac_cv_lib_soname_Xxf86vm
=
15153 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15154 conftest
$ac_exeext conftest.
$ac_ext
15155 LIBS
=$ac_check_soname_save_LIBS
15157 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 printf "%s\n" "not found" >&6; }
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15164 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15166 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15171 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15173 case "x$with_xxf86vm" in
15174 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15176 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15177 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15182 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15185 printf %s
"checking for -lXrender... " >&6; }
15186 if test ${ac_cv_lib_soname_Xrender+y}
15188 printf %s
"(cached) " >&6
15190 ac_check_soname_save_LIBS
=$LIBS
15191 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15195 /* Override any GCC internal prototype to avoid an error.
15196 Use char because int might match the return type of a GCC
15197 builtin and then its argument prototype would still apply. */
15198 char XRenderQueryExtension ();
15202 return XRenderQueryExtension ();
15207 if ac_fn_c_try_link
"$LINENO"
15210 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15211 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'` ;;
15212 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15213 if ${ac_cv_lib_soname_Xrender:+false} :
15215 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15219 ac_cv_lib_soname_Xrender
=
15221 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15222 conftest
$ac_exeext conftest.
$ac_ext
15223 LIBS
=$ac_check_soname_save_LIBS
15225 if ${ac_cv_lib_soname_Xrender:+false} :
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15228 printf "%s\n" "not found" >&6; }
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15232 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15234 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15237 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15238 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15240 printf %s
"(cached) " >&6
15242 ac_check_lib_save_LIBS
=$LIBS
15243 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15247 /* Override any GCC internal prototype to avoid an error.
15248 Use char because int might match the return type of a GCC
15249 builtin and then its argument prototype would still apply. */
15250 char XRenderSetPictureTransform ();
15254 return XRenderSetPictureTransform ();
15259 if ac_fn_c_try_link
"$LINENO"
15261 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15263 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15266 conftest
$ac_exeext conftest.
$ac_ext
15267 LIBS
=$ac_check_lib_save_LIBS
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15270 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15271 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15274 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15279 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15280 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15282 printf %s
"(cached) " >&6
15284 ac_check_lib_save_LIBS
=$LIBS
15285 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15292 char XRenderCreateLinearGradient ();
15296 return XRenderCreateLinearGradient ();
15301 if ac_fn_c_try_link
"$LINENO"
15303 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15305 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15308 conftest
$ac_exeext conftest.
$ac_ext
15309 LIBS
=$ac_check_lib_save_LIBS
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15312 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15313 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15316 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15323 if test "x$ac_cv_lib_soname_Xrender" = "x"
15325 case "x$with_xrender" in
15326 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15328 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15329 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15334 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 #include <X11/Xlib.h>
15339 #include <X11/extensions/Xrandr.h>
15343 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15348 if ac_fn_c_try_compile
"$LINENO"
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15351 printf %s
"checking for -lXrandr... " >&6; }
15352 if test ${ac_cv_lib_soname_Xrandr+y}
15354 printf %s
"(cached) " >&6
15356 ac_check_soname_save_LIBS
=$LIBS
15357 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15361 /* Override any GCC internal prototype to avoid an error.
15362 Use char because int might match the return type of a GCC
15363 builtin and then its argument prototype would still apply. */
15364 char XRRQueryExtension ();
15368 return XRRQueryExtension ();
15373 if ac_fn_c_try_link
"$LINENO"
15376 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15377 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'` ;;
15378 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15379 if ${ac_cv_lib_soname_Xrandr:+false} :
15381 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15385 ac_cv_lib_soname_Xrandr
=
15387 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15388 conftest
$ac_exeext conftest.
$ac_ext
15389 LIBS
=$ac_check_soname_save_LIBS
15391 if ${ac_cv_lib_soname_Xrandr:+false} :
15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15394 printf "%s\n" "not found" >&6; }
15397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15398 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15400 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15404 #include <X11/Xlib.h>
15405 #include <X11/extensions/Xrandr.h>
15409 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15414 if ac_fn_c_try_compile
"$LINENO"
15417 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15420 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15422 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15425 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15427 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15429 case "x$with_xrandr" in
15430 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15432 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15433 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15438 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15442 #include <X11/Xlib.h>
15443 #include <X11/extensions/Xfixes.h>
15447 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15452 if ac_fn_c_try_compile
"$LINENO"
15454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15455 printf %s
"checking for -lXfixes... " >&6; }
15456 if test ${ac_cv_lib_soname_Xfixes+y}
15458 printf %s
"(cached) " >&6
15460 ac_check_soname_save_LIBS
=$LIBS
15461 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 char XFixesQueryVersion ();
15472 return XFixesQueryVersion ();
15477 if ac_fn_c_try_link
"$LINENO"
15480 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15481 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'` ;;
15482 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15483 if ${ac_cv_lib_soname_Xfixes:+false} :
15485 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15489 ac_cv_lib_soname_Xfixes
=
15491 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15492 conftest
$ac_exeext conftest.
$ac_ext
15493 LIBS
=$ac_check_soname_save_LIBS
15495 if ${ac_cv_lib_soname_Xfixes:+false} :
15497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15498 printf "%s\n" "not found" >&6; }
15501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15502 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15504 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15509 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15511 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15513 case "x$with_xfixes" in
15514 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15516 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15517 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15522 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15525 /* end confdefs.h. */
15526 #include <X11/Xlib.h>
15527 #include <X11/extensions/Xinerama.h>
15531 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15536 if ac_fn_c_try_compile
"$LINENO"
15538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15539 printf %s
"checking for -lXinerama... " >&6; }
15540 if test ${ac_cv_lib_soname_Xinerama+y}
15542 printf %s
"(cached) " >&6
15544 ac_check_soname_save_LIBS
=$LIBS
15545 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 /* Override any GCC internal prototype to avoid an error.
15550 Use char because int might match the return type of a GCC
15551 builtin and then its argument prototype would still apply. */
15552 char XineramaQueryScreens ();
15556 return XineramaQueryScreens ();
15561 if ac_fn_c_try_link
"$LINENO"
15564 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15565 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'` ;;
15566 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15567 if ${ac_cv_lib_soname_Xinerama:+false} :
15569 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 ac_cv_lib_soname_Xinerama
=
15575 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15576 conftest
$ac_exeext conftest.
$ac_ext
15577 LIBS
=$ac_check_soname_save_LIBS
15579 if ${ac_cv_lib_soname_Xinerama:+false} :
15581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15582 printf "%s\n" "not found" >&6; }
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15586 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15588 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15593 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15595 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15597 case "x$with_xinerama" in
15598 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15600 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15601 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15606 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15608 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15611 printf %s
"checking for -lXcomposite... " >&6; }
15612 if test ${ac_cv_lib_soname_Xcomposite+y}
15614 printf %s
"(cached) " >&6
15616 ac_check_soname_save_LIBS
=$LIBS
15617 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 char XCompositeRedirectWindow ();
15628 return XCompositeRedirectWindow ();
15633 if ac_fn_c_try_link
"$LINENO"
15636 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15637 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'` ;;
15638 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15639 if ${ac_cv_lib_soname_Xcomposite:+false} :
15641 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15645 ac_cv_lib_soname_Xcomposite
=
15647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15648 conftest
$ac_exeext conftest.
$ac_ext
15649 LIBS
=$ac_check_soname_save_LIBS
15651 if ${ac_cv_lib_soname_Xcomposite:+false} :
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15654 printf "%s\n" "not found" >&6; }
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15658 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15660 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15666 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15668 case "x$with_xcomposite" in
15669 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15671 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15672 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15677 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15679 if test "x$ac_cv_member_XICCallback_callback" = xyes
15682 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15686 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15688 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15691 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15699 if test "x$with_opengl" != "xno"
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15702 printf %s
"checking for -lGL... " >&6; }
15703 if test ${ac_cv_lib_soname_GL+y}
15705 printf %s
"(cached) " >&6
15707 ac_check_soname_save_LIBS
=$LIBS
15708 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 char glXCreateContext ();
15719 return glXCreateContext ();
15724 if ac_fn_c_try_link
"$LINENO"
15727 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15728 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'` ;;
15729 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15730 if ${ac_cv_lib_soname_GL:+false} :
15732 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15736 ac_cv_lib_soname_GL
=
15738 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15739 conftest
$ac_exeext conftest.
$ac_ext
15740 LIBS
=$ac_check_soname_save_LIBS
15742 if ${ac_cv_lib_soname_GL:+false} :
15744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15745 printf "%s\n" "not found" >&6; }
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15747 printf %s
"checking for -lGL... " >&6; }
15748 if test ${ac_cv_lib_soname_GL+y}
15750 printf %s
"(cached) " >&6
15752 ac_check_soname_save_LIBS
=$LIBS
15753 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"
15754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 char glXCreateContext ();
15764 return glXCreateContext ();
15769 if ac_fn_c_try_link
"$LINENO"
15772 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15773 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'` ;;
15774 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15775 if ${ac_cv_lib_soname_GL:+false} :
15777 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15781 ac_cv_lib_soname_GL
=
15783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15784 conftest
$ac_exeext conftest.
$ac_ext
15785 LIBS
=$ac_check_soname_save_LIBS
15787 if ${ac_cv_lib_soname_GL:+false} :
15789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15790 printf "%s\n" "not found" >&6; }
15791 if test -f /usr
/X11R
6/lib
/libGL.a
15793 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15794 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15796 opengl_msg
="No OpenGL library found on this system."
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15800 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15802 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15804 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"
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15808 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15810 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15814 if test "x$with_osmesa" != "xno"
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15817 printf %s
"checking for -lOSMesa... " >&6; }
15818 if test ${ac_cv_lib_soname_OSMesa+y}
15820 printf %s
"(cached) " >&6
15822 ac_check_soname_save_LIBS
=$LIBS
15823 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15830 char OSMesaGetProcAddress ();
15834 return OSMesaGetProcAddress ();
15839 if ac_fn_c_try_link
"$LINENO"
15842 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15843 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'` ;;
15844 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15845 if ${ac_cv_lib_soname_OSMesa:+false} :
15847 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15851 ac_cv_lib_soname_OSMesa
=
15853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15854 conftest
$ac_exeext conftest.
$ac_ext
15855 LIBS
=$ac_check_soname_save_LIBS
15857 if ${ac_cv_lib_soname_OSMesa:+false} :
15859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15860 printf "%s\n" "not found" >&6; }
15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15864 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15866 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15870 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15872 case "x$with_osmesa" in
15873 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15875 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15876 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15882 if test -n "$opengl_msg"
15884 case "x$with_opengl" in
15885 x
) as_fn_append wine_warnings
"|$opengl_msg
15886 OpenGL and Direct3D won't be supported." ;;
15888 *) as_fn_error $?
"$opengl_msg
15889 OpenGL and Direct3D won't be supported.
15890 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15895 CPPFLAGS
="$ac_save_CPPFLAGS"
15901 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15903 if test "x$X_LIBS" = "x"
15907 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15908 without X support, which probably isn't what you want. You will need
15909 to install ${notice_platform}development packages of Xlib at the very least.
15910 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15912 enable_winex11_drv
=${enable_winex11_drv:-no}
15915 if test "x$X_LIBS" = "x"
15918 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15920 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15921 This is an error since --with-x was requested." "$LINENO" 5 ;;
15923 enable_winex11_drv
=${enable_winex11_drv:-no}
15927 if test "x$with_wayland" != "xno"
15930 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15932 if test ${PKG_CONFIG+y}
15934 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15938 if ${WAYLAND_CLIENT_LIBS:+false} :
15940 if test ${PKG_CONFIG+y}
15942 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15949 if test -s conftest.err
; then
15950 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15951 cat conftest.err
>&5
15954 ac_save_CPPFLAGS
=$CPPFLAGS
15955 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15956 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15957 if test "x$ac_cv_header_wayland_client_h" = xyes
15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15960 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15961 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15963 printf %s
"(cached) " >&6
15965 ac_check_lib_save_LIBS
=$LIBS
15966 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15970 /* Override any GCC internal prototype to avoid an error.
15971 Use char because int might match the return type of a GCC
15972 builtin and then its argument prototype would still apply. */
15973 char wl_display_connect ();
15977 return wl_display_connect ();
15982 if ac_fn_c_try_link
"$LINENO"
15984 ac_cv_lib_wayland_client_wl_display_connect
=yes
15986 ac_cv_lib_wayland_client_wl_display_connect
=no
15988 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15989 conftest
$ac_exeext conftest.
$ac_ext
15990 LIBS
=$ac_check_lib_save_LIBS
15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15993 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15994 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15996 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15997 set dummy wayland-scanner
; ac_word
=$2
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15999 printf %s
"checking for $ac_word... " >&6; }
16000 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16002 printf %s
"(cached) " >&6
16004 case $WAYLAND_SCANNER in
16006 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
16009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16010 for as_dir
in $PATH
16013 case $as_dir in #(((
16016 *) as_dir
=$as_dir/ ;;
16018 for ac_exec_ext
in '' $ac_executable_extensions; do
16019 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
16020 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
16021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16028 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`"
16032 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
16033 if test -n "$WAYLAND_SCANNER"; then
16034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16035 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16038 printf "%s\n" "no" >&6; }
16043 WAYLAND_CLIENT_LIBS
=""
16048 CPPFLAGS
=$ac_save_CPPFLAGS
16051 if ${XKBCOMMON_CFLAGS:+false} :
16053 if test ${PKG_CONFIG+y}
16055 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16059 if ${XKBCOMMON_LIBS:+false} :
16061 if test ${PKG_CONFIG+y}
16063 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16070 if test -s conftest.err
; then
16071 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16072 cat conftest.err
>&5
16075 ac_save_CPPFLAGS
=$CPPFLAGS
16076 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
16077 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16078 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16080 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16085 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
16086 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16088 printf %s
"(cached) " >&6
16090 ac_check_lib_save_LIBS
=$LIBS
16091 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 char xkb_context_new ();
16102 return xkb_context_new ();
16107 if ac_fn_c_try_link
"$LINENO"
16109 ac_cv_lib_xkbcommon_xkb_context_new
=yes
16111 ac_cv_lib_xkbcommon_xkb_context_new
=no
16113 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16114 conftest
$ac_exeext conftest.
$ac_ext
16115 LIBS
=$ac_check_lib_save_LIBS
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16118 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16119 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16126 CPPFLAGS
=$ac_save_CPPFLAGS
16129 if ${XKBREGISTRY_CFLAGS:+false} :
16131 if test ${PKG_CONFIG+y}
16133 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16137 if ${XKBREGISTRY_LIBS:+false} :
16139 if test ${PKG_CONFIG+y}
16141 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16148 if test -s conftest.err
; then
16149 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16150 cat conftest.err
>&5
16153 ac_save_CPPFLAGS
=$CPPFLAGS
16154 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16155 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16156 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16158 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16163 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16164 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16166 printf %s
"(cached) " >&6
16168 ac_check_lib_save_LIBS
=$LIBS
16169 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16173 /* Override any GCC internal prototype to avoid an error.
16174 Use char because int might match the return type of a GCC
16175 builtin and then its argument prototype would still apply. */
16176 char rxkb_context_new ();
16180 return rxkb_context_new ();
16185 if ac_fn_c_try_link
"$LINENO"
16187 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16189 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16191 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16192 conftest
$ac_exeext conftest.
$ac_ext
16193 LIBS
=$ac_check_lib_save_LIBS
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16196 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16197 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16201 XKBREGISTRY_LIBS
=""
16204 CPPFLAGS
=$ac_save_CPPFLAGS
16206 if test "x$with_opengl" != "xno"
16209 if ${EGL_CFLAGS:+false} :
16211 if test ${PKG_CONFIG+y}
16213 EGL_CFLAGS
=`$PKG_CONFIG --cflags egl 2>conftest.err`
16217 if ${EGL_LIBS:+false} :
16219 if test ${PKG_CONFIG+y}
16221 EGL_LIBS
=`$PKG_CONFIG --libs egl 2>/dev/null`
16225 EGL_LIBS
=${EGL_LIBS:-"-lEGL"}
16226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16228 if test -s conftest.err
; then
16229 printf %s
"$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16230 cat conftest.err
>&5
16233 ac_save_CPPFLAGS
=$CPPFLAGS
16234 CPPFLAGS
="$CPPFLAGS $EGL_CFLAGS"
16235 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16236 if test "x$ac_cv_header_EGL_egl_h" = xyes
16238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16239 printf %s
"checking for -lEGL... " >&6; }
16240 if test ${ac_cv_lib_soname_EGL+y}
16242 printf %s
"(cached) " >&6
16244 ac_check_soname_save_LIBS
=$LIBS
16245 LIBS
="-lEGL $EGL_LIBS $LIBS"
16246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 /* Override any GCC internal prototype to avoid an error.
16250 Use char because int might match the return type of a GCC
16251 builtin and then its argument prototype would still apply. */
16252 char eglGetProcAddress ();
16256 return eglGetProcAddress ();
16261 if ac_fn_c_try_link
"$LINENO"
16264 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16265 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'` ;;
16266 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16267 if ${ac_cv_lib_soname_EGL:+false} :
16269 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16273 ac_cv_lib_soname_EGL
=
16275 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16276 conftest
$ac_exeext conftest.
$ac_ext
16277 LIBS
=$ac_check_soname_save_LIBS
16279 if ${ac_cv_lib_soname_EGL:+false} :
16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16282 printf "%s\n" "not found" >&6; }
16285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16286 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16288 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16294 CPPFLAGS
=$ac_save_CPPFLAGS
16297 if ${WAYLAND_EGL_CFLAGS:+false} :
16299 if test ${PKG_CONFIG+y}
16301 WAYLAND_EGL_CFLAGS
=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16305 if ${WAYLAND_EGL_LIBS:+false} :
16307 if test ${PKG_CONFIG+y}
16309 WAYLAND_EGL_LIBS
=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16316 if test -s conftest.err
; then
16317 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16318 cat conftest.err
>&5
16321 ac_save_CPPFLAGS
=$CPPFLAGS
16322 CPPFLAGS
="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16323 ac_fn_c_check_header_compile
"$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16324 if test "x$ac_cv_header_wayland_egl_h" = xyes
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16327 printf %s
"checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16328 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16330 printf %s
"(cached) " >&6
16332 ac_check_lib_save_LIBS
=$LIBS
16333 LIBS
="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 char wl_egl_window_create ();
16344 return wl_egl_window_create ();
16349 if ac_fn_c_try_link
"$LINENO"
16351 ac_cv_lib_wayland_egl_wl_egl_window_create
=yes
16353 ac_cv_lib_wayland_egl_wl_egl_window_create
=no
16355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16356 conftest
$ac_exeext conftest.
$ac_ext
16357 LIBS
=$ac_check_lib_save_LIBS
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16360 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16361 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16364 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16367 WAYLAND_EGL_LIBS
=""
16372 CPPFLAGS
=$ac_save_CPPFLAGS
16374 if test "x$with_wayland" != "x"
16376 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16378 case "x$with_opengl" in
16379 x
) as_fn_append wine_notices
"|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16381 *) as_fn_error $?
"EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16382 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16389 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"
16391 case "x$with_wayland" in
16392 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16394 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16395 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16397 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16400 if test "$ac_cv_header_CL_cl_h" = "yes"
16402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16403 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16404 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16406 printf %s
"(cached) " >&6
16408 ac_check_lib_save_LIBS
=$LIBS
16409 LIBS
="-lOpenCL $LIBS"
16410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16413 /* Override any GCC internal prototype to avoid an error.
16414 Use char because int might match the return type of a GCC
16415 builtin and then its argument prototype would still apply. */
16416 char clGetPlatformInfo ();
16420 return clGetPlatformInfo ();
16425 if ac_fn_c_try_link
"$LINENO"
16427 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16429 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16432 conftest
$ac_exeext conftest.
$ac_ext
16433 LIBS
=$ac_check_lib_save_LIBS
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16436 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16437 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16439 OPENCL_LIBS
="-lOpenCL"
16444 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16446 case "x$with_opencl" in
16447 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16449 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16450 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16452 enable_opencl
=${enable_opencl:-no}
16455 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16458 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16459 if test ${ac_cv_lib_pcap_pcap_init+y}
16461 printf %s
"(cached) " >&6
16463 ac_check_lib_save_LIBS
=$LIBS
16464 LIBS
="-lpcap $LIBS"
16465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16468 /* Override any GCC internal prototype to avoid an error.
16469 Use char because int might match the return type of a GCC
16470 builtin and then its argument prototype would still apply. */
16475 return pcap_init ();
16480 if ac_fn_c_try_link
"$LINENO"
16482 ac_cv_lib_pcap_pcap_init
=yes
16484 ac_cv_lib_pcap_pcap_init
=no
16486 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16487 conftest
$ac_exeext conftest.
$ac_ext
16488 LIBS
=$ac_check_lib_save_LIBS
16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16491 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16492 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16499 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16501 case "x$with_pcap" in
16502 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16504 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16505 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16507 enable_wpcap
=${enable_wpcap:-no}
16510 if test "x$with_pcsclite" != "xno"
16512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16513 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16514 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16516 printf %s
"(cached) " >&6
16518 ac_check_lib_save_LIBS
=$LIBS
16519 LIBS
="-lpcsclite $LIBS"
16520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16523 /* Override any GCC internal prototype to avoid an error.
16524 Use char because int might match the return type of a GCC
16525 builtin and then its argument prototype would still apply. */
16526 char SCardEstablishContext ();
16530 return SCardEstablishContext ();
16535 if ac_fn_c_try_link
"$LINENO"
16537 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16539 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16541 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16542 conftest
$ac_exeext conftest.
$ac_ext
16543 LIBS
=$ac_check_lib_save_LIBS
16545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16546 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16547 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16549 PCSCLITE_LIBS
="-lpcsclite"
16553 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16559 if test "x$PCSCLITE_LIBS" = x
16561 case "x$with_pcsclite" in
16562 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16564 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16565 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16567 enable_winscard
=${enable_winscard:-no}
16570 if test "x$with_inotify" != "xno"
16573 if ${INOTIFY_CFLAGS:+false} :
16575 if test ${PKG_CONFIG+y}
16577 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16581 if ${INOTIFY_LIBS:+false} :
16583 if test ${PKG_CONFIG+y}
16585 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16592 if test -s conftest.err
; then
16593 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16594 cat conftest.err
>&5
16597 ac_save_CPPFLAGS
=$CPPFLAGS
16598 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16599 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16600 if test "x$ac_cv_header_sys_inotify_h" = xyes
16602 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16607 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16608 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16610 printf %s
"(cached) " >&6
16612 ac_check_lib_save_LIBS
=$LIBS
16613 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 char inotify_add_watch ();
16624 return inotify_add_watch ();
16629 if ac_fn_c_try_link
"$LINENO"
16631 ac_cv_lib_inotify_inotify_add_watch
=yes
16633 ac_cv_lib_inotify_inotify_add_watch
=no
16635 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16636 conftest
$ac_exeext conftest.
$ac_ext
16637 LIBS
=$ac_check_lib_save_LIBS
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16640 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16641 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16648 CPPFLAGS
=$ac_save_CPPFLAGS
16651 if test "$ac_cv_header_sys_inotify_h" != "yes"
16653 case "x$with_inotify" in
16654 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16656 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16657 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16662 if test "x$with_dbus" != "xno"
16665 if ${DBUS_CFLAGS:+false} :
16667 if test ${PKG_CONFIG+y}
16669 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16673 if ${DBUS_LIBS:+false} :
16675 if test ${PKG_CONFIG+y}
16677 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16684 if test -s conftest.err
; then
16685 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16686 cat conftest.err
>&5
16689 ac_save_CPPFLAGS
=$CPPFLAGS
16690 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16691 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16692 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16695 printf %s
"checking for -ldbus-1... " >&6; }
16696 if test ${ac_cv_lib_soname_dbus_1+y}
16698 printf %s
"(cached) " >&6
16700 ac_check_soname_save_LIBS
=$LIBS
16701 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16705 /* Override any GCC internal prototype to avoid an error.
16706 Use char because int might match the return type of a GCC
16707 builtin and then its argument prototype would still apply. */
16708 char dbus_connection_close ();
16712 return dbus_connection_close ();
16717 if ac_fn_c_try_link
"$LINENO"
16720 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16721 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'` ;;
16722 *) 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'`
16723 if ${ac_cv_lib_soname_dbus_1:+false} :
16725 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16729 ac_cv_lib_soname_dbus_1
=
16731 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16732 conftest
$ac_exeext conftest.
$ac_ext
16733 LIBS
=$ac_check_soname_save_LIBS
16735 if ${ac_cv_lib_soname_dbus_1:+false} :
16737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16738 printf "%s\n" "not found" >&6; }
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16742 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16744 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16752 CPPFLAGS
=$ac_save_CPPFLAGS
16756 darwin
*|macosx
*) ;;
16757 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16759 case "x$with_dbus" in
16760 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16762 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16763 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16769 if test "x$with_gnutls" != "xno"
16772 if ${GNUTLS_CFLAGS:+false} :
16774 if test ${PKG_CONFIG+y}
16776 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16780 if ${GNUTLS_LIBS:+false} :
16782 if test ${PKG_CONFIG+y}
16784 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16788 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16791 if test -s conftest.err
; then
16792 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16793 cat conftest.err
>&5
16796 ac_save_CPPFLAGS
=$CPPFLAGS
16797 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16798 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16799 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #include <gnutls/gnutls.h>
16804 #include <gnutls/crypto.h>
16808 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16813 if ac_fn_c_try_compile
"$LINENO"
16815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16816 printf %s
"checking for -lgnutls... " >&6; }
16817 if test ${ac_cv_lib_soname_gnutls+y}
16819 printf %s
"(cached) " >&6
16821 ac_check_soname_save_LIBS
=$LIBS
16822 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16829 char gnutls_global_init ();
16833 return gnutls_global_init ();
16838 if ac_fn_c_try_link
"$LINENO"
16841 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16842 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'` ;;
16843 *) 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'`
16844 if ${ac_cv_lib_soname_gnutls:+false} :
16846 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'`
16850 ac_cv_lib_soname_gnutls
=
16852 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16853 conftest
$ac_exeext conftest.
$ac_ext
16854 LIBS
=$ac_check_soname_save_LIBS
16856 if ${ac_cv_lib_soname_gnutls:+false} :
16858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16859 printf "%s\n" "not found" >&6; }
16862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16863 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16865 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16869 ac_wine_check_funcs_save_LIBS
="$LIBS"
16870 LIBS
="$LIBS $GNUTLS_LIBS"
16872 for ac_func
in gnutls_cipher_init
16874 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16875 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16877 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16880 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16884 LIBS
="$ac_wine_check_funcs_save_LIBS"
16886 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16891 CPPFLAGS
=$ac_save_CPPFLAGS
16894 if test "x$ac_cv_lib_soname_gnutls" = "x"
16896 case "x$with_gnutls" in
16897 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16899 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16900 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16905 if test "x$with_sane" != "xno"
16908 if ${SANE_CFLAGS:+false} :
16910 if test ${PKG_CONFIG+y}
16912 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16915 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16916 if ${SANE_LIBS:+false} :
16918 if test ${PKG_CONFIG+y}
16920 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16923 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16927 if test -s conftest.err
; then
16928 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16929 cat conftest.err
>&5
16932 ac_save_CPPFLAGS
=$CPPFLAGS
16933 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16934 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16935 if test "x$ac_cv_header_sane_sane_h" = xyes
16937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16938 printf %s
"checking for sane_init in -lsane... " >&6; }
16939 if test ${ac_cv_lib_sane_sane_init+y}
16941 printf %s
"(cached) " >&6
16943 ac_check_lib_save_LIBS
=$LIBS
16944 LIBS
="-lsane $SANE_LIBS $LIBS"
16945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16948 /* Override any GCC internal prototype to avoid an error.
16949 Use char because int might match the return type of a GCC
16950 builtin and then its argument prototype would still apply. */
16955 return sane_init ();
16960 if ac_fn_c_try_link
"$LINENO"
16962 ac_cv_lib_sane_sane_init
=yes
16964 ac_cv_lib_sane_sane_init
=no
16966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16967 conftest
$ac_exeext conftest.
$ac_ext
16968 LIBS
=$ac_check_lib_save_LIBS
16970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16971 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16972 if test "x$ac_cv_lib_sane_sane_init" = xyes
16979 CPPFLAGS
=$ac_save_CPPFLAGS
16982 if test "$ac_cv_lib_sane_sane_init" != "yes"
16984 case "x$with_sane" in
16985 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16987 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16988 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16990 enable_sane_ds
=${enable_sane_ds:-no}
16993 if test "x$with_usb" != "xno"
16996 if ${USB_CFLAGS:+false} :
16998 if test ${PKG_CONFIG+y}
17000 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17004 if ${USB_LIBS:+false} :
17006 if test ${PKG_CONFIG+y}
17008 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17012 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
17013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17015 if test -s conftest.err
; then
17016 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17017 cat conftest.err
>&5
17020 ac_save_CPPFLAGS
=$CPPFLAGS
17021 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
17022 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17023 if test "x$ac_cv_header_libusb_h" = xyes
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17026 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17027 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17029 printf %s
"(cached) " >&6
17031 ac_check_lib_save_LIBS
=$LIBS
17032 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
17033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char libusb_interrupt_event_handler ();
17043 return libusb_interrupt_event_handler ();
17048 if ac_fn_c_try_link
"$LINENO"
17050 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
17052 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
17054 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17055 conftest
$ac_exeext conftest.
$ac_ext
17056 LIBS
=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17059 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17060 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17071 CPPFLAGS
=$ac_save_CPPFLAGS
17074 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17076 case "x$with_usb" in
17077 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17079 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17080 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17082 enable_wineusb_sys
=${enable_wineusb_sys:-no}
17085 if test "x$with_v4l2" != "xno"
17087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17088 printf %s
"checking for -lv4l2... " >&6; }
17089 if test ${ac_cv_lib_soname_v4l2+y}
17091 printf %s
"(cached) " >&6
17093 ac_check_soname_save_LIBS
=$LIBS
17094 LIBS
="-lv4l2 $LIBS"
17095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17098 /* Override any GCC internal prototype to avoid an error.
17099 Use char because int might match the return type of a GCC
17100 builtin and then its argument prototype would still apply. */
17105 return v4l2_open ();
17110 if ac_fn_c_try_link
"$LINENO"
17113 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17114 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'` ;;
17115 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17116 if ${ac_cv_lib_soname_v4l2:+false} :
17118 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17122 ac_cv_lib_soname_v4l2
=
17124 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17125 conftest
$ac_exeext conftest.
$ac_ext
17126 LIBS
=$ac_check_soname_save_LIBS
17128 if ${ac_cv_lib_soname_v4l2:+false} :
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17131 printf "%s\n" "not found" >&6; }
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17135 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17137 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17142 if test "x$ac_cv_lib_soname_v4l2" = "x"
17144 case "x$with_v4l2" in
17145 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
17147 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
17148 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17153 if test "x$with_gphoto" != "xno"
17156 if ${GPHOTO2_CFLAGS:+false} :
17158 if test ${PKG_CONFIG+y}
17160 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17163 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17164 if ${GPHOTO2_LIBS:+false} :
17166 if test ${PKG_CONFIG+y}
17168 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17171 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17172 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
17173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17175 if test -s conftest.err
; then
17176 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17177 cat conftest.err
>&5
17180 ac_save_CPPFLAGS
=$CPPFLAGS
17181 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
17182 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17183 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17186 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
17187 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17189 printf %s
"(cached) " >&6
17191 ac_check_lib_save_LIBS
=$LIBS
17192 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17196 /* Override any GCC internal prototype to avoid an error.
17197 Use char because int might match the return type of a GCC
17198 builtin and then its argument prototype would still apply. */
17199 char gp_camera_new ();
17203 return gp_camera_new ();
17208 if ac_fn_c_try_link
"$LINENO"
17210 ac_cv_lib_gphoto2_gp_camera_new
=yes
17212 ac_cv_lib_gphoto2_gp_camera_new
=no
17214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17215 conftest
$ac_exeext conftest.
$ac_ext
17216 LIBS
=$ac_check_lib_save_LIBS
17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17219 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17220 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17227 CPPFLAGS
=$ac_save_CPPFLAGS
17230 if ${GPHOTO2_PORT_CFLAGS:+false} :
17232 if test ${PKG_CONFIG+y}
17234 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17237 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17238 if ${GPHOTO2_PORT_LIBS:+false} :
17240 if test ${PKG_CONFIG+y}
17242 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17245 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17246 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17249 if test -s conftest.err
; then
17250 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17251 cat conftest.err
>&5
17254 ac_save_CPPFLAGS
=$CPPFLAGS
17255 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17256 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17257 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17260 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17261 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17263 printf %s
"(cached) " >&6
17265 ac_check_lib_save_LIBS
=$LIBS
17266 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 /* Override any GCC internal prototype to avoid an error.
17271 Use char because int might match the return type of a GCC
17272 builtin and then its argument prototype would still apply. */
17273 char gp_port_info_list_new ();
17277 return gp_port_info_list_new ();
17282 if ac_fn_c_try_link
"$LINENO"
17284 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
17286 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
17288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17289 conftest
$ac_exeext conftest.
$ac_ext
17290 LIBS
=$ac_check_lib_save_LIBS
17292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17293 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17294 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17297 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17300 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17304 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17307 CPPFLAGS
=$ac_save_CPPFLAGS
17310 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17312 case "x$with_gphoto" in
17313 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17315 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17316 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17318 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
17320 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17322 case "x$with_gphoto" in
17323 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17325 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17326 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17332 if test "$ac_cv_header_resolv_h" = "yes"
17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17335 printf %s
"checking for resolver library... " >&6; }
17336 if test ${ac_cv_have_resolv+y}
17338 printf %s
"(cached) " >&6
17340 ac_save_LIBS
="$LIBS"
17341 for lib
in '' -lresolv
17343 LIBS
="$lib $ac_save_LIBS"
17344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 #ifdef HAVE_NETINET_IN_H
17347 #include <netinet/in.h>
17349 #include <resolv.h>
17353 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17358 if ac_fn_c_try_link
"$LINENO"
17360 ac_cv_have_resolv
=${lib:-"none required"}
17362 ac_cv_have_resolv
="not found"
17364 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17365 conftest
$ac_exeext conftest.
$ac_ext
17366 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17368 LIBS
="$ac_save_LIBS"
17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17371 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17373 case "$ac_cv_have_resolv" in
17377 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17380 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17382 RESOLV_LIBS
=$ac_cv_have_resolv
17386 if test "x$ac_cv_have_resolv" != "xnot found"
17388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17389 printf %s
"checking for res_getservers... " >&6; }
17390 if test ${ac_cv_have_res_getservers+y}
17392 printf %s
"(cached) " >&6
17394 ac_save_LIBS
="$LIBS"
17395 LIBS
="$RESOLV_LIBS $LIBS"
17396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <resolv.h>
17402 res_getservers(NULL, NULL, 0);
17407 if ac_fn_c_try_link
"$LINENO"
17409 ac_cv_have_res_getservers
=yes
17411 ac_cv_have_res_getservers
=no
17413 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17414 conftest
$ac_exeext conftest.
$ac_ext
17415 LIBS
="$ac_save_LIBS"
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17418 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17419 if test "$ac_cv_have_res_getservers" = "yes"
17422 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17428 if test "x$with_freetype" != "xno"
17431 if ${FREETYPE_CFLAGS:+false} :
17433 if test ${PKG_CONFIG+y}
17435 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17438 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17439 if ${FREETYPE_LIBS:+false} :
17441 if test ${PKG_CONFIG+y}
17443 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17446 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17447 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17450 if test -s conftest.err
; then
17451 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17452 cat conftest.err
>&5
17455 ac_save_CPPFLAGS
=$CPPFLAGS
17456 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17457 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17458 if test "x$ac_cv_header_ft2build_h" = xyes
17460 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17464 if test "$ac_cv_header_ft2build_h" = "yes"
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17467 printf %s
"checking for -lfreetype... " >&6; }
17468 if test ${ac_cv_lib_soname_freetype+y}
17470 printf %s
"(cached) " >&6
17472 ac_check_soname_save_LIBS
=$LIBS
17473 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17477 /* Override any GCC internal prototype to avoid an error.
17478 Use char because int might match the return type of a GCC
17479 builtin and then its argument prototype would still apply. */
17480 char FT_Init_FreeType ();
17484 return FT_Init_FreeType ();
17489 if ac_fn_c_try_link
"$LINENO"
17492 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17493 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'` ;;
17494 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17495 if ${ac_cv_lib_soname_freetype:+false} :
17497 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17501 ac_cv_lib_soname_freetype
=
17503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17504 conftest
$ac_exeext conftest.
$ac_ext
17505 LIBS
=$ac_check_soname_save_LIBS
17507 if ${ac_cv_lib_soname_freetype:+false} :
17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17510 printf "%s\n" "not found" >&6; }
17513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17514 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17516 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17519 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17521 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17522 #include FT_MODULE_H
17524 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17527 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17537 CPPFLAGS
=$ac_save_CPPFLAGS
17540 if test "x$ac_cv_lib_soname_freetype" = x
17542 case "x$with_freetype" in
17544 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17545 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17547 enable_fonts
=${enable_fonts:-no}
17550 ac_wine_check_funcs_save_LIBS
="$LIBS"
17551 LIBS
="$LIBS $PTHREAD_LIBS"
17552 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17553 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17555 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17559 LIBS
="$ac_wine_check_funcs_save_LIBS"
17561 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17563 if test "$ac_cv_header_gettext_po_h" = "yes"
17565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17566 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17567 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17569 printf %s
"(cached) " >&6
17571 ac_check_lib_save_LIBS
=$LIBS
17572 LIBS
="-lgettextpo $LIBS"
17573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17576 /* Override any GCC internal prototype to avoid an error.
17577 Use char because int might match the return type of a GCC
17578 builtin and then its argument prototype would still apply. */
17579 char po_message_msgctxt ();
17583 return po_message_msgctxt ();
17588 if ac_fn_c_try_link
"$LINENO"
17590 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17592 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17595 conftest
$ac_exeext conftest.
$ac_ext
17596 LIBS
=$ac_check_lib_save_LIBS
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17599 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17600 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17603 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17605 GETTEXTPO_LIBS
="-lgettextpo"
17610 if test "x$GETTEXTPO_LIBS" = "x"
17612 case "x$with_gettextpo" in
17613 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17615 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17616 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17620 if test "$srcdir" != .
17622 case "x$with_gettextpo" in
17623 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17625 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17626 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17632 if test "x$with_pulse" != "xno";
17635 if ${PULSE_CFLAGS:+false} :
17637 if test ${PKG_CONFIG+y}
17639 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17643 if ${PULSE_LIBS:+false} :
17645 if test ${PKG_CONFIG+y}
17647 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17654 if test -s conftest.err
; then
17655 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17656 cat conftest.err
>&5
17659 ac_save_CPPFLAGS
=$CPPFLAGS
17660 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17661 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17662 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17665 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17666 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17668 printf %s
"(cached) " >&6
17670 ac_check_lib_save_LIBS
=$LIBS
17671 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 /* Override any GCC internal prototype to avoid an error.
17676 Use char because int might match the return type of a GCC
17677 builtin and then its argument prototype would still apply. */
17678 char pa_stream_is_corked ();
17682 return pa_stream_is_corked ();
17687 if ac_fn_c_try_link
"$LINENO"
17689 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17691 ac_cv_lib_pulse_pa_stream_is_corked
=no
17693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17694 conftest
$ac_exeext conftest.
$ac_ext
17695 LIBS
=$ac_check_lib_save_LIBS
17697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17698 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17699 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17710 CPPFLAGS
=$ac_save_CPPFLAGS
17713 if test -z "$PULSE_LIBS"
17715 case "x$with_pulse" in
17716 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17718 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17719 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17721 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17724 if test "x$with_gstreamer" != "xno"
17727 if ${GSTREAMER_CFLAGS:+false} :
17729 if test ${PKG_CONFIG+y}
17731 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17735 if ${GSTREAMER_LIBS:+false} :
17737 if test ${PKG_CONFIG+y}
17739 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17744 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
17745 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
17746 if test -s conftest.err
; then
17747 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17748 cat conftest.err
>&5
17751 ac_save_CPPFLAGS
=$CPPFLAGS
17752 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17753 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17754 if test "x$ac_cv_header_gst_gst_h" = xyes
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17757 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 #include <gst/gst.h>
17764 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17769 if ac_fn_c_try_compile
"$LINENO"
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17772 printf "%s\n" "yes" >&6; }
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17774 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17775 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17777 printf %s
"(cached) " >&6
17779 ac_check_lib_save_LIBS
=$LIBS
17780 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 /* Override any GCC internal prototype to avoid an error.
17785 Use char because int might match the return type of a GCC
17786 builtin and then its argument prototype would still apply. */
17787 char gst_pad_new ();
17791 return gst_pad_new ();
17796 if ac_fn_c_try_link
"$LINENO"
17798 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17800 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17802 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17803 conftest
$ac_exeext conftest.
$ac_ext
17804 LIBS
=$ac_check_lib_save_LIBS
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17807 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17808 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17815 printf "%s\n" "no" >&6; }
17816 ac_glib2_broken
=yes
17817 enable_winegstreamer
=${enable_winegstreamer:-no}
17818 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17820 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17823 CPPFLAGS
=$ac_save_CPPFLAGS
17826 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17828 case "x$with_gstreamer" in
17829 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17831 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17832 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17834 enable_winegstreamer
=${enable_winegstreamer:-no}
17839 if test "x$with_alsa" != "xno"
17841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17842 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17843 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17845 printf %s
"(cached) " >&6
17847 ac_check_lib_save_LIBS
=$LIBS
17848 LIBS
="-lasound $LIBS"
17849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17850 /* end confdefs.h. */
17852 /* Override any GCC internal prototype to avoid an error.
17853 Use char because int might match the return type of a GCC
17854 builtin and then its argument prototype would still apply. */
17855 char snd_pcm_hw_params_get_access_mask ();
17859 return snd_pcm_hw_params_get_access_mask ();
17864 if ac_fn_c_try_link
"$LINENO"
17866 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17868 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17871 conftest
$ac_exeext conftest.
$ac_ext
17872 LIBS
=$ac_check_lib_save_LIBS
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17875 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17876 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17880 #include <alsa/asoundlib.h>
17884 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17889 if ac_fn_c_try_compile
"$LINENO"
17891 ALSA_LIBS
="-lasound"
17893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17897 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17899 if test "x$with_oss" != xno
17901 ac_save_CPPFLAGS
="$CPPFLAGS"
17902 if test -f /etc
/oss.conf
17906 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17907 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17908 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17909 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17911 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17913 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17916 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17918 OSS4_CFLAGS
="$ac_oss_incl"
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17921 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17922 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17924 printf %s
"(cached) " >&6
17926 ac_check_lib_save_LIBS
=$LIBS
17927 LIBS
="-lossaudio $LIBS"
17928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17931 /* Override any GCC internal prototype to avoid an error.
17932 Use char because int might match the return type of a GCC
17933 builtin and then its argument prototype would still apply. */
17934 char _oss_ioctl ();
17938 return _oss_ioctl ();
17943 if ac_fn_c_try_link
"$LINENO"
17945 ac_cv_lib_ossaudio__oss_ioctl
=yes
17947 ac_cv_lib_ossaudio__oss_ioctl
=no
17949 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17950 conftest
$ac_exeext conftest.
$ac_ext
17951 LIBS
=$ac_check_lib_save_LIBS
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17954 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17955 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17957 OSS4_LIBS
="-lossaudio"
17965 CPPFLAGS
="$ac_save_CPPFLAGS"
17967 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17969 case "x$with_oss" in
17970 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17972 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17973 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17975 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17978 if test "x$with_udev" != "xno"
17981 if ${UDEV_CFLAGS:+false} :
17983 if test ${PKG_CONFIG+y}
17985 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17989 if ${UDEV_LIBS:+false} :
17991 if test ${PKG_CONFIG+y}
17993 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17997 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18000 if test -s conftest.err
; then
18001 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18002 cat conftest.err
>&5
18005 ac_save_CPPFLAGS
=$CPPFLAGS
18006 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
18007 for ac_header
in libudev.h
18009 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18010 if test "x$ac_cv_header_libudev_h" = xyes
18012 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18014 printf %s
"checking for udev_new in -ludev... " >&6; }
18015 if test ${ac_cv_lib_udev_udev_new+y}
18017 printf %s
"(cached) " >&6
18019 ac_check_lib_save_LIBS
=$LIBS
18020 LIBS
="-ludev $UDEV_LIBS $LIBS"
18021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 /* Override any GCC internal prototype to avoid an error.
18025 Use char because int might match the return type of a GCC
18026 builtin and then its argument prototype would still apply. */
18031 return udev_new ();
18036 if ac_fn_c_try_link
"$LINENO"
18038 ac_cv_lib_udev_udev_new
=yes
18040 ac_cv_lib_udev_udev_new
=no
18042 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18043 conftest
$ac_exeext conftest.
$ac_ext
18044 LIBS
=$ac_check_lib_save_LIBS
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18047 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18048 if test "x$ac_cv_lib_udev_udev_new" = xyes
18051 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18062 CPPFLAGS
=$ac_save_CPPFLAGS
18065 if test "x$UDEV_LIBS" = "x"
18067 case "x$with_udev" in
18068 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18070 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
18071 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18076 if test $HOST_ARCH = x86_64
18078 if test "x$with_unwind" != xno
18081 if ${UNWIND_CFLAGS:+false} :
18083 if test ${PKG_CONFIG+y}
18085 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18089 if ${UNWIND_LIBS:+false} :
18091 if test ${PKG_CONFIG+y}
18093 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18097 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
18098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18100 if test -s conftest.err
; then
18101 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18102 cat conftest.err
>&5
18105 ac_save_CPPFLAGS
=$CPPFLAGS
18106 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18108 printf %s
"checking for unw_step... " >&6; }
18109 if test ${wine_cv_have_unw_step+y}
18111 printf %s
"(cached) " >&6
18113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18115 #define UNW_LOCAL_ONLY
18116 #include <libunwind.h>
18120 unw_cursor_t cursor; unw_step( &cursor );
18125 if ac_fn_c_try_link
"$LINENO"
18127 wine_cv_have_unw_step
="yes"
18129 wine_cv_have_unw_step
="no"
18131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18132 conftest
$ac_exeext conftest.
$ac_ext
18134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18135 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18136 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
18139 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
18140 LIBS
="$UNWIND_LIBS $LIBS"
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18142 printf %s
"checking for unw_step in libunwind... " >&6; }
18143 if test ${wine_cv_have_libunwind_unw_step+y}
18145 printf %s
"(cached) " >&6
18147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #define UNW_LOCAL_ONLY
18150 #include <libunwind.h>
18154 unw_cursor_t cursor; unw_step( &cursor );
18159 if ac_fn_c_try_link
"$LINENO"
18161 wine_cv_have_libunwind_unw_step
="yes"
18163 wine_cv_have_libunwind_unw_step
="no"
18165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18166 conftest
$ac_exeext conftest.
$ac_ext
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18169 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18172 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
18173 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18176 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18179 CPPFLAGS
=$ac_save_CPPFLAGS
18184 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18186 case "x$with_unwind" in
18187 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18189 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
18190 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18197 if test "x$with_sdl" != "xno"
18200 if ${SDL2_CFLAGS:+false} :
18202 if test ${PKG_CONFIG+y}
18204 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18208 if ${SDL2_LIBS:+false} :
18210 if test ${PKG_CONFIG+y}
18212 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18216 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
18217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18219 if test -s conftest.err
; then
18220 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18221 cat conftest.err
>&5
18224 ac_save_CPPFLAGS
=$CPPFLAGS
18225 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
18226 for ac_header
in SDL.h
18228 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18229 if test "x$ac_cv_header_SDL_h" = xyes
18231 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18233 printf %s
"checking for -lSDL2... " >&6; }
18234 if test ${ac_cv_lib_soname_SDL2+y}
18236 printf %s
"(cached) " >&6
18238 ac_check_soname_save_LIBS
=$LIBS
18239 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
18240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 /* Override any GCC internal prototype to avoid an error.
18244 Use char because int might match the return type of a GCC
18245 builtin and then its argument prototype would still apply. */
18250 return SDL_Init ();
18255 if ac_fn_c_try_link
"$LINENO"
18258 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18259 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'` ;;
18260 *) 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'`
18261 if ${ac_cv_lib_soname_SDL2:+false} :
18263 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18267 ac_cv_lib_soname_SDL2
=
18269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18270 conftest
$ac_exeext conftest.
$ac_ext
18271 LIBS
=$ac_check_soname_save_LIBS
18273 if ${ac_cv_lib_soname_SDL2:+false} :
18275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18276 printf "%s\n" "not found" >&6; }
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18280 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18282 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18289 CPPFLAGS
=$ac_save_CPPFLAGS
18292 if test "x$ac_cv_lib_soname_SDL2" = "x"
18294 case "x$with_sdl" in
18295 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18297 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18298 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18303 if test "x$with_capi" != "xno"
18306 if ${CAPI20_CFLAGS:+false} :
18308 if test ${PKG_CONFIG+y}
18310 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18314 if ${CAPI20_LIBS:+false} :
18316 if test ${PKG_CONFIG+y}
18318 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
18323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18325 if test -s conftest.err
; then
18326 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18327 cat conftest.err
>&5
18330 ac_save_CPPFLAGS
=$CPPFLAGS
18331 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
18332 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18334 if test "x$ac_cv_header_capi20_h" = xyes
18336 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18339 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18341 if test "x$ac_cv_header_linux_capi_h" = xyes
18343 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18347 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18350 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18351 if test ${ac_cv_lib_capi20_capi20_register+y}
18353 printf %s
"(cached) " >&6
18355 ac_check_lib_save_LIBS
=$LIBS
18356 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 /* Override any GCC internal prototype to avoid an error.
18361 Use char because int might match the return type of a GCC
18362 builtin and then its argument prototype would still apply. */
18363 char capi20_register ();
18367 return capi20_register ();
18372 if ac_fn_c_try_link
"$LINENO"
18374 ac_cv_lib_capi20_capi20_register
=yes
18376 ac_cv_lib_capi20_capi20_register
=no
18378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18379 conftest
$ac_exeext conftest.
$ac_ext
18380 LIBS
=$ac_check_lib_save_LIBS
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18383 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18384 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18392 CPPFLAGS
=$ac_save_CPPFLAGS
18395 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18397 case "x$with_capi" in
18398 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18400 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18401 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18403 enable_capi2032
=${enable_capi2032:-no}
18406 if test "x$with_cups" != "xno"
18409 if ${CUPS_CFLAGS:+false} :
18411 if test ${PKG_CONFIG+y}
18413 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18416 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18417 if ${CUPS_LIBS:+false} :
18419 if test ${PKG_CONFIG+y}
18421 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18424 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18425 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18428 if test -s conftest.err
; then
18429 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18430 cat conftest.err
>&5
18433 ac_save_CPPFLAGS
=$CPPFLAGS
18434 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18435 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18436 if test "x$ac_cv_header_cups_cups_h" = xyes
18438 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18441 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18442 if test "x$ac_cv_header_cups_ppd_h" = xyes
18444 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18448 if test "$ac_cv_header_cups_cups_h" = "yes"
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18451 printf %s
"checking for -lcups... " >&6; }
18452 if test ${ac_cv_lib_soname_cups+y}
18454 printf %s
"(cached) " >&6
18456 ac_check_soname_save_LIBS
=$LIBS
18457 LIBS
="-lcups $CUPS_LIBS $LIBS"
18458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18461 /* Override any GCC internal prototype to avoid an error.
18462 Use char because int might match the return type of a GCC
18463 builtin and then its argument prototype would still apply. */
18464 char cupsGetDefault ();
18468 return cupsGetDefault ();
18473 if ac_fn_c_try_link
"$LINENO"
18476 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18477 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'` ;;
18478 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18479 if ${ac_cv_lib_soname_cups:+false} :
18481 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18485 ac_cv_lib_soname_cups
=
18487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18488 conftest
$ac_exeext conftest.
$ac_ext
18489 LIBS
=$ac_check_soname_save_LIBS
18491 if ${ac_cv_lib_soname_cups:+false} :
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18494 printf "%s\n" "not found" >&6; }
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18498 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18500 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18508 CPPFLAGS
=$ac_save_CPPFLAGS
18511 if test "x$ac_cv_lib_soname_cups" = "x"
18513 case "x$with_cups" in
18514 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18516 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18517 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18522 if test "x$with_fontconfig" != "xno"
18525 if ${FONTCONFIG_CFLAGS:+false} :
18527 if test ${PKG_CONFIG+y}
18529 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18532 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18533 if ${FONTCONFIG_LIBS:+false} :
18535 if test ${PKG_CONFIG+y}
18537 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18540 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18544 if test -s conftest.err
; then
18545 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18546 cat conftest.err
>&5
18549 ac_save_CPPFLAGS
=$CPPFLAGS
18550 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18551 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18552 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18555 printf %s
"checking for -lfontconfig... " >&6; }
18556 if test ${ac_cv_lib_soname_fontconfig+y}
18558 printf %s
"(cached) " >&6
18560 ac_check_soname_save_LIBS
=$LIBS
18561 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 /* Override any GCC internal prototype to avoid an error.
18566 Use char because int might match the return type of a GCC
18567 builtin and then its argument prototype would still apply. */
18577 if ac_fn_c_try_link
"$LINENO"
18580 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18581 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'` ;;
18582 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18583 if ${ac_cv_lib_soname_fontconfig:+false} :
18585 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18589 ac_cv_lib_soname_fontconfig
=
18591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18592 conftest
$ac_exeext conftest.
$ac_ext
18593 LIBS
=$ac_check_soname_save_LIBS
18595 if ${ac_cv_lib_soname_fontconfig:+false} :
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18598 printf "%s\n" "not found" >&6; }
18599 FONTCONFIG_CFLAGS
=""
18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18602 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18604 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18609 FONTCONFIG_CFLAGS
=""
18612 CPPFLAGS
=$ac_save_CPPFLAGS
18615 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18617 case "x$with_fontconfig" in
18618 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18620 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18621 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18626 if test "x$with_krb5" != "xno"
18629 if ${KRB5_CFLAGS:+false} :
18631 if test ${PKG_CONFIG+y}
18633 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18636 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18637 if ${KRB5_LIBS:+false} :
18639 if test ${PKG_CONFIG+y}
18641 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18644 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18648 if test -s conftest.err
; then
18649 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18650 cat conftest.err
>&5
18653 ac_save_CPPFLAGS
=$CPPFLAGS
18654 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18655 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18656 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18658 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18662 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18665 printf %s
"checking for -lkrb5... " >&6; }
18666 if test ${ac_cv_lib_soname_krb5+y}
18668 printf %s
"(cached) " >&6
18670 ac_check_soname_save_LIBS
=$LIBS
18671 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18675 /* Override any GCC internal prototype to avoid an error.
18676 Use char because int might match the return type of a GCC
18677 builtin and then its argument prototype would still apply. */
18678 char krb5_is_config_principal ();
18682 return krb5_is_config_principal ();
18687 if ac_fn_c_try_link
"$LINENO"
18690 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18691 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'` ;;
18692 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18693 if ${ac_cv_lib_soname_krb5:+false} :
18695 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18699 ac_cv_lib_soname_krb5
=
18701 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18702 conftest
$ac_exeext conftest.
$ac_ext
18703 LIBS
=$ac_check_soname_save_LIBS
18705 if ${ac_cv_lib_soname_krb5:+false} :
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18708 printf "%s\n" "not found" >&6; }
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18712 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18714 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18721 CPPFLAGS
=$ac_save_CPPFLAGS
18724 if test "x$ac_cv_lib_soname_krb5" = "x"
18726 case "x$with_krb5" in
18727 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18729 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18730 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18734 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18736 if test "x$with_gssapi" != "xno"
18739 if ${GSSAPI_CFLAGS:+false} :
18741 if test ${PKG_CONFIG+y}
18743 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18746 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18747 if ${GSSAPI_LIBS:+false} :
18749 if test ${PKG_CONFIG+y}
18751 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18754 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18758 if test -s conftest.err
; then
18759 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18760 cat conftest.err
>&5
18763 ac_save_CPPFLAGS
=$CPPFLAGS
18764 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18765 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18766 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18768 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18771 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18772 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18774 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18778 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18781 printf %s
"checking for -lgssapi_krb5... " >&6; }
18782 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18784 printf %s
"(cached) " >&6
18786 ac_check_soname_save_LIBS
=$LIBS
18787 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18791 /* Override any GCC internal prototype to avoid an error.
18792 Use char because int might match the return type of a GCC
18793 builtin and then its argument prototype would still apply. */
18794 char gss_init_sec_context ();
18798 return gss_init_sec_context ();
18803 if ac_fn_c_try_link
"$LINENO"
18806 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18807 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'` ;;
18808 *) 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'`
18809 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18811 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18815 ac_cv_lib_soname_gssapi_krb5
=
18817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18818 conftest
$ac_exeext conftest.
$ac_ext
18819 LIBS
=$ac_check_soname_save_LIBS
18821 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18824 printf "%s\n" "not found" >&6; }
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18828 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18830 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18837 CPPFLAGS
=$ac_save_CPPFLAGS
18840 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18842 case "x$with_gssapi" in
18843 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18845 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18846 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18851 if test "$ac_cv_header_libprocstat_h" = "yes"
18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18854 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18855 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18857 printf %s
"(cached) " >&6
18859 ac_check_lib_save_LIBS
=$LIBS
18860 LIBS
="-lprocstat $LIBS"
18861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18864 /* Override any GCC internal prototype to avoid an error.
18865 Use char because int might match the return type of a GCC
18866 builtin and then its argument prototype would still apply. */
18867 char procstat_open_sysctl ();
18871 return procstat_open_sysctl ();
18876 if ac_fn_c_try_link
"$LINENO"
18878 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18880 ac_cv_lib_procstat_procstat_open_sysctl
=no
18882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18883 conftest
$ac_exeext conftest.
$ac_ext
18884 LIBS
=$ac_check_lib_save_LIBS
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18887 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18888 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18891 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18893 PROCSTAT_LIBS
="-lprocstat"
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18900 printf %s
"checking for -lodbc... " >&6; }
18901 if test ${ac_cv_lib_soname_odbc+y}
18903 printf %s
"(cached) " >&6
18905 ac_check_soname_save_LIBS
=$LIBS
18906 LIBS
="-lodbc $LIBS"
18907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18910 /* Override any GCC internal prototype to avoid an error.
18911 Use char because int might match the return type of a GCC
18912 builtin and then its argument prototype would still apply. */
18913 char SQLConnect ();
18917 return SQLConnect ();
18922 if ac_fn_c_try_link
"$LINENO"
18925 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18926 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'` ;;
18927 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18928 if ${ac_cv_lib_soname_odbc:+false} :
18930 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18934 ac_cv_lib_soname_odbc
=
18936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18937 conftest
$ac_exeext conftest.
$ac_ext
18938 LIBS
=$ac_check_soname_save_LIBS
18940 if ${ac_cv_lib_soname_odbc:+false} :
18942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18943 printf "%s\n" "not found" >&6; }
18944 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18948 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18950 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18955 if test "x$with_netapi" != "xno"
18958 if ${NETAPI_CFLAGS:+false} :
18960 if test ${PKG_CONFIG+y}
18962 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18966 if ${NETAPI_LIBS:+false} :
18968 if test ${PKG_CONFIG+y}
18970 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18977 if test -s conftest.err
; then
18978 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18979 cat conftest.err
>&5
18982 ac_save_CPPFLAGS
=$CPPFLAGS
18983 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18985 printf %s
"checking for -lnetapi... " >&6; }
18986 if test ${ac_cv_lib_soname_netapi+y}
18988 printf %s
"(cached) " >&6
18990 ac_check_soname_save_LIBS
=$LIBS
18991 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18995 /* Override any GCC internal prototype to avoid an error.
18996 Use char because int might match the return type of a GCC
18997 builtin and then its argument prototype would still apply. */
18998 char libnetapi_init ();
19002 return libnetapi_init ();
19007 if ac_fn_c_try_link
"$LINENO"
19010 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19011 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'` ;;
19012 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19013 if ${ac_cv_lib_soname_netapi:+false} :
19015 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19019 ac_cv_lib_soname_netapi
=
19021 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19022 conftest
$ac_exeext conftest.
$ac_ext
19023 LIBS
=$ac_check_soname_save_LIBS
19025 if ${ac_cv_lib_soname_netapi:+false} :
19027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19028 printf "%s\n" "not found" >&6; }
19029 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19033 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19035 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19039 CPPFLAGS
=$ac_save_CPPFLAGS
19042 if test "x$ac_cv_lib_soname_netapi" = "x"
19044 case "x$with_netapi" in
19045 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
19047 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
19048 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19050 enable_netapi
=${enable_netapi:-no}
19054 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
19055 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19057 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
19060 if test "x$with_vulkan" != "xno"
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19063 printf %s
"checking for -lvulkan... " >&6; }
19064 if test ${ac_cv_lib_soname_vulkan+y}
19066 printf %s
"(cached) " >&6
19068 ac_check_soname_save_LIBS
=$LIBS
19069 LIBS
="-lvulkan $LIBS"
19070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19073 /* Override any GCC internal prototype to avoid an error.
19074 Use char because int might match the return type of a GCC
19075 builtin and then its argument prototype would still apply. */
19076 char vkGetInstanceProcAddr ();
19080 return vkGetInstanceProcAddr ();
19085 if ac_fn_c_try_link
"$LINENO"
19088 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19089 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'` ;;
19090 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19091 if ${ac_cv_lib_soname_vulkan:+false} :
19093 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19097 ac_cv_lib_soname_vulkan
=
19099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19100 conftest
$ac_exeext conftest.
$ac_ext
19101 LIBS
=$ac_check_soname_save_LIBS
19103 if ${ac_cv_lib_soname_vulkan:+false} :
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19106 printf "%s\n" "not found" >&6; }
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19110 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19112 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19116 if test "x$ac_cv_lib_soname_vulkan" = "x"
19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19119 printf %s
"checking for -lMoltenVK... " >&6; }
19120 if test ${ac_cv_lib_soname_MoltenVK+y}
19122 printf %s
"(cached) " >&6
19124 ac_check_soname_save_LIBS
=$LIBS
19125 LIBS
="-lMoltenVK $LIBS"
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19129 /* Override any GCC internal prototype to avoid an error.
19130 Use char because int might match the return type of a GCC
19131 builtin and then its argument prototype would still apply. */
19132 char vkGetInstanceProcAddr ();
19136 return vkGetInstanceProcAddr ();
19141 if ac_fn_c_try_link
"$LINENO"
19144 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19145 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'` ;;
19146 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19147 if ${ac_cv_lib_soname_MoltenVK:+false} :
19149 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19153 ac_cv_lib_soname_MoltenVK
=
19155 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19156 conftest
$ac_exeext conftest.
$ac_ext
19157 LIBS
=$ac_check_soname_save_LIBS
19159 if ${ac_cv_lib_soname_MoltenVK:+false} :
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19162 printf "%s\n" "not found" >&6; }
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19166 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19168 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19170 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19175 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19177 case "x$with_vulkan" in
19178 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19180 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19181 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19187 if test "x${GCC}" = "xyes"
19189 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
19191 saved_CFLAGS
=$CFLAGS
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19193 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19194 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19196 printf %s
"(cached) " >&6
19198 ac_wine_try_cflags_saved
=$CFLAGS
19199 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 int main(int argc, char **argv) { return 0; }
19204 if ac_fn_c_try_link
"$LINENO"
19206 ac_cv_cflags__Werror_unknown_warning_option
=yes
19208 ac_cv_cflags__Werror_unknown_warning_option
=no
19210 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19211 conftest
$ac_exeext conftest.
$ac_ext
19212 CFLAGS
=$ac_wine_try_cflags_saved
19214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19215 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19216 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19218 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19221 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19222 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19224 printf %s
"(cached) " >&6
19226 ac_wine_try_cflags_saved
=$CFLAGS
19227 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h. */
19230 int main(int argc, char **argv) { return 0; }
19232 if ac_fn_c_try_link
"$LINENO"
19234 ac_cv_cflags__Werror_unused_command_line_argument
=yes
19236 ac_cv_cflags__Werror_unused_command_line_argument
=no
19238 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19239 conftest
$ac_exeext conftest.
$ac_ext
19240 CFLAGS
=$ac_wine_try_cflags_saved
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19243 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19244 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19246 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19249 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19250 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19252 printf %s
"(cached) " >&6
19254 ac_wine_try_cflags_saved
=$CFLAGS
19255 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19260 if ac_fn_c_try_link
"$LINENO"
19262 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
19264 ac_cv_cflags__Werror_ignored_optimization_argument
=no
19266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19267 conftest
$ac_exeext conftest.
$ac_ext
19268 CFLAGS
=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19271 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19272 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19274 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19277 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
19278 if test ${ac_cv_cflags__fcf_protection_none+y}
19280 printf %s
"(cached) " >&6
19282 ac_wine_try_cflags_saved
=$CFLAGS
19283 CFLAGS
="$CFLAGS -fcf-protection=none"
19284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19288 if ac_fn_c_try_link
"$LINENO"
19290 ac_cv_cflags__fcf_protection_none
=yes
19292 ac_cv_cflags__fcf_protection_none
=no
19294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19295 conftest
$ac_exeext conftest.
$ac_ext
19296 CFLAGS
=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19299 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19300 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19302 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19305 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19306 if test ${ac_cv_cflags__fvisibility_hidden+y}
19308 printf %s
"(cached) " >&6
19310 ac_wine_try_cflags_saved
=$CFLAGS
19311 CFLAGS
="$CFLAGS -fvisibility=hidden"
19312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 int main(int argc, char **argv) { return 0; }
19316 if ac_fn_c_try_link
"$LINENO"
19318 ac_cv_cflags__fvisibility_hidden
=yes
19320 ac_cv_cflags__fvisibility_hidden
=no
19322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19323 conftest
$ac_exeext conftest.
$ac_ext
19324 CFLAGS
=$ac_wine_try_cflags_saved
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19327 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19328 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19330 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
19332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19333 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
19334 if test ${ac_cv_cflags__fno_stack_protector+y}
19336 printf %s
"(cached) " >&6
19338 ac_wine_try_cflags_saved
=$CFLAGS
19339 CFLAGS
="$CFLAGS -fno-stack-protector"
19340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 int main(int argc, char **argv) { return 0; }
19344 if ac_fn_c_try_link
"$LINENO"
19346 ac_cv_cflags__fno_stack_protector
=yes
19348 ac_cv_cflags__fno_stack_protector
=no
19350 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19351 conftest
$ac_exeext conftest.
$ac_ext
19352 CFLAGS
=$ac_wine_try_cflags_saved
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19355 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19356 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19358 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19361 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19362 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19364 printf %s
"(cached) " >&6
19366 ac_wine_try_cflags_saved
=$CFLAGS
19367 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19370 int main(int argc, char **argv) { return 0; }
19372 if ac_fn_c_try_link
"$LINENO"
19374 ac_cv_cflags__fno_strict_aliasing
=yes
19376 ac_cv_cflags__fno_strict_aliasing
=no
19378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19379 conftest
$ac_exeext conftest.
$ac_ext
19380 CFLAGS
=$ac_wine_try_cflags_saved
19382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19383 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19384 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19386 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19389 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19390 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19392 printf %s
"(cached) " >&6
19394 ac_wine_try_cflags_saved
=$CFLAGS
19395 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 int main(int argc, char **argv) { return 0; }
19400 if ac_fn_c_try_link
"$LINENO"
19402 ac_cv_cflags__Wdeclaration_after_statement
=yes
19404 ac_cv_cflags__Wdeclaration_after_statement
=no
19406 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19407 conftest
$ac_exeext conftest.
$ac_ext
19408 CFLAGS
=$ac_wine_try_cflags_saved
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19411 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19412 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19414 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19417 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19418 if test ${ac_cv_cflags__Wempty_body+y}
19420 printf %s
"(cached) " >&6
19422 ac_wine_try_cflags_saved
=$CFLAGS
19423 CFLAGS
="$CFLAGS -Wempty-body"
19424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 int main(int argc, char **argv) { return 0; }
19428 if ac_fn_c_try_link
"$LINENO"
19430 ac_cv_cflags__Wempty_body
=yes
19432 ac_cv_cflags__Wempty_body
=no
19434 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19435 conftest
$ac_exeext conftest.
$ac_ext
19436 CFLAGS
=$ac_wine_try_cflags_saved
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19439 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19440 if test "x$ac_cv_cflags__Wempty_body" = xyes
19442 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19445 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19446 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19448 printf %s
"(cached) " >&6
19450 ac_wine_try_cflags_saved
=$CFLAGS
19451 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 int main(int argc, char **argv) { return 0; }
19456 if ac_fn_c_try_link
"$LINENO"
19458 ac_cv_cflags__Wignored_qualifiers
=yes
19460 ac_cv_cflags__Wignored_qualifiers
=no
19462 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19463 conftest
$ac_exeext conftest.
$ac_ext
19464 CFLAGS
=$ac_wine_try_cflags_saved
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19467 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19468 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19470 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19473 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19474 if test ${ac_cv_cflags__Winit_self+y}
19476 printf %s
"(cached) " >&6
19478 ac_wine_try_cflags_saved
=$CFLAGS
19479 CFLAGS
="$CFLAGS -Winit-self"
19480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482 int main(int argc, char **argv) { return 0; }
19484 if ac_fn_c_try_link
"$LINENO"
19486 ac_cv_cflags__Winit_self
=yes
19488 ac_cv_cflags__Winit_self
=no
19490 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19491 conftest
$ac_exeext conftest.
$ac_ext
19492 CFLAGS
=$ac_wine_try_cflags_saved
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19495 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19496 if test "x$ac_cv_cflags__Winit_self" = xyes
19498 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19501 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19502 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19504 printf %s
"(cached) " >&6
19506 ac_wine_try_cflags_saved
=$CFLAGS
19507 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 int main(int argc, char **argv) { return 0; }
19512 if ac_fn_c_try_link
"$LINENO"
19514 ac_cv_cflags__Wpacked_not_aligned
=yes
19516 ac_cv_cflags__Wpacked_not_aligned
=no
19518 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19519 conftest
$ac_exeext conftest.
$ac_ext
19520 CFLAGS
=$ac_wine_try_cflags_saved
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19523 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19524 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19526 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19529 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19530 if test ${ac_cv_cflags__Wpragma_pack+y}
19532 printf %s
"(cached) " >&6
19534 ac_wine_try_cflags_saved
=$CFLAGS
19535 CFLAGS
="$CFLAGS -Wpragma-pack"
19536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 int main(int argc, char **argv) { return 0; }
19540 if ac_fn_c_try_link
"$LINENO"
19542 ac_cv_cflags__Wpragma_pack
=yes
19544 ac_cv_cflags__Wpragma_pack
=no
19546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19547 conftest
$ac_exeext conftest.
$ac_ext
19548 CFLAGS
=$ac_wine_try_cflags_saved
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19551 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19552 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19554 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19557 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19558 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19560 printf %s
"(cached) " >&6
19562 ac_wine_try_cflags_saved
=$CFLAGS
19563 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 int main(int argc, char **argv) { return 0; }
19568 if ac_fn_c_try_link
"$LINENO"
19570 ac_cv_cflags__Wshift_overflow_2
=yes
19572 ac_cv_cflags__Wshift_overflow_2
=no
19574 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19575 conftest
$ac_exeext conftest.
$ac_ext
19576 CFLAGS
=$ac_wine_try_cflags_saved
19578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19579 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19580 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19582 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19585 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19586 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19588 printf %s
"(cached) " >&6
19590 ac_wine_try_cflags_saved
=$CFLAGS
19591 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19594 int main(int argc, char **argv) { return 0; }
19596 if ac_fn_c_try_link
"$LINENO"
19598 ac_cv_cflags__Wstrict_prototypes
=yes
19600 ac_cv_cflags__Wstrict_prototypes
=no
19602 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19603 conftest
$ac_exeext conftest.
$ac_ext
19604 CFLAGS
=$ac_wine_try_cflags_saved
19606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19607 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19608 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19610 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19613 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19614 if test ${ac_cv_cflags__Wtype_limits+y}
19616 printf %s
"(cached) " >&6
19618 ac_wine_try_cflags_saved
=$CFLAGS
19619 CFLAGS
="$CFLAGS -Wtype-limits"
19620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 int main(int argc, char **argv) { return 0; }
19624 if ac_fn_c_try_link
"$LINENO"
19626 ac_cv_cflags__Wtype_limits
=yes
19628 ac_cv_cflags__Wtype_limits
=no
19630 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19631 conftest
$ac_exeext conftest.
$ac_ext
19632 CFLAGS
=$ac_wine_try_cflags_saved
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19635 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19636 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19638 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19641 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19642 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19644 printf %s
"(cached) " >&6
19646 ac_wine_try_cflags_saved
=$CFLAGS
19647 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 int main(int argc, char **argv) { return 0; }
19652 if ac_fn_c_try_link
"$LINENO"
19654 ac_cv_cflags__Wunused_but_set_parameter
=yes
19656 ac_cv_cflags__Wunused_but_set_parameter
=no
19658 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19659 conftest
$ac_exeext conftest.
$ac_ext
19660 CFLAGS
=$ac_wine_try_cflags_saved
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19663 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19664 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19666 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19669 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19670 if test ${ac_cv_cflags__Wvla+y}
19672 printf %s
"(cached) " >&6
19674 ac_wine_try_cflags_saved
=$CFLAGS
19675 CFLAGS
="$CFLAGS -Wvla"
19676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678 int main(int argc, char **argv) { return 0; }
19680 if ac_fn_c_try_link
"$LINENO"
19682 ac_cv_cflags__Wvla
=yes
19684 ac_cv_cflags__Wvla
=no
19686 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19687 conftest
$ac_exeext conftest.
$ac_ext
19688 CFLAGS
=$ac_wine_try_cflags_saved
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19691 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19692 if test "x$ac_cv_cflags__Wvla" = xyes
19694 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19697 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19698 if test ${ac_cv_cflags__Wwrite_strings+y}
19700 printf %s
"(cached) " >&6
19702 ac_wine_try_cflags_saved
=$CFLAGS
19703 CFLAGS
="$CFLAGS -Wwrite-strings"
19704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 int main(int argc, char **argv) { return 0; }
19708 if ac_fn_c_try_link
"$LINENO"
19710 ac_cv_cflags__Wwrite_strings
=yes
19712 ac_cv_cflags__Wwrite_strings
=no
19714 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19715 conftest
$ac_exeext conftest.
$ac_ext
19716 CFLAGS
=$ac_wine_try_cflags_saved
19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19719 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19720 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19722 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19726 printf %s
"checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19727 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19729 printf %s
"(cached) " >&6
19731 ac_wine_try_cflags_saved
=$CFLAGS
19732 CFLAGS
="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19735 int main(int argc, char **argv) { return 0; }
19737 if ac_fn_c_try_link
"$LINENO"
19739 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=yes
19741 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=no
19743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19744 conftest
$ac_exeext conftest.
$ac_ext
19745 CFLAGS
=$ac_wine_try_cflags_saved
19747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19748 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19749 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19751 EXTRACFLAGS
="$EXTRACFLAGS -Wno-misleading-indentation"
19754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19755 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19756 if test ${ac_cv_cflags__Wpointer_arith+y}
19758 printf %s
"(cached) " >&6
19760 ac_wine_try_cflags_saved
=$CFLAGS
19761 CFLAGS
="$CFLAGS -Wpointer-arith"
19762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19764 int main(int argc, char **argv) { return 0; }
19766 if ac_fn_c_try_link
"$LINENO"
19768 ac_cv_cflags__Wpointer_arith
=yes
19770 ac_cv_cflags__Wpointer_arith
=no
19772 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19773 conftest
$ac_exeext conftest.
$ac_ext
19774 CFLAGS
=$ac_wine_try_cflags_saved
19776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19777 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19778 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19780 saved_string_h_CFLAGS
=$CFLAGS
19781 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19783 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19784 if test ${ac_cv_c_string_h_warnings+y}
19786 printf %s
"(cached) " >&6
19788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <string.h>
19799 if ac_fn_c_try_compile
"$LINENO"
19801 ac_cv_c_string_h_warnings
=no
19803 ac_cv_c_string_h_warnings
=yes
19805 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19808 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19809 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19810 CFLAGS
=$saved_string_h_CFLAGS
19813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19814 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19815 if test ${ac_cv_cflags__Wlogical_op+y}
19817 printf %s
"(cached) " >&6
19819 ac_wine_try_cflags_saved
=$CFLAGS
19820 CFLAGS
="$CFLAGS -Wlogical-op"
19821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 int main(int argc, char **argv) { return 0; }
19825 if ac_fn_c_try_link
"$LINENO"
19827 ac_cv_cflags__Wlogical_op
=yes
19829 ac_cv_cflags__Wlogical_op
=no
19831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19832 conftest
$ac_exeext conftest.
$ac_ext
19833 CFLAGS
=$ac_wine_try_cflags_saved
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19836 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19837 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19839 saved_string_h_CFLAGS
=$CFLAGS
19840 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19842 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19843 if test ${ac_cv_c_logicalop_noisy+y}
19845 printf %s
"(cached) " >&6
19847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #include <string.h>
19850 char*f(const char *h,char n) {return strchr(h,n);}
19859 if ac_fn_c_try_compile
"$LINENO"
19861 ac_cv_c_logicalop_noisy
=no
19863 ac_cv_c_logicalop_noisy
=yes
19865 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19868 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19869 CFLAGS
=$saved_string_h_CFLAGS
19870 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19874 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19875 if test ${wine_cv_64bit_compare_swap+y}
19877 printf %s
"(cached) " >&6
19879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19881 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19892 if ac_fn_c_try_compile
"$LINENO"
19894 wine_cv_64bit_compare_swap
="none needed"
19897 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
19898 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19899 *) wine_cv_64bit_compare_swap
="unknown" ;;
19901 if test "x$wine_cv_64bit_compare_swap" != xunknown
19903 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19905 /* end confdefs.h. */
19906 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19917 if ac_fn_c_try_compile
"$LINENO"
19921 wine_cv_64bit_compare_swap
="unknown"
19923 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19924 CFLAGS
=$saved_CFLAGS
19927 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19930 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19931 case "$wine_cv_64bit_compare_swap" in
19932 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19934 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19937 ac_debug_format_seen
=""
19938 for ac_flag
in $CFLAGS; do
19940 -gdwarf*) ac_debug_format_seen
=yes ;;
19941 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19944 if test "x$ac_debug_format_seen" = xdefault
19946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19947 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19948 if test ${ac_cv_cflags__gdwarf_4+y}
19950 printf %s
"(cached) " >&6
19952 ac_wine_try_cflags_saved
=$CFLAGS
19953 CFLAGS
="$CFLAGS -gdwarf-4"
19954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 int main(int argc, char **argv) { return 0; }
19958 if ac_fn_c_try_link
"$LINENO"
19960 ac_cv_cflags__gdwarf_4
=yes
19962 ac_cv_cflags__gdwarf_4
=no
19964 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19965 conftest
$ac_exeext conftest.
$ac_ext
19966 CFLAGS
=$ac_wine_try_cflags_saved
19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19969 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19970 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19972 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19979 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19980 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19981 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19983 printf %s
"(cached) " >&6
19985 ac_wine_try_cflags_saved
=$CFLAGS
19986 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19989 int main(int argc, char **argv) { return 0; }
19991 if ac_fn_c_try_link
"$LINENO"
19993 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19995 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19998 conftest
$ac_exeext conftest.
$ac_ext
19999 CFLAGS
=$ac_wine_try_cflags_saved
20001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20002 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20003 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20005 DELAYLOADFLAG
="-Wl,-delayload,"
20008 *) MSVCRTFLAGS
="-D_WIN32"
20009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20010 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
20011 if test ${ac_cv_cflags__fno_builtin+y}
20013 printf %s
"(cached) " >&6
20015 ac_wine_try_cflags_saved
=$CFLAGS
20016 CFLAGS
="$CFLAGS -fno-builtin"
20017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20018 /* end confdefs.h. */
20019 int main(int argc, char **argv) { return 0; }
20021 if ac_fn_c_try_link
"$LINENO"
20023 ac_cv_cflags__fno_builtin
=yes
20025 ac_cv_cflags__fno_builtin
=no
20027 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20028 conftest
$ac_exeext conftest.
$ac_ext
20029 CFLAGS
=$ac_wine_try_cflags_saved
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20032 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20033 if test "x$ac_cv_cflags__fno_builtin" = xyes
20035 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
20037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20038 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
20039 if test ${ac_cv_cflags__fshort_wchar+y}
20041 printf %s
"(cached) " >&6
20043 ac_wine_try_cflags_saved
=$CFLAGS
20044 CFLAGS
="$CFLAGS -fshort-wchar"
20045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20047 int main(int argc, char **argv) { return 0; }
20049 if ac_fn_c_try_link
"$LINENO"
20051 ac_cv_cflags__fshort_wchar
=yes
20053 ac_cv_cflags__fshort_wchar
=no
20055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20056 conftest
$ac_exeext conftest.
$ac_ext
20057 CFLAGS
=$ac_wine_try_cflags_saved
20059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20060 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20061 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20063 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20066 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20067 if test ${ac_cv_cflags__Wno_format+y}
20069 printf %s
"(cached) " >&6
20071 ac_wine_try_cflags_saved
=$CFLAGS
20072 CFLAGS
="$CFLAGS -Wno-format"
20073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20074 /* end confdefs.h. */
20075 int main(int argc, char **argv) { return 0; }
20077 if ac_fn_c_try_link
"$LINENO"
20079 ac_cv_cflags__Wno_format
=yes
20081 ac_cv_cflags__Wno_format
=no
20083 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20084 conftest
$ac_exeext conftest.
$ac_ext
20085 CFLAGS
=$ac_wine_try_cflags_saved
20087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20088 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20089 if test "x$ac_cv_cflags__Wno_format" = xyes
20091 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
20096 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20097 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20098 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20100 printf %s
"(cached) " >&6
20102 ac_wine_try_cflags_saved
=$CFLAGS
20103 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
20104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20106 int main(int argc, char **argv) { return 0; }
20108 if ac_fn_c_try_link
"$LINENO"
20110 ac_cv_cflags__fno_omit_frame_pointer
=yes
20112 ac_cv_cflags__fno_omit_frame_pointer
=no
20114 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20115 conftest
$ac_exeext conftest.
$ac_ext
20116 CFLAGS
=$ac_wine_try_cflags_saved
20118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20119 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20120 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20122 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
20126 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20127 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20128 if test ${ac_cv_cflags__Wno_format+y}
20130 printf %s
"(cached) " >&6
20132 ac_wine_try_cflags_saved
=$CFLAGS
20133 CFLAGS
="$CFLAGS -Wno-format"
20134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 int main(int argc, char **argv) { return 0; }
20138 if ac_fn_c_try_link
"$LINENO"
20140 ac_cv_cflags__Wno_format
=yes
20142 ac_cv_cflags__Wno_format
=no
20144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20145 conftest
$ac_exeext conftest.
$ac_ext
20146 CFLAGS
=$ac_wine_try_cflags_saved
20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20149 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20150 if test "x$ac_cv_cflags__Wno_format" = xyes
20152 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
20154 *) if test -z "$PE_ARCHS"
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20157 printf %s
"checking for working -mabi=ms... " >&6; }
20158 if test ${ac_cv_mabi_ms+y}
20160 printf %s
"(cached) " >&6
20162 CFLAGS
="$CFLAGS -mabi=ms"
20163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20164 /* end confdefs.h. */
20165 #include <stdarg.h>
20166 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20175 if ac_fn_c_try_compile
"$LINENO"
20181 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20182 CFLAGS
=$saved_CFLAGS
20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20185 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20186 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
20188 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20192 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20193 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20195 printf %s
"(cached) " >&6
20197 ac_wine_try_cflags_saved
=$CFLAGS
20198 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
20199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20201 int main(int argc, char **argv) { return 0; }
20203 if ac_fn_c_try_link
"$LINENO"
20205 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
20207 ac_cv_cflags__Wincompatible_function_pointer_types
=no
20209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20210 conftest
$ac_exeext conftest.
$ac_ext
20211 CFLAGS
=$ac_wine_try_cflags_saved
20213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20214 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20215 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20217 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20221 CFLAGS
=$saved_CFLAGS
20223 if test "x$enable_werror" = "xyes"
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20226 printf %s
"checking whether the compiler supports -Werror... " >&6; }
20227 if test ${ac_cv_cflags__Werror+y}
20229 printf %s
"(cached) " >&6
20231 ac_wine_try_cflags_saved
=$CFLAGS
20232 CFLAGS
="$CFLAGS -Werror"
20233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20234 /* end confdefs.h. */
20235 int main(int argc, char **argv) { return 0; }
20237 if ac_fn_c_try_link
"$LINENO"
20239 ac_cv_cflags__Werror
=yes
20241 ac_cv_cflags__Werror
=no
20243 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20244 conftest
$ac_exeext conftest.
$ac_ext
20245 CFLAGS
=$ac_wine_try_cflags_saved
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20248 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20249 if test "x$ac_cv_cflags__Werror" = xyes
20251 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
20254 if test "x$enable_build_id" = "xyes"
20256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20257 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
20258 if test ${ac_cv_cflags__Wl___build_id+y}
20260 printf %s
"(cached) " >&6
20262 ac_wine_try_cflags_saved
=$CFLAGS
20263 CFLAGS
="$CFLAGS -Wl,--build-id"
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 int main(int argc, char **argv) { return 0; }
20268 if ac_fn_c_try_link
"$LINENO"
20270 ac_cv_cflags__Wl___build_id
=yes
20272 ac_cv_cflags__Wl___build_id
=no
20274 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20275 conftest
$ac_exeext conftest.
$ac_ext
20276 CFLAGS
=$ac_wine_try_cflags_saved
20278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20279 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20280 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20282 CFLAGS
="$CFLAGS -Wl,--build-id"
20283 LDFLAGS
="$LDFLAGS -Wl,--build-id"
20289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20290 printf %s
"checking for the need to disable Fortify... " >&6; }
20291 if test ${ac_cv_c_fortify_enabled+y}
20293 printf %s
"(cached) " >&6
20295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20297 #include <string.h>
20301 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20302 #error Fortify enabled
20308 if ac_fn_c_try_compile
"$LINENO"
20310 ac_cv_c_fortify_enabled
=no
20312 ac_cv_c_fortify_enabled
=yes
20314 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20317 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20318 if test "$ac_cv_c_fortify_enabled" = yes
20320 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20325 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
20326 if test ${ac_cv_c_cfi_support+y}
20328 printf %s
"(cached) " >&6
20330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20332 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20341 if ac_fn_c_try_compile
"$LINENO"
20343 ac_cv_c_cfi_support
="yes"
20345 ac_cv_c_cfi_support
="no"
20347 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20350 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20351 if test "$ac_cv_c_cfi_support" = "yes"
20353 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
20354 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
20355 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20356 elif test $HOST_ARCH = x86_64
20358 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20362 case "$HOST_ARCH,$PE_ARCHS" in
20363 x86_64
,*i386
*) wine_binary
="wine" ;;
20364 x86_64
,*) wine_binary
="wine64" ;;
20365 *) wine_binary
="wine" ;;
20367 WINELOADER_PROGRAMS
="$wine_binary"
20372 if test $HOST_ARCH != unknown
20374 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20375 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20379 if test "$wine_can_build_preloader" = "yes"
20381 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20382 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20389 printf %s
"checking for library containing dlopen... " >&6; }
20390 if test ${ac_cv_search_dlopen+y}
20392 printf %s
"(cached) " >&6
20394 ac_func_search_save_LIBS
=$LIBS
20395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20396 /* end confdefs.h. */
20398 /* Override any GCC internal prototype to avoid an error.
20399 Use char because int might match the return type of a GCC
20400 builtin and then its argument prototype would still apply. */
20410 for ac_lib
in '' dl
20412 if test -z "$ac_lib"; then
20413 ac_res
="none required"
20416 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20418 if ac_fn_c_try_link
"$LINENO"
20420 ac_cv_search_dlopen
=$ac_res
20422 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20424 if test ${ac_cv_search_dlopen+y}
20429 if test ${ac_cv_search_dlopen+y}
20433 ac_cv_search_dlopen
=no
20435 rm conftest.
$ac_ext
20436 LIBS
=$ac_func_search_save_LIBS
20438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20439 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20440 ac_res
=$ac_cv_search_dlopen
20441 if test "$ac_res" != no
20443 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20449 printf %s
"checking for library containing gethostbyname... " >&6; }
20450 if test ${ac_cv_search_gethostbyname+y}
20452 printf %s
"(cached) " >&6
20454 ac_func_search_save_LIBS
=$LIBS
20455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20458 /* Override any GCC internal prototype to avoid an error.
20459 Use char because int might match the return type of a GCC
20460 builtin and then its argument prototype would still apply. */
20461 char gethostbyname ();
20465 return gethostbyname ();
20470 for ac_lib
in '' nsl
20472 if test -z "$ac_lib"; then
20473 ac_res
="none required"
20476 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20478 if ac_fn_c_try_link
"$LINENO"
20480 ac_cv_search_gethostbyname
=$ac_res
20482 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20484 if test ${ac_cv_search_gethostbyname+y}
20489 if test ${ac_cv_search_gethostbyname+y}
20493 ac_cv_search_gethostbyname
=no
20495 rm conftest.
$ac_ext
20496 LIBS
=$ac_func_search_save_LIBS
20498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20499 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20500 ac_res
=$ac_cv_search_gethostbyname
20501 if test "$ac_res" != no
20503 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20509 printf %s
"checking for library containing connect... " >&6; }
20510 if test ${ac_cv_search_connect+y}
20512 printf %s
"(cached) " >&6
20514 ac_func_search_save_LIBS
=$LIBS
20515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20518 /* Override any GCC internal prototype to avoid an error.
20519 Use char because int might match the return type of a GCC
20520 builtin and then its argument prototype would still apply. */
20530 for ac_lib
in '' socket
20532 if test -z "$ac_lib"; then
20533 ac_res
="none required"
20536 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20538 if ac_fn_c_try_link
"$LINENO"
20540 ac_cv_search_connect
=$ac_res
20542 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20544 if test ${ac_cv_search_connect+y}
20549 if test ${ac_cv_search_connect+y}
20553 ac_cv_search_connect
=no
20555 rm conftest.
$ac_ext
20556 LIBS
=$ac_func_search_save_LIBS
20558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20559 printf "%s\n" "$ac_cv_search_connect" >&6; }
20560 ac_res
=$ac_cv_search_connect
20561 if test "$ac_res" != no
20563 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20569 printf %s
"checking for library containing inet_aton... " >&6; }
20570 if test ${ac_cv_search_inet_aton+y}
20572 printf %s
"(cached) " >&6
20574 ac_func_search_save_LIBS
=$LIBS
20575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20576 /* end confdefs.h. */
20578 /* Override any GCC internal prototype to avoid an error.
20579 Use char because int might match the return type of a GCC
20580 builtin and then its argument prototype would still apply. */
20585 return inet_aton ();
20590 for ac_lib
in '' resolv
20592 if test -z "$ac_lib"; then
20593 ac_res
="none required"
20596 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20598 if ac_fn_c_try_link
"$LINENO"
20600 ac_cv_search_inet_aton
=$ac_res
20602 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20604 if test ${ac_cv_search_inet_aton+y}
20609 if test ${ac_cv_search_inet_aton+y}
20613 ac_cv_search_inet_aton
=no
20615 rm conftest.
$ac_ext
20616 LIBS
=$ac_func_search_save_LIBS
20618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20619 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20620 ac_res
=$ac_cv_search_inet_aton
20621 if test "$ac_res" != no
20623 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20628 ac_save_CFLAGS
="$CFLAGS"
20629 CFLAGS
="$CFLAGS $BUILTINFLAG"
20630 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20631 if test "x$ac_cv_func_dladdr1" = xyes
20633 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20636 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20637 if test "x$ac_cv_func_dlinfo" = xyes
20639 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20642 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20643 if test "x$ac_cv_func_epoll_create" = xyes
20645 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20648 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20649 if test "x$ac_cv_func_fstatfs" = xyes
20651 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20654 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20655 if test "x$ac_cv_func_futimens" = xyes
20657 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20660 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20661 if test "x$ac_cv_func_futimes" = xyes
20663 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20666 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20667 if test "x$ac_cv_func_futimesat" = xyes
20669 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20672 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20673 if test "x$ac_cv_func_getaddrinfo" = xyes
20675 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20678 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20679 if test "x$ac_cv_func_getattrlist" = xyes
20681 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20684 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20685 if test "x$ac_cv_func_getauxval" = xyes
20687 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20690 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20691 if test "x$ac_cv_func_getifaddrs" = xyes
20693 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20696 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20697 if test "x$ac_cv_func_getrandom" = xyes
20699 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20702 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20703 if test "x$ac_cv_func_kqueue" = xyes
20705 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20708 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20709 if test "x$ac_cv_func_mach_continuous_time" = xyes
20711 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20714 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20715 if test "x$ac_cv_func_pipe2" = xyes
20717 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20720 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20721 if test "x$ac_cv_func_port_create" = xyes
20723 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20726 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20727 if test "x$ac_cv_func_posix_fadvise" = xyes
20729 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20732 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20733 if test "x$ac_cv_func_posix_fallocate" = xyes
20735 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20738 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20739 if test "x$ac_cv_func_prctl" = xyes
20741 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20744 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20745 if test "x$ac_cv_func_proc_pidinfo" = xyes
20747 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20750 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20751 if test "x$ac_cv_func_sched_yield" = xyes
20753 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20756 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20757 if test "x$ac_cv_func_setproctitle" = xyes
20759 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20762 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20763 if test "x$ac_cv_func_setprogname" = xyes
20765 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20768 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20769 if test "x$ac_cv_func_sigprocmask" = xyes
20771 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20774 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20775 if test "x$ac_cv_func_sysinfo" = xyes
20777 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20780 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20781 if test "x$ac_cv_func_tcdrain" = xyes
20783 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20786 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20787 if test "x$ac_cv_func_thr_kill2" = xyes
20789 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20793 CFLAGS
="$ac_save_CFLAGS"
20796 darwin
*|macosx
*) ;;
20797 *) ac_save_LIBS
=$LIBS
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20799 printf %s
"checking for library containing clock_gettime... " >&6; }
20800 if test ${ac_cv_search_clock_gettime+y}
20802 printf %s
"(cached) " >&6
20804 ac_func_search_save_LIBS
=$LIBS
20805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 /* Override any GCC internal prototype to avoid an error.
20809 Use char because int might match the return type of a GCC
20810 builtin and then its argument prototype would still apply. */
20811 char clock_gettime ();
20815 return clock_gettime ();
20820 for ac_lib
in '' rt
20822 if test -z "$ac_lib"; then
20823 ac_res
="none required"
20826 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20828 if ac_fn_c_try_link
"$LINENO"
20830 ac_cv_search_clock_gettime
=$ac_res
20832 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20834 if test ${ac_cv_search_clock_gettime+y}
20839 if test ${ac_cv_search_clock_gettime+y}
20843 ac_cv_search_clock_gettime
=no
20845 rm conftest.
$ac_ext
20846 LIBS
=$ac_func_search_save_LIBS
20848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20849 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20850 ac_res
=$ac_cv_search_clock_gettime
20851 if test "$ac_res" != no
20853 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20855 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20857 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20866 printf %s
"checking for sched_setaffinity... " >&6; }
20867 if test ${wine_cv_have_sched_setaffinity+y}
20869 printf %s
"(cached) " >&6
20871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20877 sched_setaffinity(0, 0, 0);
20882 if ac_fn_c_try_link
"$LINENO"
20884 wine_cv_have_sched_setaffinity
=yes
20886 wine_cv_have_sched_setaffinity
=no
20888 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20889 conftest
$ac_exeext conftest.
$ac_ext
20891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20892 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20893 if test "$wine_cv_have_sched_setaffinity" = "yes"
20896 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20902 printf %s
"checking for inline... " >&6; }
20903 if test ${ac_cv_c_inline+y}
20905 printf %s
"(cached) " >&6
20908 for ac_kw
in inline __inline__ __inline
; do
20909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20911 #ifndef __cplusplus
20913 static $ac_kw foo_t static_foo (void) {return 0; }
20914 $ac_kw foo_t foo (void) {return 0; }
20918 if ac_fn_c_try_compile
"$LINENO"
20920 ac_cv_c_inline
=$ac_kw
20922 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20923 test "$ac_cv_c_inline" != no
&& break
20927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20928 printf "%s\n" "$ac_cv_c_inline" >&6; }
20930 case $ac_cv_c_inline in
20933 case $ac_cv_c_inline in
20935 *) ac_val
=$ac_cv_c_inline;;
20937 cat >>confdefs.h
<<_ACEOF
20938 #ifndef __cplusplus
20939 #define inline $ac_val
20945 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20947 if test "x$ac_cv_type_request_sense" = xyes
20950 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20956 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20957 #include <sys/socket.h>
20958 #ifdef HAVE_SYS_SOCKETVAR_H
20959 #include <sys/socketvar.h>
20961 #ifdef HAVE_NET_ROUTE_H
20962 #include <net/route.h>
20964 #ifdef HAVE_NETINET_IN_H
20965 #include <netinet/in.h>
20967 #ifdef HAVE_NETINET_IN_SYSTM_H
20968 #include <netinet/in_systm.h>
20970 #ifdef HAVE_NETINET_IP_H
20971 #include <netinet/ip.h>
20973 #ifdef HAVE_NETINET_IN_PCB_H
20974 #include <netinet/in_pcb.h>
20977 if test "x$ac_cv_type_struct_xinpgen" = xyes
20980 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20987 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20988 if test ${wine_cv_linux_gethostbyname_r_6+y}
20990 printf %s
"(cached) " >&6
20992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
21001 struct hostent *result;
21008 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21009 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21015 if ac_fn_c_try_link
"$LINENO"
21017 wine_cv_linux_gethostbyname_r_6
=yes
21019 wine_cv_linux_gethostbyname_r_6
=no
21022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21023 conftest
$ac_exeext conftest.
$ac_ext
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21027 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21028 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21031 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21035 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21036 #include <sys/socket.h>
21037 #ifdef HAVE_SYS_UN_H
21038 # include <sys/un.h>
21041 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21044 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21050 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21051 #ifdef HAVE_SCSI_SG_H
21052 #include <scsi/sg.h>
21055 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21058 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21062 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>
21063 #ifdef HAVE_SCSI_SG_H
21064 #include <scsi/sg.h>
21067 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21070 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21076 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21078 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21081 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21087 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21088 #ifdef HAVE_SYS_MTIO_H
21089 #include <sys/mtio.h>
21092 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21095 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21099 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21100 #ifdef HAVE_SYS_MTIO_H
21101 #include <sys/mtio.h>
21104 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21107 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21111 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21112 #ifdef HAVE_SYS_MTIO_H
21113 #include <sys/mtio.h>
21116 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21119 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21125 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21126 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21129 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21133 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21134 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21137 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21141 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21142 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21145 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21149 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21150 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21153 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21157 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21158 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21161 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21165 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21166 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21169 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21173 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21174 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21177 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21181 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21182 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21185 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21189 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21190 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21193 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21197 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21198 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21201 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21205 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21206 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21209 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21215 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>
21216 #ifdef HAVE_NETINET_IN_H
21217 #include <netinet/in.h>
21220 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21223 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21229 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
21230 #include <resolv.h>
21233 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21236 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21242 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21243 #include <netinet/in.h>
21246 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21249 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21255 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21256 #ifdef HAVE_SYS_SOCKETVAR_H
21257 #include <sys/socketvar.h>
21259 #ifdef HAVE_NETINET_IN_H
21260 #include <netinet/in.h>
21262 #ifdef HAVE_NETINET_IP_VAR_H
21263 #include <netinet/ip_var.h>
21266 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21269 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21275 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
21276 #include <netinet/ip_var.h>
21279 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21282 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21288 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21289 #ifdef HAVE_SYS_SOCKETVAR_H
21290 #include <sys/socketvar.h>
21292 #ifdef HAVE_NETINET_IN_H
21293 #include <netinet/in.h>
21295 #ifdef HAVE_NETINET6_IP6_VAR_H
21296 #include <netinet6/ip6_var.h>
21299 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21302 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21308 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21309 #ifdef HAVE_SYS_SOCKETVAR_H
21310 #include <sys/socketvar.h>
21312 #ifdef HAVE_NETINET_IN_H
21313 #include <netinet/in.h>
21315 #ifdef HAVE_NETINET_IP_H
21316 #include <netinet/ip.h>
21318 #ifdef HAVE_NETINET_IP_ICMP_H
21319 #include <netinet/ip_icmp.h>
21321 #ifdef HAVE_NETINET_ICMP_VAR_H
21322 #include <netinet/icmp_var.h>
21325 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21328 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21334 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21335 #ifdef HAVE_SYS_SOCKETVAR_H
21336 #include <sys/socketvar.h>
21338 #ifdef HAVE_NETINET_IN_H
21339 #include <netinet/in.h>
21341 #ifdef HAVE_NETINET_ICMP6_H
21342 #include <netinet/icmp6.h>
21345 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21348 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21354 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21355 #ifdef HAVE_SYS_SOCKETVAR_H
21356 #include <sys/socketvar.h>
21358 #ifdef HAVE_NETINET_IN_H
21359 #include <netinet/in.h>
21361 #ifdef HAVE_NETINET_TCP_H
21362 #include <netinet/tcp.h>
21364 #ifdef HAVE_NETINET_TCP_VAR_H
21365 #include <netinet/tcp_var.h>
21368 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21371 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21377 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
21378 #include <netinet/tcp_var.h>
21381 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21384 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21390 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21391 #ifdef HAVE_NETINET_IN_H
21392 #include <netinet/in.h>
21394 #ifdef HAVE_NETINET_IP_VAR_H
21395 #include <netinet/ip_var.h>
21397 #ifdef HAVE_NETINET_UDP_H
21398 #include <netinet/udp.h>
21400 #ifdef HAVE_NETINET_UDP_VAR_H
21401 #include <netinet/udp_var.h>
21404 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21407 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21413 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21414 #ifdef HAVE_NET_IF_H
21415 # include <net/if.h>
21418 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21421 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21427 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21428 # include <sys/sysinfo.h>
21431 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21434 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21438 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21439 # include <sys/sysinfo.h>
21442 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21445 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21451 LIBS
="$ac_save_LIBS"
21453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21454 printf %s
"checking for __builtin_popcount... " >&6; }
21455 if test ${ac_cv_have___builtin_popcount+y}
21457 printf %s
"(cached) " >&6
21459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21460 /* end confdefs.h. */
21465 return __builtin_popcount(1)
21470 if ac_fn_c_try_link
"$LINENO"
21472 ac_cv_have___builtin_popcount
="yes"
21474 ac_cv_have___builtin_popcount
="no"
21476 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21477 conftest
$ac_exeext conftest.
$ac_ext
21479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21480 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21481 if test "$ac_cv_have___builtin_popcount" = "yes"
21484 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21489 printf %s
"checking for __clear_cache... " >&6; }
21490 if test ${ac_cv_have___clear_cache+y}
21492 printf %s
"(cached) " >&6
21494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h. */
21500 __clear_cache((void*)0, (void*)0); return 0;
21505 if ac_fn_c_try_link
"$LINENO"
21507 ac_cv_have___clear_cache
="yes"
21509 ac_cv_have___clear_cache
="no"
21511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21512 conftest
$ac_exeext conftest.
$ac_ext
21514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21515 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21516 if test "$ac_cv_have___clear_cache" = "yes"
21519 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21525 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21526 printf %s
"checking whether we need to define __i386__... " >&6; }
21527 if test ${ac_cv_cpp_def___i386__+y}
21529 printf %s
"(cached) " >&6
21531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21538 $EGREP "yes" >/dev
/null
2>&1
21540 ac_cv_cpp_def___i386__
=yes
21542 ac_cv_cpp_def___i386__
=no
21547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21548 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21549 if test "x$ac_cv_cpp_def___i386__" = xyes
21551 CFLAGS
="$CFLAGS -D__i386__"
21552 LINTFLAGS
="$LINTFLAGS -D__i386__"
21554 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21555 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21556 if test ${ac_cv_cpp_def___x86_64__+y}
21558 printf %s
"(cached) " >&6
21560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21567 $EGREP "yes" >/dev
/null
2>&1
21569 ac_cv_cpp_def___x86_64__
=yes
21571 ac_cv_cpp_def___x86_64__
=no
21576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21577 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21578 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21580 CFLAGS
="$CFLAGS -D__x86_64__"
21581 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21583 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21584 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21585 if test ${ac_cv_cpp_def___sparc64__+y}
21587 printf %s
"(cached) " >&6
21589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591 #ifndef __sparc64__
21595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21596 $EGREP "yes" >/dev
/null
2>&1
21598 ac_cv_cpp_def___sparc64__
=yes
21600 ac_cv_cpp_def___sparc64__
=no
21605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21606 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21607 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21609 CFLAGS
="$CFLAGS -D__sparc64__"
21610 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21612 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21613 printf %s
"checking whether we need to define __sparc__... " >&6; }
21614 if test ${ac_cv_cpp_def___sparc__+y}
21616 printf %s
"(cached) " >&6
21618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h. */
21624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21625 $EGREP "yes" >/dev
/null
2>&1
21627 ac_cv_cpp_def___sparc__
=yes
21629 ac_cv_cpp_def___sparc__
=no
21634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21635 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21636 if test "x$ac_cv_cpp_def___sparc__" = xyes
21638 CFLAGS
="$CFLAGS -D__sparc__"
21639 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21641 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21642 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21643 if test ${ac_cv_cpp_def___powerpc64__+y}
21645 printf %s
"(cached) " >&6
21647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21648 /* end confdefs.h. */
21649 #ifndef __powerpc64__
21653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21654 $EGREP "yes" >/dev
/null
2>&1
21656 ac_cv_cpp_def___powerpc64__
=yes
21658 ac_cv_cpp_def___powerpc64__
=no
21663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21664 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21665 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21667 CFLAGS
="$CFLAGS -D__powerpc64__"
21668 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21670 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21671 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21672 if test ${ac_cv_cpp_def___powerpc__+y}
21674 printf %s
"(cached) " >&6
21676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h. */
21678 #ifndef __powerpc__
21682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21683 $EGREP "yes" >/dev
/null
2>&1
21685 ac_cv_cpp_def___powerpc__
=yes
21687 ac_cv_cpp_def___powerpc__
=no
21692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21693 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21694 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21696 CFLAGS
="$CFLAGS -D__powerpc__"
21697 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21699 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21700 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21701 if test ${ac_cv_cpp_def___aarch64__+y}
21703 printf %s
"(cached) " >&6
21705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #ifndef __aarch64__
21711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21712 $EGREP "yes" >/dev
/null
2>&1
21714 ac_cv_cpp_def___aarch64__
=yes
21716 ac_cv_cpp_def___aarch64__
=no
21721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21722 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21723 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21725 CFLAGS
="$CFLAGS -D__aarch64__"
21726 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21728 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21729 printf %s
"checking whether we need to define __arm__... " >&6; }
21730 if test ${ac_cv_cpp_def___arm__+y}
21732 printf %s
"(cached) " >&6
21734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21741 $EGREP "yes" >/dev
/null
2>&1
21743 ac_cv_cpp_def___arm__
=yes
21745 ac_cv_cpp_def___arm__
=no
21750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21751 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21752 if test "x$ac_cv_cpp_def___arm__" = xyes
21754 CFLAGS
="$CFLAGS -D__arm__"
21755 LINTFLAGS
="$LINTFLAGS -D__arm__"
21759 case $host_vendor in
21760 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21761 printf %s
"checking whether we need to define __sun__... " >&6; }
21762 if test ${ac_cv_cpp_def___sun__+y}
21764 printf %s
"(cached) " >&6
21766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21773 $EGREP "yes" >/dev
/null
2>&1
21775 ac_cv_cpp_def___sun__
=yes
21777 ac_cv_cpp_def___sun__
=no
21782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21783 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21784 if test "x$ac_cv_cpp_def___sun__" = xyes
21786 CFLAGS
="$CFLAGS -D__sun__"
21787 LINTFLAGS
="$LINTFLAGS -D__sun__"
21792 enable_win16
=${enable_win16:-i386}
21793 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
21795 if test -n "$PE_ARCHS"
21797 enable_wow64
=${enable_wow64:-aarch64,x86_64}
21798 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
21799 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
21801 enable_wow64
=${enable_wow64:-no}
21802 enable_wow64win
=${enable_wow64win:-no}
21803 enable_wow64cpu
=${enable_wow64cpu:-no}
21806 enable_cmd
=${enable_cmd:-yes}
21807 enable_dllhost
=${enable_dllhost:-yes}
21808 enable_dpnsvr
=${enable_dpnsvr:-i386,x86_64,arm64ec}
21809 enable_dxdiag
=${enable_dxdiag:-yes}
21810 enable_msiexec
=${enable_msiexec:-yes}
21811 enable_netsh
=${enable_netsh:-yes}
21812 enable_regsvr32
=${enable_regsvr32:-yes}
21813 enable_rundll32
=${enable_rundll32:-yes}
21815 enable_winetest
=${enable_winetest:-$enable_tests}
21821 ac_config_commands
="$ac_config_commands include/stamp-h"
21823 printf %s
"creating Makefile rules..." >&6
21826 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21829 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21831 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21832 wine_fn_config_symlink wine
21833 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21834 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21835 wine_fn_config_symlink wine64
21838 wine_fn_config_makefile dlls
/acledit enable_acledit
21839 wine_fn_config_makefile dlls
/aclui enable_aclui
21840 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21841 wine_fn_config_makefile dlls
/activeds enable_activeds
21842 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21843 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21844 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21845 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21846 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21847 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21848 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21849 wine_fn_config_makefile dlls
/advpack enable_advpack
21850 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21851 wine_fn_config_makefile dlls
/amsi enable_amsi
21852 wine_fn_config_makefile dlls
/amstream enable_amstream
21853 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21854 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21855 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21856 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21857 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21858 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21859 wine_fn_config_makefile dlls
/atl enable_atl
21860 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21861 wine_fn_config_makefile dlls
/atl100 enable_atl100
21862 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21863 wine_fn_config_makefile dlls
/atl110 enable_atl110
21864 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21865 wine_fn_config_makefile dlls
/atl80 enable_atl80
21866 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21867 wine_fn_config_makefile dlls
/atl90 enable_atl90
21868 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21869 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21870 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21871 wine_fn_config_makefile dlls
/authz enable_authz
21872 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21873 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21874 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21875 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21876 wine_fn_config_makefile dlls
/avrt enable_avrt
21877 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21878 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21879 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21880 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21881 wine_fn_config_makefile dlls
/browseui enable_browseui
21882 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21883 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21884 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21885 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21886 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21887 wine_fn_config_makefile dlls
/cards enable_cards
21888 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21889 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21890 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21891 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21892 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21893 wine_fn_config_makefile dlls
/combase enable_combase
21894 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21895 wine_fn_config_makefile dlls
/comcat enable_comcat
21896 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21897 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21898 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21899 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21900 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21901 wine_fn_config_makefile dlls
/coml2 enable_coml2
21902 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21903 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21904 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21905 wine_fn_config_makefile dlls
/compstui enable_compstui
21906 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21907 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21908 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21909 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21910 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21911 wine_fn_config_makefile dlls
/connect enable_connect
21912 wine_fn_config_makefile dlls
/credui enable_credui
21913 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21914 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21915 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21916 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21917 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21918 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21919 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21920 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21921 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21922 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21923 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21924 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21925 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21926 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21927 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21928 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21929 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21930 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21931 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21932 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21933 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21934 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21935 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21936 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21937 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21938 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21939 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21940 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21941 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21942 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21943 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21944 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21945 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21946 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21947 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21948 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21949 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21950 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21951 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21952 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21953 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21954 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21955 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21956 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21957 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21958 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21959 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21960 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21961 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21962 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21963 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21964 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21965 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21966 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21967 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21968 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21969 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21970 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21971 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21972 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21973 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21974 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21975 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21976 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21977 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21978 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21979 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21980 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21981 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21982 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21983 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21984 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21985 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21986 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21987 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21988 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21989 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21990 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21991 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21992 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21993 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21994 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21995 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21996 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21997 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21998 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21999 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
22000 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
22001 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
22002 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
22003 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
22004 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
22005 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
22006 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
22007 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
22008 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
22009 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
22010 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
22011 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
22012 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
22013 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
22014 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
22015 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
22016 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
22017 wine_fn_config_makefile dlls
/davclnt enable_davclnt
22018 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
22019 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
22020 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
22021 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
22022 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
22023 wine_fn_config_makefile dlls
/dcomp enable_dcomp
22024 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
22025 wine_fn_config_makefile dlls
/ddraw enable_ddraw
22026 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
22027 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
22028 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
22029 wine_fn_config_makefile dlls
/devenum enable_devenum
22030 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
22031 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
22032 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
22033 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
22034 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
22035 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
22036 wine_fn_config_makefile dlls
/difxapi enable_difxapi
22037 wine_fn_config_makefile dlls
/dinput enable_dinput
22038 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
22039 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
22040 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
22041 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
22042 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
22043 wine_fn_config_makefile dlls
/dispex enable_dispex
22044 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
22045 wine_fn_config_makefile dlls
/display.drv16 enable_win16
22046 wine_fn_config_makefile dlls
/dmband enable_dmband
22047 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
22048 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
22049 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
22050 wine_fn_config_makefile dlls
/dmime enable_dmime
22051 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
22052 wine_fn_config_makefile dlls
/dmloader enable_dmloader
22053 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
22054 wine_fn_config_makefile dlls
/dmscript enable_dmscript
22055 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
22056 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
22057 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
22058 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
22059 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
22060 wine_fn_config_makefile dlls
/dmusic enable_dmusic
22061 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
22062 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
22063 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
22064 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
22065 wine_fn_config_makefile dlls
/dplay enable_dplay
22066 wine_fn_config_makefile dlls
/dplayx enable_dplayx
22067 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
22068 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
22069 wine_fn_config_makefile dlls
/dpnet enable_dpnet
22070 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
22071 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
22072 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
22073 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
22074 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
22075 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
22076 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
22077 wine_fn_config_makefile dlls
/drmclien enable_drmclien
22078 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
22079 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
22080 wine_fn_config_makefile dlls
/dsound enable_dsound
22081 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
22082 wine_fn_config_makefile dlls
/dsquery enable_dsquery
22083 wine_fn_config_makefile dlls
/dssenh enable_dssenh
22084 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
22085 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
22086 wine_fn_config_makefile dlls
/dswave enable_dswave
22087 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
22088 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
22089 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
22090 wine_fn_config_makefile dlls
/dwrite enable_dwrite
22091 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
22092 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
22093 wine_fn_config_makefile dlls
/dxcore enable_dxcore
22094 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
22095 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
22096 wine_fn_config_makefile dlls
/dxgi enable_dxgi
22097 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
22098 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
22099 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
22100 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
22101 wine_fn_config_makefile dlls
/esent enable_esent
22102 wine_fn_config_makefile dlls
/evr enable_evr
22103 wine_fn_config_makefile dlls
/evr
/tests enable_tests
22104 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
22105 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
22106 wine_fn_config_makefile dlls
/faultrep enable_faultrep
22107 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
22108 wine_fn_config_makefile dlls
/feclient enable_feclient
22109 wine_fn_config_makefile dlls
/fltlib enable_fltlib
22110 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
22111 wine_fn_config_makefile dlls
/fntcache enable_fntcache
22112 wine_fn_config_makefile dlls
/fontsub enable_fontsub
22113 wine_fn_config_makefile dlls
/fusion enable_fusion
22114 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
22115 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
22116 wine_fn_config_makefile dlls
/gameux enable_gameux
22117 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
22118 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
22119 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
22120 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
22121 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
22122 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
22123 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
22124 wine_fn_config_makefile dlls
/geolocation enable_geolocation
22125 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
22126 wine_fn_config_makefile dlls
/glu32 enable_glu32
22127 wine_fn_config_makefile dlls
/glu32
/tests enable_tests
22128 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
22129 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
22130 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
22131 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
22132 wine_fn_config_makefile dlls
/hal enable_hal
22133 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
22134 wine_fn_config_makefile dlls
/hid enable_hid
22135 wine_fn_config_makefile dlls
/hid
/tests enable_tests
22136 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
22137 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
22138 wine_fn_config_makefile dlls
/hlink enable_hlink
22139 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
22140 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
22141 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
22142 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
22143 wine_fn_config_makefile dlls
/http.sys enable_http_sys
22144 wine_fn_config_makefile dlls
/httpapi enable_httpapi
22145 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
22146 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
22147 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
22148 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
22149 wine_fn_config_makefile dlls
/iccvid enable_iccvid
22150 wine_fn_config_makefile dlls
/icmp enable_icmp
22151 wine_fn_config_makefile dlls
/ieframe enable_ieframe
22152 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
22153 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
22154 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
22155 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
22156 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
22157 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
22158 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
22159 wine_fn_config_makefile dlls
/imm32 enable_imm32
22160 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
22161 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
22162 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
22163 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
22164 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
22165 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
22166 wine_fn_config_makefile dlls
/infosoft enable_infosoft
22167 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
22168 wine_fn_config_makefile dlls
/initpki enable_initpki
22169 wine_fn_config_makefile dlls
/inkobj enable_inkobj
22170 wine_fn_config_makefile dlls
/inseng enable_inseng
22171 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
22172 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
22173 wine_fn_config_makefile dlls
/iprop enable_iprop
22174 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
22175 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
22176 wine_fn_config_makefile dlls
/itircl enable_itircl
22177 wine_fn_config_makefile dlls
/itss enable_itss
22178 wine_fn_config_makefile dlls
/itss
/tests enable_tests
22179 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
22180 wine_fn_config_makefile dlls
/jscript enable_jscript
22181 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
22182 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
22183 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
22184 wine_fn_config_makefile dlls
/kerberos enable_kerberos
22185 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
22186 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
22187 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
22188 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
22189 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
22190 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
22191 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
22192 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
22193 wine_fn_config_makefile dlls
/ksuser enable_ksuser
22194 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
22195 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
22196 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
22197 wine_fn_config_makefile dlls
/loadperf enable_loadperf
22198 wine_fn_config_makefile dlls
/localspl enable_localspl
22199 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
22200 wine_fn_config_makefile dlls
/localui enable_localui
22201 wine_fn_config_makefile dlls
/localui
/tests enable_tests
22202 wine_fn_config_makefile dlls
/lz32 enable_lz32
22203 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
22204 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
22205 wine_fn_config_makefile dlls
/magnification enable_magnification
22206 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
22207 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
22208 wine_fn_config_makefile dlls
/mapistub enable_mapistub
22209 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
22210 wine_fn_config_makefile dlls
/mcicda enable_mcicda
22211 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
22212 wine_fn_config_makefile dlls
/mciseq enable_mciseq
22213 wine_fn_config_makefile dlls
/mciwave enable_mciwave
22214 wine_fn_config_makefile dlls
/mf enable_mf
22215 wine_fn_config_makefile dlls
/mf
/tests enable_tests
22216 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
22217 wine_fn_config_makefile dlls
/mferror enable_mferror
22218 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
22219 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
22220 wine_fn_config_makefile dlls
/mfplat enable_mfplat
22221 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
22222 wine_fn_config_makefile dlls
/mfplay enable_mfplay
22223 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
22224 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
22225 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
22226 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
22227 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
22228 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
22229 wine_fn_config_makefile dlls
/midimap enable_midimap
22230 wine_fn_config_makefile dlls
/mlang enable_mlang
22231 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
22232 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
22233 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
22234 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
22235 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
22236 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
22237 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
22238 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
22239 wine_fn_config_makefile dlls
/mouhid.sys enable_mouhid_sys
22240 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
22241 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
22242 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
22243 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
22244 wine_fn_config_makefile dlls
/mpr enable_mpr
22245 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
22246 wine_fn_config_makefile dlls
/mprapi enable_mprapi
22247 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
22248 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
22249 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
22250 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
22251 wine_fn_config_makefile dlls
/msado15 enable_msado15
22252 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
22253 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
22254 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
22255 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
22256 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
22257 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
22258 wine_fn_config_makefile dlls
/mscms enable_mscms
22259 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
22260 wine_fn_config_makefile dlls
/mscoree enable_mscoree
22261 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
22262 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
22263 wine_fn_config_makefile dlls
/msctf enable_msctf
22264 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
22265 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
22266 wine_fn_config_makefile dlls
/msctfp enable_msctfp
22267 wine_fn_config_makefile dlls
/msdaps enable_msdaps
22268 wine_fn_config_makefile dlls
/msdasql enable_msdasql
22269 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
22270 wine_fn_config_makefile dlls
/msdelta enable_msdelta
22271 wine_fn_config_makefile dlls
/msdmo enable_msdmo
22272 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
22273 wine_fn_config_makefile dlls
/msdrm enable_msdrm
22274 wine_fn_config_makefile dlls
/msftedit enable_msftedit
22275 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
22276 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
22277 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
22278 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
22279 wine_fn_config_makefile dlls
/mshtml enable_mshtml
22280 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
22281 wine_fn_config_makefile dlls
/msi enable_msi
22282 wine_fn_config_makefile dlls
/msi
/tests enable_tests
22283 wine_fn_config_makefile dlls
/msident enable_msident
22284 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
22285 wine_fn_config_makefile dlls
/msimsg enable_msimsg
22286 wine_fn_config_makefile dlls
/msimtf enable_msimtf
22287 wine_fn_config_makefile dlls
/msisip enable_msisip
22288 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
22289 wine_fn_config_makefile dlls
/msls31 enable_msls31
22290 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
22291 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
22292 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
22293 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
22294 wine_fn_config_makefile dlls
/msports enable_msports
22295 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
22296 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
22297 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
22298 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
22299 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
22300 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
22301 wine_fn_config_makefile dlls
/mstask enable_mstask
22302 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
22303 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
22304 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
22305 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
22306 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
22307 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
22308 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
22309 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
22310 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
22311 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
22312 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
22313 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
22314 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
22315 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
22316 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
22317 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
22318 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
22319 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
22320 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
22321 wine_fn_config_makefile dlls
/msvcp140_
2/tests enable_tests
22322 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22323 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
22324 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22325 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
22326 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
22327 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
22328 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
22329 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
22330 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
22331 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
22332 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
22333 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
22334 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
22335 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
22336 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
22337 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
22338 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
22339 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
22340 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
22341 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
22342 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
22343 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
22344 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
22345 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
22346 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
22347 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
22348 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
22349 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
22350 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
22351 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
22352 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
22353 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
22354 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
22355 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
22356 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
22357 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
22358 wine_fn_config_makefile dlls
/mswsock enable_mswsock
22359 wine_fn_config_makefile dlls
/msxml enable_msxml
22360 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
22361 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
22362 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
22363 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
22364 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
22365 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
22366 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
22367 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
22368 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
22369 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
22370 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
22371 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
22372 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
22373 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
22374 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
22375 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
22376 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
22377 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
22378 wine_fn_config_makefile dlls
/netprofm enable_netprofm
22379 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
22380 wine_fn_config_makefile dlls
/netutils enable_netutils
22381 wine_fn_config_makefile dlls
/newdev enable_newdev
22382 wine_fn_config_makefile dlls
/ninput enable_ninput
22383 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
22384 wine_fn_config_makefile dlls
/normaliz enable_normaliz
22385 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
22386 wine_fn_config_makefile dlls
/npptools enable_npptools
22387 wine_fn_config_makefile dlls
/nsi enable_nsi
22388 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
22389 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
22390 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22391 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22392 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22393 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22394 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22395 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22396 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22397 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22398 wine_fn_config_makefile dlls
/objsel enable_objsel
22399 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22400 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22401 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22402 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22403 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22404 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22405 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22406 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22407 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22408 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22409 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22410 wine_fn_config_makefile dlls
/ole32 enable_ole32
22411 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22412 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22413 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22414 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22415 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22416 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22417 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22418 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22419 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22420 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22421 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22422 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22423 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22424 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22425 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22426 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22427 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22428 wine_fn_config_makefile dlls
/opencl enable_opencl
22429 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22430 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22431 wine_fn_config_makefile dlls
/packager enable_packager
22432 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22433 wine_fn_config_makefile dlls
/pdh enable_pdh
22434 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22435 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22436 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22437 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22438 wine_fn_config_makefile dlls
/printui enable_printui
22439 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22440 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22441 wine_fn_config_makefile dlls
/propsys enable_propsys
22442 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22443 wine_fn_config_makefile dlls
/psapi enable_psapi
22444 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22445 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22446 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22447 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22448 wine_fn_config_makefile dlls
/qasf enable_qasf
22449 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22450 wine_fn_config_makefile dlls
/qcap enable_qcap
22451 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22452 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22453 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22454 wine_fn_config_makefile dlls
/qedit enable_qedit
22455 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22456 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22457 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22458 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22459 wine_fn_config_makefile dlls
/quartz enable_quartz
22460 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22461 wine_fn_config_makefile dlls
/query enable_query
22462 wine_fn_config_makefile dlls
/qwave enable_qwave
22463 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22464 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22465 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22466 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22467 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22468 wine_fn_config_makefile dlls
/regapi enable_regapi
22469 wine_fn_config_makefile dlls
/resutils enable_resutils
22470 wine_fn_config_makefile dlls
/riched20 enable_riched20
22471 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22472 wine_fn_config_makefile dlls
/riched32 enable_riched32
22473 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22474 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22475 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22476 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22477 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22478 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22479 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22480 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22481 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22482 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22483 wine_fn_config_makefile dlls
/samlib enable_samlib
22484 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22485 wine_fn_config_makefile dlls
/sapi enable_sapi
22486 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22487 wine_fn_config_makefile dlls
/sas enable_sas
22488 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22489 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22490 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22491 wine_fn_config_makefile dlls
/schannel enable_schannel
22492 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22493 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22494 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22495 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22496 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22497 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22498 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22499 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22500 wine_fn_config_makefile dlls
/sechost enable_sechost
22501 wine_fn_config_makefile dlls
/secur32 enable_secur32
22502 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22503 wine_fn_config_makefile dlls
/security enable_security
22504 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22505 wine_fn_config_makefile dlls
/serialui enable_serialui
22506 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22507 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22508 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22509 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22510 wine_fn_config_makefile dlls
/sfc enable_sfc
22511 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22512 wine_fn_config_makefile dlls
/shcore enable_shcore
22513 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22514 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22515 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22516 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22517 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22518 wine_fn_config_makefile dlls
/shell32 enable_shell32
22519 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22520 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22521 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22522 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22523 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22524 wine_fn_config_makefile dlls
/slc enable_slc
22525 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22526 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22527 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22528 wine_fn_config_makefile dlls
/softpub enable_softpub
22529 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22530 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22531 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22532 wine_fn_config_makefile dlls
/sppc enable_sppc
22533 wine_fn_config_makefile dlls
/srclient enable_srclient
22534 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22535 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22536 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22537 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22538 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22539 wine_fn_config_makefile dlls
/sti enable_sti
22540 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22541 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22542 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22543 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22544 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22545 wine_fn_config_makefile dlls
/sxs enable_sxs
22546 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22547 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22548 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22549 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22550 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22551 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22552 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22553 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22554 wine_fn_config_makefile dlls
/tbs enable_tbs
22555 wine_fn_config_makefile dlls
/tdh enable_tdh
22556 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22557 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22558 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22559 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22560 wine_fn_config_makefile dlls
/traffic enable_traffic
22561 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22562 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22563 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22564 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22565 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22566 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22567 wine_fn_config_makefile dlls
/tzres enable_tzres
22568 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22569 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22570 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22571 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22572 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22573 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22574 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22575 wine_fn_config_makefile dlls
/unicows enable_unicows
22576 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22577 wine_fn_config_makefile dlls
/url enable_url
22578 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22579 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22580 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22581 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22582 wine_fn_config_makefile dlls
/user32 enable_user32
22583 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22584 wine_fn_config_makefile dlls
/userenv enable_userenv
22585 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22586 wine_fn_config_makefile dlls
/usp10 enable_usp10
22587 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22588 wine_fn_config_makefile dlls
/utildll enable_utildll
22589 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22590 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22591 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22592 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22593 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22594 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22595 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22596 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22597 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22598 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22599 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22600 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22601 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22602 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22603 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22604 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22605 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22606 wine_fn_config_makefile dlls
/version enable_version
22607 wine_fn_config_makefile dlls
/version
/tests enable_tests
22608 wine_fn_config_makefile dlls
/vga enable_vga
22609 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22610 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22611 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22612 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22613 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22614 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22615 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22616 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22617 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22618 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22619 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22620 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22621 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22622 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22623 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22624 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22625 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22626 wine_fn_config_makefile dlls
/webservices enable_webservices
22627 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22628 wine_fn_config_makefile dlls
/websocket enable_websocket
22629 wine_fn_config_makefile dlls
/wer enable_wer
22630 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22631 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22632 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22633 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22634 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22635 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22636 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22637 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22638 wine_fn_config_makefile dlls
/win32u enable_win32u
22639 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22640 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22641 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22642 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22643 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22644 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22645 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22646 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22647 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22648 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22649 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22650 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22651 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22652 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22653 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22654 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22655 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22656 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22657 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22658 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22659 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22660 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22661 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22662 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22663 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22664 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22665 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22666 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22667 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22668 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22669 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22670 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22671 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid
/tests enable_tests
22672 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22673 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22674 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22675 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22676 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22677 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22678 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22679 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22680 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22681 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22682 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22683 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22684 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22685 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22686 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22687 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22688 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22689 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22690 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22691 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22692 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22693 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22694 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22695 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22696 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22697 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22698 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22699 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22700 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22701 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22702 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22703 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22704 wine_fn_config_makefile dlls
/wing32 enable_wing32
22705 wine_fn_config_makefile dlls
/wing32
/tests enable_tests
22706 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22707 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22708 wine_fn_config_makefile dlls
/wininet enable_wininet
22709 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22710 wine_fn_config_makefile dlls
/winmm enable_winmm
22711 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22712 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22713 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22714 wine_fn_config_makefile dlls
/winprint enable_winprint
22715 wine_fn_config_makefile dlls
/winscard enable_winscard
22716 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22717 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22718 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22719 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22720 wine_fn_config_makefile dlls
/winsta enable_winsta
22721 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22722 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22723 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22724 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22725 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22726 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22727 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22728 wine_fn_config_makefile dlls
/winusb enable_winusb
22729 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22730 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22731 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22732 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22733 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22734 wine_fn_config_makefile dlls
/wldp enable_wldp
22735 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22736 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22737 wine_fn_config_makefile dlls
/wmi enable_wmi
22738 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22739 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22740 wine_fn_config_makefile dlls
/wmp enable_wmp
22741 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22742 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22743 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22744 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22745 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22746 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22747 wine_fn_config_makefile dlls
/wow32 enable_win16
22748 wine_fn_config_makefile dlls
/wow64 enable_wow64
22749 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22750 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22751 wine_fn_config_makefile dlls
/wpc enable_wpc
22752 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22753 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22754 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22755 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22756 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22757 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22758 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22759 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22760 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22761 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22762 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22763 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22764 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22765 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22766 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22767 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22768 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22769 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22770 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22771 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22772 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22773 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22774 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22775 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22776 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22777 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22778 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22779 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22780 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22781 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22782 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22783 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22784 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22785 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22786 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22787 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22788 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22789 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22790 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22791 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22792 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22793 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22794 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22795 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22796 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22797 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22798 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22799 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22800 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22801 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22802 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22803 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22804 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22805 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22806 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22807 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22808 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22809 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22810 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22811 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22812 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22813 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22814 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22815 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22816 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22817 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22818 wine_fn_config_makefile fonts enable_fonts
22819 wine_fn_config_makefile include enable_include
22820 wine_fn_config_makefile libs
/adsiid enable_adsiid
22821 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22822 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22823 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22824 wine_fn_config_makefile libs
/dxguid enable_dxguid
22825 wine_fn_config_makefile libs
/faudio enable_faudio
22826 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22827 wine_fn_config_makefile libs
/gsm enable_gsm
22828 wine_fn_config_makefile libs
/jpeg enable_jpeg
22829 wine_fn_config_makefile libs
/jxr enable_jxr
22830 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22831 wine_fn_config_makefile libs
/ldap enable_ldap
22832 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22833 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22834 wine_fn_config_makefile libs
/musl enable_musl
22835 wine_fn_config_makefile libs
/png enable_png
22836 wine_fn_config_makefile libs
/strmbase enable_strmbase
22837 wine_fn_config_makefile libs
/strmiids enable_strmiids
22838 wine_fn_config_makefile libs
/tiff enable_tiff
22839 wine_fn_config_makefile libs
/uuid enable_uuid
22840 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22841 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22842 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22843 wine_fn_config_makefile libs
/xml2 enable_xml2
22844 wine_fn_config_makefile libs
/xslt enable_xslt
22845 wine_fn_config_makefile libs
/zlib enable_zlib
22846 wine_fn_config_makefile libs
/zydis enable_zydis
22847 wine_fn_config_makefile loader enable_loader
22848 wine_fn_config_makefile nls enable_nls
22849 wine_fn_config_makefile po enable_po
22850 wine_fn_config_makefile programs
/arp enable_arp
22851 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22852 wine_fn_config_makefile programs
/attrib enable_attrib
22853 wine_fn_config_makefile programs
/cabarc enable_cabarc
22854 wine_fn_config_makefile programs
/cacls enable_cacls
22855 wine_fn_config_makefile programs
/certutil enable_certutil
22856 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22857 wine_fn_config_makefile programs
/clock enable_clock
22858 wine_fn_config_makefile programs
/cmd enable_cmd
22859 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22860 wine_fn_config_makefile programs
/conhost enable_conhost
22861 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22862 wine_fn_config_makefile programs
/control enable_control
22863 wine_fn_config_makefile programs
/cscript enable_cscript
22864 wine_fn_config_makefile programs
/dism enable_dism
22865 wine_fn_config_makefile programs
/dllhost enable_dllhost
22866 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22867 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22868 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22869 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22870 wine_fn_config_makefile programs
/eject enable_eject
22871 wine_fn_config_makefile programs
/expand enable_expand
22872 wine_fn_config_makefile programs
/explorer enable_explorer
22873 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22874 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22875 wine_fn_config_makefile programs
/fc enable_fc
22876 wine_fn_config_makefile programs
/find enable_find
22877 wine_fn_config_makefile programs
/find
/tests enable_tests
22878 wine_fn_config_makefile programs
/findstr enable_findstr
22879 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22880 wine_fn_config_makefile programs
/fsutil enable_fsutil
22881 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22882 wine_fn_config_makefile programs
/hh enable_hh
22883 wine_fn_config_makefile programs
/hostname enable_hostname
22884 wine_fn_config_makefile programs
/icacls enable_icacls
22885 wine_fn_config_makefile programs
/icinfo enable_icinfo
22886 wine_fn_config_makefile programs
/iexplore enable_iexplore
22887 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22888 wine_fn_config_makefile programs
/klist enable_klist
22889 wine_fn_config_makefile programs
/lodctr enable_lodctr
22890 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22891 wine_fn_config_makefile programs
/mshta enable_mshta
22892 wine_fn_config_makefile programs
/msidb enable_msidb
22893 wine_fn_config_makefile programs
/msiexec enable_msiexec
22894 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22895 wine_fn_config_makefile programs
/net enable_net
22896 wine_fn_config_makefile programs
/netsh enable_netsh
22897 wine_fn_config_makefile programs
/netstat enable_netstat
22898 wine_fn_config_makefile programs
/ngen enable_ngen
22899 wine_fn_config_makefile programs
/notepad enable_notepad
22900 wine_fn_config_makefile programs
/oleview enable_oleview
22901 wine_fn_config_makefile programs
/ping enable_ping
22902 wine_fn_config_makefile programs
/plugplay enable_plugplay
22903 wine_fn_config_makefile programs
/pnputil enable_pnputil
22904 wine_fn_config_makefile programs
/powershell enable_powershell
22905 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22906 wine_fn_config_makefile programs
/progman enable_progman
22907 wine_fn_config_makefile programs
/reg enable_reg
22908 wine_fn_config_makefile programs
/reg
/tests enable_tests
22909 wine_fn_config_makefile programs
/regasm enable_regasm
22910 wine_fn_config_makefile programs
/regedit enable_regedit
22911 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22912 wine_fn_config_makefile programs
/regini enable_regini
22913 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22914 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22915 wine_fn_config_makefile programs
/robocopy enable_robocopy
22916 wine_fn_config_makefile programs
/rpcss enable_rpcss
22917 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22918 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22919 wine_fn_config_makefile programs
/sc enable_sc
22920 wine_fn_config_makefile programs
/sc
/tests enable_tests
22921 wine_fn_config_makefile programs
/schtasks enable_schtasks
22922 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22923 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22924 wine_fn_config_makefile programs
/secedit enable_secedit
22925 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22926 wine_fn_config_makefile programs
/services enable_services
22927 wine_fn_config_makefile programs
/services
/tests enable_tests
22928 wine_fn_config_makefile programs
/setx enable_setx
22929 wine_fn_config_makefile programs
/shutdown enable_shutdown
22930 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22931 wine_fn_config_makefile programs
/start enable_start
22932 wine_fn_config_makefile programs
/subst enable_subst
22933 wine_fn_config_makefile programs
/svchost enable_svchost
22934 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22935 wine_fn_config_makefile programs
/taskkill enable_taskkill
22936 wine_fn_config_makefile programs
/tasklist enable_tasklist
22937 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22938 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22939 wine_fn_config_makefile programs
/termsv enable_termsv
22940 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22941 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22942 wine_fn_config_makefile programs
/view enable_view
22943 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22944 wine_fn_config_makefile programs
/where enable_where
22945 wine_fn_config_makefile programs
/whoami enable_whoami
22946 wine_fn_config_makefile programs
/wineboot enable_wineboot
22947 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22948 wine_fn_config_makefile programs
/winecfg enable_winecfg
22949 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22950 wine_fn_config_makefile programs
/winedbg enable_winedbg
22951 wine_fn_config_makefile programs
/winedevice enable_winedevice
22952 wine_fn_config_makefile programs
/winefile enable_winefile
22953 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22954 wine_fn_config_makefile programs
/winemine enable_winemine
22955 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22956 wine_fn_config_makefile programs
/winepath enable_winepath
22957 wine_fn_config_makefile programs
/winetest enable_winetest
22958 wine_fn_config_makefile programs
/winevdm enable_win16
22959 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22960 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22961 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22962 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22963 wine_fn_config_makefile programs
/winver enable_winver
22964 wine_fn_config_makefile programs
/wmic enable_wmic
22965 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22966 wine_fn_config_makefile programs
/wordpad enable_wordpad
22967 wine_fn_config_makefile programs
/write enable_write
22968 wine_fn_config_makefile programs
/wscript enable_wscript
22969 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22970 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22971 wine_fn_config_makefile programs
/wusa enable_wusa
22972 wine_fn_config_makefile programs
/xcopy enable_xcopy
22973 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22974 wine_fn_config_makefile server enable_server
22975 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22976 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22977 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22978 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22979 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22980 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22981 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22982 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22983 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22986 as_fn_append CONFIGURE_TARGETS
" TAGS"
22987 as_fn_append CONFIGURE_TARGETS
" tags"
22988 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22989 as_fn_append CONFIGURE_TARGETS
" config.log"
22990 as_fn_append CONFIGURE_TARGETS
" config.status"
22991 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22992 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22993 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22995 if test "x$enable_tools" != xno
22997 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22998 ac_config_commands
="$ac_config_commands tools/makedep"
23002 ac_config_commands
="$ac_config_commands Makefile"
23009 as_fn_append wine_rules
"
23011 @echo \"Wine build complete.\"
23015 Makefile: config.status \$(MAKEDEP)
23016 @./config.status Makefile
23017 depend: \$(MAKEDEP)
23018 \$(MAKEDEP)$makedep_flags"
23021 as_fn_append wine_rules
"
23022 config.status: ${wine_srcdir}configure
23023 @./config.status --recheck
23024 include/config.h: include/stamp-h
23025 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23026 @./config.status include/config.h include/stamp-h"
23028 if test "x$enable_maintainer_mode" = xyes
23030 as_fn_append wine_rules
"
23031 configure: configure.ac aclocal.m4
23032 autoconf --warnings=all
23033 include/config.h.in: include/stamp-h.in
23034 include/stamp-h.in: configure.ac aclocal.m4
23035 autoheader --warnings=all
23036 @echo timestamp > \$@"
23039 if test "x$enable_tools" != xno
23041 as_fn_append wine_rules
"
23042 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23043 @./config.status tools/makedep
23044 Makefile: tools/makedep$ac_exeext"
23046 as_fn_append wine_rules
"
23048 @echo \"You need to run make in $toolsdir first\" && false"
23052 if test -n "$with_wine64"
23054 case "$with_wine64" in
23058 rm -f fonts server
2>/dev
/null
23059 as_fn_append wine_rules
"
23060 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23061 loader/wine64 loader/wine64-preloader:
23062 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23063 $with_wine64/loader/wine:
23064 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23065 $with_wine64/loader/wine-preloader:
23066 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23068 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23070 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
23071 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
23075 programs/msidb/msidb \
23076 programs/msiexec/msiexec \
23077 programs/notepad/notepad \
23078 programs/regedit/regedit \
23079 programs/regsvr32/regsvr32 \
23080 programs/wineboot/wineboot \
23081 programs/winecfg/winecfg \
23082 programs/wineconsole/wineconsole \
23083 programs/winedbg/winedbg \
23084 programs/winefile/winefile \
23085 programs/winemine/winemine \
23086 programs/winepath/winepath \
23090 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
23091 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23096 as_fn_append wine_rules
"
23098 rm -rf autom4te.cache
23100 rm -f configure include/config.h.in"
23103 as_fn_append wine_rules
"
23104 dlls/ntdll/unix/version.c: dummy
23105 @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)
23106 programs/winetest/build.rc: dummy
23107 @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)
23108 programs/winetest/build.nfo:
23110 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
23111 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23112 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23115 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23117 as_fn_append wine_rules
"
23120 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23123 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23125 .PHONY: depend dummy install-manpages"
23127 printf "%s\n" " done" >&6
23128 cat >confcache
<<\_ACEOF
23129 # This file is a shell script that caches the results of configure
23130 # tests run on this system so they can be shared between configure
23131 # scripts and configure runs, see configure's option --config-cache.
23132 # It is not useful on other systems. If it contains results you don't
23133 # want to keep, you may remove or edit it.
23135 # config.status only pays attention to the cache file if you give it
23136 # the --recheck option to rerun configure.
23138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23140 # following values.
23144 # The following way of writing the cache mishandles newlines in values,
23145 # but we know of no workaround that is simple, portable, and efficient.
23146 # So, we kill variables containing newlines.
23147 # Ultrix sh set writes to stderr and can't be redirected directly,
23148 # and sets the high bit in the cache file unless we assign to the vars.
23150 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23151 eval ac_val
=\$
$ac_var
23155 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23156 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23159 _ | IFS | as_nl
) ;; #(
23160 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23161 *) { eval $ac_var=; unset $ac_var;} ;;
23167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23168 *${as_nl}ac_space
=\
*)
23169 # `set' does not quote correctly, so add quotes: double-quote
23170 # substitution turns \\\\ into \\, and sed turns \\ into \.
23173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23176 # `set' quotes correctly as required by POSIX, so do not add quotes.
23177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23186 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23190 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23191 if test -w "$cache_file"; then
23192 if test "x$cache_file" != "x/dev/null"; then
23193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23194 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23195 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23196 cat confcache
>"$cache_file"
23198 case $cache_file in #(
23200 mv -f confcache
"$cache_file"$$
&&
23201 mv -f "$cache_file"$$
"$cache_file" ;; #(
23203 mv -f confcache
"$cache_file" ;;
23208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23209 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23214 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23215 # Let make expand exec_prefix.
23216 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23218 DEFS
=-DHAVE_CONFIG_H
23223 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23224 # 1. Remove the extension, and $U if already installed.
23225 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23226 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23227 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23228 # will be set to the directory where LIBOBJS objects are built.
23229 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23230 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23232 LIBOBJS
=$ac_libobjs
23234 LTLIBOBJS
=$ac_ltlibobjs
23238 : "${CONFIG_STATUS=./config.status}"
23240 ac_clean_files_save
=$ac_clean_files
23241 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23243 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23245 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23247 # Generated by $as_me.
23248 # Run this file to recreate the current configuration.
23249 # Compiler output produced by configure, useful for debugging
23250 # configure, is in config.log if it exists.
23253 ac_cs_recheck=false
23256 SHELL=\${CONFIG_SHELL-$SHELL}
23259 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23260 ## -------------------- ##
23261 ## M4sh Initialization. ##
23262 ## -------------------- ##
23264 # Be more Bourne compatible
23265 DUALCASE
=1; export DUALCASE
# for MKS sh
23267 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
23271 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23272 # is contrary to our usage. Disable this feature.
23273 alias -g '${1+"$@"}'='"$@"'
23274 setopt NO_GLOB_SUBST
23276 case `(set -o) 2>/dev/null` in #(
23286 # Reset variables that may have inherited troublesome values from
23289 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23290 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23291 # side effect of setting IFS to empty, thus disabling word splitting.)
23292 # Quoting is to prevent editors from complaining about space-tab.
23302 # Ensure predictable behavior from utilities with locale-dependent output.
23308 # We cannot yet rely on "unset" to work, but we need these variables
23309 # to be unset--not just set to an empty or harmless value--now, to
23310 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23311 # also avoids known problems related to "unset" and subshell syntax
23312 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23313 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
23314 do eval test \
${$as_var+y} \
23315 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23318 # Ensure that fds 0, 1, and 2 are open.
23319 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
23320 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
23321 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
23323 # The user is always right.
23324 if ${PATH_SEPARATOR+false} :; then
23326 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
23327 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
23333 # Find who we are. Look in the path if we contain no directory separator.
23336 *[\\/]* ) as_myself
=$0 ;;
23337 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23338 for as_dir
in $PATH
23341 case $as_dir in #(((
23344 *) as_dir
=$as_dir/ ;;
23346 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
23352 # We did not find ourselves, most probably we were run as `sh COMMAND'
23353 # in which case we are not to be found in the path.
23354 if test "x$as_myself" = x
; then
23357 if test ! -f "$as_myself"; then
23358 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23364 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23365 # ----------------------------------------
23366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23368 # script with STATUS, using 1 if that was 0.
23371 as_status
=$1; test $as_status -eq 0 && as_status
=1
23373 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23376 printf "%s\n" "$as_me: error: $2" >&2
23377 as_fn_exit
$as_status
23382 # as_fn_set_status STATUS
23383 # -----------------------
23384 # Set $? to STATUS, without forking.
23385 as_fn_set_status
()
23388 } # as_fn_set_status
23390 # as_fn_exit STATUS
23391 # -----------------
23392 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23396 as_fn_set_status
$1
23402 # Portably unset VAR.
23405 { eval $1=; unset $1;}
23407 as_unset
=as_fn_unset
23409 # as_fn_append VAR VALUE
23410 # ----------------------
23411 # Append the text in VALUE to the end of the definition contained in VAR. Take
23412 # advantage of any shell optimizations that allow amortized linear growth over
23413 # repeated appends, instead of the typical quadratic growth present in naive
23415 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23417 eval 'as_fn_append ()
23428 # as_fn_arith ARG...
23429 # ------------------
23430 # Perform arithmetic evaluation on the ARGs, and store the result in the
23431 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23432 # must be portable across $(()) and expr.
23433 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23435 eval 'as_fn_arith ()
23442 as_val
=`expr "$@" || test $? -eq 1`
23447 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23448 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23454 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23455 as_basename
=basename
23460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23466 as_me
=`$as_basename -- "$0" ||
23467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23468 X"$0" : 'X\(//\)$' \| \
23469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23470 printf "%s\n" X/"$0" |
23471 sed '/^.*\/\([^/][^/]*\)\/*$/{
23485 # Avoid depending upon Character Ranges.
23486 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23487 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23488 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23489 as_cr_digits
='0123456789'
23490 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23493 # Determine whether it's possible to make 'echo' print without a newline.
23494 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23495 # for compatibility with existing Makefiles.
23496 ECHO_C
= ECHO_N
= ECHO_T
=
23497 case `echo -n x` in #(((((
23499 case `echo 'xy\c'` in
23500 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23502 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23509 # For backward compatibility with old third-party macros, we provide
23510 # the shell variables $as_echo and $as_echo_n. New code should use
23511 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23512 as_echo
='printf %s\n'
23513 as_echo_n
='printf %s'
23515 rm -f conf$$ conf$$.exe conf$$.
file
23516 if test -d conf$$.dir
; then
23517 rm -f conf$$.dir
/conf$$.
file
23520 mkdir conf$$.dir
2>/dev
/null
23522 if (echo >conf$$.
file) 2>/dev
/null
; then
23523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23525 # ... but there are two gotchas:
23526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23528 # In both cases, we have to default to `cp -pR'.
23529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23540 rmdir conf$$.dir
2>/dev
/null
23545 # Create "$as_dir" as a directory, including parents if necessary.
23550 -*) as_dir
=.
/$as_dir;;
23552 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23556 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23557 *) as_qdir
=$as_dir;;
23559 as_dirs
="'$as_qdir' $as_dirs"
23560 as_dir
=`$as_dirname -- "$as_dir" ||
23561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23562 X"$as_dir" : 'X\(//\)[^/]' \| \
23563 X"$as_dir" : 'X\(//\)$' \| \
23564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23565 printf "%s\n" X"$as_dir" |
23566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23570 /^X\(\/\/\)[^/].*/{
23583 test -d "$as_dir" && break
23585 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23586 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23590 if mkdir
-p .
2>/dev
/null
; then
23591 as_mkdir_p
='mkdir -p "$as_dir"'
23593 test -d .
/-p && rmdir .
/-p
23598 # as_fn_executable_p FILE
23599 # -----------------------
23600 # Test if FILE is an executable regular file.
23601 as_fn_executable_p
()
23603 test -f "$1" && test -x "$1"
23604 } # as_fn_executable_p
23605 as_test_x
='test -x'
23606 as_executable_p
=as_fn_executable_p
23608 # Sed expression to map a string onto a valid CPP name.
23609 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23611 # Sed expression to map a string onto a valid variable name.
23612 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23616 ## ----------------------------------- ##
23617 ## Main body of $CONFIG_STATUS script. ##
23618 ## ----------------------------------- ##
23620 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23623 # Save the log message, to keep $0 and so on meaningful, and to
23624 # report actual input values of CONFIG_FILES etc. instead of their
23625 # values after options handling.
23627 This file was extended by Wine $as_me 9.7, which was
23628 generated by GNU Autoconf 2.71. Invocation command line was
23630 CONFIG_FILES = $CONFIG_FILES
23631 CONFIG_HEADERS = $CONFIG_HEADERS
23632 CONFIG_LINKS = $CONFIG_LINKS
23633 CONFIG_COMMANDS = $CONFIG_COMMANDS
23636 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23642 case $ac_config_headers in *"
23643 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23648 # Files that config.status was made for.
23649 config_headers="$ac_config_headers"
23650 config_links="$ac_config_links"
23651 config_commands="$ac_config_commands"
23655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23657 \`$as_me' instantiates files and other configuration actions
23658 from templates according to the current configuration. Unless the files
23659 and actions are specified as TAGs, all are instantiated by default.
23661 Usage: $0 [OPTION]... [TAG]...
23663 -h, --help print this help, then exit
23664 -V, --version print version number and configuration settings, then exit
23665 --config print configuration, then exit
23666 -q, --quiet, --silent
23667 do not print progress messages
23668 -d, --debug don't remove temporary files
23669 --recheck update $as_me by reconfiguring in the same conditions
23670 --header=FILE[:TEMPLATE]
23671 instantiate the configuration header FILE
23673 Configuration headers:
23676 Configuration links:
23679 Configuration commands:
23682 Report bugs to <wine-devel@winehq.org>.
23683 Wine home page: <https://www.winehq.org>."
23686 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23687 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23689 ac_cs_config='$ac_cs_config_escaped'
23691 Wine config.status 9.7
23692 configured by $0, generated by GNU Autoconf 2.71,
23693 with options \\"\$ac_cs_config\\"
23695 Copyright (C) 2021 Free Software Foundation, Inc.
23696 This config.status script is free software; the Free Software Foundation
23697 gives unlimited permission to copy, distribute and modify it."
23701 test -n "\$AWK" || AWK=awk
23704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23705 # The default lists apply if the user does not specify any file.
23711 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23712 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23716 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23728 # Handling of the options.
23729 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23731 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23732 printf "%s\n" "$ac_cs_version"; exit ;;
23733 --config |
--confi |
--conf |
--con |
--co |
--c )
23734 printf "%s\n" "$ac_cs_config"; exit ;;
23735 --debug |
--debu |
--deb |
--de |
--d |
-d )
23737 --header |
--heade |
--head |
--hea )
23740 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23742 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23743 ac_need_defaults
=false
;;
23745 # Conflict between --help and --header
23746 as_fn_error $?
"ambiguous option: \`$1'
23747 Try \`$0 --help' for more information.";;
23748 --help |
--hel |
-h )
23749 printf "%s\n" "$ac_cs_usage"; exit ;;
23750 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23751 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23754 # This is an error.
23755 -*) as_fn_error $?
"unrecognized option: \`$1'
23756 Try \`$0 --help' for more information." ;;
23758 *) as_fn_append ac_config_targets
" $1"
23759 ac_need_defaults
=false
;;
23765 ac_configure_extra_args
=
23767 if $ac_cs_silent; then
23769 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23774 if \$ac_cs_recheck; then
23775 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23777 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23778 CONFIG_SHELL='$SHELL'
23779 export CONFIG_SHELL
23784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23788 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23789 ## Running $as_me. ##
23791 printf "%s\n" "$ac_log"
23795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23799 wine_fn_output_makedep ()
23801 as_dir=tools; as_fn_mkdir_p
23802 $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
23804 wine_fn_output_makefile ()
23806 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23807 # This Makefile understands the following targets:
23809 # all (default): build wine
23810 # clean: remove all intermediate files
23811 # distclean: also remove all files created by configure
23813 # testclean: clean test results to force running all tests again
23814 # install-lib: install libraries needed to run applications
23815 # install-dev: install development environment
23816 # install: install everything
23817 # uninstall: uninstall everything
23818 # ctags: create a tags file for vim and others.
23819 # etags: create a TAGS file for Emacs.
23822 PATH_SEPARATOR = $PATH_SEPARATOR
23823 PACKAGE_NAME = $PACKAGE_NAME
23824 PACKAGE_TARNAME = $PACKAGE_TARNAME
23825 PACKAGE_VERSION = $PACKAGE_VERSION
23826 PACKAGE_STRING = $PACKAGE_STRING
23827 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23828 PACKAGE_URL = $PACKAGE_URL
23829 exec_prefix = $exec_prefix
23831 program_transform_name = $program_transform_name
23834 libexecdir = $libexecdir
23835 datarootdir = $datarootdir
23837 sysconfdir = $sysconfdir
23838 sharedstatedir = $sharedstatedir
23839 localstatedir = $localstatedir
23840 runstatedir = $runstatedir
23841 includedir = $includedir
23842 oldincludedir = $oldincludedir
23850 localedir = $localedir
23857 build_alias = $build_alias
23858 host_alias = $host_alias
23859 target_alias = $target_alias
23860 system_dllpath = $system_dllpath
23862 build_cpu = $build_cpu
23863 build_vendor = $build_vendor
23864 build_os = $build_os
23866 host_cpu = $host_cpu
23867 host_vendor = $host_vendor
23873 SET_MAKE = $SET_MAKE
23877 CPPFLAGS = $CPPFLAGS
23878 ac_ct_CC = $ac_ct_CC
23882 CXXFLAGS = $CXXFLAGS
23883 ac_ct_CXX = $ac_ct_CXX
23886 TARGETFLAGS = $TARGETFLAGS
23887 toolsext = $toolsext
23888 HOST_ARCH = $HOST_ARCH
23889 aarch64_CC = $aarch64_CC
23890 aarch64_CFLAGS = $aarch64_CFLAGS
23891 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23892 aarch64_LDFLAGS = $aarch64_LDFLAGS
23893 aarch64_DEBUG = $aarch64_DEBUG
23894 aarch64_TARGET = $aarch64_TARGET
23895 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23896 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23898 arm_CFLAGS = $arm_CFLAGS
23899 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23900 arm_LDFLAGS = $arm_LDFLAGS
23901 arm_DEBUG = $arm_DEBUG
23902 arm_TARGET = $arm_TARGET
23903 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23904 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23905 arm64ec_CC = $arm64ec_CC
23906 arm64ec_CFLAGS = $arm64ec_CFLAGS
23907 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23908 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23909 arm64ec_DEBUG = $arm64ec_DEBUG
23910 arm64ec_TARGET = $arm64ec_TARGET
23911 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23912 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23914 i386_CFLAGS = $i386_CFLAGS
23915 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23916 i386_LDFLAGS = $i386_LDFLAGS
23917 i386_DEBUG = $i386_DEBUG
23918 i386_TARGET = $i386_TARGET
23919 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23920 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23921 x86_64_CC = $x86_64_CC
23922 x86_64_CFLAGS = $x86_64_CFLAGS
23923 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23924 x86_64_LDFLAGS = $x86_64_LDFLAGS
23925 x86_64_DEBUG = $x86_64_DEBUG
23926 x86_64_TARGET = $x86_64_TARGET
23927 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23928 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23929 toolsdir = $toolsdir
23931 RUNTESTFLAGS = $RUNTESTFLAGS
23936 ac_ct_AR = $ac_ct_AR
23942 LDCONFIG = $LDCONFIG
23944 PKG_CONFIG = $PKG_CONFIG
23945 FONTFORGE = $FONTFORGE
23949 I386_LIBS = $I386_LIBS
23950 OPENGL_LIBS = $OPENGL_LIBS
23951 DLLFLAGS = $DLLFLAGS
23952 LDDLLFLAGS = $LDDLLFLAGS
23953 LDEXECFLAGS = $LDEXECFLAGS
23954 EXTRACFLAGS = $EXTRACFLAGS
23955 UNIXDLLFLAGS = $UNIXDLLFLAGS
23956 UNIXLDFLAGS = $UNIXLDFLAGS
23957 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23958 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23959 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23960 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23966 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23967 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23968 CARBON_LIBS = $CARBON_LIBS
23969 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23970 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23971 IOKIT_LIBS = $IOKIT_LIBS
23972 METAL_LIBS = $METAL_LIBS
23973 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23974 CORESERVICES_LIBS = $CORESERVICES_LIBS
23975 APPKIT_LIBS = $APPKIT_LIBS
23976 SECURITY_LIBS = $SECURITY_LIBS
23977 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23978 COREAUDIO_LIBS = $COREAUDIO_LIBS
23979 OPENCL_LIBS = $OPENCL_LIBS
23981 OBJCFLAGS = $OBJCFLAGS
23982 ac_ct_OBJC = $ac_ct_OBJC
23983 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23984 PE_ARCHS = $PE_ARCHS
23985 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23986 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23987 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23988 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23989 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23990 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23991 GSM_PE_LIBS = $GSM_PE_LIBS
23992 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23993 JPEG_PE_LIBS = $JPEG_PE_LIBS
23994 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23995 JXR_PE_LIBS = $JXR_PE_LIBS
23996 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23997 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23998 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23999 LDAP_PE_LIBS = $LDAP_PE_LIBS
24000 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24001 MPG123_PE_LIBS = $MPG123_PE_LIBS
24002 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24003 MUSL_PE_LIBS = $MUSL_PE_LIBS
24004 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24005 PNG_PE_LIBS = $PNG_PE_LIBS
24006 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24007 TIFF_PE_LIBS = $TIFF_PE_LIBS
24008 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24009 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24010 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24011 XML2_PE_LIBS = $XML2_PE_LIBS
24012 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24013 XSLT_PE_LIBS = $XSLT_PE_LIBS
24014 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24015 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24016 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24017 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24018 PTHREAD_LIBS = $PTHREAD_LIBS
24021 X_CFLAGS = $X_CFLAGS
24022 X_PRE_LIBS = $X_PRE_LIBS
24024 X_EXTRA_LIBS = $X_EXTRA_LIBS
24025 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24026 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24027 WAYLAND_SCANNER = $WAYLAND_SCANNER
24028 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24029 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24030 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24031 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24032 EGL_CFLAGS = $EGL_CFLAGS
24033 EGL_LIBS = $EGL_LIBS
24034 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24035 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24036 PCAP_LIBS = $PCAP_LIBS
24037 PCSCLITE_LIBS = $PCSCLITE_LIBS
24038 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24039 INOTIFY_LIBS = $INOTIFY_LIBS
24040 DBUS_CFLAGS = $DBUS_CFLAGS
24041 DBUS_LIBS = $DBUS_LIBS
24042 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24043 GNUTLS_LIBS = $GNUTLS_LIBS
24044 SANE_CFLAGS = $SANE_CFLAGS
24045 SANE_LIBS = $SANE_LIBS
24046 USB_CFLAGS = $USB_CFLAGS
24047 USB_LIBS = $USB_LIBS
24048 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24049 GPHOTO2_LIBS = $GPHOTO2_LIBS
24050 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24051 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24052 RESOLV_LIBS = $RESOLV_LIBS
24053 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24054 FREETYPE_LIBS = $FREETYPE_LIBS
24055 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24056 PULSE_CFLAGS = $PULSE_CFLAGS
24057 PULSE_LIBS = $PULSE_LIBS
24058 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24059 GSTREAMER_LIBS = $GSTREAMER_LIBS
24060 ALSA_LIBS = $ALSA_LIBS
24061 OSS4_CFLAGS = $OSS4_CFLAGS
24062 OSS4_LIBS = $OSS4_LIBS
24063 UDEV_CFLAGS = $UDEV_CFLAGS
24064 UDEV_LIBS = $UDEV_LIBS
24065 UNWIND_CFLAGS = $UNWIND_CFLAGS
24066 UNWIND_LIBS = $UNWIND_LIBS
24067 SDL2_CFLAGS = $SDL2_CFLAGS
24068 SDL2_LIBS = $SDL2_LIBS
24069 CAPI20_CFLAGS = $CAPI20_CFLAGS
24070 CAPI20_LIBS = $CAPI20_LIBS
24071 CUPS_CFLAGS = $CUPS_CFLAGS
24072 CUPS_LIBS = $CUPS_LIBS
24073 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24074 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24075 KRB5_CFLAGS = $KRB5_CFLAGS
24076 KRB5_LIBS = $KRB5_LIBS
24077 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24078 GSSAPI_LIBS = $GSSAPI_LIBS
24079 PROCSTAT_LIBS = $PROCSTAT_LIBS
24080 NETAPI_CFLAGS = $NETAPI_CFLAGS
24081 NETAPI_LIBS = $NETAPI_LIBS
24082 MSVCRTFLAGS = $MSVCRTFLAGS
24083 DELAYLOADFLAG = $DELAYLOADFLAG
24084 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24086 TAGSFLAGS = $TAGSFLAGS
24088 LTLIBOBJS = $LTLIBOBJS
24092 as_fn_error $? "could not create Makefile" "$LINENO" 5
24097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24099 # Handling of arguments.
24100 for ac_config_target
in $ac_config_targets
24102 case $ac_config_target in
24103 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24104 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24105 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
24106 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24107 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
24108 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
24110 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24115 # If the user did not use the arguments to specify the items to instantiate,
24116 # then the envvar interface is used. Set only those that are not.
24117 # We use the long form for the default assignment because of an extremely
24118 # bizarre bug on SunOS 4.1.3.
24119 if $ac_need_defaults; then
24120 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
24121 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
24122 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
24125 # Have a temporary directory for convenience. Make it in the build tree
24126 # simply because there is no reason against having it here, and in addition,
24127 # creating and moving files from /tmp can sometimes cause problems.
24128 # Hook for its removal unless debugging.
24129 # Note that there is a small window in which the directory will not be cleaned:
24130 # after its creation but before its name has been assigned to `$tmp'.
24134 trap 'exit_status=$?
24135 : "${ac_tmp:=$tmp}"
24136 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24138 trap 'as_fn_exit 1' 1 2 13 15
24140 # Create a (secure) tmp directory for tmp files.
24143 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24147 tmp
=.
/conf$$
-$RANDOM
24148 (umask 077 && mkdir
"$tmp")
24149 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24152 # Set up the scripts for CONFIG_HEADERS section.
24153 # No need to generate them if there are no CONFIG_HEADERS.
24154 # This happens for instance with `./config.status Makefile'.
24155 if test -n "$CONFIG_HEADERS"; then
24156 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24160 # Transform confdefs.h into an awk script `defines.awk', embedded as
24161 # here-document in config.status, that substitutes the proper values into
24162 # config.h.in to produce config.h.
24164 # Create a delimiter string that does not exist in confdefs.h, to ease
24165 # handling of long lines.
24167 for ac_last_try
in false false
:; do
24168 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
24169 if test -z "$ac_tt"; then
24171 elif $ac_last_try; then
24172 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
24174 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24178 # For the awk script, D is an array of macro values keyed by name,
24179 # likewise P contains macro parameters if any. Preserve backslash
24180 # newline sequences.
24182 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24184 s/.\{148\}/&'"$ac_delim"'/g
24187 s/^[ ]*#[ ]*define[ ][ ]*/ /
24194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24196 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24201 D["\1"]=" \3\\\\\\n"\\/p
24203 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24208 s/.\{148\}/&'"$ac_delim"'/g
24213 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24216 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24218 ' <confdefs.h |
sed '
24219 s/'"$ac_delim"'/"\\\
24220 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
24222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24223 for (key in D) D_is_set[key] = 1
24226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24228 split(line, arg, " ")
24229 if (arg[1] == "#") {
24233 defundef = substr(arg[1], 2)
24236 split(mac1, mac2, "(") #)
24238 prefix = substr(line, 1, index(line, defundef) - 1)
24239 if (D_is_set[macro]) {
24240 # Preserve the white space surrounding the "#".
24241 print prefix "define", macro P[macro] D[macro]
24244 # Replace #undef with comments. This is necessary, for example,
24245 # in the case of _POSIX_SOURCE, which is predefined and required
24246 # on some systems where configure will not decide to define it.
24247 if (defundef == "undef") {
24248 print "/*", prefix defundef, macro, "*/"
24256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24257 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24258 fi # test -n "$CONFIG_HEADERS"
24261 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24266 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24268 case $ac_mode$ac_tag in
24270 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24271 :[FH
]-) ac_tag
=-:-;;
24272 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24289 -) ac_f
="$ac_tmp/stdin";;
24290 *) # Look for the file first in the build tree, then in the source tree
24291 # (if the path is not absolute). The absolute path cannot be DOS-style,
24292 # because $ac_f cannot contain `:'.
24296 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24298 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24300 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24301 as_fn_append ac_file_inputs
" '$ac_f'"
24304 # Let's still pretend it is `configure' which instantiates (i.e., don't
24305 # use $as_me), people would be surprised to read:
24306 # /* config.h. Generated by config.status. */
24307 configure_input
='Generated from '`
24308 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24310 if test x
"$ac_file" != x-
; then
24311 configure_input
="$ac_file. $configure_input"
24312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24313 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24315 # Neutralize special characters interpreted by sed in replacement strings.
24316 case $configure_input in #(
24317 *\
&* |
*\|
* |
*\\* )
24318 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
24319 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24320 *) ac_sed_conf_input
=$configure_input;;
24324 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24325 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24330 ac_dir
=`$as_dirname -- "$ac_file" ||
24331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24332 X"$ac_file" : 'X\(//\)[^/]' \| \
24333 X"$ac_file" : 'X\(//\)$' \| \
24334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24335 printf "%s\n" X"$ac_file" |
24336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24340 /^X\(\/\/\)[^/].*/{
24353 as_dir
="$ac_dir"; as_fn_mkdir_p
24357 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24359 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24360 # A ".." for each directory in $ac_dir_suffix.
24361 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24362 case $ac_top_builddir_sub in
24363 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24364 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24367 ac_abs_top_builddir
=$ac_pwd
24368 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24369 # for backward compatibility:
24370 ac_top_builddir
=$ac_top_build_prefix
24373 .
) # We are building in place.
24375 ac_top_srcdir
=$ac_top_builddir_sub
24376 ac_abs_top_srcdir
=$ac_pwd ;;
24377 [\\/]* | ?
:[\\/]* ) # Absolute name.
24378 ac_srcdir
=$srcdir$ac_dir_suffix;
24379 ac_top_srcdir
=$srcdir
24380 ac_abs_top_srcdir
=$srcdir ;;
24381 *) # Relative name.
24382 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24383 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24384 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24386 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24395 if test x
"$ac_file" != x-
; then
24397 printf "%s\n" "/* $configure_input */" >&1 \
24398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24399 } >"$ac_tmp/config.h" \
24400 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24401 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24403 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24406 mv "$ac_tmp/config.h" "$ac_file" \
24407 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24410 printf "%s\n" "/* $configure_input */" >&1 \
24411 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24412 || as_fn_error $?
"could not create -" "$LINENO" 5
24420 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24423 # Prefer the file from the source tree if names are identical.
24424 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24425 ac_source
=$srcdir/$ac_source
24428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24429 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24431 if test ! -r "$ac_source"; then
24432 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24436 # Try a relative symlink, then a hard link, then a copy.
24438 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24439 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24441 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24442 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24443 cp -p "$ac_source" "$ac_file" ||
24444 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24447 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24448 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24453 case $ac_file$ac_mode in
24454 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24455 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24456 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24464 ac_clean_files
=$ac_clean_files_save
24466 test $ac_write_fail = 0 ||
24467 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24470 # configure is writing to config.log, and then calls config.status.
24471 # config.status does its own redirection, appending to config.log.
24472 # Unfortunately, on DOS this fails, as config.log is still kept open
24473 # by configure, so config.status won't be able to write to it; its
24474 # output is simply discarded. So we exec the FD to /dev/null,
24475 # effectively closing config.log, so it can be properly (re)opened and
24476 # appended to by config.status. When coming back to configure, we
24477 # need to make the FD available again.
24478 if test "$no_create" != yes; then
24480 ac_config_status_args
=
24481 test "$silent" = yes &&
24482 ac_config_status_args
="$ac_config_status_args --quiet"
24484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24486 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24487 # would make configure fail if this is the last instruction.
24488 $ac_cs_success || as_fn_exit
1
24490 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24492 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24496 if test "$no_create" = "yes"
24502 if test "x$wine_notices" != x
; then
24505 for msg
in $wine_notices; do
24511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24512 printf "%s\n" "$as_me: $msg" >&6;}
24517 for msg
in $wine_warnings; do
24524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24525 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24531 $as_me: Finished. Do '${ac_make}' to compile Wine.