2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='8.21'
615 PACKAGE_STRING
='Wine 8.21'
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
711 WAYLAND_CLIENT_CFLAGS
759 SYSTEMCONFIGURATION_LIBS
763 APPLICATIONSERVICES_LIBS
776 WINEPRELOADER_LDFLAGS
808 x86_64_DISABLED_SUBDIRS
816 i386_DISABLED_SUBDIRS
824 arm64ec_DISABLED_SUBDIRS
825 arm64ec_DELAYLOADFLAG
840 aarch64_DISABLED_SUBDIRS
841 aarch64_DELAYLOADFLAG
905 program_transform_name
918 enable_option_checking
924 enable_maintainer_mode
991 enable_appxdeploymentclient
1004 enable_bcryptprimitives
1005 enable_bluetoothapis
1046 enable_d3dcompiler_33
1047 enable_d3dcompiler_34
1048 enable_d3dcompiler_35
1049 enable_d3dcompiler_36
1050 enable_d3dcompiler_37
1051 enable_d3dcompiler_38
1052 enable_d3dcompiler_39
1053 enable_d3dcompiler_40
1054 enable_d3dcompiler_41
1055 enable_d3dcompiler_42
1056 enable_d3dcompiler_43
1057 enable_d3dcompiler_46
1058 enable_d3dcompiler_47
1111 enable_directmanipulation
1149 enable_explorerframe
1166 enable_graphicscapture
1177 enable_hvsimanagementapi
1210 enable_light_msstyles
1215 enable_magnification
1226 enable_mfmediaengine
1292 enable_msvcp140_atomic_wait
1293 enable_msvcp140_codecvt_ids
1359 enable_photometadatahandler
1437 enable_threadpoolwinrt
1440 enable_twinapi_appcore
1444 enable_uiautomationcore
1464 enable_vcruntime140_1
1482 enable_windows_applicationmodel
1483 enable_windows_devices_bluetooth
1484 enable_windows_devices_enumeration
1485 enable_windows_devices_usb
1486 enable_windows_gaming_input
1487 enable_windows_gaming_ui_gamebar
1488 enable_windows_globalization
1489 enable_windows_media_devices
1490 enable_windows_media_mediacontrol
1491 enable_windows_media_speech
1492 enable_windows_media
1493 enable_windows_networking_hostname
1494 enable_windows_networking
1495 enable_windows_perception_stub
1496 enable_windows_security_credentials_ui_userconsentverifier
1497 enable_windows_storage_applicationdata
1498 enable_windows_system_profile_systemmanufacturers
1500 enable_windowscodecs
1501 enable_windowscodecsext
1503 enable_wineandroid_drv
1505 enable_winecoreaudio_drv
1508 enable_winegstreamer
1514 enable_winepulse_drv
1517 enable_winewayland_drv
1519 enable_winexinput_sys
1566 enable_xactengine2_0
1567 enable_xactengine2_4
1568 enable_xactengine2_7
1569 enable_xactengine2_9
1570 enable_xactengine3_0
1571 enable_xactengine3_1
1572 enable_xactengine3_2
1573 enable_xactengine3_3
1574 enable_xactengine3_4
1575 enable_xactengine3_5
1576 enable_xactengine3_6
1577 enable_xactengine3_7
1627 enable_wmcodecdspuuid
1636 enable_aspnet_regiis
1684 enable_presentationfontcache
1699 enable_servicemodelreg
1725 enable_winemenubuilder
1727 enable_winemsibuilder
1752 ac_precious_vars
='build_alias
1767 FLUIDSYNTH_PE_CFLAGS
1799 WAYLAND_CLIENT_CFLAGS
1845 # Initialize some variables set by options.
1847 ac_init_version
=false
1848 ac_unrecognized_opts
=
1849 ac_unrecognized_sep
=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file
=/dev
/null
1859 program_transform_name
=s
,x
,x
,
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir
='${exec_prefix}/bin'
1874 sbindir
='${exec_prefix}/sbin'
1875 libexecdir
='${exec_prefix}/libexec'
1876 datarootdir
='${prefix}/share'
1877 datadir
='${datarootdir}'
1878 sysconfdir
='${prefix}/etc'
1879 sharedstatedir
='${prefix}/com'
1880 localstatedir
='${prefix}/var'
1881 runstatedir
='${localstatedir}/run'
1882 includedir
='${prefix}/include'
1883 oldincludedir
='/usr/include'
1884 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir
='${datarootdir}/info'
1890 libdir
='${exec_prefix}/lib'
1891 localedir
='${datarootdir}/locale'
1892 mandir
='${datarootdir}/man'
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\
$ac_option
1906 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1911 case $ac_dashdash$ac_option in
1915 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1917 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1918 bindir
=$ac_optarg ;;
1920 -build |
--build |
--buil |
--bui |
--bu)
1921 ac_prev
=build_alias
;;
1922 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1923 build_alias
=$ac_optarg ;;
1925 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1926 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1927 ac_prev
=cache_file
;;
1928 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1929 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1930 cache_file
=$ac_optarg ;;
1932 --config-cache |
-C)
1933 cache_file
=config.cache
;;
1935 -datadir |
--datadir |
--datadi |
--datad)
1937 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1938 datadir
=$ac_optarg ;;
1940 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1941 |
--dataroo |
--dataro |
--datar)
1942 ac_prev
=datarootdir
;;
1943 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1944 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1945 datarootdir
=$ac_optarg ;;
1947 -disable-* |
--disable-*)
1948 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1951 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1952 ac_useropt_orig
=$ac_useropt
1953 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_
$ac_useropt"
1958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep
=', ';;
1961 eval enable_
$ac_useropt=no
;;
1963 -docdir |
--docdir |
--docdi |
--doc |
--do)
1965 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1966 docdir
=$ac_optarg ;;
1968 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1970 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1971 dvidir
=$ac_optarg ;;
1973 -enable-* |
--enable-*)
1974 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1977 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1978 ac_useropt_orig
=$ac_useropt
1979 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_
$ac_useropt"
1984 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep
=', ';;
1987 eval enable_
$ac_useropt=\
$ac_optarg ;;
1989 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1990 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1991 |
--exec |
--exe |
--ex)
1992 ac_prev
=exec_prefix
;;
1993 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1994 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1995 |
--exec=* |
--exe=* |
--ex=*)
1996 exec_prefix
=$ac_optarg ;;
1998 -gas |
--gas |
--ga |
--g)
1999 # Obsolete; use --with-gas.
2002 -help |
--help |
--hel |
--he |
-h)
2003 ac_init_help
=long
;;
2004 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
2005 ac_init_help
=recursive
;;
2006 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
2007 ac_init_help
=short
;;
2009 -host |
--host |
--hos |
--ho)
2010 ac_prev
=host_alias
;;
2011 -host=* |
--host=* |
--hos=* |
--ho=*)
2012 host_alias
=$ac_optarg ;;
2014 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
2016 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2018 htmldir
=$ac_optarg ;;
2020 -includedir |
--includedir |
--includedi |
--included |
--include \
2021 |
--includ |
--inclu |
--incl |
--inc)
2022 ac_prev
=includedir
;;
2023 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2024 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2025 includedir
=$ac_optarg ;;
2027 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2029 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2030 infodir
=$ac_optarg ;;
2032 -libdir |
--libdir |
--libdi |
--libd)
2034 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2035 libdir
=$ac_optarg ;;
2037 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2038 |
--libexe |
--libex |
--libe)
2039 ac_prev
=libexecdir
;;
2040 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2041 |
--libexe=* |
--libex=* |
--libe=*)
2042 libexecdir
=$ac_optarg ;;
2044 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2045 ac_prev
=localedir
;;
2046 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2047 localedir
=$ac_optarg ;;
2049 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2050 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2051 ac_prev
=localstatedir
;;
2052 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2053 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2054 localstatedir
=$ac_optarg ;;
2056 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2058 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2059 mandir
=$ac_optarg ;;
2061 -nfp |
--nfp |
--nf)
2062 # Obsolete; use --without-fp.
2065 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2066 |
--no-cr |
--no-c |
-n)
2069 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2070 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2073 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2074 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2075 |
--oldin |
--oldi |
--old |
--ol |
--o)
2076 ac_prev
=oldincludedir
;;
2077 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2078 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2079 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2080 oldincludedir
=$ac_optarg ;;
2082 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2084 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2085 prefix
=$ac_optarg ;;
2087 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2088 |
--program-pre |
--program-pr |
--program-p)
2089 ac_prev
=program_prefix
;;
2090 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2091 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2092 program_prefix
=$ac_optarg ;;
2094 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2095 |
--program-suf |
--program-su |
--program-s)
2096 ac_prev
=program_suffix
;;
2097 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2098 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2099 program_suffix
=$ac_optarg ;;
2101 -program-transform-name |
--program-transform-name \
2102 |
--program-transform-nam |
--program-transform-na \
2103 |
--program-transform-n |
--program-transform- \
2104 |
--program-transform |
--program-transfor \
2105 |
--program-transfo |
--program-transf \
2106 |
--program-trans |
--program-tran \
2107 |
--progr-tra |
--program-tr |
--program-t)
2108 ac_prev
=program_transform_name
;;
2109 -program-transform-name=* |
--program-transform-name=* \
2110 |
--program-transform-nam=* |
--program-transform-na=* \
2111 |
--program-transform-n=* |
--program-transform-=* \
2112 |
--program-transform=* |
--program-transfor=* \
2113 |
--program-transfo=* |
--program-transf=* \
2114 |
--program-trans=* |
--program-tran=* \
2115 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2116 program_transform_name
=$ac_optarg ;;
2118 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2120 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2121 pdfdir
=$ac_optarg ;;
2123 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2125 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2128 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2129 |
-silent |
--silent |
--silen |
--sile |
--sil)
2132 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2133 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2134 |
--run |
--ru |
--r)
2135 ac_prev
=runstatedir
;;
2136 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2137 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2138 |
--run=* |
--ru=* |
--r=*)
2139 runstatedir
=$ac_optarg ;;
2141 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2143 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2145 sbindir
=$ac_optarg ;;
2147 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2148 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2149 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2151 ac_prev
=sharedstatedir
;;
2152 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2153 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2154 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2156 sharedstatedir
=$ac_optarg ;;
2158 -site |
--site |
--sit)
2160 -site=* |
--site=* |
--sit=*)
2163 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2165 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2166 srcdir
=$ac_optarg ;;
2168 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2169 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2170 ac_prev
=sysconfdir
;;
2171 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2172 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2173 sysconfdir
=$ac_optarg ;;
2175 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2176 ac_prev
=target_alias
;;
2177 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2178 target_alias
=$ac_optarg ;;
2180 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2183 -version |
--version |
--versio |
--versi |
--vers |
-V)
2184 ac_init_version
=: ;;
2187 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2190 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2191 ac_useropt_orig
=$ac_useropt
2192 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep
=', ';;
2200 eval with_
$ac_useropt=\
$ac_optarg ;;
2202 -without-* |
--without-*)
2203 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2206 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2207 ac_useropt_orig
=$ac_useropt
2208 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep
=', ';;
2216 eval with_
$ac_useropt=no
;;
2219 # Obsolete; use --with-x.
2222 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2223 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2224 ac_prev
=x_includes
;;
2225 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2226 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2227 x_includes
=$ac_optarg ;;
2229 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2230 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2231 ac_prev
=x_libraries
;;
2232 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2233 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2234 x_libraries
=$ac_optarg ;;
2236 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2245 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2247 eval $ac_envvar=\
$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2254 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2261 if test -n "$ac_prev"; then
2262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $?
"missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2269 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2270 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2274 # Check all directory arguments for consistency.
2275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val
=\$
$ac_var
2281 # Remove trailing slashes.
2284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\
$ac_val;;
2287 # Be sure to have absolute directory names.
2289 [\\/$
]* | ?
:[\\/]* ) continue;;
2290 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2292 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2300 target
=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x
; then
2304 if test "x$build_alias" = x
; then
2305 cross_compiling
=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2314 test "$silent" = yes && exec 6>/dev
/null
2317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di
=`ls -di .` &&
2319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $?
"working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $?
"pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted
=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir
=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 printf "%s\n" X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2357 ac_srcdir_defaulted
=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2361 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2377 for ac_var
in $ac_precious_vars; do
2378 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2380 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2391 \`configure' configures Wine 8.21 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2450 --x-includes=DIR X include files are
in DIR
2451 --x-libraries=DIR X library files are
in DIR
2454 --build=BUILD configure
for building on BUILD
[guessed
]
2455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive
) echo "Configuration of Wine 8.21:";;
2466 --disable-option-checking ignore unrecognized
--enable/--with options
2467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2469 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2470 enable multiple architectures
for PE compilation
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2474 --disable-tests do not build the regression tests
2475 --enable-build-id include .buildid section in output objects
2476 --enable-maintainer-mode
2477 enable maintainer-specific build rules
2478 --enable-silent-rules use silent build rules (override: "make V=1")
2479 --enable-werror treat compilation warnings as errors
2480 --disable-largefile omit support for large files
2483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2485 --without-alsa do not use the Alsa sound support
2486 --without-capi do not use CAPI (ISDN support)
2487 --without-coreaudio do not use the CoreAudio sound support
2488 --without-cups do not use CUPS
2489 --without-dbus do not use DBus (dynamic device support)
2490 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2491 --without-fontconfig do not use fontconfig
2492 --without-freetype do not use the FreeType library
2493 --without-gettext do not use gettext
2494 --with-gettextpo use the GetTextPO library to rebuild po files
2495 --without-gphoto do not use gphoto (Digital Camera support)
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2498 --without-gstreamer do not use GStreamer (codecs support)
2499 --without-inotify do not use inotify (filesystem change notifications)
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-mingw do not use the MinGW cross-compiler
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-opencl do not use OpenCL
2504 --without-opengl do not use OpenGL
2505 --without-osmesa do not use the OSMesa library
2506 --without-oss do not use the OSS sound support
2507 --without-pcap do not use the Packet Capture library
2508 --without-pcsclite do not use PCSC lite
2509 --without-pthread do not use the pthread library
2510 --without-pulse do not use PulseAudio sound support
2511 --without-sane do not use SANE (scanner support)
2512 --without-sdl do not use SDL
2513 --without-udev do not use udev (plug and play support)
2514 --without-unwind do not use the libunwind library (exception
2516 --without-usb do not use the libusb library
2517 --without-v4l2 do not use v4l2 (video capture)
2518 --without-vulkan do not use Vulkan
2519 --without-wayland do not build the Wayland driver
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xrandr do not use Xrandr (multi-monitor support)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xxf86vm do not use XFree video mode extension
2531 --with-system-dllpath=PATH
2532 load external PE dependencies from colon-separated
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2551 C compiler flags for the PE faudio, overriding the bundled
2554 Linker flags for the PE faudio, overriding the bundled version
2555 FLUIDSYNTH_PE_CFLAGS
2556 C compiler flags for the PE fluidsynth, overriding the bundled
2559 Linker flags for the PE fluidsynth, overriding the bundled
2562 C compiler flags for the PE gsm, overriding the bundled version
2563 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2565 C compiler flags for the PE jpeg, overriding the bundled version
2567 Linker flags for the PE jpeg, overriding the bundled version
2569 C compiler flags for the PE jxr, overriding the bundled version
2570 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2572 C compiler flags for the PE lcms2, overriding the bundled
2575 Linker flags for the PE lcms2, overriding the bundled version
2577 C compiler flags for the PE ldap, overriding the bundled version
2579 Linker flags for the PE ldap, overriding the bundled version
2581 C compiler flags for the PE mpg123, overriding the bundled
2584 Linker flags for the PE mpg123, overriding the bundled version
2586 C compiler flags for the PE musl, overriding the bundled version
2588 Linker flags for the PE musl, overriding the bundled version
2590 C compiler flags for the PE png, overriding the bundled version
2591 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2593 C compiler flags for the PE tiff, overriding the bundled version
2595 Linker flags for the PE tiff, overriding the bundled version
2597 C compiler flags for the PE vkd3d, overriding the bundled
2600 Linker flags for the PE vkd3d, overriding the bundled version
2602 C compiler flags for the PE xml2, overriding the bundled version
2604 Linker flags for the PE xml2, overriding the bundled version
2606 C compiler flags for the PE xslt, overriding the bundled version
2608 Linker flags for the PE xslt, overriding the bundled version
2610 C compiler flags for the PE zlib, overriding the bundled version
2612 Linker flags for the PE zlib, overriding the bundled version
2614 C compiler flags for the PE zydis, overriding the bundled
2617 Linker flags for the PE zydis, overriding the bundled version
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2620 WAYLAND_CLIENT_CFLAGS
2621 C compiler flags for wayland-client, overriding pkg-config
2623 Linker flags for wayland-client, overriding pkg-config
2625 C compiler flags for xkbcommon, overriding pkg-config
2627 Linker flags for xkbcommon, overriding pkg-config
2629 C compiler flags for xkbregistry, overriding pkg-config
2631 Linker flags for xkbregistry, overriding pkg-config
2633 C compiler flags for libinotify, overriding pkg-config
2635 Linker flags for libinotify, overriding pkg-config
2636 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2637 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2642 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2643 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2644 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2646 C compiler flags for libgphoto2, overriding pkg-config
2648 Linker flags for libgphoto2, overriding pkg-config
2650 C compiler flags for libgphoto2_port, overriding pkg-config
2652 Linker flags for libgphoto2_port, overriding pkg-config
2654 C compiler flags for freetype2, overriding pkg-config
2656 Linker flags for freetype2, overriding pkg-config
2658 C compiler flags for libpulse, overriding pkg-config
2659 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2661 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2664 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2666 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2667 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2669 C compiler flags for libunwind, overriding pkg-config
2670 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2671 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2672 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2674 C compiler flags for capi20, overriding pkg-config
2675 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2676 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2677 CUPS_LIBS Linker flags for cups, overriding pkg-config
2679 C compiler flags for fontconfig, overriding pkg-config
2681 Linker flags for fontconfig, overriding pkg-config
2682 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2683 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2685 C compiler flags for krb5-gssapi, overriding pkg-config
2686 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2688 C compiler flags for netapi, overriding pkg-config
2689 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2691 Use these variables to override the choices made by `configure' or to
help
2692 it to
find libraries and programs with nonstandard names
/locations.
2694 Report bugs to
<wine-devel@winehq.org
>.
2695 Wine home page
: <https
://www.winehq.org
>.
2700 if test "$ac_init_help" = "recursive"; then
2701 # If there are subdirs, report their specific --help.
2702 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2703 test -d "$ac_dir" ||
2704 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2709 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2711 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2712 # A ".." for each directory in $ac_dir_suffix.
2713 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2714 case $ac_top_builddir_sub in
2715 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2716 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2719 ac_abs_top_builddir
=$ac_pwd
2720 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2721 # for backward compatibility:
2722 ac_top_builddir
=$ac_top_build_prefix
2725 .
) # We are building in place.
2727 ac_top_srcdir
=$ac_top_builddir_sub
2728 ac_abs_top_srcdir
=$ac_pwd ;;
2729 [\\/]* | ?
:[\\/]* ) # Absolute name.
2730 ac_srcdir
=$srcdir$ac_dir_suffix;
2731 ac_top_srcdir
=$srcdir
2732 ac_abs_top_srcdir
=$srcdir ;;
2734 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2735 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2736 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2738 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2740 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2741 # Check for configure.gnu first; this name is used for a wrapper for
2742 # Metaconfig's "Configure" on case-insensitive file systems.
2743 if test -f "$ac_srcdir/configure.gnu"; then
2745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2746 elif test -f "$ac_srcdir/configure"; then
2748 $SHELL "$ac_srcdir/configure" --help=recursive
2750 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2752 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2756 test -n "$ac_init_help" && exit $ac_status
2757 if $ac_init_version; then
2760 generated by GNU Autoconf
2.71
2762 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2763 This configure
script is free software
; the Free Software Foundation
2764 gives unlimited permission to copy
, distribute and modify it.
2769 ## ------------------------ ##
2770 ## Autoconf initialization. ##
2771 ## ------------------------ ##
2773 # ac_fn_c_try_compile LINENO
2774 # --------------------------
2775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_c_try_compile
()
2778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2779 rm -f conftest.
$ac_objext conftest.beam
2780 if { { ac_try
="$ac_compile"
2782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 printf "%s\n" "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_compile
2812 # ac_fn_cxx_try_compile LINENO
2813 # ----------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_cxx_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext conftest.beam
2819 if { { ac_try="$ac_compile"
2821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2822 *) ac_try_echo
=$ac_try;;
2824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 printf "%s\n" "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2828 if test -s conftest.err
; then
2829 grep -v '^ *+' conftest.err
>conftest.er1
2830 cat conftest.er1
>&5
2831 mv -f conftest.er1 conftest.err
2833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.
$ac_objext
2841 printf "%s\n" "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status
$ac_retval
2849 } # ac_fn_cxx_try_compile
2851 # ac_fn_c_try_link LINENO
2852 # -----------------------
2853 # Try to link conftest.$ac_ext, and return whether this succeeded.
2856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2857 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2858 if { { ac_try
="$ac_link"
2860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 printf "%s\n" "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>conftest.err
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest$ac_exeext && {
2877 test "$cross_compiling" = yes ||
2878 test -x conftest$ac_exeext
2883 printf "%s\n" "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2890 # interfere with the next link command; also delete a directory that is
2891 # left behind by Apple's compiler. We do this before executing the actions.
2892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 as_fn_set_status $ac_retval
2896 } # ac_fn_c_try_link
2898 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2899 # -------------------------------------------------------
2900 # Tests whether HEADER exists and can be compiled using the include files in
2901 # INCLUDES, setting the cache variable VAR accordingly.
2902 ac_fn_c_check_header_compile ()
2904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 printf %s "checking for $2... " >&6; }
2907 if eval test \${$3+y}
2909 printf %s "(cached) " >&6
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2916 if ac_fn_c_try_compile "$LINENO"
2922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_header_compile
2931 # ac_fn_objc_try_compile LINENO
2932 # -----------------------------
2933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_objc_try_compile ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 rm -f conftest.$ac_objext conftest.beam
2938 if { { ac_try="$ac_compile"
2940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2941 *) ac_try_echo
=$ac_try;;
2943 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_compile") 2>conftest.err
2947 if test -s conftest.err
; then
2948 grep -v '^ *+' conftest.err
>conftest.er1
2949 cat conftest.er1
>&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } && {
2954 test -z "$ac_objc_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.
$ac_objext
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.
$ac_ext >&5
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status
$ac_retval
2968 } # ac_fn_objc_try_compile
2970 # ac_fn_c_check_func LINENO FUNC VAR
2971 # ----------------------------------
2972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2973 ac_fn_c_check_func
()
2975 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2977 printf %s
"checking for $2... " >&6; }
2978 if eval test \
${$3+y}
2980 printf %s
"(cached) " >&6
2982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2986 #define $2 innocuous_$2
2988 /* System header to define __stub macros and hopefully few prototypes,
2989 which can conflict with char $2 (); below. */
2994 /* Override any GCC internal prototype to avoid an error.
2995 Use char because int might match the return type of a GCC
2996 builtin and then its argument prototype would still apply. */
3001 /* The GNU C library defines this for functions which it implements
3002 to always fail with ENOSYS. Some functions are actually named
3003 something starting with __ and the normal name is an alias. */
3004 #if defined __stub_$2 || defined __stub___$2
3016 if ac_fn_c_try_link
"$LINENO"
3022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
3023 conftest
$ac_exeext conftest.
$ac_ext
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_func
3032 # ac_fn_c_try_cpp LINENO
3033 # ----------------------
3034 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3038 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 printf "%s\n" "$ac_try_echo"; } >&5
3045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3047 if test -s conftest.err; then
3048 grep -v '^ *+' conftest.err >conftest.er1
3049 cat conftest.er1 >&5
3050 mv -f conftest.er1 conftest.err
3052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; } > conftest.i && {
3054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3060 printf "%s\n" "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3070 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3071 # ----------------------------------------------------
3072 # Tries to find if the field MEMBER exists in type AGGR, after including
3073 # INCLUDES, setting cache variable VAR accordingly.
3074 ac_fn_c_check_member ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3078 printf %s "checking for $2.$3... " >&6; }
3079 if eval test \${$4+y}
3081 printf %s "(cached) " >&6
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3096 if ac_fn_c_try_compile "$LINENO"
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3107 if (sizeof ac_aggr.$3)
3113 if ac_fn_c_try_compile "$LINENO"
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 printf "%s\n" "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_member
3130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3131 # -------------------------------------------
3132 # Tests whether TYPE exists after having included INCLUDES, setting cache
3133 # variable VAR accordingly.
3134 ac_fn_c_check_type ()
3136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3138 printf %s "checking for $2... " >&6; }
3139 if eval test \${$3+y}
3141 printf %s "(cached) " >&6
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3170 if ac_fn_c_try_compile "$LINENO"
3176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3182 printf "%s\n" "$ac_res" >&6; }
3183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 } # ac_fn_c_check_type
3186 ac_configure_args_raw=
3191 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3193 as_fn_append ac_configure_args_raw " '$ac_arg'"
3196 case $ac_configure_args_raw in
3200 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3201 ac_unsafe_a="$ac_unsafe_z#~
"
3202 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3203 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3206 cat >config.log <<_ACEOF
3207 This file contains any messages produced by compilers while
3208 running configure, to aid debugging if configure makes a mistake.
3210 It was created by Wine $as_me 8.21, which was
3211 generated by GNU Autoconf 2.71. Invocation command line was
3213 $ $0$ac_configure_args_raw
3223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3235 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 case $as_dir in #(((
3249 *) as_dir=$as_dir/ ;;
3251 printf "%s
\n" "PATH
: $as_dir"
3267 # Keep a trace of the command line.
3268 # Strip out --no-create and --no-recursion so they do not pile up.
3269 # Strip out --silent because we don't want to record it for future runs.
3270 # Also quote any args containing shell meta-characters.
3271 # Make two passes to allow for proper duplicate-argument suppression.
3275 ac_must_keep_next=false
3281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3283 | -silent | --silent | --silen | --sile | --sil)
3286 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3289 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3291 as_fn_append ac_configure_args1 " '$ac_arg'"
3292 if test $ac_must_keep_next = true; then
3293 ac_must_keep_next=false # Got value, back to normal.
3296 *=* | --config-cache | -C | -disable-* | --disable-* \
3297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3299 | -with-* | --with-* | -without-* | --without-* | --x)
3300 case "$ac_configure_args0 " in
3301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3304 -* ) ac_must_keep_next=true ;;
3307 as_fn_append ac_configure_args " '$ac_arg'"
3312 { ac_configure_args0=; unset ac_configure_args0;}
3313 { ac_configure_args1=; unset ac_configure_args1;}
3315 # When interrupted or exit'd, cleanup temporary files, and complete
3316 # config.log. We remove comments because anyway the quotes in there
3317 # would cause problems or look ugly.
3318 # WARNING: Use '\'' to represent an apostrophe within the trap.
3319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3320 trap 'exit_status=$?
3323 # Save into config.log some information that might help in debugging.
3327 printf "%s
\n" "## ---------------- ##
3328 ## Cache variables. ##
3329 ## ---------------- ##"
3331 # The following way of writing the cache mishandles newlines in values,
3333 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3334 eval ac_val
=\$
$ac_var
3338 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3339 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3342 _ | IFS | as_nl
) ;; #(
3343 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3344 *) { eval $ac_var=; unset $ac_var;} ;;
3349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3350 *${as_nl}ac_space
=\
*)
3352 "s/'\''/'\''\\\\'\'''\''/g;
3353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3363 printf "%s\n" "## ----------------- ##
3364 ## Output variables. ##
3365 ## ----------------- ##"
3367 for ac_var
in $ac_subst_vars
3369 eval ac_val
=\$
$ac_var
3371 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3373 printf "%s\n" "$ac_var='\''$ac_val'\''"
3377 if test -n "$ac_subst_files"; then
3378 printf "%s\n" "## ------------------- ##
3379 ## File substitutions. ##
3380 ## ------------------- ##"
3382 for ac_var in $ac_subst_files
3384 eval ac_val=\$$ac_var
3386 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3388 printf "%s\n" "$ac_var='\''$ac_val'\''"
3393 if test -s confdefs.h
; then
3394 printf "%s\n" "## ----------- ##
3401 test "$ac_signal" != 0 &&
3402 printf "%s\n" "$as_me: caught signal $ac_signal"
3403 printf "%s\n" "$as_me: exit $exit_status"
3405 rm -f core
*.core core.conftest.
* &&
3406 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3409 for ac_signal in 1 2 13 15; do
3410 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3414 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3415 rm -f -r conftest* confdefs.h
3417 printf "%s\n" "/* confdefs.h */" > confdefs.h
3419 # Predefined preprocessor variables.
3421 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3423 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3425 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3427 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3429 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3431 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3434 # Let the site file select an alternate cache file if it wants to.
3435 # Prefer an explicitly selected file to automatically selected ones.
3436 if test -n "$CONFIG_SITE"; then
3437 ac_site_files="$CONFIG_SITE"
3438 elif test "x$prefix" != xNONE; then
3439 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3441 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3444 for ac_site_file in $ac_site_files
3446 case $ac_site_file in #(
3450 ac_site_file=./$ac_site_file ;;
3452 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3454 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3455 sed 's
/^
/|
/' "$ac_site_file" >&5
3457 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3459 as_fn_error $? "failed to load site script $ac_site_file
3460 See \`config.log
' for more details" "$LINENO" 5; }
3464 if test -r "$cache_file"; then
3465 # Some versions of bash will fail to source /dev/null (special files
3466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3467 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3469 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3471 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3472 *) . "./$cache_file";;
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3477 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3481 # Test code for whether the C compiler supports C89 (global declarations)
3482 ac_c_conftest_c89_globals='
3483 /* Does the compiler advertise C89 conformance?
3484 Do not
test the value of __STDC__
, because some compilers
set it to
0
3485 while being otherwise adequately conformant.
*/
3486 #if !defined __STDC__
3487 # error "Compiler does not advertise C89 conformance"
3493 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3494 struct buf
{ int x
; };
3495 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3496 static char
*e
(p
, i
)
3502 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3507 s
= g
(p
, va_arg
(v
,int
));
3512 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3513 function prototypes and stuff
, but not \xHH hex character constants.
3514 These
do not provoke an error unfortunately
, instead are silently treated
3515 as an
"x". The following induces an error
, until -std is added to get
3516 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3517 array size
at least. It is necessary to
write \x00 == 0 to get something
3518 that is true only with
-std.
*/
3519 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3521 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3522 inside
strings and character constants.
*/
3523 #define FOO(x) '\''x'\''
3524 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3526 int
test (int i
, double x
);
3527 struct s1
{int
(*f
) (int a
);};
3528 struct s2
{int
(*f
) (double a
);};
3529 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3532 # Test code for whether the C compiler supports C89 (body of main).
3533 ac_c_conftest_c89_main='
3534 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3537 # Test code for whether the C compiler supports C99 (global declarations)
3538 ac_c_conftest_c99_globals='
3539 // Does the compiler advertise C99 conformance?
3540 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3541 # error "Compiler does not advertise C99 conformance"
3544 #include <stdbool.h>
3545 extern int puts
(const char
*);
3546 extern int
printf (const char
*, ...
);
3547 extern int dprintf
(int
, const char
*, ...
);
3548 extern void
*malloc
(size_t
);
3550 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3551 // dprintf is used instead of fprintf to avoid needing to
declare
3553 #define debug(...) dprintf (2, __VA_ARGS__)
3554 #define showlist(...) puts (#__VA_ARGS__)
3555 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3557 test_varargs_macros
(void
)
3562 debug
("X = %d\n", x
);
3563 showlist
(The first
, second
, and third items.
);
3564 report
(x
>y
, "x is %d but y is %d", x
, y
);
3567 // Check long long types.
3568 #define BIG64 18446744073709551615ull
3569 #define BIG32 4294967295ul
3570 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3572 #error "your preprocessor is broken"
3576 #error "your preprocessor is broken"
3578 static long long int bignum
= -9223372036854775807LL;
3579 static unsigned long long int ubignum
= BIG64
;
3581 struct incomplete_array
3589 const wchar_t
*name
;
3593 typedef const char
*ccp
;
3596 test_restrict
(ccp restrict text
)
3598 // See
if C
++-style comments work.
3599 // Iterate through items via the restricted pointer.
3600 // Also check
for declarations
in for loops.
3601 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3606 // Check varargs and va_copy.
3608 test_varargs
(const char
*format
, ...
)
3611 va_start
(args
, format
);
3613 va_copy
(args_copy
, args
);
3615 const char
*str
= "";
3623 case '\''s
'\'': // string
3624 str
= va_arg
(args_copy
, const char
*);
3626 case '\''d
'\'': // int
3627 number
= va_arg
(args_copy
, int
);
3629 case '\''f
'\'': // float
3630 fnumber
= va_arg
(args_copy
, double
);
3639 return *str
&& number
&& fnumber
;
3643 # Test code for whether the C compiler supports C99 (body of main).
3644 ac_c_conftest_c99_main='
3646 _Bool success
= false
;
3647 success |
= (argc
!= 0);
3650 if (test_restrict
("String literal") == 0)
3652 char
*restrict newvar
= "Another string";
3655 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3656 test_varargs_macros
();
3658 // Check flexible array members.
3659 struct incomplete_array
*ia
=
3660 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3662 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3663 ia-
>data
[i
] = i
* 1.234;
3665 // Check named initializers.
3666 struct named_init ni
= {
3668 .name
= L
"Test wide string",
3669 .average
= 543.34343,
3674 int dynamic_array
[ni.number
];
3675 dynamic_array
[0] = argv
[0][0];
3676 dynamic_array
[ni.number
- 1] = 543;
3678 // work around unused variable warnings
3679 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3680 || dynamic_array
[ni.number
- 1] != 543);
3683 # Test code for whether the C compiler supports C11 (global declarations)
3684 ac_c_conftest_c11_globals='
3685 // Does the compiler advertise C11 conformance?
3686 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3687 # error "Compiler does not advertise C11 conformance"
3691 char _Alignas
(double
) aligned_as_double
;
3692 char _Alignas
(0) no_special_alignment
;
3693 extern char aligned_as_int
;
3694 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3699 int_alignment
= _Alignof
(int
),
3700 int_array_alignment
= _Alignof
(int
[100]),
3701 char_alignment
= _Alignof
(char
)
3703 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3706 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3708 // Check _Static_assert.
3709 struct test_static_assert
3712 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3713 "_Static_assert does not work in struct");
3717 // Check UTF-8 literals.
3718 #define u8 syntax error!
3719 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3721 // Check duplicate typedefs.
3722 typedef long
*long_ptr
;
3723 typedef long int
*long_ptr
;
3724 typedef long_ptr long_ptr
;
3726 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3730 struct
{ int i
; int j
; };
3731 struct
{ int k
; long int l
; } w
;
3737 # Test code for whether the C compiler supports C11 (body of main).
3738 ac_c_conftest_c11_main='
3739 _Static_assert
((offsetof
(struct anonymous
, i
)
3740 == offsetof
(struct anonymous
, w.k
)),
3741 "Anonymous union alignment botch");
3747 # Test code for whether the C compiler supports C11 (complete).
3748 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3749 ${ac_c_conftest_c99_globals}
3750 ${ac_c_conftest_c11_globals}
3753 main (int argc, char **argv)
3756 ${ac_c_conftest_c89_main}
3757 ${ac_c_conftest_c99_main}
3758 ${ac_c_conftest_c11_main}
3763 # Test code for whether the C compiler supports C99 (complete).
3764 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3765 ${ac_c_conftest_c99_globals}
3768 main (int argc, char **argv)
3771 ${ac_c_conftest_c89_main}
3772 ${ac_c_conftest_c99_main}
3777 # Test code for whether the C compiler supports C89 (complete).
3778 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3781 main (int argc, char **argv)
3784 ${ac_c_conftest_c89_main}
3789 # Test code for whether the C++ compiler supports C++98 (global declarations)
3790 ac_cxx_conftest_cxx98_globals='
3791 // Does the compiler advertise C
++98 conformance?
3792 #if !defined __cplusplus || __cplusplus < 199711L
3793 # error "Compiler does not advertise C++98 conformance"
3796 // These inclusions are to reject old compilers that
3797 // lack the unsuffixed header files.
3799 #include <exception>
3801 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3802 extern void assert
(int
);
3804 extern int strcmp
(const char
*, const char
*);
3807 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3808 using std
::exception
;
3813 void test_exception_syntax
()
3817 } catch
(const char
*s
) {
3818 // Extra parentheses suppress a warning when building autoconf itself
,
3819 // due to lint rules shared with
more typical C programs.
3820 assert
(!(strcmp
) (s
, "test"));
3824 template
<typename T
> struct test_template
3827 explicit test_template
(T t
) : val
(t
) {}
3828 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3831 } // anonymous namespace
3834 # Test code for whether the C++ compiler supports C++98 (body of main)
3835 ac_cxx_conftest_cxx98_main='
3839 test_exception_syntax
();
3840 test_template
<double
> tt
(2.0);
3841 assert
(tt.add
(4) == 6.0);
3842 assert
(true
&& !false
);
3846 # Test code for whether the C++ compiler supports C++11 (global declarations)
3847 ac_cxx_conftest_cxx11_globals='
3848 // Does the compiler advertise C
++ 2011 conformance?
3849 #if !defined __cplusplus || __cplusplus < 201103L
3850 # error "Compiler does not advertise C++11 conformance"
3855 constexpr int get_val
() { return 20; }
3866 delegate
(int n
) : n
(n
) {}
3867 delegate
(): delegate
(2354) {}
3869 virtual int getval
() { return this-
>n
; };
3874 class overridden
: public delegate
3877 overridden
(int n
): delegate
(n
) {}
3878 virtual int getval
() override final
{ return this-
>n
* 2; }
3884 nocopy
(int i
): i
(i
) {}
3886 nocopy
(const nocopy
&) = delete
;
3887 nocopy
& operator
=(const nocopy
&) = delete
;
3892 // for testing lambda expressions
3893 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3898 // for testing variadic templates and trailing
return types
3899 template
<typename V
> auto
sum(V first
) -> V
3903 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3905 return first
+ sum(rest...
);
3910 # Test code for whether the C++ compiler supports C++11 (body of main)
3911 ac_cxx_conftest_cxx11_main='
3913 // Test auto and decltype
3915 auto a2
= 48573953.4;
3916 auto a3
= "String literal";
3919 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3921 decltype
(a2
) a4
= 34895.034;
3925 short sa
[cxx11test
::get_val
()] = { 0 };
3928 // Test initializer lists
3929 cxx11test
::testinit il
= { 4323, 435234.23544 };
3932 // Test range-based
for
3933 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3934 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3935 for (auto
&x
: array
) { x
+= 23; }
3938 // Test lambda expressions
3939 using cxx11test
::eval;
3940 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3942 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3944 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3948 // Test use of variadic templates
3949 using cxx11test
::sum;
3952 auto c
= sum(1.0, 2.0, 3.0);
3955 // Test constructor delegation
3956 cxx11test
::delegate d1
;
3957 cxx11test
::delegate d2
();
3958 cxx11test
::delegate d3
(45);
3961 // Test override and final
3962 cxx11test
::overridden o1
(55464);
3969 // Test template brackets
3970 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3974 char const
*utf8
= u8
"UTF-8 string \u2500";
3975 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3976 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3980 # Test code for whether the C compiler supports C++11 (complete).
3981 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3982 ${ac_cxx_conftest_cxx11_globals}
3985 main (int argc, char **argv)
3988 ${ac_cxx_conftest_cxx98_main}
3989 ${ac_cxx_conftest_cxx11_main}
3994 # Test code for whether the C compiler supports C++98 (complete).
3995 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3997 main (int argc, char **argv)
4000 ${ac_cxx_conftest_cxx98_main}
4005 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4006 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4007 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4008 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4009 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4010 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4011 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4012 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4013 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4015 # Auxiliary files required by this configure script.
4016 ac_aux_files="config.guess config.sub"
4018 # Locations in which to look for auxiliary files.
4019 ac_aux_dir_candidates="${srcdir}/tools"
4021 # Search for a directory containing all of the required auxiliary files,
4022 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4023 # If we don't
find one directory that contains all the files we need
,
4024 # we report the set of missing files from the *first* directory in
4025 # $ac_aux_dir_candidates and give up.
4026 ac_missing_aux_files
=""
4027 ac_first_candidate
=:
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4031 for as_dir
in $ac_aux_dir_candidates
4034 case $as_dir in #(((
4037 *) as_dir
=$as_dir/ ;;
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4042 ac_aux_dir_found
=yes
4044 for ac_aux
in $ac_aux_files
4046 # As a special case, if "install-sh" is required, that requirement
4047 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4048 # and $ac_install_sh is set appropriately for whichever one is found.
4049 if test x
"$ac_aux" = x
"install-sh"
4051 if test -f "${as_dir}install-sh"; then
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4053 ac_install_sh
="${as_dir}install-sh -c"
4054 elif test -f "${as_dir}install.sh"; then
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4056 ac_install_sh
="${as_dir}install.sh -c"
4057 elif test -f "${as_dir}shtool"; then
4058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4059 ac_install_sh
="${as_dir}shtool install -c"
4062 if $ac_first_candidate; then
4063 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4069 if test -f "${as_dir}${ac_aux}"; then
4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4073 if $ac_first_candidate; then
4074 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4081 if test "$ac_aux_dir_found" = yes; then
4082 ac_aux_dir
="$as_dir"
4085 ac_first_candidate
=false
4094 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4098 # These three variables are undocumented and unsupported,
4099 # and are intended to be withdrawn in a future Autoconf release.
4100 # They can cause serious problems if a builder's source tree is in a directory
4101 # whose full name contains unusual characters.
4102 if test -f "${ac_aux_dir}config.guess"; then
4103 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4105 if test -f "${ac_aux_dir}config.sub"; then
4106 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4108 if test -f "$ac_aux_dir/configure"; then
4109 ac_configure
="$SHELL ${ac_aux_dir}configure"
4112 # Check that the precious variables saved in the cache have kept the same
4114 ac_cache_corrupted
=false
4115 for ac_var
in $ac_precious_vars; do
4116 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4117 eval ac_new_set
=\
$ac_env_${ac_var}_set
4118 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4119 eval ac_new_val
=\
$ac_env_${ac_var}_value
4120 case $ac_old_set,$ac_new_set in
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4123 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4124 ac_cache_corrupted
=: ;;
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4127 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4128 ac_cache_corrupted
=: ;;
4131 if test "x$ac_old_val" != "x$ac_new_val"; then
4132 # differences in whitespace do not lead to failure.
4133 ac_old_val_w
=`echo x $ac_old_val`
4134 ac_new_val_w
=`echo x $ac_new_val`
4135 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4138 ac_cache_corrupted
=:
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4141 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4142 eval $ac_var=\
$ac_old_val
4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4145 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4147 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4150 # Pass precious variables to config.status.
4151 if test "$ac_new_set" = set; then
4153 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4154 *) ac_arg
=$ac_var=$ac_new_val ;;
4156 case " $ac_configure_args " in
4157 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4158 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4162 if $ac_cache_corrupted; then
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4166 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4167 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4168 and start over" "$LINENO" 5
4170 ## -------------------- ##
4171 ## Main body of script. ##
4172 ## -------------------- ##
4175 ac_cpp
='$CPP $CPPFLAGS'
4176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4182 ac_config_headers
="$ac_config_headers include/config.h"
4186 libwine_version
="1.0"
4189 # Check whether --enable-archs was given.
4190 if test ${enable_archs+y}
4192 enableval
=$enable_archs;
4195 # Check whether --enable-win16 was given.
4196 if test ${enable_win16+y}
4198 enableval
=$enable_win16;
4201 # Check whether --enable-win64 was given.
4202 if test ${enable_win64+y}
4204 enableval
=$enable_win64;
4207 # Check whether --enable-tests was given.
4208 if test ${enable_tests+y}
4210 enableval
=$enable_tests;
4213 # Check whether --enable-build-id was given.
4214 if test ${enable_build_id+y}
4216 enableval
=$enable_build_id;
4219 # Check whether --enable-maintainer-mode was given.
4220 if test ${enable_maintainer_mode+y}
4222 enableval
=$enable_maintainer_mode;
4225 # Check whether --enable-silent-rules was given.
4226 if test ${enable_silent_rules+y}
4228 enableval
=$enable_silent_rules;
4231 # Check whether --enable-werror was given.
4232 if test ${enable_werror+y}
4234 enableval
=$enable_werror;
4239 # Check whether --with-alsa was given.
4240 if test ${with_alsa+y}
4246 # Check whether --with-capi was given.
4247 if test ${with_capi+y}
4253 # Check whether --with-coreaudio was given.
4254 if test ${with_coreaudio+y}
4256 withval
=$with_coreaudio;
4260 # Check whether --with-cups was given.
4261 if test ${with_cups+y}
4267 # Check whether --with-dbus was given.
4268 if test ${with_dbus+y}
4274 # Check whether --with-float-abi was given.
4275 if test ${with_float_abi+y}
4277 withval
=$with_float_abi;
4281 # Check whether --with-fontconfig was given.
4282 if test ${with_fontconfig+y}
4284 withval
=$with_fontconfig;
4288 # Check whether --with-freetype was given.
4289 if test ${with_freetype+y}
4291 withval
=$with_freetype;
4295 # Check whether --with-gettext was given.
4296 if test ${with_gettext+y}
4298 withval
=$with_gettext;
4302 # Check whether --with-gettextpo was given.
4303 if test ${with_gettextpo+y}
4305 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4309 # Check whether --with-gphoto was given.
4310 if test ${with_gphoto+y}
4312 withval
=$with_gphoto;
4316 # Check whether --with-gnutls was given.
4317 if test ${with_gnutls+y}
4319 withval
=$with_gnutls;
4323 # Check whether --with-gssapi was given.
4324 if test ${with_gssapi+y}
4326 withval
=$with_gssapi;
4330 # Check whether --with-gstreamer was given.
4331 if test ${with_gstreamer+y}
4333 withval
=$with_gstreamer;
4337 # Check whether --with-inotify was given.
4338 if test ${with_inotify+y}
4340 withval
=$with_inotify;
4344 # Check whether --with-krb5 was given.
4345 if test ${with_krb5+y}
4351 # Check whether --with-mingw was given.
4352 if test ${with_mingw+y}
4354 withval
=$with_mingw;
4358 # Check whether --with-netapi was given.
4359 if test ${with_netapi+y}
4361 withval
=$with_netapi;
4365 # Check whether --with-opencl was given.
4366 if test ${with_opencl+y}
4368 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4372 # Check whether --with-opengl was given.
4373 if test ${with_opengl+y}
4375 withval
=$with_opengl;
4379 # Check whether --with-osmesa was given.
4380 if test ${with_osmesa+y}
4382 withval
=$with_osmesa;
4386 # Check whether --with-oss was given.
4387 if test ${with_oss+y}
4393 # Check whether --with-pcap was given.
4394 if test ${with_pcap+y}
4396 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4400 # Check whether --with-pcsclite was given.
4401 if test ${with_pcsclite+y}
4403 withval
=$with_pcsclite;
4407 # Check whether --with-pthread was given.
4408 if test ${with_pthread+y}
4410 withval
=$with_pthread;
4414 # Check whether --with-pulse was given.
4415 if test ${with_pulse+y}
4417 withval
=$with_pulse;
4421 # Check whether --with-sane was given.
4422 if test ${with_sane+y}
4428 # Check whether --with-sdl was given.
4429 if test ${with_sdl+y}
4435 # Check whether --with-udev was given.
4436 if test ${with_udev+y}
4442 # Check whether --with-unwind was given.
4443 if test ${with_unwind+y}
4445 withval
=$with_unwind;
4449 # Check whether --with-usb was given.
4450 if test ${with_usb+y}
4456 # Check whether --with-v4l2 was given.
4457 if test ${with_v4l2+y}
4463 # Check whether --with-vulkan was given.
4464 if test ${with_vulkan+y}
4466 withval
=$with_vulkan;
4470 # Check whether --with-wayland was given.
4471 if test ${with_wayland+y}
4473 withval
=$with_wayland;
4477 # Check whether --with-xcomposite was given.
4478 if test ${with_xcomposite+y}
4480 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4484 # Check whether --with-xcursor was given.
4485 if test ${with_xcursor+y}
4487 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4491 # Check whether --with-xfixes was given.
4492 if test ${with_xfixes+y}
4494 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4498 # Check whether --with-xinerama was given.
4499 if test ${with_xinerama+y}
4501 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4505 # Check whether --with-xinput was given.
4506 if test ${with_xinput+y}
4508 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4512 # Check whether --with-xinput2 was given.
4513 if test ${with_xinput2+y}
4515 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4519 # Check whether --with-xrandr was given.
4520 if test ${with_xrandr+y}
4522 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4526 # Check whether --with-xrender was given.
4527 if test ${with_xrender+y}
4529 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4533 # Check whether --with-xshape was given.
4534 if test ${with_xshape+y}
4536 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4540 # Check whether --with-xshm was given.
4541 if test ${with_xshm+y}
4543 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4547 # Check whether --with-xxf86vm was given.
4548 if test ${with_xxf86vm+y}
4550 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
4555 # Check whether --with-system-dllpath was given.
4556 if test ${with_system_dllpath+y}
4558 withval
=$with_system_dllpath; system_dllpath
=$withval
4563 # Check whether --with-wine-tools was given.
4564 if test ${with_wine_tools+y}
4566 withval
=$with_wine_tools;
4570 # Check whether --with-wine64 was given.
4571 if test ${with_wine64+y}
4573 withval
=$with_wine64;
4580 # Make sure we can run config.sub.
4581 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4582 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4585 printf %s
"checking build system type... " >&6; }
4586 if test ${ac_cv_build+y}
4588 printf %s
"(cached) " >&6
4590 ac_build_alias
=$build_alias
4591 test "x$ac_build_alias" = x
&&
4592 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4593 test "x$ac_build_alias" = x
&&
4594 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4595 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4596 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4600 printf "%s\n" "$ac_cv_build" >&6; }
4601 case $ac_cv_build in
4603 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4606 ac_save_IFS
=$IFS; IFS
='-'
4612 # Remember, the first character of IFS is used to create $*,
4613 # except with old shells:
4616 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4620 printf %s
"checking host system type... " >&6; }
4621 if test ${ac_cv_host+y}
4623 printf %s
"(cached) " >&6
4625 if test "x$host_alias" = x
; then
4626 ac_cv_host
=$ac_cv_build
4628 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4629 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 printf "%s\n" "$ac_cv_host" >&6; }
4637 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4640 ac_save_IFS
=$IFS; IFS
='-'
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4650 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4654 dlldir
=\
${libdir}/wine
4656 fontdir
=\
${datadir}/wine
/fonts
4658 nlsdir
=\
${datadir}/wine
/nls
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4664 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4666 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4667 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4669 printf %s
"(cached) " >&6
4671 cat >conftest.
make <<\_ACEOF
4674 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4679 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4681 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4685 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4687 printf "%s\n" "yes" >&6; }
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4692 SET_MAKE
="MAKE=${MAKE-make}"
4705 ac_cpp
='$CPP $CPPFLAGS'
4706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4711 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s
"checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4716 printf %s
"(cached) " >&6
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC
="$CC" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 case $as_dir in #(((
4728 *) as_dir
=$as_dir/ ;;
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4753 if test -z "$ac_cv_prog_CC"; then
4755 # Extract the first word of "gcc", so it can be a program name with args.
4756 set dummy gcc
; ac_word
=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s
"checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_ac_ct_CC+y}
4761 printf %s
"(cached) " >&6
4763 if test -n "$ac_ct_CC"; then
4764 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 case $as_dir in #(((
4773 *) as_dir
=$as_dir/ ;;
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CC
="gcc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4787 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4788 if test -n "$ac_ct_CC"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4790 printf "%s\n" "$ac_ct_CC" >&6; }
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 printf "%s\n" "no" >&6; }
4796 if test "x$ac_ct_CC" = x
; then
4799 case $cross_compiling:$ac_tool_warned in
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned
=yes ;;
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4814 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s
"checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4819 printf %s
"(cached) " >&6
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC
="$CC" # Let the user override the test.
4824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4828 case $as_dir in #(((
4831 *) as_dir
=$as_dir/ ;;
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4846 if test -n "$CC"; then
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 printf "%s\n" "$CC" >&6; }
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 printf "%s\n" "no" >&6; }
4857 if test -z "$CC"; then
4858 # Extract the first word of "cc", so it can be a program name with args.
4859 set dummy cc
; ac_word
=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s
"checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4864 printf %s
"(cached) " >&6
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC
="$CC" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 case $as_dir in #(((
4877 *) as_dir
=$as_dir/ ;;
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4881 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4882 ac_prog_rejected
=yes
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4893 if test $ac_prog_rejected = yes; then
4894 # We found a bogon in the path, so make sure we never use it.
4895 set dummy
$ac_cv_prog_CC
4897 if test $# != 0; then
4898 # We chose a different compiler from the bogus one.
4899 # However, it has the same basename, so the bogon will be chosen
4900 # first if we set CC to just the basename; use the full file name.
4902 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4908 if test -n "$CC"; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4910 printf "%s\n" "$CC" >&6; }
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 printf "%s\n" "no" >&6; }
4918 if test -z "$CC"; then
4919 if test -n "$ac_tool_prefix"; then
4920 for ac_prog
in cl.exe
4922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4923 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 printf %s
"checking for $ac_word... " >&6; }
4926 if test ${ac_cv_prog_CC+y}
4928 printf %s
"(cached) " >&6
4930 if test -n "$CC"; then
4931 ac_cv_prog_CC
="$CC" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 case $as_dir in #(((
4940 *) as_dir
=$as_dir/ ;;
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4964 test -n "$CC" && break
4967 if test -z "$CC"; then
4969 for ac_prog
in cl.exe
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy
$ac_prog; ac_word
=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s
"checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4977 printf %s
"(cached) " >&6
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 case $as_dir in #(((
4989 *) as_dir
=$as_dir/ ;;
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC
="$ac_prog"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5003 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5013 test -n "$ac_ct_CC" && break
5016 if test "x$ac_ct_CC" = x
; then
5019 case $cross_compiling:$ac_tool_warned in
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned
=yes ;;
5030 if test -z "$CC"; then
5031 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5033 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s
"checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_CC+y}
5038 printf %s
"(cached) " >&6
5040 if test -n "$CC"; then
5041 ac_cv_prog_CC
="$CC" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 case $as_dir in #(((
5050 *) as_dir
=$as_dir/ ;;
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5065 if test -n "$CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 printf "%s\n" "$CC" >&6; }
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5075 if test -z "$ac_cv_prog_CC"; then
5077 # Extract the first word of "clang", so it can be a program name with args.
5078 set dummy clang
; ac_word
=$2
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 printf %s
"checking for $ac_word... " >&6; }
5081 if test ${ac_cv_prog_ac_ct_CC+y}
5083 printf %s
"(cached) " >&6
5085 if test -n "$ac_ct_CC"; then
5086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 case $as_dir in #(((
5095 *) as_dir
=$as_dir/ ;;
5097 for ac_exec_ext
in '' $ac_executable_extensions; do
5098 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CC
="clang"
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5109 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5110 if test -n "$ac_ct_CC"; then
5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5112 printf "%s\n" "$ac_ct_CC" >&6; }
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 printf "%s\n" "no" >&6; }
5118 if test "x$ac_ct_CC" = x
; then
5121 case $cross_compiling:$ac_tool_warned in
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned
=yes ;;
5136 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5137 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5138 as_fn_error $?
"no acceptable C compiler found in \$PATH
5139 See \`config.log' for more details" "$LINENO" 5; }
5141 # Provide some information about the compiler.
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5145 for ac_option
in --version -v -V -qversion -version; do
5146 { { ac_try
="$ac_compiler $ac_option >&5"
5148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5155 if test -s conftest.err; then
5157 ... rest of stderr output deleted ...
5158 10q' conftest.err >conftest.er1
5159 cat conftest.er1 >&5
5161 rm -f conftest.er1 conftest.err
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5177 ac_clean_files_save=$ac_clean_files
5178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5179 # Try to create an executable without -o first, disregard a.out.
5180 # It will help us diagnose broken compilers, and finding out an intuition
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5183 printf %s "checking whether the C compiler works... " >&6; }
5184 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5186 # The possible output files:
5187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5190 for ac_file in $ac_files
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5199 if { { ac_try="$ac_link_default"
5201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5202 *) ac_try_echo
=$ac_try;;
5204 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_link_default") 2>&5
5208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; }
5211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5214 # so that the user can short-circuit this test for compilers unknown to
5216 for ac_file
in $ac_files ''
5218 test -f "$ac_file" ||
continue
5220 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5223 # We found the default executable, but exeext='' is most
5227 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5229 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5231 # We set ac_cv_exeext here because the later test for it is not
5232 # safe: cross compilers may not add the suffix if given an `-o'
5233 # argument, so we may need to know it at that point already.
5234 # Even if this section looks crufty: it has the advantage of
5241 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5246 if test -z "$ac_file"
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 printf "%s\n" "no" >&6; }
5250 printf "%s\n" "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.
$ac_ext >&5
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error
77 "C compiler cannot create executables
5256 See \`config.log' for more details" "$LINENO" 5; }
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5259 printf "%s\n" "yes" >&6; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5262 printf %s
"checking for C compiler default output file name... " >&6; }
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5264 printf "%s\n" "$ac_file" >&6; }
5265 ac_exeext
=$ac_cv_exeext
5267 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5268 ac_clean_files
=$ac_clean_files_save
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5270 printf %s
"checking for suffix of executables... " >&6; }
5271 if { { ac_try
="$ac_link"
5273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5283 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5284 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5285 # work properly (i.e., refer to `conftest.exe'), while it won't with
5287 for ac_file
in conftest.exe conftest conftest.
*; do
5288 test -f "$ac_file" ||
continue
5290 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5291 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5300 See \`config.log' for more details" "$LINENO" 5; }
5302 rm -f conftest conftest
$ac_cv_exeext
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5304 printf "%s\n" "$ac_cv_exeext" >&6; }
5306 rm -f conftest.
$ac_ext
5307 EXEEXT
=$ac_cv_exeext
5309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5315 FILE *f = fopen ("conftest.out", "w");
5316 return ferror (f) || fclose (f) != 0;
5322 ac_clean_files
="$ac_clean_files conftest.out"
5323 # Check that the compiler produces executables we can run. If not, either
5324 # the compiler is broken, or we cross compile.
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5326 printf %s
"checking whether we are cross compiling... " >&6; }
5327 if test "$cross_compiling" != yes; then
5328 { { ac_try
="$ac_link"
5330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 printf "%s\n" "$ac_try_echo"; } >&5
5335 (eval "$ac_link") 2>&5
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 if { ac_try='./conftest$ac_cv_exeext'
5340 { { case "(($ac_try" in
5341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5342 *) ac_try_echo
=$ac_try;;
5344 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_try") 2>&5
5348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }; }; then
5352 if test "$cross_compiling" = maybe
; then
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error
77 "cannot run C compiled programs.
5358 If you meant to cross compile, use \`--host'.
5359 See \`config.log' for more details" "$LINENO" 5; }
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5364 printf "%s\n" "$cross_compiling" >&6; }
5366 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5367 ac_clean_files
=$ac_clean_files_save
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5369 printf %s
"checking for suffix of object files... " >&6; }
5370 if test ${ac_cv_objext+y}
5372 printf %s
"(cached) " >&6
5374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5385 rm -f conftest.o conftest.obj
5386 if { { ac_try
="$ac_compile"
5388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5392 printf "%s\n" "$ac_try_echo"; } >&5
5393 (eval "$ac_compile") 2>&5
5395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5396 test $ac_status = 0; }
5398 for ac_file in conftest.o conftest.obj conftest.*; do
5399 test -f "$ac_file" || continue;
5401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5407 printf "%s\n" "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.$ac_ext >&5
5410 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5411 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5412 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5413 See \
`config.log' for more details" "$LINENO" 5; }
5415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5418 printf "%s\n" "$ac_cv_objext" >&6; }
5419 OBJEXT=$ac_cv_objext
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5422 printf %s "checking whether the compiler supports GNU C... " >&6; }
5423 if test ${ac_cv_c_compiler_gnu+y}
5425 printf %s "(cached) " >&6
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5441 if ac_fn_c_try_compile "$LINENO"
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5452 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 if test $ac_compiler_gnu = yes; then
5460 ac_test_CFLAGS=${CFLAGS+y}
5461 ac_save_CFLAGS=$CFLAGS
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5463 printf %s "checking whether $CC accepts -g... " >&6; }
5464 if test ${ac_cv_prog_cc_g+y}
5466 printf %s "(cached) " >&6
5468 ac_save_c_werror_flag=$ac_c_werror_flag
5469 ac_c_werror_flag=yes
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5483 if ac_fn_c_try_compile "$LINENO"
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5499 if ac_fn_c_try_compile "$LINENO"
5503 ac_c_werror_flag=$ac_save_c_werror_flag
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5516 if ac_fn_c_try_compile "$LINENO"
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5529 if test $ac_test_CFLAGS; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5538 if test "$GCC" = yes; then
5545 if test x$ac_prog_cc_stdc = xno
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5548 printf %s "checking for $CC option to enable C11 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c11+y}
5551 printf %s "(cached) " >&6
5553 ac_cv_prog_cc_c11=no
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c11_program
5559 for ac_arg in '' -std=gnu11
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5564 ac_cv_prog_cc_c11=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c11" != "xno" && break
5569 rm -f conftest.$ac_ext
5573 if test "x$ac_cv_prog_cc_c11" = xno
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5578 if test "x$ac_cv_prog_cc_c11" = x
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c11"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5591 if test x$ac_prog_cc_stdc = xno
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5594 printf %s "checking for $CC option to enable C99 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c99+y}
5597 printf %s "(cached) " >&6
5599 ac_cv_prog_cc_c99=no
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c99_program
5605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5610 ac_cv_prog_cc_c99=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c99" != "xno" && break
5615 rm -f conftest.$ac_ext
5619 if test "x$ac_cv_prog_cc_c99" = xno
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5624 if test "x$ac_cv_prog_cc_c99" = x
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c99"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5637 if test x$ac_prog_cc_stdc = xno
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5640 printf %s "checking for $CC option to enable C89 features... " >&6; }
5641 if test ${ac_cv_prog_cc_c89+y}
5643 printf %s "(cached) " >&6
5645 ac_cv_prog_cc_c89=no
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5649 $ac_c_conftest_c89_program
5651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5653 CC="$ac_save_CC $ac_arg"
5654 if ac_fn_c_try_compile "$LINENO"
5656 ac_cv_prog_cc_c89=$ac_arg
5658 rm -f core conftest.err conftest.$ac_objext conftest.beam
5659 test "x$ac_cv_prog_cc_c89" != "xno" && break
5661 rm -f conftest.$ac_ext
5665 if test "x$ac_cv_prog_cc_c89" = xno
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5668 printf "%s\n" "unsupported" >&6; }
5670 if test "x$ac_cv_prog_cc_c89" = x
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5673 printf "%s\n" "none needed" >&6; }
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5676 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5677 CC="$CC $ac_cv_prog_cc_c89"
5679 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5685 ac_cpp='$CPP $CPPFLAGS'
5686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5697 ac_cpp='$CXXCPP $CPPFLAGS'
5698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 if test -z "$CXX"; then
5702 if test -n "$CCC"; then
5705 if test -n "$ac_tool_prefix"; then
5706 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 printf %s "checking for $ac_word... " >&6; }
5712 if test ${ac_cv_prog_CXX+y}
5714 printf %s "(cached) " >&6
5716 if test -n "$CXX"; then
5717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 case $as_dir in #(((
5726 *) as_dir=$as_dir/ ;;
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5741 if test -n "$CXX"; then
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5743 printf "%s\n" "$CXX" >&6; }
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 printf "%s\n" "no" >&6; }
5750 test -n "$CXX" && break
5753 if test -z "$CXX"; then
5755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 printf %s "checking for $ac_word... " >&6; }
5761 if test ${ac_cv_prog_ac_ct_CXX+y}
5763 printf %s "(cached) " >&6
5765 if test -n "$ac_ct_CXX"; then
5766 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 case $as_dir in #(((
5775 *) as_dir=$as_dir/ ;;
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_CXX="$ac_prog"
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5790 if test -n "$ac_ct_CXX"; then
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5792 printf "%s\n" "$ac_ct_CXX" >&6; }
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 printf "%s\n" "no" >&6; }
5799 test -n "$ac_ct_CXX" && break
5802 if test "x$ac_ct_CXX" = x; then
5805 case $cross_compiling:$ac_tool_warned in
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5817 # Provide some information about the compiler.
5818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5821 for ac_option in --version -v -V -qversion; do
5822 { { ac_try="$ac_compiler $ac_option >&5"
5824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5825 *) ac_try_echo
=$ac_try;;
5827 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5828 printf "%s\n" "$ac_try_echo"; } >&5
5829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5831 if test -s conftest.err
; then
5833 ... rest of stderr output deleted ...
5834 10q' conftest.err
>conftest.er1
5835 cat conftest.er1
>&5
5837 rm -f conftest.er1 conftest.err
5838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839 test $ac_status = 0; }
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5843 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5844 if test ${ac_cv_cxx_compiler_gnu+y}
5846 printf %s
"(cached) " >&6
5848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5862 if ac_fn_cxx_try_compile
"$LINENO"
5868 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5869 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5873 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5876 if test $ac_compiler_gnu = yes; then
5881 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5882 ac_save_CXXFLAGS
=$CXXFLAGS
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5884 printf %s
"checking whether $CXX accepts -g... " >&6; }
5885 if test ${ac_cv_prog_cxx_g+y}
5887 printf %s
"(cached) " >&6
5889 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5890 ac_cxx_werror_flag
=yes
5893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5904 if ac_fn_cxx_try_compile
"$LINENO"
5906 ac_cv_prog_cxx_g
=yes
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5920 if ac_fn_cxx_try_compile
"$LINENO"
5924 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5937 if ac_fn_cxx_try_compile
"$LINENO"
5939 ac_cv_prog_cxx_g
=yes
5941 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5943 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5945 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5946 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5950 if test $ac_test_CXXFLAGS; then
5951 CXXFLAGS
=$ac_save_CXXFLAGS
5952 elif test $ac_cv_prog_cxx_g = yes; then
5953 if test "$GXX" = yes; then
5959 if test "$GXX" = yes; then
5965 ac_prog_cxx_stdcxx
=no
5966 if test x
$ac_prog_cxx_stdcxx = xno
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5969 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx11+y}
5972 printf %s
"(cached) " >&6
5974 ac_cv_prog_cxx_cxx11
=no
5976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx11_program
5980 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5982 CXX
="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile
"$LINENO"
5985 ac_cv_prog_cxx_cxx11
=$ac_arg
5987 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5990 rm -f conftest.
$ac_ext
5994 if test "x$ac_cv_prog_cxx_cxx11" = xno
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5999 if test "x$ac_cv_prog_cxx_cxx11" = x
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6006 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
6008 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
6009 ac_prog_cxx_stdcxx
=cxx11
6012 if test x
$ac_prog_cxx_stdcxx = xno
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6015 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
6016 if test ${ac_cv_prog_cxx_cxx98+y}
6018 printf %s
"(cached) " >&6
6020 ac_cv_prog_cxx_cxx98
=no
6022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 $ac_cxx_conftest_cxx98_program
6026 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6028 CXX
="$ac_save_CXX $ac_arg"
6029 if ac_fn_cxx_try_compile
"$LINENO"
6031 ac_cv_prog_cxx_cxx98
=$ac_arg
6033 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6034 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6036 rm -f conftest.
$ac_ext
6040 if test "x$ac_cv_prog_cxx_cxx98" = xno
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6043 printf "%s\n" "unsupported" >&6; }
6045 if test "x$ac_cv_prog_cxx_cxx98" = x
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6048 printf "%s\n" "none needed" >&6; }
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6051 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6052 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6054 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6055 ac_prog_cxx_stdcxx
=cxx98
6060 ac_cpp
='$CPP $CPPFLAGS'
6061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6067 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s
"checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_CPPBIN+y}
6072 printf %s
"(cached) " >&6
6074 if test -n "$CPPBIN"; then
6075 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6081 case $as_dir in #(((
6084 *) as_dir
=$as_dir/ ;;
6086 for ac_exec_ext
in '' $ac_executable_extensions; do
6087 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6098 CPPBIN
=$ac_cv_prog_CPPBIN
6099 if test -n "$CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6101 printf "%s\n" "$CPPBIN" >&6; }
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_CPPBIN"; then
6110 ac_ct_CPPBIN
=$CPPBIN
6111 # Extract the first word of "cpp", so it can be a program name with args.
6112 set dummy cpp
; ac_word
=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s
"checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6117 printf %s
"(cached) " >&6
6119 if test -n "$ac_ct_CPPBIN"; then
6120 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6126 case $as_dir in #(((
6129 *) as_dir
=$as_dir/ ;;
6131 for ac_exec_ext
in '' $ac_executable_extensions; do
6132 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6143 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6144 if test -n "$ac_ct_CPPBIN"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6146 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_CPPBIN" = x
; then
6155 case $cross_compiling:$ac_tool_warned in
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned
=yes ;;
6161 CPPBIN
=$ac_ct_CPPBIN
6164 CPPBIN
="$ac_cv_prog_CPPBIN"
6168 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6172 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s
"checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_LD+y}
6177 printf %s
"(cached) " >&6
6179 if test -n "$LD"; then
6180 ac_cv_prog_LD
="$LD" # Let the user override the test.
6182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6186 case $as_dir in #(((
6189 *) as_dir
=$as_dir/ ;;
6191 for ac_exec_ext
in '' $ac_executable_extensions; do
6192 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6204 if test -n "$LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6206 printf "%s\n" "$LD" >&6; }
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6214 if test -z "$ac_cv_prog_LD"; then
6216 # Extract the first word of "ld", so it can be a program name with args.
6217 set dummy ld
; ac_word
=$2
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 printf %s
"checking for $ac_word... " >&6; }
6220 if test ${ac_cv_prog_ac_ct_LD+y}
6222 printf %s
"(cached) " >&6
6224 if test -n "$ac_ct_LD"; then
6225 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6231 case $as_dir in #(((
6234 *) as_dir
=$as_dir/ ;;
6236 for ac_exec_ext
in '' $ac_executable_extensions; do
6237 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_ac_ct_LD
="ld"
6239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6248 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6249 if test -n "$ac_ct_LD"; then
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6251 printf "%s\n" "$ac_ct_LD" >&6; }
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 printf "%s\n" "no" >&6; }
6257 if test "x$ac_ct_LD" = x
; then
6260 case $cross_compiling:$ac_tool_warned in
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264 ac_tool_warned
=yes ;;
6275 with_fontconfig
=${with_fontconfig:-no}
6277 *-mingw32*|
*-cygwin*)
6278 enable_win16
=${enable_win16:-no}
6279 with_mingw
=${with_mingw:-no}
6286 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6292 printf %s
"checking whether $CC works... " >&6; }
6293 if test ${wine_cv_cc_m32+y}
6295 printf %s
"(cached) " >&6
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6308 if ac_fn_c_try_link
"$LINENO"
6314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6315 conftest
$ac_exeext conftest.
$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6318 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6319 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
6321 notice_platform
="32-bit "
6322 TARGETFLAGS
="$TARGETFLAGS -m32"
6323 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6324 export PKG_CONFIG_LIBDIR
6325 with_unwind
=${with_unwind:-no}
6330 notice_platform
="64-bit "
6331 TARGETFLAGS
="$TARGETFLAGS -m64"
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6336 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6337 if test ${wine_cv_thumb2+y}
6339 printf %s
"(cached) " >&6
6341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6347 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6352 if ac_fn_c_try_link
"$LINENO"
6358 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6359 conftest
$ac_exeext conftest.
$ac_ext
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6362 printf "%s\n" "$wine_cv_thumb2" >&6; }
6363 if test x
"$wine_cv_thumb2" = xyes
6365 CFLAGS
="$CFLAGS -mthumb"
6366 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6368 CFLAGS
="$CFLAGS -marm"
6369 TARGETFLAGS
="$TARGETFLAGS -marm"
6371 case $with_float_abi in
6373 float_abi
=$with_float_abi ;;
6380 saved_CFLAGS
=$CFLAGS
6381 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6383 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6384 if test ${wine_cv_float_abi+y}
6386 printf %s
"(cached) " >&6
6388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6394 asm("vmrs r2,fpscr");
6399 if ac_fn_c_try_link
"$LINENO"
6401 wine_cv_float_abi
=yes
6403 wine_cv_float_abi
=no
6405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6406 conftest
$ac_exeext conftest.
$ac_ext
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6409 printf "%s\n" "$wine_cv_float_abi" >&6; }
6410 if test $wine_cv_float_abi = no
6413 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6415 CFLAGS
=$saved_CFLAGS
6419 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6420 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6423 with_unwind
=${with_unwind:-no}
6427 enable_win16
=${enable_win16:-i386}
6428 enable_win64
=${enable_win64:-no}
6429 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6430 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6431 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6432 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
6434 enable_winetest
=${enable_winetest:-$enable_tests}
6436 if test "x$enable_win64" = "xyes"
6438 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6439 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6443 cygwin
*|mingw32
*) toolsext
=".exe"
6451 aarch64
*) HOST_ARCH
=aarch64
;;
6452 arm
*) HOST_ARCH
=arm
;;
6453 i
[3456789]86*) HOST_ARCH
=i386
;;
6454 x86_64
) HOST_ARCH
=x86_64
;;
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6459 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6460 if test ${wine_cv_toolsdir+y}
6462 printf %s
"(cached) " >&6
6464 wine_cv_toolsdir
="$with_wine_tools"
6465 if test -z "$with_wine_tools"; then
6466 if test "$cross_compiling" = "yes"; then
6467 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6468 elif test -n "$with_wine64"; then
6469 wine_cv_toolsdir
="$with_wine64"
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6474 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6475 if test -z "$wine_cv_toolsdir"; then
6476 wine_makedep
=tools
/makedep
$toolsext
6477 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6478 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6479 enable_tools
=${enable_tools:-no}
6480 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6482 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6484 toolsdir
=$wine_cv_toolsdir
6486 MAKEDEP
=$wine_makedep
6488 RUNTESTFLAGS
="-q -P wine"
6490 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'"
6493 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6495 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy
$ac_prog; ac_word
=$2
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 printf %s
"checking for $ac_word... " >&6; }
6504 if test ${ac_cv_prog_FLEX+y}
6506 printf %s
"(cached) " >&6
6508 if test -n "$FLEX"; then
6509 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6515 case $as_dir in #(((
6518 *) as_dir
=$as_dir/ ;;
6520 for ac_exec_ext
in '' $ac_executable_extensions; do
6521 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_FLEX
="$ac_prog"
6523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6532 FLEX
=$ac_cv_prog_FLEX
6533 if test -n "$FLEX"; then
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6535 printf "%s\n" "$FLEX" >&6; }
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 printf "%s\n" "no" >&6; }
6542 test -n "$FLEX" && break
6544 test -n "$FLEX" || FLEX
="none"
6546 if test "$FLEX" = "none"
6548 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6551 printf %s
"checking whether flex is recent enough... " >&6; }
6552 if test ${wine_cv_recent_flex+y}
6554 printf %s
"(cached) " >&6
6556 cat >conftest.l
<<EOF
6558 #include "prediluvian.h"
6562 if $FLEX -t conftest.l
>/dev
/null
2>&5
6564 wine_cv_recent_flex
=yes
6566 wine_cv_recent_flex
=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6570 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6571 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
6573 for ac_prog
in bison
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy
$ac_prog; ac_word
=$2
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 printf %s
"checking for $ac_word... " >&6; }
6579 if test ${ac_cv_prog_BISON+y}
6581 printf %s
"(cached) " >&6
6583 if test -n "$BISON"; then
6584 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6590 case $as_dir in #(((
6593 *) as_dir
=$as_dir/ ;;
6595 for ac_exec_ext
in '' $ac_executable_extensions; do
6596 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_BISON
="$ac_prog"
6598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6607 BISON
=$ac_cv_prog_BISON
6608 if test -n "$BISON"; then
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6610 printf "%s\n" "$BISON" >&6; }
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 printf "%s\n" "no" >&6; }
6617 test -n "$BISON" && break
6619 test -n "$BISON" || BISON
="none"
6621 if test "$BISON" = "none"
6623 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6626 printf %s
"checking whether bison is recent enough... " >&6; }
6627 if test ${wine_cv_recent_bison+y}
6629 printf %s
"(cached) " >&6
6631 cat >conftest.y
<<EOF
6632 %define parse.error verbose
6636 if $BISON conftest.y
>/dev
/null
2>&5
6638 wine_cv_recent_bison
=yes
6640 wine_cv_recent_bison
=no
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6644 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6645 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
6647 if test -n "$ac_tool_prefix"; then
6648 for ac_prog
in ar gar
6650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s
"checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_AR+y}
6656 printf %s
"(cached) " >&6
6658 if test -n "$AR"; then
6659 ac_cv_prog_AR
="$AR" # Let the user override the test.
6661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6665 case $as_dir in #(((
6668 *) as_dir
=$as_dir/ ;;
6670 for ac_exec_ext
in '' $ac_executable_extensions; do
6671 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6683 if test -n "$AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6685 printf "%s\n" "$AR" >&6; }
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$AR" && break
6695 if test -z "$AR"; then
6697 for ac_prog
in ar gar
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy
$ac_prog; ac_word
=$2
6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 printf %s
"checking for $ac_word... " >&6; }
6703 if test ${ac_cv_prog_ac_ct_AR+y}
6705 printf %s
"(cached) " >&6
6707 if test -n "$ac_ct_AR"; then
6708 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6714 case $as_dir in #(((
6717 *) as_dir
=$as_dir/ ;;
6719 for ac_exec_ext
in '' $ac_executable_extensions; do
6720 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_ac_ct_AR
="$ac_prog"
6722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6731 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6732 if test -n "$ac_ct_AR"; then
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6734 printf "%s\n" "$ac_ct_AR" >&6; }
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 printf "%s\n" "no" >&6; }
6741 test -n "$ac_ct_AR" && break
6744 if test "x$ac_ct_AR" = x
; then
6747 case $cross_compiling:$ac_tool_warned in
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6751 ac_tool_warned
=yes ;;
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6759 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 printf %s
"checking for $ac_word... " >&6; }
6762 if test ${ac_cv_prog_STRIP+y}
6764 printf %s
"(cached) " >&6
6766 if test -n "$STRIP"; then
6767 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6773 case $as_dir in #(((
6776 *) as_dir
=$as_dir/ ;;
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6790 STRIP
=$ac_cv_prog_STRIP
6791 if test -n "$STRIP"; then
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6793 printf "%s\n" "$STRIP" >&6; }
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 printf "%s\n" "no" >&6; }
6801 if test -z "$ac_cv_prog_STRIP"; then
6803 # Extract the first word of "strip", so it can be a program name with args.
6804 set dummy strip
; ac_word
=$2
6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 printf %s
"checking for $ac_word... " >&6; }
6807 if test ${ac_cv_prog_ac_ct_STRIP+y}
6809 printf %s
"(cached) " >&6
6811 if test -n "$ac_ct_STRIP"; then
6812 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6818 case $as_dir in #(((
6821 *) as_dir
=$as_dir/ ;;
6823 for ac_exec_ext
in '' $ac_executable_extensions; do
6824 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_ac_ct_STRIP
="strip"
6826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6835 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6836 if test -n "$ac_ct_STRIP"; then
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6838 printf "%s\n" "$ac_ct_STRIP" >&6; }
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 printf "%s\n" "no" >&6; }
6844 if test "x$ac_ct_STRIP" = x
; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned
=yes ;;
6856 STRIP
="$ac_cv_prog_STRIP"
6859 if test -n "$ac_tool_prefix"; then
6860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6861 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 printf %s
"checking for $ac_word... " >&6; }
6864 if test ${ac_cv_prog_RANLIB+y}
6866 printf %s
"(cached) " >&6
6868 if test -n "$RANLIB"; then
6869 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6875 case $as_dir in #(((
6878 *) as_dir
=$as_dir/ ;;
6880 for ac_exec_ext
in '' $ac_executable_extensions; do
6881 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6892 RANLIB
=$ac_cv_prog_RANLIB
6893 if test -n "$RANLIB"; then
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6895 printf "%s\n" "$RANLIB" >&6; }
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 printf "%s\n" "no" >&6; }
6903 if test -z "$ac_cv_prog_RANLIB"; then
6904 ac_ct_RANLIB
=$RANLIB
6905 # Extract the first word of "ranlib", so it can be a program name with args.
6906 set dummy ranlib
; ac_word
=$2
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 printf %s
"checking for $ac_word... " >&6; }
6909 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6911 printf %s
"(cached) " >&6
6913 if test -n "$ac_ct_RANLIB"; then
6914 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6920 case $as_dir in #(((
6923 *) as_dir
=$as_dir/ ;;
6925 for ac_exec_ext
in '' $ac_executable_extensions; do
6926 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6937 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6938 if test -n "$ac_ct_RANLIB"; then
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 printf "%s\n" "no" >&6; }
6946 if test "x$ac_ct_RANLIB" = x
; then
6949 case $cross_compiling:$ac_tool_warned in
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned
=yes ;;
6955 RANLIB
=$ac_ct_RANLIB
6958 RANLIB
="$ac_cv_prog_RANLIB"
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6962 printf %s
"checking whether ln -s works... " >&6; }
6964 if test "$LN_S" = "ln -s"; then
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6966 printf "%s\n" "yes" >&6; }
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6969 printf "%s\n" "no, using $LN_S" >&6; }
6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6973 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6974 if test ${ac_cv_path_GREP+y}
6976 printf %s
"(cached) " >&6
6978 if test -z "$GREP"; then
6979 ac_path_GREP_found
=false
6980 # Loop through the user's path and test for each of PROGNAME-LIST
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6982 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6985 case $as_dir in #(((
6988 *) as_dir
=$as_dir/ ;;
6990 for ac_prog
in grep ggrep
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6994 as_fn_executable_p
"$ac_path_GREP" ||
continue
6995 # Check for GNU ac_path_GREP and select it if it is found.
6996 # Check for GNU $ac_path_GREP
6997 case `"$ac_path_GREP" --version 2>&1` in
6999 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7002 printf %s
0123456789 >"conftest.in"
7005 cat "conftest.in" "conftest.in" >"conftest.tmp"
7006 mv "conftest.tmp" "conftest.in"
7007 cp "conftest.in" "conftest.nl"
7008 printf "%s\n" 'GREP' >> "conftest.nl"
7009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7010 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7011 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7013 # Best one so far, save it but keep looking for a better one
7014 ac_cv_path_GREP
="$ac_path_GREP"
7015 ac_path_GREP_max
=$ac_count
7017 # 10*(2^10) chars as input seems more than enough
7018 test $ac_count -gt 10 && break
7020 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7023 $ac_path_GREP_found && break 3
7028 if test -z "$ac_cv_path_GREP"; then
7029 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7032 ac_cv_path_GREP
=$GREP
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7037 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7038 GREP
="$ac_cv_path_GREP"
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7042 printf %s
"checking for egrep... " >&6; }
7043 if test ${ac_cv_path_EGREP+y}
7045 printf %s
"(cached) " >&6
7047 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7048 then ac_cv_path_EGREP
="$GREP -E"
7050 if test -z "$EGREP"; then
7051 ac_path_EGREP_found
=false
7052 # Loop through the user's path and test for each of PROGNAME-LIST
7053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7054 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7057 case $as_dir in #(((
7060 *) as_dir
=$as_dir/ ;;
7062 for ac_prog
in egrep
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7066 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7067 # Check for GNU ac_path_EGREP and select it if it is found.
7068 # Check for GNU $ac_path_EGREP
7069 case `"$ac_path_EGREP" --version 2>&1` in
7071 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7074 printf %s
0123456789 >"conftest.in"
7077 cat "conftest.in" "conftest.in" >"conftest.tmp"
7078 mv "conftest.tmp" "conftest.in"
7079 cp "conftest.in" "conftest.nl"
7080 printf "%s\n" 'EGREP' >> "conftest.nl"
7081 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7082 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7083 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7084 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7085 # Best one so far, save it but keep looking for a better one
7086 ac_cv_path_EGREP
="$ac_path_EGREP"
7087 ac_path_EGREP_max
=$ac_count
7089 # 10*(2^10) chars as input seems more than enough
7090 test $ac_count -gt 10 && break
7092 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7095 $ac_path_EGREP_found && break 3
7100 if test -z "$ac_cv_path_EGREP"; then
7101 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7104 ac_cv_path_EGREP
=$EGREP
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7110 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7111 EGREP
="$ac_cv_path_EGREP"
7114 # Extract the first word of "ldconfig", so it can be a program name with args.
7115 set dummy ldconfig
; ac_word
=$2
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 printf %s
"checking for $ac_word... " >&6; }
7118 if test ${ac_cv_path_LDCONFIG+y}
7120 printf %s
"(cached) " >&6
7124 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 for as_dir
in /sbin
/usr
/sbin
$PATH
7131 case $as_dir in #(((
7134 *) as_dir
=$as_dir/ ;;
7136 for ac_exec_ext
in '' $ac_executable_extensions; do
7137 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7138 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7146 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7150 LDCONFIG
=$ac_cv_path_LDCONFIG
7151 if test -n "$LDCONFIG"; then
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7153 printf "%s\n" "$LDCONFIG" >&6; }
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 printf "%s\n" "no" >&6; }
7160 for ac_prog
in msgfmt
7162 # Extract the first word of "$ac_prog", so it can be a program name with args.
7163 set dummy
$ac_prog; ac_word
=$2
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 printf %s
"checking for $ac_word... " >&6; }
7166 if test ${ac_cv_prog_MSGFMT+y}
7168 printf %s
"(cached) " >&6
7170 if test -n "$MSGFMT"; then
7171 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7177 case $as_dir in #(((
7180 *) as_dir
=$as_dir/ ;;
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_MSGFMT
="$ac_prog"
7185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7194 MSGFMT
=$ac_cv_prog_MSGFMT
7195 if test -n "$MSGFMT"; then
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7197 printf "%s\n" "$MSGFMT" >&6; }
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 printf "%s\n" "no" >&6; }
7204 test -n "$MSGFMT" && break
7206 test -n "$MSGFMT" || MSGFMT
="false"
7208 if test ${ac_tool_prefix+y}
7210 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7211 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 printf %s
"checking for $ac_word... " >&6; }
7214 if test ${ac_cv_prog_PKG_CONFIG+y}
7216 printf %s
"(cached) " >&6
7218 if test -n "$PKG_CONFIG"; then
7219 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7225 case $as_dir in #(((
7228 *) as_dir
=$as_dir/ ;;
7230 for ac_exec_ext
in '' $ac_executable_extensions; do
7231 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7242 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7243 if test -n "$PKG_CONFIG"; then
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7245 printf "%s\n" "$PKG_CONFIG" >&6; }
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 printf "%s\n" "no" >&6; }
7253 if ${ac_cv_prog_PKG_CONFIG:+false} :
7255 if test "x$cross_compiling" = xyes
7259 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7260 # Extract the first word of "pkg-config", so it can be a program name with args.
7261 set dummy pkg-config
; ac_word
=$2
7262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 printf %s
"checking for $ac_word... " >&6; }
7264 if test ${ac_cv_prog_PKG_CONFIG+y}
7266 printf %s
"(cached) " >&6
7268 if test -n "$PKG_CONFIG"; then
7269 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7275 case $as_dir in #(((
7278 *) as_dir
=$as_dir/ ;;
7280 for ac_exec_ext
in '' $ac_executable_extensions; do
7281 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_PKG_CONFIG
="pkg-config"
7283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7292 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7293 if test -n "$PKG_CONFIG"; then
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7295 printf "%s\n" "$PKG_CONFIG" >&6; }
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 printf "%s\n" "no" >&6; }
7304 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7307 if test "x$enable_maintainer_mode" != "xyes"
7314 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7315 for ac_prog
in fontforge
7317 # Extract the first word of "$ac_prog", so it can be a program name with args.
7318 set dummy
$ac_prog; ac_word
=$2
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 printf %s
"checking for $ac_word... " >&6; }
7321 if test ${ac_cv_prog_FONTFORGE+y}
7323 printf %s
"(cached) " >&6
7325 if test -n "$FONTFORGE"; then
7326 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 case $as_dir in #(((
7335 *) as_dir
=$as_dir/ ;;
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_FONTFORGE
="$ac_prog"
7340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7349 FONTFORGE
=$ac_cv_prog_FONTFORGE
7350 if test -n "$FONTFORGE"; then
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7352 printf "%s\n" "$FONTFORGE" >&6; }
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 printf "%s\n" "no" >&6; }
7359 test -n "$FONTFORGE" && break
7361 test -n "$FONTFORGE" || FONTFORGE
="false"
7363 for ac_prog
in rsvg-convert rsvg
7365 # Extract the first word of "$ac_prog", so it can be a program name with args.
7366 set dummy
$ac_prog; ac_word
=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s
"checking for $ac_word... " >&6; }
7369 if test ${ac_cv_prog_RSVG+y}
7371 printf %s
"(cached) " >&6
7373 if test -n "$RSVG"; then
7374 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7380 case $as_dir in #(((
7383 *) as_dir
=$as_dir/ ;;
7385 for ac_exec_ext
in '' $ac_executable_extensions; do
7386 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_RSVG
="$ac_prog"
7388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7397 RSVG
=$ac_cv_prog_RSVG
7398 if test -n "$RSVG"; then
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7400 printf "%s\n" "$RSVG" >&6; }
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 printf "%s\n" "no" >&6; }
7407 test -n "$RSVG" && break
7409 test -n "$RSVG" || RSVG
="false"
7411 for ac_prog
in convert
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy
$ac_prog; ac_word
=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s
"checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_CONVERT+y}
7419 printf %s
"(cached) " >&6
7421 if test -n "$CONVERT"; then
7422 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7428 case $as_dir in #(((
7431 *) as_dir
=$as_dir/ ;;
7433 for ac_exec_ext
in '' $ac_executable_extensions; do
7434 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_CONVERT
="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7445 CONVERT
=$ac_cv_prog_CONVERT
7446 if test -n "$CONVERT"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7448 printf "%s\n" "$CONVERT" >&6; }
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$CONVERT" && break
7457 test -n "$CONVERT" || CONVERT
="false"
7459 for ac_prog
in icotool
7461 # Extract the first word of "$ac_prog", so it can be a program name with args.
7462 set dummy
$ac_prog; ac_word
=$2
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 printf %s
"checking for $ac_word... " >&6; }
7465 if test ${ac_cv_prog_ICOTOOL+y}
7467 printf %s
"(cached) " >&6
7469 if test -n "$ICOTOOL"; then
7470 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7476 case $as_dir in #(((
7479 *) as_dir
=$as_dir/ ;;
7481 for ac_exec_ext
in '' $ac_executable_extensions; do
7482 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_ICOTOOL
="$ac_prog"
7484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7493 ICOTOOL
=$ac_cv_prog_ICOTOOL
7494 if test -n "$ICOTOOL"; then
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7496 printf "%s\n" "$ICOTOOL" >&6; }
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 printf "%s\n" "no" >&6; }
7503 test -n "$ICOTOOL" && break
7505 test -n "$ICOTOOL" || ICOTOOL
="false"
7507 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7508 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7510 if test "$CONVERT" = false
7512 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7515 printf %s
"checking for recent enough imagemagick... " >&6; }
7516 convert_version
=`convert --version | head -n1`
7517 if test "x$convert_version" != "x"
7519 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7520 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7521 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7526 if test "$CONVERT" = false
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7529 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7530 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7533 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7537 if test "$ICOTOOL" = false
7539 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7542 printf %s
"checking for recent enough icotool... " >&6; }
7543 icotool_version
=`icotool --version | head -n1`
7544 if test "x$icotool_version" != "x"
7546 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7547 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7548 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7551 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7554 if test "$ICOTOOL" = false
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7557 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7558 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7561 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7571 test "x$with_gettext" != xno || MSGFMT
=false
7572 if test "$MSGFMT" != "false"
7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7575 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7576 if test ${wine_cv_msgfmt_contexts+y}
7578 printf %s
"(cached) " >&6
7580 cat >conftest.po
<<EOF
7586 if $MSGFMT -o /dev
/null conftest.po
2>&5
7588 wine_cv_msgfmt_contexts
=yes
7590 wine_cv_msgfmt_contexts
=no
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7594 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7595 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7597 if test "$MSGFMT" = false
7599 case "x$with_gettext" in
7600 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7602 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7603 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7605 enable_po
=${enable_po:-no}
7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7610 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7611 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7613 printf %s
"(cached) " >&6
7615 ac_check_lib_save_LIBS
=$LIBS
7617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 /* Override any GCC internal prototype to avoid an error.
7621 Use char because int might match the return type of a GCC
7622 builtin and then its argument prototype would still apply. */
7623 char i386_set_ldt ();
7627 return i386_set_ldt ();
7632 if ac_fn_c_try_link
"$LINENO"
7634 ac_cv_lib_i386_i386_set_ldt
=yes
7636 ac_cv_lib_i386_i386_set_ldt
=no
7638 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7639 conftest
$ac_exeext conftest.
$ac_ext
7640 LIBS
=$ac_check_lib_save_LIBS
7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7643 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7644 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7655 # Check whether --enable-largefile was given.
7656 if test ${enable_largefile+y}
7658 enableval
=$enable_largefile;
7661 if test "$enable_largefile" != no
; then
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7664 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7665 if test ${ac_cv_sys_largefile_CC+y}
7667 printf %s
"(cached) " >&6
7669 ac_cv_sys_largefile_CC
=no
7670 if test "$GCC" != yes; then
7673 # IRIX 6.2 and later do not support large files by default,
7674 # so use the C compiler's -n32 option if that helps.
7675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7694 if ac_fn_c_try_compile
"$LINENO"
7698 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7700 if ac_fn_c_try_compile
"$LINENO"
7702 ac_cv_sys_largefile_CC
=' -n32'; break
7704 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7708 rm -f conftest.
$ac_ext
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7712 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7713 if test "$ac_cv_sys_largefile_CC" != no
; then
7714 CC
=$CC$ac_cv_sys_largefile_CC
7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7718 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7719 if test ${ac_cv_sys_file_offset_bits+y}
7721 printf %s
"(cached) " >&6
7724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7743 if ac_fn_c_try_compile
"$LINENO"
7745 ac_cv_sys_file_offset_bits
=no
; break
7747 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 #define _FILE_OFFSET_BITS 64
7751 #include <sys/types.h>
7752 /* Check that off_t can represent 2**63 - 1 correctly.
7753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7754 since some C++ compilers masquerading as C compilers
7755 incorrectly reject 9223372036854775807. */
7756 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7758 && LARGE_OFF_T % 2147483647 == 1)
7768 if ac_fn_c_try_compile
"$LINENO"
7770 ac_cv_sys_file_offset_bits
=64; break
7772 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7773 ac_cv_sys_file_offset_bits
=unknown
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7778 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7779 case $ac_cv_sys_file_offset_bits in #(
7782 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7786 if test $ac_cv_sys_file_offset_bits = unknown
; then
7787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7788 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7789 if test ${ac_cv_sys_large_files+y}
7791 printf %s
"(cached) " >&6
7794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7813 if ac_fn_c_try_compile
"$LINENO"
7815 ac_cv_sys_large_files
=no
; break
7817 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7820 #define _LARGE_FILES 1
7821 #include <sys/types.h>
7822 /* Check that off_t can represent 2**63 - 1 correctly.
7823 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7824 since some C++ compilers masquerading as C compilers
7825 incorrectly reject 9223372036854775807. */
7826 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7828 && LARGE_OFF_T % 2147483647 == 1)
7838 if ac_fn_c_try_compile
"$LINENO"
7840 ac_cv_sys_large_files
=1; break
7842 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7843 ac_cv_sys_large_files
=unknown
7847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7848 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7849 case $ac_cv_sys_large_files in #(
7852 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7860 ac_header
= ac_cache
=
7861 for ac_item
in $ac_header_c_list
7863 if test $ac_cache; then
7864 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7865 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7866 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7868 ac_header
= ac_cache
=
7869 elif test $ac_header; then
7883 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7886 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7889 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_CL_cl_h" = xyes
7892 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_EGL_egl_h" = xyes
7898 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7904 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_arpa_inet_h" = xyes
7910 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7916 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_asm_types_h" = xyes
7922 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_asm_user_h" = xyes
7928 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_elf_h" = xyes
7934 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_float_h" = xyes
7940 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_gettext_po_h" = xyes
7946 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_libproc_h" = xyes
7952 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_link_h" = xyes
7958 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7964 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_filter_h" = xyes
7970 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7976 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7982 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_input_h" = xyes
7988 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7994 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_major_h" = xyes
8000 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_param_h" = xyes
8006 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_serial_h" = xyes
8012 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_types_h" = xyes
8018 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8024 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_linux_wireless_h" = xyes
8030 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_lwp_h" = xyes
8036 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8042 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_mach_mach_h" = xyes
8048 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_machine_cpu_h" = xyes
8054 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8060 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_mntent_h" = xyes
8066 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netdb_h" = xyes
8072 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_in_h" = xyes
8078 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8084 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8090 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8096 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8102 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_port_h" = xyes
8108 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_pwd_h" = xyes
8114 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sched_h" = xyes
8120 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8132 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_scsi_sg_h" = xyes
8138 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_stdint_h" = xyes
8144 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_attr_h" = xyes
8150 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_auxv_h" = xyes
8156 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_cdio_h" = xyes
8162 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_epoll_h" = xyes
8168 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_event_h" = xyes
8174 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_extattr_h" = xyes
8180 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_filio_h" = xyes
8186 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_ipc_h" = xyes
8192 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_link_h" = xyes
8198 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_modem_h" = xyes
8204 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_mtio_h" = xyes
8210 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_param_h" = xyes
8216 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_prctl_h" = xyes
8222 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8228 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_queue_h" = xyes
8234 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_random_h" = xyes
8240 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_resource_h" = xyes
8246 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8252 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_shm_h" = xyes
8258 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_signal_h" = xyes
8264 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8270 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_sockio_h" = xyes
8276 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8282 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_strtio_h" = xyes
8288 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_syscall_h" = xyes
8294 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8300 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_times_h" = xyes
8306 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_uio_h" = xyes
8312 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_user_h" = xyes
8318 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_utsname_h" = xyes
8324 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_vnode_h" = xyes
8330 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_xattr_h" = xyes
8336 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_syscall_h" = xyes
8342 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_utime_h" = xyes
8348 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8354 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8360 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8364 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8365 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8368 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8372 if test $ac_cv_header_sys_mkdev_h = no
; then
8373 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8377 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8383 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8384 if test ${ac_cv_header_stat_broken+y}
8386 printf %s
"(cached) " >&6
8388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8390 #include <sys/types.h>
8391 #include <sys/stat.h>
8393 #if defined S_ISBLK && defined S_IFDIR
8394 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8397 #if defined S_ISBLK && defined S_IFCHR
8398 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8401 #if defined S_ISLNK && defined S_IFREG
8402 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8405 #if defined S_ISSOCK && defined S_IFREG
8406 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8410 if ac_fn_c_try_compile
"$LINENO"
8412 ac_cv_header_stat_broken
=no
8414 ac_cv_header_stat_broken
=yes
8416 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8419 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8420 if test $ac_cv_header_stat_broken = yes; then
8422 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8428 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8433 if test "x$ac_cv_header_sys_conf_h" = xyes
8435 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8438 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8439 #ifdef HAVE_SYS_PARAM_H
8440 # include <sys/param.h>
8443 if test "x$ac_cv_header_sys_mount_h" = xyes
8445 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8449 #ifdef HAVE_SYS_PARAM_H
8450 # include <sys/param.h>
8453 if test "x$ac_cv_header_sys_statfs_h" = xyes
8455 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8463 if test "x$ac_cv_header_sys_user_h" = xyes
8465 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8468 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8473 if test "x$ac_cv_header_sys_vfs_h" = xyes
8475 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8480 saved_sysctl_h_CFLAGS
=$CFLAGS
8481 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8482 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8483 #ifdef HAVE_SYS_PARAM_H
8484 # include <sys/param.h>
8487 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8489 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8493 CFLAGS
=$saved_sysctl_h_CFLAGS
8495 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_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_netinet_ip_h" = xyes
8518 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_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_h" = xyes
8544 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_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_arp_h" = xyes
8570 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_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_dl_h" = xyes
8596 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_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_if_types_h" = xyes
8622 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_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_net_route_h" = xyes
8648 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_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_if_ether_h" = xyes
8674 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_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_in_pcb_h" = xyes
8700 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_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_icmp_h" = xyes
8726 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_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_ip_var_h" = xyes
8752 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_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_netinet_udp_h" = xyes
8778 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_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_netinet6_ip6_var_h" = xyes
8804 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_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_netipx_ipx_h" = xyes
8830 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8833 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8834 #include <sys/socket.h>
8835 #ifdef HAVE_SYS_SOCKETVAR_H
8836 # include <sys/socketvar.h>
8838 #ifdef HAVE_NET_ROUTE_H
8839 # include <net/route.h>
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8847 #ifdef HAVE_NET_IF_H
8848 # include <net/if.h>
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8854 if test "x$ac_cv_header_sys_un_h" = xyes
8856 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8861 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8862 #include <sys/socket.h>
8863 #ifdef HAVE_SYS_SOCKETVAR_H
8864 # include <sys/socketvar.h>
8866 #ifdef HAVE_NETINET_IN_H
8867 # include <netinet/in.h>
8869 #ifdef HAVE_NETINET_IN_SYSTM_H
8870 # include <netinet/in_systm.h>
8872 #ifdef HAVE_NETINET_IP_H
8873 # include <netinet/ip.h>
8875 #ifdef HAVE_NETINET_IP_VAR_H
8876 # include <netinet/ip_var.h>
8878 #ifdef HAVE_NETINET_IP_ICMP_H
8879 # include <netinet/ip_icmp.h>
8881 #ifdef HAVE_NETINET_UDP_H
8882 # include <netinet/udp.h>
8884 #ifdef HAVE_NETINET_TCP_H
8885 # include <netinet/tcp.h>
8888 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8890 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8893 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8894 #include <sys/socket.h>
8895 #ifdef HAVE_SYS_SOCKETVAR_H
8896 # include <sys/socketvar.h>
8898 #ifdef HAVE_NETINET_IN_H
8899 # include <netinet/in.h>
8901 #ifdef HAVE_NETINET_IN_SYSTM_H
8902 # include <netinet/in_systm.h>
8904 #ifdef HAVE_NETINET_IP_H
8905 # include <netinet/ip.h>
8907 #ifdef HAVE_NETINET_IP_VAR_H
8908 # include <netinet/ip_var.h>
8910 #ifdef HAVE_NETINET_IP_ICMP_H
8911 # include <netinet/ip_icmp.h>
8913 #ifdef HAVE_NETINET_UDP_H
8914 # include <netinet/udp.h>
8916 #ifdef HAVE_NETINET_TCP_H
8917 # include <netinet/tcp.h>
8920 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8922 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8925 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8926 #include <sys/socket.h>
8927 #ifdef HAVE_SYS_SOCKETVAR_H
8928 # include <sys/socketvar.h>
8930 #ifdef HAVE_NETINET_IN_H
8931 # include <netinet/in.h>
8933 #ifdef HAVE_NETINET_IN_SYSTM_H
8934 # include <netinet/in_systm.h>
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8939 #ifdef HAVE_NETINET_IP_VAR_H
8940 # include <netinet/ip_var.h>
8942 #ifdef HAVE_NETINET_IP_ICMP_H
8943 # include <netinet/ip_icmp.h>
8945 #ifdef HAVE_NETINET_UDP_H
8946 # include <netinet/udp.h>
8948 #ifdef HAVE_NETINET_TCP_H
8949 # include <netinet/tcp.h>
8952 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8954 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8957 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8958 #include <sys/socket.h>
8959 #ifdef HAVE_SYS_SOCKETVAR_H
8960 # include <sys/socketvar.h>
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8965 #ifdef HAVE_NETINET_IN_SYSTM_H
8966 # include <netinet/in_systm.h>
8968 #ifdef HAVE_NETINET_IP_H
8969 # include <netinet/ip.h>
8971 #ifdef HAVE_NETINET_IP_VAR_H
8972 # include <netinet/ip_var.h>
8974 #ifdef HAVE_NETINET_IP_ICMP_H
8975 # include <netinet/ip_icmp.h>
8977 #ifdef HAVE_NETINET_UDP_H
8978 # include <netinet/udp.h>
8980 #ifdef HAVE_NETINET_TCP_H
8981 # include <netinet/tcp.h>
8984 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8986 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
9000 if test "x$ac_cv_header_linux_ipx_h" = xyes
9002 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9006 #include <sys/socket.h>
9007 #ifdef HAVE_ASM_TYPES_H
9008 # include <asm/types.h>
9010 #ifdef HAVE_LINUX_TYPES_H
9011 # include <linux/types.h>
9014 if test "x$ac_cv_header_linux_irda_h" = xyes
9016 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9020 #include <sys/socket.h>
9021 #ifdef HAVE_ASM_TYPES_H
9022 # include <asm/types.h>
9024 #ifdef HAVE_LINUX_TYPES_H
9025 # include <linux/types.h>
9028 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9030 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9036 #include <sys/socket.h>
9037 #ifdef HAVE_NETINET_IN_H
9038 # include <netinet/in.h>
9040 #ifdef HAVE_ARPA_NAMESER_H
9041 # include <arpa/nameser.h>
9044 if test "x$ac_cv_header_resolv_h" = xyes
9046 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9053 if test "x$ac_cv_header_ifaddrs_h" = xyes
9055 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9062 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9064 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9070 #ifdef HAVE_SYS_UCONTEXT_H
9071 #include <sys/ucontext.h>
9074 if test "x$ac_cv_header_sys_thr_h" = xyes
9076 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9083 if test "x$ac_cv_header_pthread_np_h" = xyes
9085 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9091 #include <sys/types.h>
9092 #ifdef HAVE_ASM_TYPES_H
9093 #include <asm/types.h>
9096 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9098 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9103 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9104 #include <sys/param.h>
9106 #include <sys/socket.h>
9107 #ifdef HAVE_SYS_QUEUE_H
9108 #include <sys/queue.h>
9111 if test "x$ac_cv_header_libprocstat_h" = xyes
9113 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9118 if test "x$ac_cv_header_sys_xattr_h" = xyes
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9121 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9122 if test ${wine_cv_xattr_extra_args+y}
9124 printf %s
"(cached) " >&6
9126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 #include <sys/xattr.h>
9132 getxattr("", "", "", 0, 0, 0);
9137 if ac_fn_c_try_compile
"$LINENO"
9139 wine_cv_xattr_extra_args
=yes
9141 wine_cv_xattr_extra_args
=no
9143 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9146 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9147 test $wine_cv_xattr_extra_args != yes ||
9148 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9161 UNIXDLLFLAGS
="-fPIC"
9163 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9169 WINELOADER_LDFLAGS
=""
9171 WINEPRELOADER_LDFLAGS
=""
9176 # Extract the first word of "ldd", so it can be a program name with args.
9177 set dummy ldd
; ac_word
=$2
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 printf %s
"checking for $ac_word... " >&6; }
9180 if test ${ac_cv_path_LDD+y}
9182 printf %s
"(cached) " >&6
9186 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9190 as_dummy
="/sbin:/usr/sbin:$PATH"
9191 for as_dir
in $as_dummy
9194 case $as_dir in #(((
9197 *) as_dir
=$as_dir/ ;;
9199 for ac_exec_ext
in '' $ac_executable_extensions; do
9200 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9201 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9209 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9214 if test -n "$LDD"; then
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9216 printf "%s\n" "$LDD" >&6; }
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 printf "%s\n" "no" >&6; }
9223 if test -n "$ac_tool_prefix"; then
9224 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9225 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227 printf %s
"checking for $ac_word... " >&6; }
9228 if test ${ac_cv_prog_OTOOL+y}
9230 printf %s
"(cached) " >&6
9232 if test -n "$OTOOL"; then
9233 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 case $as_dir in #(((
9242 *) as_dir
=$as_dir/ ;;
9244 for ac_exec_ext
in '' $ac_executable_extensions; do
9245 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9246 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9256 OTOOL
=$ac_cv_prog_OTOOL
9257 if test -n "$OTOOL"; then
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9259 printf "%s\n" "$OTOOL" >&6; }
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9262 printf "%s\n" "no" >&6; }
9267 if test -z "$ac_cv_prog_OTOOL"; then
9269 # Extract the first word of "otool", so it can be a program name with args.
9270 set dummy otool
; ac_word
=$2
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 printf %s
"checking for $ac_word... " >&6; }
9273 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9275 printf %s
"(cached) " >&6
9277 if test -n "$ac_ct_OTOOL"; then
9278 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9284 case $as_dir in #(((
9287 *) as_dir
=$as_dir/ ;;
9289 for ac_exec_ext
in '' $ac_executable_extensions; do
9290 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9291 ac_cv_prog_ac_ct_OTOOL
="otool"
9292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9301 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9302 if test -n "$ac_ct_OTOOL"; then
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9304 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 printf "%s\n" "no" >&6; }
9310 if test "x$ac_ct_OTOOL" = x
; then
9313 case $cross_compiling:$ac_tool_warned in
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9316 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9317 ac_tool_warned
=yes ;;
9322 OTOOL
="$ac_cv_prog_OTOOL"
9325 if test -n "$ac_tool_prefix"; then
9326 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9327 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9329 printf %s
"checking for $ac_word... " >&6; }
9330 if test ${ac_cv_prog_READELF+y}
9332 printf %s
"(cached) " >&6
9334 if test -n "$READELF"; then
9335 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9341 case $as_dir in #(((
9344 *) as_dir
=$as_dir/ ;;
9346 for ac_exec_ext
in '' $ac_executable_extensions; do
9347 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9348 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9358 READELF
=$ac_cv_prog_READELF
9359 if test -n "$READELF"; then
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9361 printf "%s\n" "$READELF" >&6; }
9363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9364 printf "%s\n" "no" >&6; }
9369 if test -z "$ac_cv_prog_READELF"; then
9370 ac_ct_READELF
=$READELF
9371 # Extract the first word of "readelf", so it can be a program name with args.
9372 set dummy readelf
; ac_word
=$2
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9374 printf %s
"checking for $ac_word... " >&6; }
9375 if test ${ac_cv_prog_ac_ct_READELF+y}
9377 printf %s
"(cached) " >&6
9379 if test -n "$ac_ct_READELF"; then
9380 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9386 case $as_dir in #(((
9389 *) as_dir
=$as_dir/ ;;
9391 for ac_exec_ext
in '' $ac_executable_extensions; do
9392 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9393 ac_cv_prog_ac_ct_READELF
="readelf"
9394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9403 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9404 if test -n "$ac_ct_READELF"; then
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9406 printf "%s\n" "$ac_ct_READELF" >&6; }
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9409 printf "%s\n" "no" >&6; }
9412 if test "x$ac_ct_READELF" = x
; then
9415 case $cross_compiling:$ac_tool_warned in
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9418 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9419 ac_tool_warned
=yes ;;
9421 READELF
=$ac_ct_READELF
9424 READELF
="$ac_cv_prog_READELF"
9432 CONFIGURE_TARGETS
=""
9435 wine_fn_config_makefile
()
9437 as_fn_append SUBDIRS
" \\$as_nl $1"
9440 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9441 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9442 if test -n "$PE_ARCHS"
9446 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9449 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9454 wine_fn_config_symlink
()
9457 as_fn_append wine_rules
"
9459 @./config.status \$@"
9460 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9467 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9468 if test "x$HOST_ARCH" = xi386
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9471 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9472 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9474 printf %s
"(cached) " >&6
9476 ac_wine_try_cflags_saved
=$CFLAGS
9477 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int main(int argc, char **argv) { return 0; }
9482 if ac_fn_c_try_link
"$LINENO"
9484 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9486 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 CFLAGS
=$ac_wine_try_cflags_saved
9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9493 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9494 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9496 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9499 enable_loader
=${enable_loader:-no}
9500 enable_server
=${enable_server:-no}
9501 with_x
=${with_x:-no}
9502 with_pthread
=${with_pthread:-no}
9507 DLLFLAGS
="$DLLFLAGS -fPIC"
9509 enable_winemac_drv
=${enable_winemac_drv:-yes}
9510 CARBON_LIBS
="-framework Carbon"
9512 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9514 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9516 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9518 METAL_LIBS
="-framework Metal"
9520 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9522 CORESERVICES_LIBS
="-framework CoreServices"
9524 APPKIT_LIBS
="-framework AppKit"
9526 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9528 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9531 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9534 i386|x86_64
) wine_can_build_preloader
=yes ;;
9535 *) wine_can_build_preloader
=no
;;
9538 if test "$wine_can_build_preloader" = "yes"
9540 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"
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9542 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9543 if test ${ac_cv_cflags__Wl__no_pie+y}
9545 printf %s
"(cached) " >&6
9547 ac_wine_try_cflags_saved
=$CFLAGS
9548 CFLAGS
="$CFLAGS -Wl,-no_pie"
9549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9553 if ac_fn_c_try_link
"$LINENO"
9555 ac_cv_cflags__Wl__no_pie
=yes
9557 ac_cv_cflags__Wl__no_pie
=no
9559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 CFLAGS
=$ac_wine_try_cflags_saved
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9564 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9565 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9567 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9571 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9574 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9577 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9579 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9582 if test "x$with_coreaudio" != "xno";
9584 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9586 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9588 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9590 OPENCL_LIBS
="-framework OpenCL"
9592 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9596 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9598 ac_cpp
='$OBJCPP $CPPFLAGS'
9599 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9604 ac_cpp
='$OBJCPP $CPPFLAGS'
9605 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9608 if test -n "$ac_tool_prefix"; then
9609 for ac_prog
in gcc objcc objc cc CC clang
9611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9612 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 printf %s
"checking for $ac_word... " >&6; }
9615 if test ${ac_cv_prog_OBJC+y}
9617 printf %s
"(cached) " >&6
9619 if test -n "$OBJC"; then
9620 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9626 case $as_dir in #(((
9629 *) as_dir
=$as_dir/ ;;
9631 for ac_exec_ext
in '' $ac_executable_extensions; do
9632 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9643 OBJC
=$ac_cv_prog_OBJC
9644 if test -n "$OBJC"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9646 printf "%s\n" "$OBJC" >&6; }
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9653 test -n "$OBJC" && break
9656 if test -z "$OBJC"; then
9658 for ac_prog
in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy
$ac_prog; ac_word
=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s
"checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_ac_ct_OBJC+y}
9666 printf %s
"(cached) " >&6
9668 if test -n "$ac_ct_OBJC"; then
9669 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9675 case $as_dir in #(((
9678 *) as_dir
=$as_dir/ ;;
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9692 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9693 if test -n "$ac_ct_OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9695 printf "%s\n" "$ac_ct_OBJC" >&6; }
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$ac_ct_OBJC" && break
9705 if test "x$ac_ct_OBJC" = x
; then
9708 case $cross_compiling:$ac_tool_warned in
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9712 ac_tool_warned
=yes ;;
9718 # Provide some information about the compiler.
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9722 for ac_option
in --version -v -V -qversion; do
9723 { { ac_try
="$ac_compiler $ac_option >&5"
9725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9729 printf "%s\n" "$ac_try_echo"; } >&5
9730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9732 if test -s conftest.err; then
9734 ... rest of stderr output deleted ...
9735 10q' conftest.err >conftest.er1
9736 cat conftest.er1 >&5
9738 rm -f conftest.er1 conftest.err
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9744 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9745 if test ${ac_cv_objc_compiler_gnu+y}
9747 printf %s "(cached) " >&6
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9763 if ac_fn_objc_try_compile "$LINENO"
9769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9770 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9774 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 if test $ac_compiler_gnu = yes; then
9782 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9783 ac_save_OBJCFLAGS=$OBJCFLAGS
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9785 printf %s "checking whether $OBJC accepts -g... " >&6; }
9786 if test ${ac_cv_prog_objc_g+y}
9788 printf %s "(cached) " >&6
9790 ac_save_objc_werror_flag=$ac_objc_werror_flag
9791 ac_objc_werror_flag=yes
9792 ac_cv_prog_objc_g=no
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9805 if ac_fn_objc_try_compile "$LINENO"
9807 ac_cv_prog_objc_g=yes
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9821 if ac_fn_objc_try_compile "$LINENO"
9825 ac_objc_werror_flag=$ac_save_objc_werror_flag
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9838 if ac_fn_objc_try_compile "$LINENO"
9840 ac_cv_prog_objc_g=yes
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 ac_objc_werror_flag=$ac_save_objc_werror_flag
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9850 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9851 if test $ac_test_OBJCFLAGS; then
9852 OBJCFLAGS=$ac_save_OBJCFLAGS
9853 elif test $ac_cv_prog_objc_g = yes; then
9854 if test "$GOBJC" = yes; then
9860 if test "$GOBJC" = yes; then
9867 ac_cpp='$OBJCPP $CPPFLAGS'
9868 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9869 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9870 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 #include <Metal/Metal.h>
9879 id<MTLDevice> device; device.registryID;
9884 if ac_fn_objc_try_compile "$LINENO"
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9887 printf "%s\n" "yes" >&6; }
9889 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 printf "%s\n" "no" >&6; }
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9904 WINELOADER_DEPENDS="wine_info.plist"
9910 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9912 DLLFLAGS="$DLLFLAGS -fPIC"
9914 LDEXECFLAGS="-Wl,-pie"
9915 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9917 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9918 if test ${ac_cv_cflags__Wl__z_defs+y}
9920 printf %s "(cached) " >&6
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 CFLAGS="$CFLAGS -Wl,-z,defs"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int main(int argc, char **argv) { return 0; }
9928 if ac_fn_c_try_link "$LINENO"
9930 ac_cv_cflags__Wl__z_defs=yes
9932 ac_cv_cflags__Wl__z_defs=no
9934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9939 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9940 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9942 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9945 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9946 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9948 printf %s "(cached) " >&6
9950 ac_wine_try_cflags_saved=$CFLAGS
9951 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int main(int argc, char **argv) { return 0; }
9956 if ac_fn_c_try_link "$LINENO"
9958 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9960 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9967 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9968 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9970 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9972 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9975 printf %s "checking for -lEGL... " >&6; }
9976 if test ${ac_cv_lib_soname_EGL+y}
9978 printf %s "(cached) " >&6
9980 ac_check_soname_save_LIBS=$LIBS
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 char eglGetProcAddress ();
9992 return eglGetProcAddress ();
9997 if ac_fn_c_try_link "$LINENO"
10000 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if ${ac_cv_lib_soname_EGL:+false} :
10005 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10009 ac_cv_lib_soname_EGL=
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_soname_save_LIBS
10015 if ${ac_cv_lib_soname_EGL:+false} :
10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 printf "%s\n" "not found" >&6; }
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10022 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10024 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10029 printf %s "checking for -lGLESv2... " >&6; }
10030 if test ${ac_cv_lib_soname_GLESv2+y}
10032 printf %s "(cached) " >&6
10034 ac_check_soname_save_LIBS=$LIBS
10035 LIBS="-lGLESv2 $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10051 if ac_fn_c_try_link "$LINENO"
10054 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10057 if ${ac_cv_lib_soname_GLESv2:+false} :
10059 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10063 ac_cv_lib_soname_GLESv2=
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_GLESv2:+false} :
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10072 printf "%s\n" "not found" >&6; }
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10076 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10078 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10083 if test "x$exec_prefix" = xNONE
10086 i386) exec_prefix='${prefix}/x86' ;;
10087 x86_64) exec_prefix='${prefix}/x86_64' ;;
10088 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10089 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10096 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10098 test "$ac_cv_sys_file_offset_bits" = 64 &&
10099 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10101 if test $HOST_ARCH = i386
10103 DLLFLAGS="$DLLFLAGS -fno-PIC"
10104 LDDLLFLAGS="-fno-PIC"
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10106 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10107 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10109 printf %s "(cached) " >&6
10111 ac_wine_try_cflags_saved=$CFLAGS
10112 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int main(int argc, char **argv) { return 0; }
10117 if ac_fn_c_try_link "$LINENO"
10119 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10121 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10128 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10129 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10131 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10134 DLLFLAGS="$DLLFLAGS -fPIC"
10138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10139 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10140 if test ${ac_cv_wl_z_defs+y}
10142 printf %s "(cached) " >&6
10144 ac_save_CFLAGS="$CFLAGS"
10145 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10150 if ac_fn_c_try_link "$LINENO"
10152 ac_cv_wl_z_defs=yes
10156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10157 conftest$ac_exeext conftest.$ac_ext
10158 CFLAGS=$ac_save_CFLAGS
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10161 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10162 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10165 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10166 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10168 printf %s "(cached) " >&6
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int main(int argc, char **argv) { return 0; }
10176 if ac_fn_c_try_link "$LINENO"
10178 ac_cv_cflags__Wl___export_dynamic=yes
10180 ac_cv_cflags__Wl___export_dynamic=no
10182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10183 conftest$ac_exeext conftest.$ac_ext
10184 CFLAGS=$ac_wine_try_cflags_saved
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10187 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10188 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10190 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10192 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10196 as_fn_append WINELOADER_LDFLAGS " -pie"
10199 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10202 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10203 if test ${ac_cv_cflags__static_pie+y}
10205 printf %s "(cached) " >&6
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 CFLAGS="$CFLAGS -static-pie"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10213 if ac_fn_c_try_link "$LINENO"
10215 ac_cv_cflags__static_pie=yes
10217 ac_cv_cflags__static_pie=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10224 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10225 if test "x$ac_cv_cflags__static_pie" = xyes
10227 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10229 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10238 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10239 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10241 printf %s "(cached) " >&6
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10249 if ac_fn_c_try_link "$LINENO"
10251 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10253 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10260 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10261 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10263 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10266 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10267 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10269 printf %s "(cached) " >&6
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10275 int main(int argc, char **argv) { return 0; }
10277 if ac_fn_c_try_link "$LINENO"
10279 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10281 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10284 conftest$ac_exeext conftest.$ac_ext
10285 CFLAGS=$ac_wine_try_cflags_saved
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10288 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10289 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10291 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10296 as_fn_append WINELOADER_LDFLAGS " -pie"
10304 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10305 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10306 enable_winemac_drv=${enable_winemac_drv:-no}
10311 if test ${enable_archs+y}
10313 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10316 set x $enable_archs
10322 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10323 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10327 if test "x$with_mingw" != xno
10329 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10333 for wine_arch in $cross_archs
10335 case "x$with_mingw" in
10336 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10338 if eval \${${wine_arch}_CC:+false} :
10342 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10344 # Extract the first word of "$ac_prog", so it can be a program name with args.
10345 set dummy $ac_prog; ac_word=$2
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10347 printf %s "checking for $ac_word... " >&6; }
10348 if test ${ac_cv_prog_aarch64_CC+y}
10350 printf %s "(cached) " >&6
10352 if test -n "$aarch64_CC"; then
10353 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10359 case $as_dir in #(((
10362 *) as_dir=$as_dir/ ;;
10364 for ac_exec_ext in '' $ac_executable_extensions; do
10365 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10366 ac_cv_prog_aarch64_CC="$ac_prog"
10367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10376 aarch64_CC=$ac_cv_prog_aarch64_CC
10377 if test -n "$aarch64_CC"; then
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10379 printf "%s\n" "$aarch64_CC" >&6; }
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10382 printf "%s\n" "no" >&6; }
10386 test -n "$aarch64_CC" && break
10388 test -n "$aarch64_CC" || aarch64_CC="false"
10392 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10394 # Extract the first word of "$ac_prog", so it can be a program name with args.
10395 set dummy $ac_prog; ac_word=$2
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 printf %s "checking for $ac_word... " >&6; }
10398 if test ${ac_cv_prog_arm64ec_CC+y}
10400 printf %s "(cached) " >&6
10402 if test -n "$arm64ec_CC"; then
10403 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10409 case $as_dir in #(((
10412 *) as_dir=$as_dir/ ;;
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_arm64ec_CC="$ac_prog"
10417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10426 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10427 if test -n "$arm64ec_CC"; then
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10429 printf "%s\n" "$arm64ec_CC" >&6; }
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10432 printf "%s\n" "no" >&6; }
10436 test -n "$arm64ec_CC" && break
10438 test -n "$arm64ec_CC" || arm64ec_CC="false"
10442 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10444 # Extract the first word of "$ac_prog", so it can be a program name with args.
10445 set dummy $ac_prog; ac_word=$2
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10447 printf %s "checking for $ac_word... " >&6; }
10448 if test ${ac_cv_prog_arm_CC+y}
10450 printf %s "(cached) " >&6
10452 if test -n "$arm_CC"; then
10453 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10459 case $as_dir in #(((
10462 *) as_dir=$as_dir/ ;;
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_prog_arm_CC="$ac_prog"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10476 arm_CC=$ac_cv_prog_arm_CC
10477 if test -n "$arm_CC"; then
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10479 printf "%s\n" "$arm_CC" >&6; }
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 printf "%s\n" "no" >&6; }
10486 test -n "$arm_CC" && break
10488 test -n "$arm_CC" || arm_CC="false"
10492 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 "
10493 for ac_prog in $ac_prefix_list clang
10495 # Extract the first word of "$ac_prog", so it can be a program name with args.
10496 set dummy $ac_prog; ac_word=$2
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10498 printf %s "checking for $ac_word... " >&6; }
10499 if test ${ac_cv_prog_i386_CC+y}
10501 printf %s "(cached) " >&6
10503 if test -n "$i386_CC"; then
10504 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10507 for as_dir in $PATH
10510 case $as_dir in #(((
10513 *) as_dir=$as_dir/ ;;
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10517 ac_cv_prog_i386_CC="$ac_prog"
10518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10527 i386_CC=$ac_cv_prog_i386_CC
10528 if test -n "$i386_CC"; then
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10530 printf "%s\n" "$i386_CC" >&6; }
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 printf "%s\n" "no" >&6; }
10537 test -n "$i386_CC" && break
10539 test -n "$i386_CC" || i386_CC="false"
10543 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10544 for ac_prog in $ac_prefix_list clang
10546 # Extract the first word of "$ac_prog", so it can be a program name with args.
10547 set dummy $ac_prog; ac_word=$2
10548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 printf %s "checking for $ac_word... " >&6; }
10550 if test ${ac_cv_prog_x86_64_CC+y}
10552 printf %s "(cached) " >&6
10554 if test -n "$x86_64_CC"; then
10555 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10561 case $as_dir in #(((
10564 *) as_dir=$as_dir/ ;;
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_x86_64_CC="$ac_prog"
10569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10578 x86_64_CC=$ac_cv_prog_x86_64_CC
10579 if test -n "$x86_64_CC"; then
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10581 printf "%s\n" "$x86_64_CC" >&6; }
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10584 printf "%s\n" "no" >&6; }
10588 test -n "$x86_64_CC" && break
10590 test -n "$x86_64_CC" || x86_64_CC="false"
10597 saved_CFLAGS=$CFLAGS
10598 saved_LDFLAGS=$LDFLAGS
10600 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10601 LDFLAGS=$CROSSLDFLAGS
10602 eval CC=\$${wine_arch}_CC
10603 eval ${wine_arch}_CFLAGS=\$CFLAGS
10604 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10605 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10608 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10610 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10615 printf %s "checking whether $CC works... " >&6; }
10616 if eval test \${$as_wine_cv_crosscc+y}
10618 printf %s "(cached) " >&6
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10631 if ac_fn_c_try_compile "$LINENO"
10633 eval "$as_wine_cv_crosscc=yes"
10635 eval "$as_wine_cv_crosscc=no"
10637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10639 eval ac_res=\$$as_wine_cv_crosscc
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10641 printf "%s\n" "$ac_res" >&6; }
10643 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10647 while test $# -ge 1
10650 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10651 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10656 llvm_target=$target
10657 if test -z "$llvm_target"
10660 i386) llvm_target=i686-windows ;;
10661 arm) llvm_target=armv7-windows ;;
10662 *) llvm_target=$wine_arch-windows ;;
10665 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10666 llvm_extra_ldflags=""
10667 case $llvm_target in
10668 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10670 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10672 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10673 if eval test \${$as_ac_var+y}
10675 printf %s "(cached) " >&6
10677 ac_wine_try_cflags_saved=$CFLAGS
10678 ac_wine_try_cflags_saved_exeext=$ac_exeext
10679 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10683 void *__os_arm64x_dispatch_ret = 0;
10684 int __cdecl mainCRTStartup(void) { return 0; }
10686 if ac_fn_c_try_link "$LINENO"
10688 eval "$as_ac_var=yes"
10690 eval "$as_ac_var=no"
10692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 ac_exeext=$ac_wine_try_cflags_saved_exeext
10697 eval ac_res=\$$as_ac_var
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10699 printf "%s\n" "$ac_res" >&6; }
10700 if eval test \"x\$"$as_ac_var"\" = x"yes"
10702 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10703 llvm_extra_ldflags="--no-default-config"
10705 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10707 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10708 if eval test \${$as_ac_var+y}
10710 printf %s "(cached) " >&6
10712 ac_wine_try_cflags_saved=$CFLAGS
10713 ac_wine_try_cflags_saved_exeext=$ac_exeext
10714 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 void *__os_arm64x_dispatch_ret = 0;
10719 int __cdecl mainCRTStartup(void) { return 0; }
10721 if ac_fn_c_try_link "$LINENO"
10723 eval "$as_ac_var=yes"
10725 eval "$as_ac_var=no"
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10730 ac_exeext=$ac_wine_try_cflags_saved_exeext
10732 eval ac_res=\$$as_ac_var
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10734 printf "%s\n" "$ac_res" >&6; }
10735 if eval test \"x\$"$as_ac_var"\" = x"yes"
10739 llvm_extra_cflags=""
10742 if test -n "$llvm_extra_cflags"
10744 target=$llvm_target
10745 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10746 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10747 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10748 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10750 eval "${wine_arch}_TARGET=\$target"
10754 if test -z "$target"
10756 if test ${enable_archs+y}
10758 as_fn_error $? "MinGW $wine_arch compiler not found.
10759 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10762 CFLAGS=$saved_CFLAGS
10763 LDFLAGS=$saved_LDFLAGS
10767 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10770 printf %s "checking for $CC option to enable C99 features... " >&6; }
10771 if eval test \${$as_wine_cv_crosscc_c99+y}
10773 printf %s "(cached) " >&6
10775 eval "$as_wine_cv_crosscc_c99=no"
10776 for arg in '' '-std=gnu99' '-D__STDC__'
10778 test -z "$arg" || CC="$CC $arg"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10781 $ac_c_conftest_c99_program
10783 if ac_fn_c_try_compile "$LINENO"
10785 eval "$as_wine_cv_crosscc_c99=\$arg"
10787 eval "$as_wine_cv_crosscc_c99=no"
10789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10790 eval CC=\$${wine_arch}_CC
10791 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10800 eval res=\$$as_wine_cv_crosscc_c99
10803 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10804 printf "%s\n" "none needed" >&6; } ;;
10805 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10806 printf "%s\n" "unsupported" >&6; }
10808 CFLAGS=$saved_CFLAGS
10809 LDFLAGS=$saved_LDFLAGS
10810 if test ${enable_archs+y}
10812 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10813 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10817 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10818 printf "%s\n" "$res" >&6; }
10819 as_fn_append ${wine_arch}_CC " $res" ;;
10822 as_fn_append PE_ARCHS " $wine_arch"
10823 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10825 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10826 if eval test \${$as_ac_var+y}
10828 printf %s "(cached) " >&6
10830 ac_wine_try_cflags_saved=$CFLAGS
10831 ac_wine_try_cflags_saved_exeext=$ac_exeext
10832 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 void *__os_arm64x_dispatch_ret = 0;
10837 int __cdecl mainCRTStartup(void) { return 0; }
10839 if ac_fn_c_try_link "$LINENO"
10841 eval "$as_ac_var=yes"
10843 eval "$as_ac_var=no"
10845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 CFLAGS=$ac_wine_try_cflags_saved
10848 ac_exeext=$ac_wine_try_cflags_saved_exeext
10850 eval ac_res=\$$as_ac_var
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10852 printf "%s\n" "$ac_res" >&6; }
10853 if eval test \"x\$"$as_ac_var"\" = x"yes"
10855 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10857 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10859 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10860 if eval test \${$as_ac_var+y}
10862 printf %s "(cached) " >&6
10864 ac_wine_try_cflags_saved=$CFLAGS
10865 ac_wine_try_cflags_saved_exeext=$ac_exeext
10866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870 void *__os_arm64x_dispatch_ret = 0;
10871 int __cdecl mainCRTStartup(void) { return 0; }
10873 if ac_fn_c_try_link "$LINENO"
10875 eval "$as_ac_var=yes"
10877 eval "$as_ac_var=no"
10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10880 conftest$ac_exeext conftest.$ac_ext
10881 CFLAGS=$ac_wine_try_cflags_saved
10882 ac_exeext=$ac_wine_try_cflags_saved_exeext
10884 eval ac_res=\$$as_ac_var
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10886 printf "%s\n" "$ac_res" >&6; }
10887 if eval test \"x\$"$as_ac_var"\" = x"yes"
10889 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10891 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10893 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10894 if eval test \${$as_ac_var+y}
10896 printf %s "(cached) " >&6
10898 ac_wine_try_cflags_saved=$CFLAGS
10899 ac_wine_try_cflags_saved_exeext=$ac_exeext
10900 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10904 void *__os_arm64x_dispatch_ret = 0;
10905 int __cdecl mainCRTStartup(void) { return 0; }
10907 if ac_fn_c_try_link "$LINENO"
10909 eval "$as_ac_var=yes"
10911 eval "$as_ac_var=no"
10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10914 conftest$ac_exeext conftest.$ac_ext
10915 CFLAGS=$ac_wine_try_cflags_saved
10916 ac_exeext=$ac_wine_try_cflags_saved_exeext
10918 eval ac_res=\$$as_ac_var
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10920 printf "%s\n" "$ac_res" >&6; }
10921 if eval test \"x\$"$as_ac_var"\" = x"yes"
10923 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10927 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10928 if eval test \${$as_ac_var+y}
10930 printf %s "(cached) " >&6
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 ac_wine_try_cflags_saved_exeext=$ac_exeext
10934 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 void *__os_arm64x_dispatch_ret = 0;
10939 int __cdecl mainCRTStartup(void) { return 0; }
10941 if ac_fn_c_try_link "$LINENO"
10943 eval "$as_ac_var=yes"
10945 eval "$as_ac_var=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10948 conftest$ac_exeext conftest.$ac_ext
10949 CFLAGS=$ac_wine_try_cflags_saved
10950 ac_exeext=$ac_wine_try_cflags_saved_exeext
10952 eval ac_res=\$$as_ac_var
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10954 printf "%s\n" "$ac_res" >&6; }
10955 if eval test \"x\$"$as_ac_var"\" = x"yes"
10957 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10959 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10961 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10962 if eval test \${$as_ac_var+y}
10964 printf %s "(cached) " >&6
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 ac_wine_try_cflags_saved_exeext=$ac_exeext
10968 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 void *__os_arm64x_dispatch_ret = 0;
10973 int __cdecl mainCRTStartup(void) { return 0; }
10975 if ac_fn_c_try_link "$LINENO"
10977 eval "$as_ac_var=yes"
10979 eval "$as_ac_var=no"
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10982 conftest$ac_exeext conftest.$ac_ext
10983 CFLAGS=$ac_wine_try_cflags_saved
10984 ac_exeext=$ac_wine_try_cflags_saved_exeext
10986 eval ac_res=\$$as_ac_var
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10988 printf "%s\n" "$ac_res" >&6; }
10989 if eval test \"x\$"$as_ac_var"\" = x"yes"
10991 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10993 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10995 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10996 if eval test \${$as_ac_var+y}
10998 printf %s "(cached) " >&6
11000 ac_wine_try_cflags_saved=$CFLAGS
11001 ac_wine_try_cflags_saved_exeext=$ac_exeext
11002 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11006 void *__os_arm64x_dispatch_ret = 0;
11007 int __cdecl mainCRTStartup(void) { return 0; }
11009 if ac_fn_c_try_link "$LINENO"
11011 eval "$as_ac_var=yes"
11013 eval "$as_ac_var=no"
11015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11016 conftest$ac_exeext conftest.$ac_ext
11017 CFLAGS=$ac_wine_try_cflags_saved
11018 ac_exeext=$ac_wine_try_cflags_saved_exeext
11020 eval ac_res=\$$as_ac_var
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11022 printf "%s\n" "$ac_res" >&6; }
11023 if eval test \"x\$"$as_ac_var"\" = x"yes"
11025 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11027 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11029 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11030 if eval test \${$as_ac_var+y}
11032 printf %s "(cached) " >&6
11034 ac_wine_try_cflags_saved=$CFLAGS
11035 ac_wine_try_cflags_saved_exeext=$ac_exeext
11036 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 void *__os_arm64x_dispatch_ret = 0;
11041 int __cdecl mainCRTStartup(void) { return 0; }
11043 if ac_fn_c_try_link "$LINENO"
11045 eval "$as_ac_var=yes"
11047 eval "$as_ac_var=no"
11049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11050 conftest$ac_exeext conftest.$ac_ext
11051 CFLAGS=$ac_wine_try_cflags_saved
11052 ac_exeext=$ac_wine_try_cflags_saved_exeext
11054 eval ac_res=\$$as_ac_var
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11056 printf "%s\n" "$ac_res" >&6; }
11057 if eval test \"x\$"$as_ac_var"\" = x"yes"
11059 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11061 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11063 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11064 if eval test \${$as_ac_var+y}
11066 printf %s "(cached) " >&6
11068 ac_wine_try_cflags_saved=$CFLAGS
11069 ac_wine_try_cflags_saved_exeext=$ac_exeext
11070 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11074 void *__os_arm64x_dispatch_ret = 0;
11075 int __cdecl mainCRTStartup(void) { return 0; }
11077 if ac_fn_c_try_link "$LINENO"
11079 eval "$as_ac_var=yes"
11081 eval "$as_ac_var=no"
11083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11084 conftest$ac_exeext conftest.$ac_ext
11085 CFLAGS=$ac_wine_try_cflags_saved
11086 ac_exeext=$ac_wine_try_cflags_saved_exeext
11088 eval ac_res=\$$as_ac_var
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11090 printf "%s\n" "$ac_res" >&6; }
11091 if eval test \"x\$"$as_ac_var"\" = x"yes"
11093 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11095 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11097 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11098 if eval test \${$as_ac_var+y}
11100 printf %s "(cached) " >&6
11102 ac_wine_try_cflags_saved=$CFLAGS
11103 ac_wine_try_cflags_saved_exeext=$ac_exeext
11104 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11108 void *__os_arm64x_dispatch_ret = 0;
11109 int __cdecl mainCRTStartup(void) { return 0; }
11111 if ac_fn_c_try_link "$LINENO"
11113 eval "$as_ac_var=yes"
11115 eval "$as_ac_var=no"
11117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11118 conftest$ac_exeext conftest.$ac_ext
11119 CFLAGS=$ac_wine_try_cflags_saved
11120 ac_exeext=$ac_wine_try_cflags_saved_exeext
11122 eval ac_res=\$$as_ac_var
11123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11124 printf "%s\n" "$ac_res" >&6; }
11125 if eval test \"x\$"$as_ac_var"\" = x"yes"
11127 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11129 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11131 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11132 if eval test \${$as_ac_var+y}
11134 printf %s "(cached) " >&6
11136 ac_wine_try_cflags_saved=$CFLAGS
11137 ac_wine_try_cflags_saved_exeext=$ac_exeext
11138 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11142 void *__os_arm64x_dispatch_ret = 0;
11143 int __cdecl mainCRTStartup(void) { return 0; }
11145 if ac_fn_c_try_link "$LINENO"
11147 eval "$as_ac_var=yes"
11149 eval "$as_ac_var=no"
11151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11152 conftest$ac_exeext conftest.$ac_ext
11153 CFLAGS=$ac_wine_try_cflags_saved
11154 ac_exeext=$ac_wine_try_cflags_saved_exeext
11156 eval ac_res=\$$as_ac_var
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11158 printf "%s\n" "$ac_res" >&6; }
11159 if eval test \"x\$"$as_ac_var"\" = x"yes"
11161 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11163 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11165 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11166 if eval test \${$as_ac_var+y}
11168 printf %s "(cached) " >&6
11170 ac_wine_try_cflags_saved=$CFLAGS
11171 ac_wine_try_cflags_saved_exeext=$ac_exeext
11172 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11176 void *__os_arm64x_dispatch_ret = 0;
11177 int __cdecl mainCRTStartup(void) { return 0; }
11179 if ac_fn_c_try_link "$LINENO"
11181 eval "$as_ac_var=yes"
11183 eval "$as_ac_var=no"
11185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11186 conftest$ac_exeext conftest.$ac_ext
11187 CFLAGS=$ac_wine_try_cflags_saved
11188 ac_exeext=$ac_wine_try_cflags_saved_exeext
11190 eval ac_res=\$$as_ac_var
11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11192 printf "%s\n" "$ac_res" >&6; }
11193 if eval test \"x\$"$as_ac_var"\" = x"yes"
11195 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11197 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11199 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11200 if eval test \${$as_ac_var+y}
11202 printf %s "(cached) " >&6
11204 ac_wine_try_cflags_saved=$CFLAGS
11205 ac_wine_try_cflags_saved_exeext=$ac_exeext
11206 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210 void *__os_arm64x_dispatch_ret = 0;
11211 int __cdecl mainCRTStartup(void) { return 0; }
11213 if ac_fn_c_try_link "$LINENO"
11215 eval "$as_ac_var=yes"
11217 eval "$as_ac_var=no"
11219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11220 conftest$ac_exeext conftest.$ac_ext
11221 CFLAGS=$ac_wine_try_cflags_saved
11222 ac_exeext=$ac_wine_try_cflags_saved_exeext
11224 eval ac_res=\$$as_ac_var
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11226 printf "%s\n" "$ac_res" >&6; }
11227 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11231 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11233 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11234 if eval test \${$as_ac_var+y}
11236 printf %s "(cached) " >&6
11238 ac_wine_try_cflags_saved=$CFLAGS
11239 ac_wine_try_cflags_saved_exeext=$ac_exeext
11240 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244 void *__os_arm64x_dispatch_ret = 0;
11245 int __cdecl mainCRTStartup(void) { return 0; }
11247 if ac_fn_c_try_link "$LINENO"
11249 eval "$as_ac_var=yes"
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11267 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11268 if eval test \${$as_ac_var+y}
11270 printf %s "(cached) " >&6
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 void *__os_arm64x_dispatch_ret = 0;
11279 int __cdecl mainCRTStartup(void) { return 0; }
11281 if ac_fn_c_try_link "$LINENO"
11283 eval "$as_ac_var=yes"
11285 eval "$as_ac_var=no"
11287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11288 conftest$ac_exeext conftest.$ac_ext
11289 CFLAGS=$ac_wine_try_cflags_saved
11290 ac_exeext=$ac_wine_try_cflags_saved_exeext
11292 eval ac_res=\$$as_ac_var
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11294 printf "%s\n" "$ac_res" >&6; }
11295 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11299 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11301 printf %s "checking whether $CC supports -Wvla... " >&6; }
11302 if eval test \${$as_ac_var+y}
11304 printf %s "(cached) " >&6
11306 ac_wine_try_cflags_saved=$CFLAGS
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312 void *__os_arm64x_dispatch_ret = 0;
11313 int __cdecl mainCRTStartup(void) { return 0; }
11315 if ac_fn_c_try_link "$LINENO"
11317 eval "$as_ac_var=yes"
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11333 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11335 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11336 if eval test \${$as_ac_var+y}
11338 printf %s "(cached) " >&6
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 void *__os_arm64x_dispatch_ret = 0;
11347 int __cdecl mainCRTStartup(void) { return 0; }
11349 if ac_fn_c_try_link "$LINENO"
11351 eval "$as_ac_var=yes"
11353 eval "$as_ac_var=no"
11355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11356 conftest$ac_exeext conftest.$ac_ext
11357 CFLAGS=$ac_wine_try_cflags_saved
11358 ac_exeext=$ac_wine_try_cflags_saved_exeext
11360 eval ac_res=\$$as_ac_var
11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11362 printf "%s\n" "$ac_res" >&6; }
11363 if eval test \"x\$"$as_ac_var"\" = x"yes"
11365 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11367 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11369 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11370 if eval test \${$as_ac_var+y}
11372 printf %s "(cached) " >&6
11374 ac_wine_try_cflags_saved=$CFLAGS
11375 ac_wine_try_cflags_saved_exeext=$ac_exeext
11376 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380 void *__os_arm64x_dispatch_ret = 0;
11381 int __cdecl mainCRTStartup(void) { return 0; }
11383 if ac_fn_c_try_link "$LINENO"
11385 eval "$as_ac_var=yes"
11387 eval "$as_ac_var=no"
11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11390 conftest$ac_exeext conftest.$ac_ext
11391 CFLAGS=$ac_wine_try_cflags_saved
11392 ac_exeext=$ac_wine_try_cflags_saved_exeext
11394 eval ac_res=\$$as_ac_var
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11396 printf "%s\n" "$ac_res" >&6; }
11397 if eval test \"x\$"$as_ac_var"\" = x"yes"
11399 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11401 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11403 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11404 if eval test \${$as_ac_var+y}
11406 printf %s "(cached) " >&6
11408 ac_wine_try_cflags_saved=$CFLAGS
11409 ac_wine_try_cflags_saved_exeext=$ac_exeext
11410 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 void *__os_arm64x_dispatch_ret = 0;
11415 int __cdecl mainCRTStartup(void) { return 0; }
11417 if ac_fn_c_try_link "$LINENO"
11419 eval "$as_ac_var=yes"
11421 eval "$as_ac_var=no"
11423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11424 conftest$ac_exeext conftest.$ac_ext
11425 CFLAGS=$ac_wine_try_cflags_saved
11426 ac_exeext=$ac_wine_try_cflags_saved_exeext
11428 eval ac_res=\$$as_ac_var
11429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11430 printf "%s\n" "$ac_res" >&6; }
11431 if eval test \"x\$"$as_ac_var"\" = x"yes"
11433 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11435 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11437 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11438 if eval test \${$as_ac_var+y}
11440 printf %s "(cached) " >&6
11442 ac_wine_try_cflags_saved=$CFLAGS
11443 ac_wine_try_cflags_saved_exeext=$ac_exeext
11444 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11448 void *__os_arm64x_dispatch_ret = 0;
11449 int __cdecl mainCRTStartup(void) { return 0; }
11451 if ac_fn_c_try_link "$LINENO"
11453 eval "$as_ac_var=yes"
11455 eval "$as_ac_var=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11458 conftest$ac_exeext conftest.$ac_ext
11459 CFLAGS=$ac_wine_try_cflags_saved
11460 ac_exeext=$ac_wine_try_cflags_saved_exeext
11462 eval ac_res=\$$as_ac_var
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11464 printf "%s\n" "$ac_res" >&6; }
11465 if eval test \"x\$"$as_ac_var"\" = x"yes"
11467 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11471 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11473 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11474 if eval test \${$as_ac_var+y}
11476 printf %s "(cached) " >&6
11478 ac_wine_try_cflags_saved=$CFLAGS
11479 ac_wine_try_cflags_saved_exeext=$ac_exeext
11480 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11484 void *__os_arm64x_dispatch_ret = 0;
11485 int __cdecl mainCRTStartup(void) { return 0; }
11487 if ac_fn_c_try_link "$LINENO"
11489 eval "$as_ac_var=yes"
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11507 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11508 if eval test \${$as_ac_var+y}
11510 printf %s "(cached) " >&6
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 void *__os_arm64x_dispatch_ret = 0;
11519 int __cdecl mainCRTStartup(void) { return 0; }
11521 if ac_fn_c_try_link "$LINENO"
11523 eval "$as_ac_var=yes"
11525 eval "$as_ac_var=no"
11527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11528 conftest$ac_exeext conftest.$ac_ext
11529 CFLAGS=$ac_wine_try_cflags_saved
11530 ac_exeext=$ac_wine_try_cflags_saved_exeext
11532 eval ac_res=\$$as_ac_var
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11534 printf "%s\n" "$ac_res" >&6; }
11535 if eval test \"x\$"$as_ac_var"\" = x"yes"
11537 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11539 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11541 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11542 if eval test \${$as_ac_var+y}
11544 printf %s "(cached) " >&6
11546 ac_wine_try_cflags_saved=$CFLAGS
11547 ac_wine_try_cflags_saved_exeext=$ac_exeext
11548 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11552 void *__os_arm64x_dispatch_ret = 0;
11553 int __cdecl mainCRTStartup(void) { return 0; }
11555 if ac_fn_c_try_link "$LINENO"
11557 eval "$as_ac_var=yes"
11559 eval "$as_ac_var=no"
11561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11562 conftest$ac_exeext conftest.$ac_ext
11563 CFLAGS=$ac_wine_try_cflags_saved
11564 ac_exeext=$ac_wine_try_cflags_saved_exeext
11566 eval ac_res=\$$as_ac_var
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11568 printf "%s\n" "$ac_res" >&6; }
11569 if eval test \"x\$"$as_ac_var"\" = x"yes"
11571 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11573 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11575 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11576 if eval test \${$as_ac_var+y}
11578 printf %s "(cached) " >&6
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 void *__os_arm64x_dispatch_ret = 0;
11587 int __cdecl mainCRTStartup(void) { return 0; }
11589 if ac_fn_c_try_link "$LINENO"
11591 eval "$as_ac_var=yes"
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11605 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11607 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11609 printf %s "checking whether $CC supports -mcx16... " >&6; }
11610 if eval test \${$as_ac_var+y}
11612 printf %s "(cached) " >&6
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 void *__os_arm64x_dispatch_ret = 0;
11621 int __cdecl mainCRTStartup(void) { return 0; }
11623 if ac_fn_c_try_link "$LINENO"
11625 eval "$as_ac_var=yes"
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11641 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11643 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11644 if eval test \${$as_ac_var+y}
11646 printf %s "(cached) " >&6
11648 ac_wine_try_cflags_saved=$CFLAGS
11649 ac_wine_try_cflags_saved_exeext=$ac_exeext
11650 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 void *__os_arm64x_dispatch_ret = 0;
11655 int __cdecl mainCRTStartup(void) { return 0; }
11657 if ac_fn_c_try_link "$LINENO"
11659 eval "$as_ac_var=yes"
11661 eval "$as_ac_var=no"
11663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11664 conftest$ac_exeext conftest.$ac_ext
11665 CFLAGS=$ac_wine_try_cflags_saved
11666 ac_exeext=$ac_wine_try_cflags_saved_exeext
11668 eval ac_res=\$$as_ac_var
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11670 printf "%s\n" "$ac_res" >&6; }
11671 if eval test \"x\$"$as_ac_var"\" = x"yes"
11673 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11677 wine_crossdebug=$CROSSDEBUG
11678 if test -z "$wine_crossdebug"
11680 for ac_flag in $CFLAGS; do
11682 -gdwarf*) wine_crossdebug=dwarf ;;
11683 -gcodeview) wine_crossdebug=pdb ;;
11684 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11689 ac_debug_format_seen=""
11690 for ac_flag in $CFLAGS; do
11692 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11695 if test "x$ac_debug_format_seen" = x
11697 case $wine_crossdebug in
11698 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11700 printf %s "checking whether $CC supports -gdwarf-4... " >&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 -gdwarf-4"
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 " -gdwarf-4"
11732 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11734 printf %s "checking whether $CC supports -gcodeview... " >&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 -gcodeview"
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 " -gcodeview"
11768 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11770 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11772 printf %s "checking whether $CC supports -Werror... " >&6; }
11773 if eval test \${$as_ac_var+y}
11775 printf %s "(cached) " >&6
11777 ac_wine_try_cflags_saved=$CFLAGS
11778 ac_wine_try_cflags_saved_exeext=$ac_exeext
11779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11783 void *__os_arm64x_dispatch_ret = 0;
11784 int __cdecl mainCRTStartup(void) { return 0; }
11786 if ac_fn_c_try_link "$LINENO"
11788 eval "$as_ac_var=yes"
11790 eval "$as_ac_var=no"
11792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11793 conftest$ac_exeext conftest.$ac_ext
11794 CFLAGS=$ac_wine_try_cflags_saved
11795 ac_exeext=$ac_wine_try_cflags_saved_exeext
11797 eval ac_res=\$$as_ac_var
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11799 printf "%s\n" "$ac_res" >&6; }
11800 if eval test \"x\$"$as_ac_var"\" = x"yes"
11802 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11804 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11806 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11807 if eval test \${$as_ac_var+y}
11809 printf %s "(cached) " >&6
11811 ac_wine_try_cflags_saved=$CFLAGS
11812 ac_wine_try_cflags_saved_exeext=$ac_exeext
11813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11817 void *__os_arm64x_dispatch_ret = 0;
11818 int __cdecl mainCRTStartup(void) { return 0; }
11820 if ac_fn_c_try_link "$LINENO"
11822 eval "$as_ac_var=yes"
11824 eval "$as_ac_var=no"
11826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11827 conftest$ac_exeext conftest.$ac_ext
11828 CFLAGS=$ac_wine_try_cflags_saved
11829 ac_exeext=$ac_wine_try_cflags_saved_exeext
11831 eval ac_res=\$$as_ac_var
11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11833 printf "%s\n" "$ac_res" >&6; }
11834 if eval test \"x\$"$as_ac_var"\" = x"yes"
11836 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11837 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11841 CFLAGS=$saved_CFLAGS
11842 LDFLAGS=$saved_LDFLAGS
11845 if test $HOST_ARCH = aarch64
11847 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11852 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11854 if test "x$HOST_ARCH" = xi386
11856 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11858 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11860 for ac_prog in $ac_prefix_list
11862 # Extract the first word of "$ac_prog", so it can be a program name with args.
11863 set dummy $ac_prog; ac_word=$2
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 printf %s "checking for $ac_word... " >&6; }
11866 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11868 printf %s "(cached) " >&6
11870 if test -n "$MINGW_PKG_CONFIG"; then
11871 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11877 case $as_dir in #(((
11880 *) as_dir=$as_dir/ ;;
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11884 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11894 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11895 if test -n "$MINGW_PKG_CONFIG"; then
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11897 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 printf "%s\n" "no" >&6; }
11904 test -n "$MINGW_PKG_CONFIG" && break
11906 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11908 if ${FAUDIO_PE_CFLAGS:+false} :
11910 if test ${MINGW_PKG_CONFIG+y}
11912 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11915 if ${FAUDIO_PE_LIBS:+false} :
11917 if test ${MINGW_PKG_CONFIG+y}
11919 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11922 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11926 printf %s "checking for MinGW FAudio.h... " >&6; }
11927 if test ${ac_cv_mingw_header_FAudio_h+y}
11929 printf %s "(cached) " >&6
11931 ac_wine_check_headers_saved_cc=$CC
11932 ac_wine_check_headers_saved_exeext=$ac_exeext
11933 eval CC=\$${wine_arch}_CC
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 #include <FAudio.h>
11947 if ac_fn_c_try_compile "$LINENO"
11949 ac_cv_mingw_header_FAudio_h=yes
11951 ac_cv_mingw_header_FAudio_h=no
11953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11954 CC=$ac_wine_check_headers_saved_cc
11955 ac_exeext=$ac_wine_check_headers_saved_exeext
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11958 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11959 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11962 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11963 if test ${ac_cv_mingw_lib_FAudio+y}
11965 printf %s "(cached) " >&6
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 ac_wine_check_headers_saved_libs=$LIBS
11970 eval CC=\$${wine_arch}_CC
11972 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 char FAudio_CommitOperationSet ();
11983 return FAudio_CommitOperationSet ();
11988 if ac_fn_c_try_link "$LINENO"
11990 ac_cv_mingw_lib_FAudio=yes
11992 ac_cv_mingw_lib_FAudio=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CC=$ac_wine_check_headers_saved_cc
11997 ac_exeext=$ac_wine_check_headers_saved_exeext
11998 LIBS=$ac_wine_check_headers_saved_libs
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12001 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12002 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12006 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12009 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12013 if test "x$FAUDIO_PE_LIBS" = "x"
12015 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12018 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12020 if test ${MINGW_PKG_CONFIG+y}
12022 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12025 if ${FLUIDSYNTH_PE_LIBS:+false} :
12027 if test ${MINGW_PKG_CONFIG+y}
12029 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12032 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12036 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12037 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12039 printf %s "(cached) " >&6
12041 ac_wine_check_headers_saved_cc=$CC
12042 ac_wine_check_headers_saved_exeext=$ac_exeext
12043 eval CC=\$${wine_arch}_CC
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 #include <fluidsynth.h>
12057 if ac_fn_c_try_compile "$LINENO"
12059 ac_cv_mingw_header_fluidsynth_h=yes
12061 ac_cv_mingw_header_fluidsynth_h=no
12063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12064 CC=$ac_wine_check_headers_saved_cc
12065 ac_exeext=$ac_wine_check_headers_saved_exeext
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12068 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12069 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12072 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12073 if test ${ac_cv_mingw_lib_fluidsynth+y}
12075 printf %s "(cached) " >&6
12077 ac_wine_check_headers_saved_cc=$CC
12078 ac_wine_check_headers_saved_exeext=$ac_exeext
12079 ac_wine_check_headers_saved_libs=$LIBS
12080 eval CC=\$${wine_arch}_CC
12082 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 char new_fluid_synth ();
12093 return new_fluid_synth ();
12098 if ac_fn_c_try_link "$LINENO"
12100 ac_cv_mingw_lib_fluidsynth=yes
12102 ac_cv_mingw_lib_fluidsynth=no
12104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12105 conftest$ac_exeext conftest.$ac_ext
12106 CC=$ac_wine_check_headers_saved_cc
12107 ac_exeext=$ac_wine_check_headers_saved_exeext
12108 LIBS=$ac_wine_check_headers_saved_libs
12110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12111 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12112 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12116 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12119 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12123 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12125 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12128 if ${JPEG_PE_CFLAGS:+false} :
12130 if test ${MINGW_PKG_CONFIG+y}
12132 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12135 if ${JPEG_PE_LIBS:+false} :
12137 if test ${MINGW_PKG_CONFIG+y}
12139 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12146 printf %s "checking for MinGW jpeglib.h... " >&6; }
12147 if test ${ac_cv_mingw_header_jpeglib_h+y}
12149 printf %s "(cached) " >&6
12151 ac_wine_check_headers_saved_cc=$CC
12152 ac_wine_check_headers_saved_exeext=$ac_exeext
12153 eval CC=\$${wine_arch}_CC
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12157 #include <stddef.h>
12159 #include <jpeglib.h>
12168 if ac_fn_c_try_compile "$LINENO"
12170 ac_cv_mingw_header_jpeglib_h=yes
12172 ac_cv_mingw_header_jpeglib_h=no
12174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12175 CC=$ac_wine_check_headers_saved_cc
12176 ac_exeext=$ac_wine_check_headers_saved_exeext
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12179 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12180 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12183 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12184 if test ${ac_cv_mingw_lib_jpeg+y}
12186 printf %s "(cached) " >&6
12188 ac_wine_check_headers_saved_cc=$CC
12189 ac_wine_check_headers_saved_exeext=$ac_exeext
12190 ac_wine_check_headers_saved_libs=$LIBS
12191 eval CC=\$${wine_arch}_CC
12193 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 char jpeg_start_decompress ();
12204 return jpeg_start_decompress ();
12209 if ac_fn_c_try_link "$LINENO"
12211 ac_cv_mingw_lib_jpeg=yes
12213 ac_cv_mingw_lib_jpeg=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CC=$ac_wine_check_headers_saved_cc
12218 ac_exeext=$ac_wine_check_headers_saved_exeext
12219 LIBS=$ac_wine_check_headers_saved_libs
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12222 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12223 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12227 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12230 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12232 CPPFLAGS=$ac_save_CPPFLAGS
12234 if test "x$JPEG_PE_LIBS" = "x"
12236 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12239 if ${LCMS2_PE_CFLAGS:+false} :
12241 if test ${MINGW_PKG_CONFIG+y}
12243 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12246 if ${LCMS2_PE_LIBS:+false} :
12248 if test ${MINGW_PKG_CONFIG+y}
12250 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12253 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12257 printf %s "checking for MinGW lcms2.h... " >&6; }
12258 if test ${ac_cv_mingw_header_lcms2_h+y}
12260 printf %s "(cached) " >&6
12262 ac_wine_check_headers_saved_cc=$CC
12263 ac_wine_check_headers_saved_exeext=$ac_exeext
12264 eval CC=\$${wine_arch}_CC
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12278 if ac_fn_c_try_compile "$LINENO"
12280 ac_cv_mingw_header_lcms2_h=yes
12282 ac_cv_mingw_header_lcms2_h=no
12284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12285 CC=$ac_wine_check_headers_saved_cc
12286 ac_exeext=$ac_wine_check_headers_saved_exeext
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12289 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12290 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12293 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12294 if test ${ac_cv_mingw_lib_lcms2+y}
12296 printf %s "(cached) " >&6
12298 ac_wine_check_headers_saved_cc=$CC
12299 ac_wine_check_headers_saved_exeext=$ac_exeext
12300 ac_wine_check_headers_saved_libs=$LIBS
12301 eval CC=\$${wine_arch}_CC
12303 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12307 /* Override any GCC internal prototype to avoid an error.
12308 Use char because int might match the return type of a GCC
12309 builtin and then its argument prototype would still apply. */
12310 char cmsOpenProfileFromFile ();
12314 return cmsOpenProfileFromFile ();
12319 if ac_fn_c_try_link "$LINENO"
12321 ac_cv_mingw_lib_lcms2=yes
12323 ac_cv_mingw_lib_lcms2=no
12325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12326 conftest$ac_exeext conftest.$ac_ext
12327 CC=$ac_wine_check_headers_saved_cc
12328 ac_exeext=$ac_wine_check_headers_saved_exeext
12329 LIBS=$ac_wine_check_headers_saved_libs
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12332 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12333 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12337 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12340 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12342 CPPFLAGS=$ac_save_CPPFLAGS
12344 if test "x$LCMS2_PE_LIBS" = "x"
12346 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12349 if ${MPG123_PE_CFLAGS:+false} :
12351 if test ${MINGW_PKG_CONFIG+y}
12353 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12356 if ${MPG123_PE_LIBS:+false} :
12358 if test ${MINGW_PKG_CONFIG+y}
12360 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12363 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12367 printf %s "checking for MinGW mpg123.h... " >&6; }
12368 if test ${ac_cv_mingw_header_mpg123_h+y}
12370 printf %s "(cached) " >&6
12372 ac_wine_check_headers_saved_cc=$CC
12373 ac_wine_check_headers_saved_exeext=$ac_exeext
12374 eval CC=\$${wine_arch}_CC
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12379 #include <mpg123.h>
12388 if ac_fn_c_try_compile "$LINENO"
12390 ac_cv_mingw_header_mpg123_h=yes
12392 ac_cv_mingw_header_mpg123_h=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12395 CC=$ac_wine_check_headers_saved_cc
12396 ac_exeext=$ac_wine_check_headers_saved_exeext
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12399 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12400 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12403 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12404 if test ${ac_cv_mingw_lib_mpg123+y}
12406 printf %s "(cached) " >&6
12408 ac_wine_check_headers_saved_cc=$CC
12409 ac_wine_check_headers_saved_exeext=$ac_exeext
12410 ac_wine_check_headers_saved_libs=$LIBS
12411 eval CC=\$${wine_arch}_CC
12413 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 char mpg123_feed ();
12424 return mpg123_feed ();
12429 if ac_fn_c_try_link "$LINENO"
12431 ac_cv_mingw_lib_mpg123=yes
12433 ac_cv_mingw_lib_mpg123=no
12435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12436 conftest$ac_exeext conftest.$ac_ext
12437 CC=$ac_wine_check_headers_saved_cc
12438 ac_exeext=$ac_wine_check_headers_saved_exeext
12439 LIBS=$ac_wine_check_headers_saved_libs
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12442 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12443 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12447 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12450 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12454 if test "x$MPG123_PE_LIBS" = "x"
12456 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12459 if ${PNG_PE_CFLAGS:+false} :
12461 if test ${MINGW_PKG_CONFIG+y}
12463 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12466 if ${PNG_PE_LIBS:+false} :
12468 if test ${MINGW_PKG_CONFIG+y}
12470 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12474 ac_save_CPPFLAGS=$CPPFLAGS
12475 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12477 printf %s "checking for MinGW png.h... " >&6; }
12478 if test ${ac_cv_mingw_header_png_h+y}
12480 printf %s "(cached) " >&6
12482 ac_wine_check_headers_saved_cc=$CC
12483 ac_wine_check_headers_saved_exeext=$ac_exeext
12484 eval CC=\$${wine_arch}_CC
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12498 if ac_fn_c_try_compile "$LINENO"
12500 ac_cv_mingw_header_png_h=yes
12502 ac_cv_mingw_header_png_h=no
12504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12505 CC=$ac_wine_check_headers_saved_cc
12506 ac_exeext=$ac_wine_check_headers_saved_exeext
12508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12509 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12510 if test "x$ac_cv_mingw_header_png_h" = xyes
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12513 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12514 if test ${ac_cv_mingw_lib_png+y}
12516 printf %s "(cached) " >&6
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12521 eval CC=\$${wine_arch}_CC
12523 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char png_create_read_struct ();
12534 return png_create_read_struct ();
12539 if ac_fn_c_try_link "$LINENO"
12541 ac_cv_mingw_lib_png=yes
12543 ac_cv_mingw_lib_png=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12553 if test "x$ac_cv_mingw_lib_png" = xyes
12557 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12560 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$PNG_PE_LIBS" = "x"
12566 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12569 if ${TIFF_PE_CFLAGS:+false} :
12571 if test ${MINGW_PKG_CONFIG+y}
12573 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12576 if ${TIFF_PE_LIBS:+false} :
12578 if test ${MINGW_PKG_CONFIG+y}
12580 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12587 printf %s "checking for MinGW tiffio.h... " >&6; }
12588 if test ${ac_cv_mingw_header_tiffio_h+y}
12590 printf %s "(cached) " >&6
12592 ac_wine_check_headers_saved_cc=$CC
12593 ac_wine_check_headers_saved_exeext=$ac_exeext
12594 eval CC=\$${wine_arch}_CC
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 #include <tiffio.h>
12608 if ac_fn_c_try_compile "$LINENO"
12610 ac_cv_mingw_header_tiffio_h=yes
12612 ac_cv_mingw_header_tiffio_h=no
12614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12620 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12623 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12624 if test ${ac_cv_mingw_lib_tiff+y}
12626 printf %s "(cached) " >&6
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 ac_wine_check_headers_saved_libs=$LIBS
12631 eval CC=\$${wine_arch}_CC
12633 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 char TIFFClientOpen ();
12644 return TIFFClientOpen ();
12649 if ac_fn_c_try_link "$LINENO"
12651 ac_cv_mingw_lib_tiff=yes
12653 ac_cv_mingw_lib_tiff=no
12655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12656 conftest$ac_exeext conftest.$ac_ext
12657 CC=$ac_wine_check_headers_saved_cc
12658 ac_exeext=$ac_wine_check_headers_saved_exeext
12659 LIBS=$ac_wine_check_headers_saved_libs
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12662 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12663 if test "x$ac_cv_mingw_lib_tiff" = xyes
12667 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12670 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12672 CPPFLAGS=$ac_save_CPPFLAGS
12674 if test "x$TIFF_PE_LIBS" = "x"
12676 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12679 if ${XML2_PE_CFLAGS:+false} :
12681 if test ${MINGW_PKG_CONFIG+y}
12683 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12686 if ${XML2_PE_LIBS:+false} :
12688 if test ${MINGW_PKG_CONFIG+y}
12690 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12693 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12694 ac_save_CPPFLAGS=$CPPFLAGS
12695 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12697 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12698 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12700 printf %s "(cached) " >&6
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12704 eval CC=\$${wine_arch}_CC
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 #include <libxml/parser.h>
12718 if ac_fn_c_try_compile "$LINENO"
12720 ac_cv_mingw_header_libxml_parser_h=yes
12722 ac_cv_mingw_header_libxml_parser_h=no
12724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12725 CC=$ac_wine_check_headers_saved_cc
12726 ac_exeext=$ac_wine_check_headers_saved_exeext
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12729 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12730 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12735 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12736 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12738 printf %s "(cached) " >&6
12740 ac_wine_check_headers_saved_cc=$CC
12741 ac_wine_check_headers_saved_exeext=$ac_exeext
12742 eval CC=\$${wine_arch}_CC
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 #include <libxml/xmlsave.h>
12756 if ac_fn_c_try_compile "$LINENO"
12758 ac_cv_mingw_header_libxml_xmlsave_h=yes
12760 ac_cv_mingw_header_libxml_xmlsave_h=no
12762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12763 CC=$ac_wine_check_headers_saved_cc
12764 ac_exeext=$ac_wine_check_headers_saved_exeext
12766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12767 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12768 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12773 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12774 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12776 printf %s "(cached) " >&6
12778 ac_wine_check_headers_saved_cc=$CC
12779 ac_wine_check_headers_saved_exeext=$ac_exeext
12780 eval CC=\$${wine_arch}_CC
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 #include <libxml/SAX2.h>
12794 if ac_fn_c_try_compile "$LINENO"
12796 ac_cv_mingw_header_libxml_SAX2_h=yes
12798 ac_cv_mingw_header_libxml_SAX2_h=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12801 CC=$ac_wine_check_headers_saved_cc
12802 ac_exeext=$ac_wine_check_headers_saved_exeext
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12805 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12806 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12810 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"
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12813 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12814 if test ${ac_cv_mingw_lib_xml2+y}
12816 printf %s "(cached) " >&6
12818 ac_wine_check_headers_saved_cc=$CC
12819 ac_wine_check_headers_saved_exeext=$ac_exeext
12820 ac_wine_check_headers_saved_libs=$LIBS
12821 eval CC=\$${wine_arch}_CC
12823 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12830 char xmlFirstElementChild ();
12834 return xmlFirstElementChild ();
12839 if ac_fn_c_try_link "$LINENO"
12841 ac_cv_mingw_lib_xml2=yes
12843 ac_cv_mingw_lib_xml2=no
12845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12846 conftest$ac_exeext conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12849 LIBS=$ac_wine_check_headers_saved_libs
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12852 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12853 if test "x$ac_cv_mingw_lib_xml2" = xyes
12857 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12863 CPPFLAGS=$ac_save_CPPFLAGS
12865 if test "x$XML2_PE_LIBS" = "x"
12867 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12870 if ${XSLT_PE_CFLAGS:+false} :
12872 if test ${MINGW_PKG_CONFIG+y}
12874 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12877 if ${XSLT_PE_LIBS:+false} :
12879 if test ${MINGW_PKG_CONFIG+y}
12881 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12884 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12885 ac_save_CPPFLAGS=$CPPFLAGS
12886 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12888 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12889 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12891 printf %s "(cached) " >&6
12893 ac_wine_check_headers_saved_cc=$CC
12894 ac_wine_check_headers_saved_exeext=$ac_exeext
12895 eval CC=\$${wine_arch}_CC
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 #include <libxslt/pattern.h>
12909 if ac_fn_c_try_compile "$LINENO"
12911 ac_cv_mingw_header_libxslt_pattern_h=yes
12913 ac_cv_mingw_header_libxslt_pattern_h=no
12915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12916 CC=$ac_wine_check_headers_saved_cc
12917 ac_exeext=$ac_wine_check_headers_saved_exeext
12919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12920 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12921 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12926 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12927 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12929 printf %s "(cached) " >&6
12931 ac_wine_check_headers_saved_cc=$CC
12932 ac_wine_check_headers_saved_exeext=$ac_exeext
12933 eval CC=\$${wine_arch}_CC
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 #include <libxslt/transform.h>
12947 if ac_fn_c_try_compile "$LINENO"
12949 ac_cv_mingw_header_libxslt_transform_h=yes
12951 ac_cv_mingw_header_libxslt_transform_h=no
12953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12954 CC=$ac_wine_check_headers_saved_cc
12955 ac_exeext=$ac_wine_check_headers_saved_exeext
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12958 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12959 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12963 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12966 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12967 if test ${ac_cv_mingw_lib_xslt+y}
12969 printf %s "(cached) " >&6
12971 ac_wine_check_headers_saved_cc=$CC
12972 ac_wine_check_headers_saved_exeext=$ac_exeext
12973 ac_wine_check_headers_saved_libs=$LIBS
12974 eval CC=\$${wine_arch}_CC
12976 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 /* Override any GCC internal prototype to avoid an error.
12981 Use char because int might match the return type of a GCC
12982 builtin and then its argument prototype would still apply. */
12983 char xsltCompilePattern ();
12987 return xsltCompilePattern ();
12992 if ac_fn_c_try_link "$LINENO"
12994 ac_cv_mingw_lib_xslt=yes
12996 ac_cv_mingw_lib_xslt=no
12998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12999 conftest$ac_exeext conftest.$ac_ext
13000 CC=$ac_wine_check_headers_saved_cc
13001 ac_exeext=$ac_wine_check_headers_saved_exeext
13002 LIBS=$ac_wine_check_headers_saved_libs
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13005 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13006 if test "x$ac_cv_mingw_lib_xslt" = xyes
13010 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13016 CPPFLAGS=$ac_save_CPPFLAGS
13018 if test "x$XSLT_PE_LIBS" = "x"
13020 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13023 if ${VKD3D_PE_CFLAGS:+false} :
13025 if test ${MINGW_PKG_CONFIG+y}
13027 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13030 if ${VKD3D_PE_LIBS:+false} :
13032 if test ${MINGW_PKG_CONFIG+y}
13034 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13037 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13038 ac_save_CPPFLAGS=$CPPFLAGS
13039 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13041 printf %s "checking for MinGW vkd3d.h... " >&6; }
13042 if test ${ac_cv_mingw_header_vkd3d_h+y}
13044 printf %s "(cached) " >&6
13046 ac_wine_check_headers_saved_cc=$CC
13047 ac_wine_check_headers_saved_exeext=$ac_exeext
13048 eval CC=\$${wine_arch}_CC
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13062 if ac_fn_c_try_compile "$LINENO"
13064 ac_cv_mingw_header_vkd3d_h=yes
13066 ac_cv_mingw_header_vkd3d_h=no
13068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13069 CC=$ac_wine_check_headers_saved_cc
13070 ac_exeext=$ac_wine_check_headers_saved_exeext
13072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13073 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13074 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13079 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13080 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13082 printf %s "(cached) " >&6
13084 ac_wine_check_headers_saved_cc=$CC
13085 ac_wine_check_headers_saved_exeext=$ac_exeext
13086 eval CC=\$${wine_arch}_CC
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 #include <vkd3d_shader.h>
13100 if ac_fn_c_try_compile "$LINENO"
13102 ac_cv_mingw_header_vkd3d_shader_h=yes
13104 ac_cv_mingw_header_vkd3d_shader_h=no
13106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13107 CC=$ac_wine_check_headers_saved_cc
13108 ac_exeext=$ac_wine_check_headers_saved_exeext
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13111 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13112 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13116 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13119 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13120 if test ${ac_cv_mingw_lib_vkd3d+y}
13122 printf %s "(cached) " >&6
13124 ac_wine_check_headers_saved_cc=$CC
13125 ac_wine_check_headers_saved_exeext=$ac_exeext
13126 ac_wine_check_headers_saved_libs=$LIBS
13127 eval CC=\$${wine_arch}_CC
13129 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 char vkd3d_set_log_callback ();
13140 return vkd3d_set_log_callback ();
13145 if ac_fn_c_try_link "$LINENO"
13147 ac_cv_mingw_lib_vkd3d=yes
13149 ac_cv_mingw_lib_vkd3d=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13152 conftest$ac_exeext conftest.$ac_ext
13153 CC=$ac_wine_check_headers_saved_cc
13154 ac_exeext=$ac_wine_check_headers_saved_exeext
13155 LIBS=$ac_wine_check_headers_saved_libs
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13158 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13159 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13166 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13167 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13169 printf %s "(cached) " >&6
13171 ac_wine_check_headers_saved_cc=$CC
13172 ac_wine_check_headers_saved_exeext=$ac_exeext
13173 ac_wine_check_headers_saved_libs=$LIBS
13174 eval CC=\$${wine_arch}_CC
13176 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 char vkd3d_shader_serialize_dxbc ();
13187 return vkd3d_shader_serialize_dxbc ();
13192 if ac_fn_c_try_link "$LINENO"
13194 ac_cv_mingw_lib_vkd3d_shader=yes
13196 ac_cv_mingw_lib_vkd3d_shader=no
13198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13199 conftest$ac_exeext conftest.$ac_ext
13200 CC=$ac_wine_check_headers_saved_cc
13201 ac_exeext=$ac_wine_check_headers_saved_exeext
13202 LIBS=$ac_wine_check_headers_saved_libs
13204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13205 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13206 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13212 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13221 CPPFLAGS=$ac_save_CPPFLAGS
13223 if test "x$VKD3D_PE_LIBS" = "x"
13225 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13228 if ${ZLIB_PE_CFLAGS:+false} :
13230 if test ${MINGW_PKG_CONFIG+y}
13232 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13235 if ${ZLIB_PE_LIBS:+false} :
13237 if test ${MINGW_PKG_CONFIG+y}
13239 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13242 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13243 ac_save_CPPFLAGS=$CPPFLAGS
13244 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13246 printf %s "checking for MinGW zlib.h... " >&6; }
13247 if test ${ac_cv_mingw_header_zlib_h+y}
13249 printf %s "(cached) " >&6
13251 ac_wine_check_headers_saved_cc=$CC
13252 ac_wine_check_headers_saved_exeext=$ac_exeext
13253 eval CC=\$${wine_arch}_CC
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13267 if ac_fn_c_try_compile "$LINENO"
13269 ac_cv_mingw_header_zlib_h=yes
13271 ac_cv_mingw_header_zlib_h=no
13273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13274 CC=$ac_wine_check_headers_saved_cc
13275 ac_exeext=$ac_wine_check_headers_saved_exeext
13277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13278 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13279 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13282 printf %s "checking for inflate in MinGW -lz... " >&6; }
13283 if test ${ac_cv_mingw_lib_z+y}
13285 printf %s "(cached) " >&6
13287 ac_wine_check_headers_saved_cc=$CC
13288 ac_wine_check_headers_saved_exeext=$ac_exeext
13289 ac_wine_check_headers_saved_libs=$LIBS
13290 eval CC=\$${wine_arch}_CC
13292 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 /* Override any GCC internal prototype to avoid an error.
13297 Use char because int might match the return type of a GCC
13298 builtin and then its argument prototype would still apply. */
13308 if ac_fn_c_try_link "$LINENO"
13310 ac_cv_mingw_lib_z=yes
13312 ac_cv_mingw_lib_z=no
13314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13315 conftest$ac_exeext conftest.$ac_ext
13316 CC=$ac_wine_check_headers_saved_cc
13317 ac_exeext=$ac_wine_check_headers_saved_exeext
13318 LIBS=$ac_wine_check_headers_saved_libs
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13321 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13322 if test "x$ac_cv_mingw_lib_z" = xyes
13326 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13329 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13331 CPPFLAGS=$ac_save_CPPFLAGS
13333 if test "x$ZLIB_PE_LIBS" = "x"
13335 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13339 if ${FAUDIO_PE_LIBS:+false} :
13341 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13342 if ${FAUDIO_PE_CFLAGS:+false} :
13344 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13354 if ${FLUIDSYNTH_PE_LIBS:+false} :
13356 FLUIDSYNTH_PE_LIBS="fluidsynth"
13357 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13359 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13361 enable_fluidsynth=no
13364 enable_fluidsynth=no
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13369 if ${GSM_PE_LIBS:+false} :
13372 if ${GSM_PE_CFLAGS:+false} :
13374 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13384 if ${JPEG_PE_LIBS:+false} :
13387 if ${JPEG_PE_CFLAGS:+false} :
13389 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13399 if ${JXR_PE_LIBS:+false} :
13402 if ${JXR_PE_CFLAGS:+false} :
13404 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13414 if ${LCMS2_PE_LIBS:+false} :
13416 LCMS2_PE_LIBS=lcms2
13417 if ${LCMS2_PE_CFLAGS:+false} :
13419 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13429 if ${LDAP_PE_LIBS:+false} :
13432 if ${LDAP_PE_CFLAGS:+false} :
13434 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13444 if ${MPG123_PE_LIBS:+false} :
13446 MPG123_PE_LIBS=mpg123
13447 if ${MPG123_PE_CFLAGS:+false} :
13449 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13459 if ${MUSL_PE_LIBS:+false} :
13462 if ${MUSL_PE_CFLAGS:+false} :
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13474 if ${PNG_PE_LIBS:+false} :
13476 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13477 if ${PNG_PE_CFLAGS:+false} :
13479 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13489 if ${TIFF_PE_LIBS:+false} :
13491 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13492 if ${TIFF_PE_CFLAGS:+false} :
13494 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13504 if ${VKD3D_PE_LIBS:+false} :
13506 VKD3D_PE_LIBS=vkd3d
13507 if ${VKD3D_PE_CFLAGS:+false} :
13509 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13519 if ${XML2_PE_LIBS:+false} :
13522 if ${XML2_PE_CFLAGS:+false} :
13524 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13534 if ${XSLT_PE_LIBS:+false} :
13537 if ${XSLT_PE_CFLAGS:+false} :
13539 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13549 if ${ZLIB_PE_LIBS:+false} :
13552 if ${ZLIB_PE_CFLAGS:+false} :
13554 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13564 if ${ZYDIS_PE_LIBS:+false} :
13566 ZYDIS_PE_LIBS=zydis
13567 if ${ZYDIS_PE_CFLAGS:+false} :
13569 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13581 if test "x$with_pthread" = xno
13585 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13586 if test "x$ac_cv_func_pthread_create" = xyes
13590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13591 printf %s "checking for pthread_create in -lpthread... " >&6; }
13592 if test ${ac_cv_lib_pthread_pthread_create+y}
13594 printf %s "(cached) " >&6
13596 ac_check_lib_save_LIBS=$LIBS
13597 LIBS="-lpthread $LIBS"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13604 char pthread_create ();
13608 return pthread_create ();
13613 if ac_fn_c_try_link "$LINENO"
13615 ac_cv_lib_pthread_pthread_create=yes
13617 ac_cv_lib_pthread_pthread_create=no
13619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_lib_save_LIBS
13623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13624 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13625 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13627 PTHREAD_LIBS="-lpthread"
13634 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13636 case "x$with_pthread" in
13638 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13639 Wine cannot support threads without libpthread.
13640 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13652 printf %s "checking how to run the C preprocessor... " >&6; }
13653 # On Suns, sometimes $CPP names a directory.
13654 if test -n "$CPP" && test -d "$CPP"; then
13657 if test -z "$CPP"; then
13658 if test ${ac_cv_prog_CPP+y}
13660 printf %s "(cached) " >&6
13662 # Double quotes because $CC needs to be expanded
13663 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13665 ac_preproc_ok=false
13666 for ac_c_preproc_warn_flag in '' yes
13668 # Use a header file that comes with gcc, so configuring glibc
13669 # with a fresh cross-compiler works.
13670 # On the NeXT, cc -E runs the code through the compiler's parser,
13671 # not just through cpp. "Syntax error" is here to catch this case.
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 #include <limits.h>
13677 if ac_fn_c_try_cpp "$LINENO"
13681 # Broken: fails on valid input.
13684 rm -f conftest.err conftest.i conftest.$ac_ext
13686 # OK, works on sane cases. Now check whether nonexistent headers
13687 # can be detected and how.
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #include <ac_nonexistent.h>
13692 if ac_fn_c_try_cpp "$LINENO"
13694 # Broken: success on invalid input.
13697 # Passes both tests.
13701 rm -f conftest.err conftest.i conftest.$ac_ext
13704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13705 rm -f conftest.i conftest.err conftest.
$ac_ext
13712 ac_cv_prog_CPP
=$CPP
13715 CPP
=$ac_cv_prog_CPP
13717 ac_cv_prog_CPP
=$CPP
13719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13720 printf "%s\n" "$CPP" >&6; }
13721 ac_preproc_ok
=false
13722 for ac_c_preproc_warn_flag
in '' yes
13724 # Use a header file that comes with gcc, so configuring glibc
13725 # with a fresh cross-compiler works.
13726 # On the NeXT, cc -E runs the code through the compiler's parser,
13727 # not just through cpp. "Syntax error" is here to catch this case.
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 #include <limits.h>
13733 if ac_fn_c_try_cpp
"$LINENO"
13737 # Broken: fails on valid input.
13740 rm -f conftest.err conftest.i conftest.
$ac_ext
13742 # OK, works on sane cases. Now check whether nonexistent headers
13743 # can be detected and how.
13744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 #include <ac_nonexistent.h>
13748 if ac_fn_c_try_cpp
"$LINENO"
13750 # Broken: success on invalid input.
13753 # Passes both tests.
13757 rm -f conftest.err conftest.i conftest.
$ac_ext
13760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13761 rm -f conftest.i conftest.err conftest.
$ac_ext
13766 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13767 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13768 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13769 See \`config.log' for more details" "$LINENO" 5; }
13773 ac_cpp
='$CPP $CPPFLAGS'
13774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13780 printf %s
"checking for X... " >&6; }
13783 # Check whether --with-x was given.
13784 if test ${with_x+y}
13789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13790 if test "x$with_x" = xno
; then
13791 # The user explicitly disabled X.
13794 case $x_includes,$x_libraries in #(
13795 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13796 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13798 printf %s
"(cached) " >&6
13800 # One or both of the vars are not set, and there is no cached value.
13803 # Do we need to do anything special at all?
13806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 #include <X11/Xlib.h>
13817 if ac_fn_c_try_link
"$LINENO"
13819 # We can compile and link X programs with no special options.
13823 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13824 conftest
$ac_exeext conftest.
$ac_ext
13825 LIBS
="$ac_save_LIBS"
13826 # If that didn't work, only try xmkmf and file system searches
13827 # for native compilation.
13828 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13830 rm -f -r conftest.dir
13831 if mkdir conftest.dir
; then
13833 cat >Imakefile
<<'_ACEOF'
13835 @echo incroot='${INCROOT}'
13837 @echo usrlibdir='${USRLIBDIR}'
13839 @echo libdir='${LIBDIR}'
13841 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13843 for ac_var
in incroot usrlibdir libdir
; do
13844 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13846 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13847 for ac_extension
in a so sl dylib la dll
; do
13848 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13849 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13850 ac_im_usrlibdir
=$ac_im_libdir; break
13853 # Screen out bogus values from the imake configuration. They are
13854 # bogus both because they are the default anyway, and because
13855 # using them would break gcc on systems where it needs fixed includes.
13856 case $ac_im_incroot in
13857 /usr
/include
) ac_x_includes
= ;;
13858 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13860 case $ac_im_usrlibdir in
13861 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13862 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13866 rm -f -r conftest.dir
13869 # Standard set of common directories for X headers.
13870 # Check X11 before X11Rn because it is often a symlink to the current release.
13884 /usr/local/X11/include
13885 /usr/local/X11R7/include
13886 /usr/local/X11R6/include
13887 /usr/local/X11R5/include
13888 /usr/local/X11R4/include
13890 /usr/local/include/X11
13891 /usr/local/include/X11R7
13892 /usr/local/include/X11R6
13893 /usr/local/include/X11R5
13894 /usr/local/include/X11R4
13900 /usr/XFree86/include/X11
13904 /usr/unsupported/include
13905 /usr/athena/include
13906 /usr/local/x11r5/include
13907 /usr/lpp/Xamples/include
13909 /usr/openwin/include
13910 /usr/openwin/share/include'
13912 if test "$ac_x_includes" = no
; then
13913 # Guess where to find include files, by looking for Xlib.h.
13914 # First, try using that file with no special directory specified.
13915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <X11/Xlib.h>
13919 if ac_fn_c_try_cpp
"$LINENO"
13921 # We can compile using X headers with no special include directory.
13924 for ac_dir
in $ac_x_header_dirs; do
13925 if test -r "$ac_dir/X11/Xlib.h"; then
13926 ac_x_includes
=$ac_dir
13931 rm -f conftest.err conftest.i conftest.
$ac_ext
13932 fi # $ac_x_includes = no
13934 if test "$ac_x_libraries" = no
; then
13935 # Check for the libraries.
13936 # See if we find them without any special options.
13937 # Don't add to $LIBS permanently.
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13942 #include <X11/Xlib.h>
13951 if ac_fn_c_try_link
"$LINENO"
13954 # We can link X programs with no special library path.
13958 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13960 # Don't even attempt the hair of trying to link an X program!
13961 for ac_extension
in a so sl dylib la dll
; do
13962 if test -r "$ac_dir/libX11.$ac_extension"; then
13963 ac_x_libraries
=$ac_dir
13969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13970 conftest
$ac_exeext conftest.
$ac_ext
13971 fi # $ac_x_libraries = no
13974 # Record the results.
13975 case $ac_x_includes,$ac_x_libraries in #(
13976 no
,* |
*,no |
*\'*) :
13977 # Didn't find X, or a directory has "'" in its name.
13978 ac_cv_have_x
="have_x=no" ;; #(
13980 # Record where we found X for the cache.
13981 ac_cv_have_x
="have_x=yes\
13982 ac_x_includes='$ac_x_includes'\
13983 ac_x_libraries='$ac_x_libraries'" ;;
13989 eval "$ac_cv_have_x"
13992 if test "$have_x" != yes; then
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13994 printf "%s\n" "$have_x" >&6; }
13997 # If each of the values was on the command line, it overrides each guess.
13998 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13999 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14000 # Update the cache value to reflect the command line values.
14001 ac_cv_have_x
="have_x=yes\
14002 ac_x_includes='$x_includes'\
14003 ac_x_libraries='$x_libraries'"
14004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14005 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14008 if test "$no_x" = yes; then
14009 # Not all programs may use this symbol, but it does not hurt to define it.
14011 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14013 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14015 if test -n "$x_includes"; then
14016 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14019 # It would also be nice to do this for all -L options, not just this one.
14020 if test -n "$x_libraries"; then
14021 X_LIBS
="$X_LIBS -L$x_libraries"
14022 # For Solaris; some versions of Sun CC require a space after -R and
14023 # others require no space. Words are not sufficient . . . .
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14025 printf %s
"checking whether -R must be followed by a space... " >&6; }
14026 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14027 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14028 ac_c_werror_flag
=yes
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14040 if ac_fn_c_try_link
"$LINENO"
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 printf "%s\n" "no" >&6; }
14044 X_LIBS
="$X_LIBS -R$x_libraries"
14046 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14058 if ac_fn_c_try_link
"$LINENO"
14060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14061 printf "%s\n" "yes" >&6; }
14062 X_LIBS
="$X_LIBS -R $x_libraries"
14064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14065 printf "%s\n" "neither works" >&6; }
14067 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14068 conftest
$ac_exeext conftest.
$ac_ext
14070 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14071 conftest
$ac_exeext conftest.
$ac_ext
14072 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14073 LIBS
=$ac_xsave_LIBS
14076 # Check for system-dependent libraries X programs must link with.
14077 # Do this before checking for the system-independent R6 libraries
14078 # (-lICE), since we may need -lsocket or whatever for X linking.
14080 if test "$ISC" = yes; then
14081 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14083 # Martyn Johnson says this is needed for Ultrix, if the X
14084 # libraries were built with DECnet support. And Karl Berry says
14085 # the Alpha needs dnet_stub (dnet does not exist).
14086 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14090 /* Override any GCC internal prototype to avoid an error.
14091 Use char because int might match the return type of a GCC
14092 builtin and then its argument prototype would still apply. */
14093 char XOpenDisplay ();
14097 return XOpenDisplay ();
14102 if ac_fn_c_try_link
"$LINENO"
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14107 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14108 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14110 printf %s
"(cached) " >&6
14112 ac_check_lib_save_LIBS
=$LIBS
14113 LIBS
="-ldnet $LIBS"
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14124 return dnet_ntoa ();
14129 if ac_fn_c_try_link
"$LINENO"
14131 ac_cv_lib_dnet_dnet_ntoa
=yes
14133 ac_cv_lib_dnet_dnet_ntoa
=no
14135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14136 conftest
$ac_exeext conftest.
$ac_ext
14137 LIBS
=$ac_check_lib_save_LIBS
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14140 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14141 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14146 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14148 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14149 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14151 printf %s
"(cached) " >&6
14153 ac_check_lib_save_LIBS
=$LIBS
14154 LIBS
="-ldnet_stub $LIBS"
14155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14158 /* Override any GCC internal prototype to avoid an error.
14159 Use char because int might match the return type of a GCC
14160 builtin and then its argument prototype would still apply. */
14165 return dnet_ntoa ();
14170 if ac_fn_c_try_link
"$LINENO"
14172 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14174 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14177 conftest
$ac_exeext conftest.
$ac_ext
14178 LIBS
=$ac_check_lib_save_LIBS
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14181 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14182 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14184 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14189 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14190 conftest
$ac_exeext conftest.
$ac_ext
14191 LIBS
="$ac_xsave_LIBS"
14193 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14194 # to get the SysV transport functions.
14195 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14197 # The nsl library prevents programs from opening the X display
14198 # on Irix 5.2, according to T.E. Dickey.
14199 # The functions gethostbyname, getservbyname, and inet_addr are
14200 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14201 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14202 if test "x$ac_cv_func_gethostbyname" = xyes
14207 if test $ac_cv_func_gethostbyname = no
; then
14208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14209 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14210 if test ${ac_cv_lib_nsl_gethostbyname+y}
14212 printf %s
"(cached) " >&6
14214 ac_check_lib_save_LIBS
=$LIBS
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 char gethostbyname ();
14226 return gethostbyname ();
14231 if ac_fn_c_try_link
"$LINENO"
14233 ac_cv_lib_nsl_gethostbyname
=yes
14235 ac_cv_lib_nsl_gethostbyname
=no
14237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14238 conftest
$ac_exeext conftest.
$ac_ext
14239 LIBS
=$ac_check_lib_save_LIBS
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14242 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14243 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14248 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14250 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14251 if test ${ac_cv_lib_bsd_gethostbyname+y}
14253 printf %s
"(cached) " >&6
14255 ac_check_lib_save_LIBS
=$LIBS
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char gethostbyname ();
14267 return gethostbyname ();
14272 if ac_fn_c_try_link
"$LINENO"
14274 ac_cv_lib_bsd_gethostbyname
=yes
14276 ac_cv_lib_bsd_gethostbyname
=no
14278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 LIBS
=$ac_check_lib_save_LIBS
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14283 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14284 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14292 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14293 # socket/setsockopt and other routines are undefined under SCO ODT
14294 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14295 # on later versions), says Simon Leinen: it contains gethostby*
14296 # variants that don't use the name server (or something). -lsocket
14297 # must be given before -lnsl if both are needed. We assume that
14298 # if connect needs -lnsl, so does gethostbyname.
14299 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14300 if test "x$ac_cv_func_connect" = xyes
14305 if test $ac_cv_func_connect = no
; then
14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14307 printf %s
"checking for connect in -lsocket... " >&6; }
14308 if test ${ac_cv_lib_socket_connect+y}
14310 printf %s
"(cached) " >&6
14312 ac_check_lib_save_LIBS
=$LIBS
14313 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14317 /* Override any GCC internal prototype to avoid an error.
14318 Use char because int might match the return type of a GCC
14319 builtin and then its argument prototype would still apply. */
14329 if ac_fn_c_try_link
"$LINENO"
14331 ac_cv_lib_socket_connect
=yes
14333 ac_cv_lib_socket_connect
=no
14335 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14336 conftest
$ac_exeext conftest.
$ac_ext
14337 LIBS
=$ac_check_lib_save_LIBS
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14340 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14341 if test "x$ac_cv_lib_socket_connect" = xyes
14343 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14348 # Guillermo Gomez says -lposix is necessary on A/UX.
14349 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14350 if test "x$ac_cv_func_remove" = xyes
14355 if test $ac_cv_func_remove = no
; then
14356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14357 printf %s
"checking for remove in -lposix... " >&6; }
14358 if test ${ac_cv_lib_posix_remove+y}
14360 printf %s
"(cached) " >&6
14362 ac_check_lib_save_LIBS
=$LIBS
14363 LIBS
="-lposix $LIBS"
14364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14379 if ac_fn_c_try_link
"$LINENO"
14381 ac_cv_lib_posix_remove
=yes
14383 ac_cv_lib_posix_remove
=no
14385 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14386 conftest
$ac_exeext conftest.
$ac_ext
14387 LIBS
=$ac_check_lib_save_LIBS
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14390 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14391 if test "x$ac_cv_lib_posix_remove" = xyes
14393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14398 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14399 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14400 if test "x$ac_cv_func_shmat" = xyes
14405 if test $ac_cv_func_shmat = no
; then
14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14407 printf %s
"checking for shmat in -lipc... " >&6; }
14408 if test ${ac_cv_lib_ipc_shmat+y}
14410 printf %s
"(cached) " >&6
14412 ac_check_lib_save_LIBS
=$LIBS
14414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14429 if ac_fn_c_try_link
"$LINENO"
14431 ac_cv_lib_ipc_shmat
=yes
14433 ac_cv_lib_ipc_shmat
=no
14435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14436 conftest
$ac_exeext conftest.
$ac_ext
14437 LIBS
=$ac_check_lib_save_LIBS
14439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14440 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14441 if test "x$ac_cv_lib_ipc_shmat" = xyes
14443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14449 # Check for libraries that X11R6 Xt/Xaw programs need.
14450 ac_save_LDFLAGS
=$LDFLAGS
14451 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14452 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14453 # check for ICE first), but we must link in the order -lSM -lICE or
14454 # we get undefined symbols. So assume we have SM if we have ICE.
14455 # These have to be linked with before -lX11, unlike the other
14456 # libraries we check for below, so use a different variable.
14457 # John Interrante, Karl Berry
14458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14459 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14460 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14462 printf %s
"(cached) " >&6
14464 ac_check_lib_save_LIBS
=$LIBS
14465 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14469 /* Override any GCC internal prototype to avoid an error.
14470 Use char because int might match the return type of a GCC
14471 builtin and then its argument prototype would still apply. */
14472 char IceConnectionNumber ();
14476 return IceConnectionNumber ();
14481 if ac_fn_c_try_link
"$LINENO"
14483 ac_cv_lib_ICE_IceConnectionNumber
=yes
14485 ac_cv_lib_ICE_IceConnectionNumber
=no
14487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14488 conftest
$ac_exeext conftest.
$ac_ext
14489 LIBS
=$ac_check_lib_save_LIBS
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14492 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14493 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14495 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14498 LDFLAGS
=$ac_save_LDFLAGS
14503 if test "$have_x" = "yes"
14505 ac_save_CPPFLAGS
="$CPPFLAGS"
14506 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14509 printf %s
"checking for -lX11... " >&6; }
14510 if test ${ac_cv_lib_soname_X11+y}
14512 printf %s
"(cached) " >&6
14514 ac_check_soname_save_LIBS
=$LIBS
14515 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 char XCreateWindow ();
14526 return XCreateWindow ();
14531 if ac_fn_c_try_link
"$LINENO"
14534 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14535 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'` ;;
14536 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14537 if ${ac_cv_lib_soname_X11:+false} :
14539 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14543 ac_cv_lib_soname_X11
=
14545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14546 conftest
$ac_exeext conftest.
$ac_ext
14547 LIBS
=$ac_check_soname_save_LIBS
14549 if ${ac_cv_lib_soname_X11:+false} :
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14552 printf "%s\n" "not found" >&6; }
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14556 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14558 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14563 printf %s
"checking for -lXext... " >&6; }
14564 if test ${ac_cv_lib_soname_Xext+y}
14566 printf %s
"(cached) " >&6
14568 ac_check_soname_save_LIBS
=$LIBS
14569 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 char XextCreateExtension ();
14580 return XextCreateExtension ();
14585 if ac_fn_c_try_link
"$LINENO"
14588 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14589 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'` ;;
14590 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14591 if ${ac_cv_lib_soname_Xext:+false} :
14593 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14597 ac_cv_lib_soname_Xext
=
14599 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14600 conftest
$ac_exeext conftest.
$ac_ext
14601 LIBS
=$ac_check_soname_save_LIBS
14603 if ${ac_cv_lib_soname_Xext:+false} :
14605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14606 printf "%s\n" "not found" >&6; }
14609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14610 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14612 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14614 X_LIBS
="$X_LIBS -lXext"
14616 X_LIBS
="$X_LIBS -lX11"
14618 xlib_includes
="#include <X11/Xlib.h>
14619 #include <X11/Xutil.h>"
14621 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14623 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14625 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14628 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14630 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14632 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14635 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14637 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14642 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14644 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14646 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14649 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14651 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14653 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14656 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14658 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14660 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14663 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14665 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14667 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14670 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14672 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14674 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14677 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14679 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14681 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14686 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14688 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14691 printf %s
"checking for -lXcursor... " >&6; }
14692 if test ${ac_cv_lib_soname_Xcursor+y}
14694 printf %s
"(cached) " >&6
14696 ac_check_soname_save_LIBS
=$LIBS
14697 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 char XcursorImageLoadCursor ();
14708 return XcursorImageLoadCursor ();
14713 if ac_fn_c_try_link
"$LINENO"
14716 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14717 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'` ;;
14718 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14719 if ${ac_cv_lib_soname_Xcursor:+false} :
14721 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14725 ac_cv_lib_soname_Xcursor
=
14727 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14728 conftest
$ac_exeext conftest.
$ac_ext
14729 LIBS
=$ac_check_soname_save_LIBS
14731 if ${ac_cv_lib_soname_Xcursor:+false} :
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14734 printf "%s\n" "not found" >&6; }
14737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14738 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14740 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14746 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14748 case "x$with_xcursor" in
14749 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14751 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14752 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14757 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14759 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14762 printf %s
"checking for -lXi... " >&6; }
14763 if test ${ac_cv_lib_soname_Xi+y}
14765 printf %s
"(cached) " >&6
14767 ac_check_soname_save_LIBS
=$LIBS
14768 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 char XOpenDevice ();
14779 return XOpenDevice ();
14784 if ac_fn_c_try_link
"$LINENO"
14787 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14788 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'` ;;
14789 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14790 if ${ac_cv_lib_soname_Xi:+false} :
14792 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14796 ac_cv_lib_soname_Xi
=
14798 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14799 conftest
$ac_exeext conftest.
$ac_ext
14800 LIBS
=$ac_check_soname_save_LIBS
14802 if ${ac_cv_lib_soname_Xi:+false} :
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14805 printf "%s\n" "not found" >&6; }
14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14809 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14811 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14817 if test "x$ac_cv_lib_soname_Xi" = "x"
14819 case "x$with_xinput" in
14820 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14822 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14823 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14828 if test "x$ac_cv_lib_soname_Xi" != x
14830 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14832 case "x$with_xinput2" in
14833 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14835 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14836 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14842 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14845 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14846 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14848 printf %s
"(cached) " >&6
14850 ac_check_lib_save_LIBS
=$LIBS
14851 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XShmQueryExtension ();
14862 return XShmQueryExtension ();
14867 if ac_fn_c_try_link
"$LINENO"
14869 ac_cv_lib_Xext_XShmQueryExtension
=yes
14871 ac_cv_lib_Xext_XShmQueryExtension
=no
14873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14874 conftest
$ac_exeext conftest.
$ac_ext
14875 LIBS
=$ac_check_lib_save_LIBS
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14878 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14879 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14882 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14887 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14889 case "x$with_xshm" in
14890 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14892 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14893 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14898 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14901 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14902 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14904 printf %s
"(cached) " >&6
14906 ac_check_lib_save_LIBS
=$LIBS
14907 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 char XShapeQueryExtension ();
14918 return XShapeQueryExtension ();
14923 if ac_fn_c_try_link
"$LINENO"
14925 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14927 ac_cv_lib_Xext_XShapeQueryExtension
=no
14929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14930 conftest
$ac_exeext conftest.
$ac_ext
14931 LIBS
=$ac_check_lib_save_LIBS
14933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14934 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14935 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14938 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14943 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14945 case "x$with_xshape" in
14946 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14948 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14949 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14954 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14957 printf %s
"checking for -lXxf86vm... " >&6; }
14958 if test ${ac_cv_lib_soname_Xxf86vm+y}
14960 printf %s
"(cached) " >&6
14962 ac_check_soname_save_LIBS
=$LIBS
14963 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14967 /* Override any GCC internal prototype to avoid an error.
14968 Use char because int might match the return type of a GCC
14969 builtin and then its argument prototype would still apply. */
14970 char XF86VidModeQueryExtension ();
14974 return XF86VidModeQueryExtension ();
14979 if ac_fn_c_try_link
"$LINENO"
14982 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14983 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'` ;;
14984 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14985 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14987 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14991 ac_cv_lib_soname_Xxf86vm
=
14993 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14994 conftest
$ac_exeext conftest.
$ac_ext
14995 LIBS
=$ac_check_soname_save_LIBS
14997 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15000 printf "%s\n" "not found" >&6; }
15003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15004 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15006 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15013 case "x$with_xxf86vm" in
15014 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15016 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15017 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15022 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15025 printf %s
"checking for -lXrender... " >&6; }
15026 if test ${ac_cv_lib_soname_Xrender+y}
15028 printf %s
"(cached) " >&6
15030 ac_check_soname_save_LIBS
=$LIBS
15031 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15038 char XRenderQueryExtension ();
15042 return XRenderQueryExtension ();
15047 if ac_fn_c_try_link
"$LINENO"
15050 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15051 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'` ;;
15052 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15053 if ${ac_cv_lib_soname_Xrender:+false} :
15055 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15059 ac_cv_lib_soname_Xrender
=
15061 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15062 conftest
$ac_exeext conftest.
$ac_ext
15063 LIBS
=$ac_check_soname_save_LIBS
15065 if ${ac_cv_lib_soname_Xrender:+false} :
15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15068 printf "%s\n" "not found" >&6; }
15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15072 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15074 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15077 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15078 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15080 printf %s
"(cached) " >&6
15082 ac_check_lib_save_LIBS
=$LIBS
15083 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15087 /* Override any GCC internal prototype to avoid an error.
15088 Use char because int might match the return type of a GCC
15089 builtin and then its argument prototype would still apply. */
15090 char XRenderSetPictureTransform ();
15094 return XRenderSetPictureTransform ();
15099 if ac_fn_c_try_link
"$LINENO"
15101 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15103 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 LIBS
=$ac_check_lib_save_LIBS
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15110 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15111 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15114 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15119 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15120 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15122 printf %s
"(cached) " >&6
15124 ac_check_lib_save_LIBS
=$LIBS
15125 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 char XRenderCreateLinearGradient ();
15136 return XRenderCreateLinearGradient ();
15141 if ac_fn_c_try_link
"$LINENO"
15143 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15145 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15147 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15148 conftest
$ac_exeext conftest.
$ac_ext
15149 LIBS
=$ac_check_lib_save_LIBS
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15152 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15153 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15156 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15163 if test "x$ac_cv_lib_soname_Xrender" = "x"
15165 case "x$with_xrender" in
15166 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15168 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15169 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15174 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #include <X11/Xlib.h>
15179 #include <X11/extensions/Xrandr.h>
15183 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15188 if ac_fn_c_try_compile
"$LINENO"
15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15191 printf %s
"checking for -lXrandr... " >&6; }
15192 if test ${ac_cv_lib_soname_Xrandr+y}
15194 printf %s
"(cached) " >&6
15196 ac_check_soname_save_LIBS
=$LIBS
15197 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 char XRRQueryExtension ();
15208 return XRRQueryExtension ();
15213 if ac_fn_c_try_link
"$LINENO"
15216 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15217 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'` ;;
15218 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15219 if ${ac_cv_lib_soname_Xrandr:+false} :
15221 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15225 ac_cv_lib_soname_Xrandr
=
15227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15228 conftest
$ac_exeext conftest.
$ac_ext
15229 LIBS
=$ac_check_soname_save_LIBS
15231 if ${ac_cv_lib_soname_Xrandr:+false} :
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15234 printf "%s\n" "not found" >&6; }
15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15238 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15240 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #include <X11/Xlib.h>
15245 #include <X11/extensions/Xrandr.h>
15249 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15254 if ac_fn_c_try_compile
"$LINENO"
15257 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15260 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15262 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15265 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15267 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15269 case "x$with_xrandr" in
15270 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15272 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15273 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15278 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 #include <X11/Xlib.h>
15283 #include <X11/extensions/Xfixes.h>
15287 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15292 if ac_fn_c_try_compile
"$LINENO"
15294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15295 printf %s
"checking for -lXfixes... " >&6; }
15296 if test ${ac_cv_lib_soname_Xfixes+y}
15298 printf %s
"(cached) " >&6
15300 ac_check_soname_save_LIBS
=$LIBS
15301 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15308 char XFixesQueryVersion ();
15312 return XFixesQueryVersion ();
15317 if ac_fn_c_try_link
"$LINENO"
15320 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15321 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'` ;;
15322 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15323 if ${ac_cv_lib_soname_Xfixes:+false} :
15325 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15329 ac_cv_lib_soname_Xfixes
=
15331 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15332 conftest
$ac_exeext conftest.
$ac_ext
15333 LIBS
=$ac_check_soname_save_LIBS
15335 if ${ac_cv_lib_soname_Xfixes:+false} :
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15338 printf "%s\n" "not found" >&6; }
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15342 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15344 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15349 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15351 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15353 case "x$with_xfixes" in
15354 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15356 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15357 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15362 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 #include <X11/Xlib.h>
15367 #include <X11/extensions/Xinerama.h>
15371 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15376 if ac_fn_c_try_compile
"$LINENO"
15378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15379 printf %s
"checking for -lXinerama... " >&6; }
15380 if test ${ac_cv_lib_soname_Xinerama+y}
15382 printf %s
"(cached) " >&6
15384 ac_check_soname_save_LIBS
=$LIBS
15385 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 char XineramaQueryScreens ();
15396 return XineramaQueryScreens ();
15401 if ac_fn_c_try_link
"$LINENO"
15404 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15405 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'` ;;
15406 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15407 if ${ac_cv_lib_soname_Xinerama:+false} :
15409 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15413 ac_cv_lib_soname_Xinerama
=
15415 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15416 conftest
$ac_exeext conftest.
$ac_ext
15417 LIBS
=$ac_check_soname_save_LIBS
15419 if ${ac_cv_lib_soname_Xinerama:+false} :
15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15422 printf "%s\n" "not found" >&6; }
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15426 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15428 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15433 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15435 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15437 case "x$with_xinerama" in
15438 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15440 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15441 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15446 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15448 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15451 printf %s
"checking for -lXcomposite... " >&6; }
15452 if test ${ac_cv_lib_soname_Xcomposite+y}
15454 printf %s
"(cached) " >&6
15456 ac_check_soname_save_LIBS
=$LIBS
15457 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15464 char XCompositeRedirectWindow ();
15468 return XCompositeRedirectWindow ();
15473 if ac_fn_c_try_link
"$LINENO"
15476 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_Xcomposite:+false} :
15481 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15485 ac_cv_lib_soname_Xcomposite
=
15487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15488 conftest
$ac_exeext conftest.
$ac_ext
15489 LIBS
=$ac_check_soname_save_LIBS
15491 if ${ac_cv_lib_soname_Xcomposite:+false} :
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15494 printf "%s\n" "not found" >&6; }
15497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15498 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15500 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15506 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15508 case "x$with_xcomposite" in
15509 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15511 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15512 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15517 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15519 if test "x$ac_cv_member_XICCallback_callback" = xyes
15522 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15526 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15528 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15531 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15539 if test "x$with_opengl" != "xno"
15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15542 printf %s
"checking for -lGL... " >&6; }
15543 if test ${ac_cv_lib_soname_GL+y}
15545 printf %s
"(cached) " >&6
15547 ac_check_soname_save_LIBS
=$LIBS
15548 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 char glXCreateContext ();
15559 return glXCreateContext ();
15564 if ac_fn_c_try_link
"$LINENO"
15567 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_GL:+false} :
15572 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15576 ac_cv_lib_soname_GL
=
15578 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15579 conftest
$ac_exeext conftest.
$ac_ext
15580 LIBS
=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_GL:+false} :
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15585 printf "%s\n" "not found" >&6; }
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15587 printf %s
"checking for -lGL... " >&6; }
15588 if test ${ac_cv_lib_soname_GL+y}
15590 printf %s
"(cached) " >&6
15592 ac_check_soname_save_LIBS
=$LIBS
15593 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"
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char glXCreateContext ();
15604 return glXCreateContext ();
15609 if ac_fn_c_try_link
"$LINENO"
15612 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_GL:+false} :
15617 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 ac_cv_lib_soname_GL
=
15623 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15624 conftest
$ac_exeext conftest.
$ac_ext
15625 LIBS
=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_GL:+false} :
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 printf "%s\n" "not found" >&6; }
15631 if test -f /usr
/X11R
6/lib
/libGL.a
15633 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15634 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15636 opengl_msg
="No OpenGL library found on this system."
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15640 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15642 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15644 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"
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15648 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15650 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15654 if test "x$with_osmesa" != "xno"
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15657 printf %s
"checking for -lOSMesa... " >&6; }
15658 if test ${ac_cv_lib_soname_OSMesa+y}
15660 printf %s
"(cached) " >&6
15662 ac_check_soname_save_LIBS
=$LIBS
15663 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char OSMesaGetProcAddress ();
15674 return OSMesaGetProcAddress ();
15679 if ac_fn_c_try_link
"$LINENO"
15682 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15683 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'` ;;
15684 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15685 if ${ac_cv_lib_soname_OSMesa:+false} :
15687 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15691 ac_cv_lib_soname_OSMesa
=
15693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15694 conftest
$ac_exeext conftest.
$ac_ext
15695 LIBS
=$ac_check_soname_save_LIBS
15697 if ${ac_cv_lib_soname_OSMesa:+false} :
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 printf "%s\n" "not found" >&6; }
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15704 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15706 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15710 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15712 case "x$with_osmesa" in
15713 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15715 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15716 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15722 if test -n "$opengl_msg"
15724 case "x$with_opengl" in
15725 x
) as_fn_append wine_warnings
"|$opengl_msg
15726 OpenGL and Direct3D won't be supported." ;;
15728 *) as_fn_error $?
"$opengl_msg
15729 OpenGL and Direct3D won't be supported.
15730 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15735 CPPFLAGS
="$ac_save_CPPFLAGS"
15741 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15743 if test "x$X_LIBS" = "x"
15747 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15748 without X support, which probably isn't what you want. You will need
15749 to install ${notice_platform}development packages of Xlib at the very least.
15750 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15752 enable_winex11_drv
=${enable_winex11_drv:-no}
15755 if test "x$X_LIBS" = "x"
15758 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15760 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15761 This is an error since --with-x was requested." "$LINENO" 5 ;;
15763 enable_winex11_drv
=${enable_winex11_drv:-no}
15767 if test "x$with_wayland" != "xno"
15770 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15772 if test ${PKG_CONFIG+y}
15774 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15778 if ${WAYLAND_CLIENT_LIBS:+false} :
15780 if test ${PKG_CONFIG+y}
15782 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15789 if test -s conftest.err
; then
15790 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15791 cat conftest.err
>&5
15794 ac_save_CPPFLAGS
=$CPPFLAGS
15795 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15796 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15797 if test "x$ac_cv_header_wayland_client_h" = xyes
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15800 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15801 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15803 printf %s
"(cached) " >&6
15805 ac_check_lib_save_LIBS
=$LIBS
15806 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 char wl_display_connect ();
15817 return wl_display_connect ();
15822 if ac_fn_c_try_link
"$LINENO"
15824 ac_cv_lib_wayland_client_wl_display_connect
=yes
15826 ac_cv_lib_wayland_client_wl_display_connect
=no
15828 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15829 conftest
$ac_exeext conftest.
$ac_ext
15830 LIBS
=$ac_check_lib_save_LIBS
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15833 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15834 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15836 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15837 set dummy wayland-scanner
; ac_word
=$2
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 printf %s
"checking for $ac_word... " >&6; }
15840 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15842 printf %s
"(cached) " >&6
15844 case $WAYLAND_SCANNER in
15846 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15850 for as_dir
in $PATH
15853 case $as_dir in #(((
15856 *) as_dir
=$as_dir/ ;;
15858 for ac_exec_ext
in '' $ac_executable_extensions; do
15859 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15860 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15868 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`"
15872 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15873 if test -n "$WAYLAND_SCANNER"; then
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15875 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15878 printf "%s\n" "no" >&6; }
15883 WAYLAND_CLIENT_LIBS
=""
15888 CPPFLAGS
=$ac_save_CPPFLAGS
15891 if ${XKBCOMMON_CFLAGS:+false} :
15893 if test ${PKG_CONFIG+y}
15895 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
15899 if ${XKBCOMMON_LIBS:+false} :
15901 if test ${PKG_CONFIG+y}
15903 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
15908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
15909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
15910 if test -s conftest.err
; then
15911 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
15912 cat conftest.err
>&5
15915 ac_save_CPPFLAGS
=$CPPFLAGS
15916 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
15917 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
15918 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
15920 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
15925 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
15926 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
15928 printf %s
"(cached) " >&6
15930 ac_check_lib_save_LIBS
=$LIBS
15931 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 char xkb_context_new ();
15942 return xkb_context_new ();
15947 if ac_fn_c_try_link
"$LINENO"
15949 ac_cv_lib_xkbcommon_xkb_context_new
=yes
15951 ac_cv_lib_xkbcommon_xkb_context_new
=no
15953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15954 conftest
$ac_exeext conftest.
$ac_ext
15955 LIBS
=$ac_check_lib_save_LIBS
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
15958 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
15959 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
15966 CPPFLAGS
=$ac_save_CPPFLAGS
15969 if ${XKBREGISTRY_CFLAGS:+false} :
15971 if test ${PKG_CONFIG+y}
15973 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
15977 if ${XKBREGISTRY_LIBS:+false} :
15979 if test ${PKG_CONFIG+y}
15981 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
15986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
15987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
15988 if test -s conftest.err
; then
15989 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
15990 cat conftest.err
>&5
15993 ac_save_CPPFLAGS
=$CPPFLAGS
15994 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
15995 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
15996 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
15998 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16003 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16004 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16006 printf %s
"(cached) " >&6
16008 ac_check_lib_save_LIBS
=$LIBS
16009 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 char rxkb_context_new ();
16020 return rxkb_context_new ();
16025 if ac_fn_c_try_link
"$LINENO"
16027 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16029 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16031 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16032 conftest
$ac_exeext conftest.
$ac_ext
16033 LIBS
=$ac_check_lib_save_LIBS
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16036 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16037 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16041 XKBREGISTRY_LIBS
=""
16044 CPPFLAGS
=$ac_save_CPPFLAGS
16047 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"
16049 case "x$with_wayland" in
16050 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16052 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16053 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16055 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16058 if test "$ac_cv_header_CL_cl_h" = "yes"
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16061 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16062 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16064 printf %s
"(cached) " >&6
16066 ac_check_lib_save_LIBS
=$LIBS
16067 LIBS
="-lOpenCL $LIBS"
16068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 char clGetPlatformInfo ();
16078 return clGetPlatformInfo ();
16083 if ac_fn_c_try_link
"$LINENO"
16085 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16087 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16089 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16090 conftest
$ac_exeext conftest.
$ac_ext
16091 LIBS
=$ac_check_lib_save_LIBS
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16094 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16095 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16097 OPENCL_LIBS
="-lOpenCL"
16102 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16104 case "x$with_opencl" in
16105 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16107 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16108 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16110 enable_opencl
=${enable_opencl:-no}
16113 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16116 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16117 if test ${ac_cv_lib_pcap_pcap_init+y}
16119 printf %s
"(cached) " >&6
16121 ac_check_lib_save_LIBS
=$LIBS
16122 LIBS
="-lpcap $LIBS"
16123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16133 return pcap_init ();
16138 if ac_fn_c_try_link
"$LINENO"
16140 ac_cv_lib_pcap_pcap_init
=yes
16142 ac_cv_lib_pcap_pcap_init
=no
16144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16145 conftest
$ac_exeext conftest.
$ac_ext
16146 LIBS
=$ac_check_lib_save_LIBS
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16149 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16150 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16157 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16159 case "x$with_pcap" in
16160 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16162 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16163 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16165 enable_wpcap
=${enable_wpcap:-no}
16168 if test "x$with_pcsclite" != "xno"
16170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16171 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16172 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16174 printf %s
"(cached) " >&6
16176 ac_check_lib_save_LIBS
=$LIBS
16177 LIBS
="-lpcsclite $LIBS"
16178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16179 /* end confdefs.h. */
16181 /* Override any GCC internal prototype to avoid an error.
16182 Use char because int might match the return type of a GCC
16183 builtin and then its argument prototype would still apply. */
16184 char SCardEstablishContext ();
16188 return SCardEstablishContext ();
16193 if ac_fn_c_try_link
"$LINENO"
16195 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16197 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16199 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16200 conftest
$ac_exeext conftest.
$ac_ext
16201 LIBS
=$ac_check_lib_save_LIBS
16203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16204 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16205 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16207 PCSCLITE_LIBS
="-lpcsclite"
16211 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16217 if test "x$PCSCLITE_LIBS" = x
16219 case "x$with_pcsclite" in
16220 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16222 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16223 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16225 enable_winscard
=${enable_winscard:-no}
16228 if test "x$with_inotify" != "xno"
16231 if ${INOTIFY_CFLAGS:+false} :
16233 if test ${PKG_CONFIG+y}
16235 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16239 if ${INOTIFY_LIBS:+false} :
16241 if test ${PKG_CONFIG+y}
16243 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16250 if test -s conftest.err
; then
16251 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16252 cat conftest.err
>&5
16255 ac_save_CPPFLAGS
=$CPPFLAGS
16256 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16257 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16258 if test "x$ac_cv_header_sys_inotify_h" = xyes
16260 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16265 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16266 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16268 printf %s
"(cached) " >&6
16270 ac_check_lib_save_LIBS
=$LIBS
16271 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16273 /* end confdefs.h. */
16275 /* Override any GCC internal prototype to avoid an error.
16276 Use char because int might match the return type of a GCC
16277 builtin and then its argument prototype would still apply. */
16278 char inotify_add_watch ();
16282 return inotify_add_watch ();
16287 if ac_fn_c_try_link
"$LINENO"
16289 ac_cv_lib_inotify_inotify_add_watch
=yes
16291 ac_cv_lib_inotify_inotify_add_watch
=no
16293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16294 conftest
$ac_exeext conftest.
$ac_ext
16295 LIBS
=$ac_check_lib_save_LIBS
16297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16298 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16299 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16306 CPPFLAGS
=$ac_save_CPPFLAGS
16309 if test "$ac_cv_header_sys_inotify_h" != "yes"
16311 case "x$with_inotify" in
16312 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16314 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16315 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16320 if test "x$with_dbus" != "xno"
16323 if ${DBUS_CFLAGS:+false} :
16325 if test ${PKG_CONFIG+y}
16327 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16331 if ${DBUS_LIBS:+false} :
16333 if test ${PKG_CONFIG+y}
16335 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16342 if test -s conftest.err
; then
16343 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16344 cat conftest.err
>&5
16347 ac_save_CPPFLAGS
=$CPPFLAGS
16348 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16349 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16350 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16353 printf %s
"checking for -ldbus-1... " >&6; }
16354 if test ${ac_cv_lib_soname_dbus_1+y}
16356 printf %s
"(cached) " >&6
16358 ac_check_soname_save_LIBS
=$LIBS
16359 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16363 /* Override any GCC internal prototype to avoid an error.
16364 Use char because int might match the return type of a GCC
16365 builtin and then its argument prototype would still apply. */
16366 char dbus_connection_close ();
16370 return dbus_connection_close ();
16375 if ac_fn_c_try_link
"$LINENO"
16378 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16379 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'` ;;
16380 *) 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'`
16381 if ${ac_cv_lib_soname_dbus_1:+false} :
16383 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16387 ac_cv_lib_soname_dbus_1
=
16389 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16390 conftest
$ac_exeext conftest.
$ac_ext
16391 LIBS
=$ac_check_soname_save_LIBS
16393 if ${ac_cv_lib_soname_dbus_1:+false} :
16395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16396 printf "%s\n" "not found" >&6; }
16399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16400 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16402 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16410 CPPFLAGS
=$ac_save_CPPFLAGS
16414 darwin
*|macosx
*) ;;
16415 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16417 case "x$with_dbus" in
16418 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16420 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16421 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16427 if test "x$with_gnutls" != "xno"
16430 if ${GNUTLS_CFLAGS:+false} :
16432 if test ${PKG_CONFIG+y}
16434 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16438 if ${GNUTLS_LIBS:+false} :
16440 if test ${PKG_CONFIG+y}
16442 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16446 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16449 if test -s conftest.err
; then
16450 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16451 cat conftest.err
>&5
16454 ac_save_CPPFLAGS
=$CPPFLAGS
16455 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16456 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16457 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #include <gnutls/gnutls.h>
16462 #include <gnutls/crypto.h>
16466 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16471 if ac_fn_c_try_compile
"$LINENO"
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16474 printf %s
"checking for -lgnutls... " >&6; }
16475 if test ${ac_cv_lib_soname_gnutls+y}
16477 printf %s
"(cached) " >&6
16479 ac_check_soname_save_LIBS
=$LIBS
16480 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16487 char gnutls_global_init ();
16491 return gnutls_global_init ();
16496 if ac_fn_c_try_link
"$LINENO"
16499 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16500 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'` ;;
16501 *) 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'`
16502 if ${ac_cv_lib_soname_gnutls:+false} :
16504 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'`
16508 ac_cv_lib_soname_gnutls
=
16510 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16511 conftest
$ac_exeext conftest.
$ac_ext
16512 LIBS
=$ac_check_soname_save_LIBS
16514 if ${ac_cv_lib_soname_gnutls:+false} :
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16517 printf "%s\n" "not found" >&6; }
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16521 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16523 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16527 ac_wine_check_funcs_save_LIBS
="$LIBS"
16528 LIBS
="$LIBS $GNUTLS_LIBS"
16530 for ac_func
in gnutls_cipher_init
16532 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16533 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16535 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16538 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16542 LIBS
="$ac_wine_check_funcs_save_LIBS"
16544 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16549 CPPFLAGS
=$ac_save_CPPFLAGS
16552 if test "x$ac_cv_lib_soname_gnutls" = "x"
16554 case "x$with_gnutls" in
16555 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16557 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16558 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16563 if test "x$with_sane" != "xno"
16566 if ${SANE_CFLAGS:+false} :
16568 if test ${PKG_CONFIG+y}
16570 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16573 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16574 if ${SANE_LIBS:+false} :
16576 if test ${PKG_CONFIG+y}
16578 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16581 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16585 if test -s conftest.err
; then
16586 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16587 cat conftest.err
>&5
16590 ac_save_CPPFLAGS
=$CPPFLAGS
16591 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16592 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16593 if test "x$ac_cv_header_sane_sane_h" = xyes
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16596 printf %s
"checking for sane_init in -lsane... " >&6; }
16597 if test ${ac_cv_lib_sane_sane_init+y}
16599 printf %s
"(cached) " >&6
16601 ac_check_lib_save_LIBS
=$LIBS
16602 LIBS
="-lsane $SANE_LIBS $LIBS"
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16613 return sane_init ();
16618 if ac_fn_c_try_link
"$LINENO"
16620 ac_cv_lib_sane_sane_init
=yes
16622 ac_cv_lib_sane_sane_init
=no
16624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16625 conftest
$ac_exeext conftest.
$ac_ext
16626 LIBS
=$ac_check_lib_save_LIBS
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16629 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16630 if test "x$ac_cv_lib_sane_sane_init" = xyes
16637 CPPFLAGS
=$ac_save_CPPFLAGS
16640 if test "$ac_cv_lib_sane_sane_init" != "yes"
16642 case "x$with_sane" in
16643 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16645 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16646 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16648 enable_sane_ds
=${enable_sane_ds:-no}
16651 if test "x$with_usb" != "xno"
16654 if ${USB_CFLAGS:+false} :
16656 if test ${PKG_CONFIG+y}
16658 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16662 if ${USB_LIBS:+false} :
16664 if test ${PKG_CONFIG+y}
16666 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16670 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16673 if test -s conftest.err
; then
16674 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16675 cat conftest.err
>&5
16678 ac_save_CPPFLAGS
=$CPPFLAGS
16679 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16680 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16681 if test "x$ac_cv_header_libusb_h" = xyes
16683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16684 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16685 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16687 printf %s
"(cached) " >&6
16689 ac_check_lib_save_LIBS
=$LIBS
16690 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16694 /* Override any GCC internal prototype to avoid an error.
16695 Use char because int might match the return type of a GCC
16696 builtin and then its argument prototype would still apply. */
16697 char libusb_interrupt_event_handler ();
16701 return libusb_interrupt_event_handler ();
16706 if ac_fn_c_try_link
"$LINENO"
16708 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16710 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16713 conftest
$ac_exeext conftest.
$ac_ext
16714 LIBS
=$ac_check_lib_save_LIBS
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16717 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16718 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16729 CPPFLAGS
=$ac_save_CPPFLAGS
16732 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16734 case "x$with_usb" in
16735 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16737 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16738 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16740 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16743 if test "x$with_v4l2" != "xno"
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16746 printf %s
"checking for -lv4l2... " >&6; }
16747 if test ${ac_cv_lib_soname_v4l2+y}
16749 printf %s
"(cached) " >&6
16751 ac_check_soname_save_LIBS
=$LIBS
16752 LIBS
="-lv4l2 $LIBS"
16753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 /* Override any GCC internal prototype to avoid an error.
16757 Use char because int might match the return type of a GCC
16758 builtin and then its argument prototype would still apply. */
16763 return v4l2_open ();
16768 if ac_fn_c_try_link
"$LINENO"
16771 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16772 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'` ;;
16773 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16774 if ${ac_cv_lib_soname_v4l2:+false} :
16776 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16780 ac_cv_lib_soname_v4l2
=
16782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16783 conftest
$ac_exeext conftest.
$ac_ext
16784 LIBS
=$ac_check_soname_save_LIBS
16786 if ${ac_cv_lib_soname_v4l2:+false} :
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16789 printf "%s\n" "not found" >&6; }
16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16793 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16795 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16800 if test "x$ac_cv_lib_soname_v4l2" = "x"
16802 case "x$with_v4l2" in
16803 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16805 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16806 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16811 if test "x$with_gphoto" != "xno"
16814 if ${GPHOTO2_CFLAGS:+false} :
16816 if test ${PKG_CONFIG+y}
16818 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16821 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16822 if ${GPHOTO2_LIBS:+false} :
16824 if test ${PKG_CONFIG+y}
16826 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16829 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16830 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16833 if test -s conftest.err
; then
16834 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16835 cat conftest.err
>&5
16838 ac_save_CPPFLAGS
=$CPPFLAGS
16839 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16840 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16841 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16844 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16845 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16847 printf %s
"(cached) " >&6
16849 ac_check_lib_save_LIBS
=$LIBS
16850 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16852 /* end confdefs.h. */
16854 /* Override any GCC internal prototype to avoid an error.
16855 Use char because int might match the return type of a GCC
16856 builtin and then its argument prototype would still apply. */
16857 char gp_camera_new ();
16861 return gp_camera_new ();
16866 if ac_fn_c_try_link
"$LINENO"
16868 ac_cv_lib_gphoto2_gp_camera_new
=yes
16870 ac_cv_lib_gphoto2_gp_camera_new
=no
16872 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16873 conftest
$ac_exeext conftest.
$ac_ext
16874 LIBS
=$ac_check_lib_save_LIBS
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16877 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16878 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16885 CPPFLAGS
=$ac_save_CPPFLAGS
16888 if ${GPHOTO2_PORT_CFLAGS:+false} :
16890 if test ${PKG_CONFIG+y}
16892 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16895 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16896 if ${GPHOTO2_PORT_LIBS:+false} :
16898 if test ${PKG_CONFIG+y}
16900 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16903 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16904 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16907 if test -s conftest.err
; then
16908 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16909 cat conftest.err
>&5
16912 ac_save_CPPFLAGS
=$CPPFLAGS
16913 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16914 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16915 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16918 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16919 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16921 printf %s
"(cached) " >&6
16923 ac_check_lib_save_LIBS
=$LIBS
16924 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 char gp_port_info_list_new ();
16935 return gp_port_info_list_new ();
16940 if ac_fn_c_try_link
"$LINENO"
16942 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16944 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16946 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16947 conftest
$ac_exeext conftest.
$ac_ext
16948 LIBS
=$ac_check_lib_save_LIBS
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16951 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16952 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16955 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16958 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16962 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16965 CPPFLAGS
=$ac_save_CPPFLAGS
16968 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16970 case "x$with_gphoto" in
16971 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16973 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16974 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16976 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16978 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16980 case "x$with_gphoto" in
16981 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16983 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16984 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16990 if test "$ac_cv_header_resolv_h" = "yes"
16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16993 printf %s
"checking for resolver library... " >&6; }
16994 if test ${ac_cv_have_resolv+y}
16996 printf %s
"(cached) " >&6
16998 ac_save_LIBS
="$LIBS"
16999 for lib
in '' -lresolv
17001 LIBS
="$lib $ac_save_LIBS"
17002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #ifdef HAVE_NETINET_IN_H
17005 #include <netinet/in.h>
17007 #include <resolv.h>
17011 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17016 if ac_fn_c_try_link
"$LINENO"
17018 ac_cv_have_resolv
=${lib:-"none required"}
17020 ac_cv_have_resolv
="not found"
17022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17023 conftest
$ac_exeext conftest.
$ac_ext
17024 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17026 LIBS
="$ac_save_LIBS"
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17029 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17031 case "$ac_cv_have_resolv" in
17035 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17038 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17040 RESOLV_LIBS
=$ac_cv_have_resolv
17044 if test "x$ac_cv_have_resolv" != "xnot found"
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17047 printf %s
"checking for res_getservers... " >&6; }
17048 if test ${ac_cv_have_res_getservers+y}
17050 printf %s
"(cached) " >&6
17052 ac_save_LIBS
="$LIBS"
17053 LIBS
="$RESOLV_LIBS $LIBS"
17054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <resolv.h>
17060 res_getservers(NULL, NULL, 0);
17065 if ac_fn_c_try_link
"$LINENO"
17067 ac_cv_have_res_getservers
=yes
17069 ac_cv_have_res_getservers
=no
17071 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17072 conftest
$ac_exeext conftest.
$ac_ext
17073 LIBS
="$ac_save_LIBS"
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17076 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17077 if test "$ac_cv_have_res_getservers" = "yes"
17080 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17086 if test "x$with_freetype" != "xno"
17089 if ${FREETYPE_CFLAGS:+false} :
17091 if test ${PKG_CONFIG+y}
17093 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17096 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17097 if ${FREETYPE_LIBS:+false} :
17099 if test ${PKG_CONFIG+y}
17101 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17104 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17105 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17108 if test -s conftest.err
; then
17109 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17110 cat conftest.err
>&5
17113 ac_save_CPPFLAGS
=$CPPFLAGS
17114 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17115 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17116 if test "x$ac_cv_header_ft2build_h" = xyes
17118 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17122 if test "$ac_cv_header_ft2build_h" = "yes"
17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17125 printf %s
"checking for -lfreetype... " >&6; }
17126 if test ${ac_cv_lib_soname_freetype+y}
17128 printf %s
"(cached) " >&6
17130 ac_check_soname_save_LIBS
=$LIBS
17131 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17135 /* Override any GCC internal prototype to avoid an error.
17136 Use char because int might match the return type of a GCC
17137 builtin and then its argument prototype would still apply. */
17138 char FT_Init_FreeType ();
17142 return FT_Init_FreeType ();
17147 if ac_fn_c_try_link
"$LINENO"
17150 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17151 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'` ;;
17152 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17153 if ${ac_cv_lib_soname_freetype:+false} :
17155 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17159 ac_cv_lib_soname_freetype
=
17161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17162 conftest
$ac_exeext conftest.
$ac_ext
17163 LIBS
=$ac_check_soname_save_LIBS
17165 if ${ac_cv_lib_soname_freetype:+false} :
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17168 printf "%s\n" "not found" >&6; }
17171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17172 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17174 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17177 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17179 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17180 #include FT_MODULE_H
17182 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17185 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17195 CPPFLAGS
=$ac_save_CPPFLAGS
17198 if test "x$ac_cv_lib_soname_freetype" = x
17200 case "x$with_freetype" in
17202 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17203 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17205 enable_fonts
=${enable_fonts:-no}
17208 ac_wine_check_funcs_save_LIBS
="$LIBS"
17209 LIBS
="$LIBS $PTHREAD_LIBS"
17210 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17211 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17213 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17217 LIBS
="$ac_wine_check_funcs_save_LIBS"
17219 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17221 if test "$ac_cv_header_gettext_po_h" = "yes"
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17224 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17225 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17227 printf %s
"(cached) " >&6
17229 ac_check_lib_save_LIBS
=$LIBS
17230 LIBS
="-lgettextpo $LIBS"
17231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 /* Override any GCC internal prototype to avoid an error.
17235 Use char because int might match the return type of a GCC
17236 builtin and then its argument prototype would still apply. */
17237 char po_message_msgctxt ();
17241 return po_message_msgctxt ();
17246 if ac_fn_c_try_link
"$LINENO"
17248 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17250 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17252 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17253 conftest
$ac_exeext conftest.
$ac_ext
17254 LIBS
=$ac_check_lib_save_LIBS
17256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17257 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17258 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17261 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17263 GETTEXTPO_LIBS
="-lgettextpo"
17268 if test "x$GETTEXTPO_LIBS" = "x"
17270 case "x$with_gettextpo" in
17271 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17273 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17274 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17278 if test "$srcdir" != .
17280 case "x$with_gettextpo" in
17281 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17283 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17284 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17290 if test "x$with_pulse" != "xno";
17293 if ${PULSE_CFLAGS:+false} :
17295 if test ${PKG_CONFIG+y}
17297 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17301 if ${PULSE_LIBS:+false} :
17303 if test ${PKG_CONFIG+y}
17305 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17312 if test -s conftest.err
; then
17313 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17314 cat conftest.err
>&5
17317 ac_save_CPPFLAGS
=$CPPFLAGS
17318 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17319 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17320 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17323 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17324 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17326 printf %s
"(cached) " >&6
17328 ac_check_lib_save_LIBS
=$LIBS
17329 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17336 char pa_stream_is_corked ();
17340 return pa_stream_is_corked ();
17345 if ac_fn_c_try_link
"$LINENO"
17347 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17349 ac_cv_lib_pulse_pa_stream_is_corked
=no
17351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17352 conftest
$ac_exeext conftest.
$ac_ext
17353 LIBS
=$ac_check_lib_save_LIBS
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17356 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17357 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17368 CPPFLAGS
=$ac_save_CPPFLAGS
17371 if test -z "$PULSE_LIBS"
17373 case "x$with_pulse" in
17374 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17376 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17377 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17379 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17382 if test "x$with_gstreamer" != "xno"
17385 if ${GSTREAMER_CFLAGS:+false} :
17387 if test ${PKG_CONFIG+y}
17389 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17393 if ${GSTREAMER_LIBS:+false} :
17395 if test ${PKG_CONFIG+y}
17397 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17402 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
17403 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
17404 if test -s conftest.err
; then
17405 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17406 cat conftest.err
>&5
17409 ac_save_CPPFLAGS
=$CPPFLAGS
17410 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17411 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17412 if test "x$ac_cv_header_gst_gst_h" = xyes
17414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17415 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #include <gst/gst.h>
17422 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17427 if ac_fn_c_try_compile
"$LINENO"
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17430 printf "%s\n" "yes" >&6; }
17431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17432 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17433 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17435 printf %s
"(cached) " >&6
17437 ac_check_lib_save_LIBS
=$LIBS
17438 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17442 /* Override any GCC internal prototype to avoid an error.
17443 Use char because int might match the return type of a GCC
17444 builtin and then its argument prototype would still apply. */
17445 char gst_pad_new ();
17449 return gst_pad_new ();
17454 if ac_fn_c_try_link
"$LINENO"
17456 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17458 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17461 conftest
$ac_exeext conftest.
$ac_ext
17462 LIBS
=$ac_check_lib_save_LIBS
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17465 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17466 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17473 printf "%s\n" "no" >&6; }
17474 ac_glib2_broken
=yes
17475 enable_winegstreamer
=${enable_winegstreamer:-no}
17476 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17478 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17481 CPPFLAGS
=$ac_save_CPPFLAGS
17484 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17486 case "x$with_gstreamer" in
17487 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17489 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17490 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17492 enable_winegstreamer
=${enable_winegstreamer:-no}
17497 if test "x$with_alsa" != "xno"
17499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17500 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17501 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17503 printf %s
"(cached) " >&6
17505 ac_check_lib_save_LIBS
=$LIBS
17506 LIBS
="-lasound $LIBS"
17507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17510 /* Override any GCC internal prototype to avoid an error.
17511 Use char because int might match the return type of a GCC
17512 builtin and then its argument prototype would still apply. */
17513 char snd_pcm_hw_params_get_access_mask ();
17517 return snd_pcm_hw_params_get_access_mask ();
17522 if ac_fn_c_try_link
"$LINENO"
17524 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17526 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17529 conftest
$ac_exeext conftest.
$ac_ext
17530 LIBS
=$ac_check_lib_save_LIBS
17532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17533 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17534 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <alsa/asoundlib.h>
17542 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17547 if ac_fn_c_try_compile
"$LINENO"
17549 ALSA_LIBS
="-lasound"
17551 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17555 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17557 if test "x$with_oss" != xno
17559 ac_save_CPPFLAGS
="$CPPFLAGS"
17560 if test -f /etc
/oss.conf
17564 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17565 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17566 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17567 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17569 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17571 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17574 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17576 OSS4_CFLAGS
="$ac_oss_incl"
17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17579 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17580 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17582 printf %s
"(cached) " >&6
17584 ac_check_lib_save_LIBS
=$LIBS
17585 LIBS
="-lossaudio $LIBS"
17586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 /* Override any GCC internal prototype to avoid an error.
17590 Use char because int might match the return type of a GCC
17591 builtin and then its argument prototype would still apply. */
17592 char _oss_ioctl ();
17596 return _oss_ioctl ();
17601 if ac_fn_c_try_link
"$LINENO"
17603 ac_cv_lib_ossaudio__oss_ioctl
=yes
17605 ac_cv_lib_ossaudio__oss_ioctl
=no
17607 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17608 conftest
$ac_exeext conftest.
$ac_ext
17609 LIBS
=$ac_check_lib_save_LIBS
17611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17612 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17613 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17615 OSS4_LIBS
="-lossaudio"
17623 CPPFLAGS
="$ac_save_CPPFLAGS"
17625 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17627 case "x$with_oss" in
17628 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17630 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17631 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17633 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17636 if test "x$with_udev" != "xno"
17639 if ${UDEV_CFLAGS:+false} :
17641 if test ${PKG_CONFIG+y}
17643 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17647 if ${UDEV_LIBS:+false} :
17649 if test ${PKG_CONFIG+y}
17651 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17655 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17658 if test -s conftest.err
; then
17659 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17660 cat conftest.err
>&5
17663 ac_save_CPPFLAGS
=$CPPFLAGS
17664 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17665 for ac_header
in libudev.h
17667 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17668 if test "x$ac_cv_header_libudev_h" = xyes
17670 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17672 printf %s
"checking for udev_new in -ludev... " >&6; }
17673 if test ${ac_cv_lib_udev_udev_new+y}
17675 printf %s
"(cached) " >&6
17677 ac_check_lib_save_LIBS
=$LIBS
17678 LIBS
="-ludev $UDEV_LIBS $LIBS"
17679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 /* Override any GCC internal prototype to avoid an error.
17683 Use char because int might match the return type of a GCC
17684 builtin and then its argument prototype would still apply. */
17689 return udev_new ();
17694 if ac_fn_c_try_link
"$LINENO"
17696 ac_cv_lib_udev_udev_new
=yes
17698 ac_cv_lib_udev_udev_new
=no
17700 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17701 conftest
$ac_exeext conftest.
$ac_ext
17702 LIBS
=$ac_check_lib_save_LIBS
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17705 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17706 if test "x$ac_cv_lib_udev_udev_new" = xyes
17709 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17720 CPPFLAGS
=$ac_save_CPPFLAGS
17723 if test "x$UDEV_LIBS" = "x"
17725 case "x$with_udev" in
17726 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17728 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17729 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17734 if test "x$with_unwind" != xno
17737 if ${UNWIND_CFLAGS:+false} :
17739 if test ${PKG_CONFIG+y}
17741 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17745 if ${UNWIND_LIBS:+false} :
17747 if test ${PKG_CONFIG+y}
17749 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17753 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17756 if test -s conftest.err
; then
17757 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17758 cat conftest.err
>&5
17761 ac_save_CPPFLAGS
=$CPPFLAGS
17762 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17764 printf %s
"checking for unw_step... " >&6; }
17765 if test ${wine_cv_have_unw_step+y}
17767 printf %s
"(cached) " >&6
17769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #define UNW_LOCAL_ONLY
17772 #include <libunwind.h>
17776 unw_cursor_t cursor; unw_step( &cursor );
17781 if ac_fn_c_try_link
"$LINENO"
17783 wine_cv_have_unw_step
="yes"
17785 wine_cv_have_unw_step
="no"
17787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17788 conftest
$ac_exeext conftest.
$ac_ext
17790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17791 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17792 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17795 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17796 LIBS
="$UNWIND_LIBS $LIBS"
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17798 printf %s
"checking for unw_step in libunwind... " >&6; }
17799 if test ${wine_cv_have_libunwind_unw_step+y}
17801 printf %s
"(cached) " >&6
17803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #define UNW_LOCAL_ONLY
17806 #include <libunwind.h>
17810 unw_cursor_t cursor; unw_step( &cursor );
17815 if ac_fn_c_try_link
"$LINENO"
17817 wine_cv_have_libunwind_unw_step
="yes"
17819 wine_cv_have_libunwind_unw_step
="no"
17821 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17822 conftest
$ac_exeext conftest.
$ac_ext
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17825 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17828 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17829 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17832 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17835 CPPFLAGS
=$ac_save_CPPFLAGS
17839 aarch64
*|
*-darwin*)
17840 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17842 case "x$with_unwind" in
17843 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17845 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17846 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17852 if test "x$with_sdl" != "xno"
17855 if ${SDL2_CFLAGS:+false} :
17857 if test ${PKG_CONFIG+y}
17859 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17863 if ${SDL2_LIBS:+false} :
17865 if test ${PKG_CONFIG+y}
17867 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17871 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17874 if test -s conftest.err
; then
17875 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17876 cat conftest.err
>&5
17879 ac_save_CPPFLAGS
=$CPPFLAGS
17880 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17881 for ac_header
in SDL.h
17883 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17884 if test "x$ac_cv_header_SDL_h" = xyes
17886 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17888 printf %s
"checking for -lSDL2... " >&6; }
17889 if test ${ac_cv_lib_soname_SDL2+y}
17891 printf %s
"(cached) " >&6
17893 ac_check_soname_save_LIBS
=$LIBS
17894 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17905 return SDL_Init ();
17910 if ac_fn_c_try_link
"$LINENO"
17913 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17914 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'` ;;
17915 *) 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'`
17916 if ${ac_cv_lib_soname_SDL2:+false} :
17918 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17922 ac_cv_lib_soname_SDL2
=
17924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17925 conftest
$ac_exeext conftest.
$ac_ext
17926 LIBS
=$ac_check_soname_save_LIBS
17928 if ${ac_cv_lib_soname_SDL2:+false} :
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17931 printf "%s\n" "not found" >&6; }
17934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17935 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17937 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17944 CPPFLAGS
=$ac_save_CPPFLAGS
17947 if test "x$ac_cv_lib_soname_SDL2" = "x"
17949 case "x$with_sdl" in
17950 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17952 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17953 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17958 if test "x$with_capi" != "xno"
17961 if ${CAPI20_CFLAGS:+false} :
17963 if test ${PKG_CONFIG+y}
17965 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17969 if ${CAPI20_LIBS:+false} :
17971 if test ${PKG_CONFIG+y}
17973 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17980 if test -s conftest.err
; then
17981 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17982 cat conftest.err
>&5
17985 ac_save_CPPFLAGS
=$CPPFLAGS
17986 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17987 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17989 if test "x$ac_cv_header_capi20_h" = xyes
17991 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17994 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17996 if test "x$ac_cv_header_linux_capi_h" = xyes
17998 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18002 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18005 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18006 if test ${ac_cv_lib_capi20_capi20_register+y}
18008 printf %s
"(cached) " >&6
18010 ac_check_lib_save_LIBS
=$LIBS
18011 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18015 /* Override any GCC internal prototype to avoid an error.
18016 Use char because int might match the return type of a GCC
18017 builtin and then its argument prototype would still apply. */
18018 char capi20_register ();
18022 return capi20_register ();
18027 if ac_fn_c_try_link
"$LINENO"
18029 ac_cv_lib_capi20_capi20_register
=yes
18031 ac_cv_lib_capi20_capi20_register
=no
18033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18034 conftest
$ac_exeext conftest.
$ac_ext
18035 LIBS
=$ac_check_lib_save_LIBS
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18038 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18039 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18047 CPPFLAGS
=$ac_save_CPPFLAGS
18050 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18052 case "x$with_capi" in
18053 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18055 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18056 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18058 enable_capi2032
=${enable_capi2032:-no}
18061 if test "x$with_cups" != "xno"
18064 if ${CUPS_CFLAGS:+false} :
18066 if test ${PKG_CONFIG+y}
18068 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18071 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18072 if ${CUPS_LIBS:+false} :
18074 if test ${PKG_CONFIG+y}
18076 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18079 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18080 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18083 if test -s conftest.err
; then
18084 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18085 cat conftest.err
>&5
18088 ac_save_CPPFLAGS
=$CPPFLAGS
18089 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18090 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18091 if test "x$ac_cv_header_cups_cups_h" = xyes
18093 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18096 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18097 if test "x$ac_cv_header_cups_ppd_h" = xyes
18099 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18103 if test "$ac_cv_header_cups_cups_h" = "yes"
18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18106 printf %s
"checking for -lcups... " >&6; }
18107 if test ${ac_cv_lib_soname_cups+y}
18109 printf %s
"(cached) " >&6
18111 ac_check_soname_save_LIBS
=$LIBS
18112 LIBS
="-lcups $CUPS_LIBS $LIBS"
18113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18116 /* Override any GCC internal prototype to avoid an error.
18117 Use char because int might match the return type of a GCC
18118 builtin and then its argument prototype would still apply. */
18119 char cupsGetDefault ();
18123 return cupsGetDefault ();
18128 if ac_fn_c_try_link
"$LINENO"
18131 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18132 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'` ;;
18133 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18134 if ${ac_cv_lib_soname_cups:+false} :
18136 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18140 ac_cv_lib_soname_cups
=
18142 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18143 conftest
$ac_exeext conftest.
$ac_ext
18144 LIBS
=$ac_check_soname_save_LIBS
18146 if ${ac_cv_lib_soname_cups:+false} :
18148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18149 printf "%s\n" "not found" >&6; }
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18153 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18155 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18163 CPPFLAGS
=$ac_save_CPPFLAGS
18166 if test "x$ac_cv_lib_soname_cups" = "x"
18168 case "x$with_cups" in
18169 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18171 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18172 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18177 if test "x$with_fontconfig" != "xno"
18180 if ${FONTCONFIG_CFLAGS:+false} :
18182 if test ${PKG_CONFIG+y}
18184 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18187 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18188 if ${FONTCONFIG_LIBS:+false} :
18190 if test ${PKG_CONFIG+y}
18192 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18195 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18199 if test -s conftest.err
; then
18200 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18201 cat conftest.err
>&5
18204 ac_save_CPPFLAGS
=$CPPFLAGS
18205 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18206 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18207 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18210 printf %s
"checking for -lfontconfig... " >&6; }
18211 if test ${ac_cv_lib_soname_fontconfig+y}
18213 printf %s
"(cached) " >&6
18215 ac_check_soname_save_LIBS
=$LIBS
18216 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18232 if ac_fn_c_try_link
"$LINENO"
18235 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18236 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'` ;;
18237 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18238 if ${ac_cv_lib_soname_fontconfig:+false} :
18240 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18244 ac_cv_lib_soname_fontconfig
=
18246 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18247 conftest
$ac_exeext conftest.
$ac_ext
18248 LIBS
=$ac_check_soname_save_LIBS
18250 if ${ac_cv_lib_soname_fontconfig:+false} :
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18253 printf "%s\n" "not found" >&6; }
18254 FONTCONFIG_CFLAGS
=""
18256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18257 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18259 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18264 FONTCONFIG_CFLAGS
=""
18267 CPPFLAGS
=$ac_save_CPPFLAGS
18270 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18272 case "x$with_fontconfig" in
18273 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18275 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18276 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18281 if test "x$with_krb5" != "xno"
18284 if ${KRB5_CFLAGS:+false} :
18286 if test ${PKG_CONFIG+y}
18288 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18291 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18292 if ${KRB5_LIBS:+false} :
18294 if test ${PKG_CONFIG+y}
18296 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18299 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18303 if test -s conftest.err
; then
18304 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18305 cat conftest.err
>&5
18308 ac_save_CPPFLAGS
=$CPPFLAGS
18309 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18310 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18311 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18313 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18317 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18320 printf %s
"checking for -lkrb5... " >&6; }
18321 if test ${ac_cv_lib_soname_krb5+y}
18323 printf %s
"(cached) " >&6
18325 ac_check_soname_save_LIBS
=$LIBS
18326 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 /* Override any GCC internal prototype to avoid an error.
18331 Use char because int might match the return type of a GCC
18332 builtin and then its argument prototype would still apply. */
18333 char krb5_is_config_principal ();
18337 return krb5_is_config_principal ();
18342 if ac_fn_c_try_link
"$LINENO"
18345 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18346 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'` ;;
18347 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18348 if ${ac_cv_lib_soname_krb5:+false} :
18350 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18354 ac_cv_lib_soname_krb5
=
18356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18357 conftest
$ac_exeext conftest.
$ac_ext
18358 LIBS
=$ac_check_soname_save_LIBS
18360 if ${ac_cv_lib_soname_krb5:+false} :
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18363 printf "%s\n" "not found" >&6; }
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18367 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18369 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18376 CPPFLAGS
=$ac_save_CPPFLAGS
18379 if test "x$ac_cv_lib_soname_krb5" = "x"
18381 case "x$with_krb5" in
18382 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18384 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18385 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18389 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18391 if test "x$with_gssapi" != "xno"
18394 if ${GSSAPI_CFLAGS:+false} :
18396 if test ${PKG_CONFIG+y}
18398 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18401 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18402 if ${GSSAPI_LIBS:+false} :
18404 if test ${PKG_CONFIG+y}
18406 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18409 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18413 if test -s conftest.err
; then
18414 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18415 cat conftest.err
>&5
18418 ac_save_CPPFLAGS
=$CPPFLAGS
18419 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18420 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18421 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18423 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18426 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18427 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18429 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18433 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18436 printf %s
"checking for -lgssapi_krb5... " >&6; }
18437 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18439 printf %s
"(cached) " >&6
18441 ac_check_soname_save_LIBS
=$LIBS
18442 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18449 char gss_init_sec_context ();
18453 return gss_init_sec_context ();
18458 if ac_fn_c_try_link
"$LINENO"
18461 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18462 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'` ;;
18463 *) 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'`
18464 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18466 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18470 ac_cv_lib_soname_gssapi_krb5
=
18472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18473 conftest
$ac_exeext conftest.
$ac_ext
18474 LIBS
=$ac_check_soname_save_LIBS
18476 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18479 printf "%s\n" "not found" >&6; }
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18483 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18485 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18492 CPPFLAGS
=$ac_save_CPPFLAGS
18495 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18497 case "x$with_gssapi" in
18498 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18500 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18501 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18506 if test "$ac_cv_header_libprocstat_h" = "yes"
18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18509 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18510 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18512 printf %s
"(cached) " >&6
18514 ac_check_lib_save_LIBS
=$LIBS
18515 LIBS
="-lprocstat $LIBS"
18516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18519 /* Override any GCC internal prototype to avoid an error.
18520 Use char because int might match the return type of a GCC
18521 builtin and then its argument prototype would still apply. */
18522 char procstat_open_sysctl ();
18526 return procstat_open_sysctl ();
18531 if ac_fn_c_try_link
"$LINENO"
18533 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18535 ac_cv_lib_procstat_procstat_open_sysctl
=no
18537 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18538 conftest
$ac_exeext conftest.
$ac_ext
18539 LIBS
=$ac_check_lib_save_LIBS
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18542 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18543 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18546 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18548 PROCSTAT_LIBS
="-lprocstat"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18555 printf %s
"checking for -lodbc... " >&6; }
18556 if test ${ac_cv_lib_soname_odbc+y}
18558 printf %s
"(cached) " >&6
18560 ac_check_soname_save_LIBS
=$LIBS
18561 LIBS
="-lodbc $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. */
18568 char SQLConnect ();
18572 return SQLConnect ();
18577 if ac_fn_c_try_link
"$LINENO"
18580 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18581 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'` ;;
18582 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18583 if ${ac_cv_lib_soname_odbc:+false} :
18585 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18589 ac_cv_lib_soname_odbc
=
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_odbc:+false} :
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18598 printf "%s\n" "not found" >&6; }
18599 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18603 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18605 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18610 if test "x$with_netapi" != "xno"
18613 if ${NETAPI_CFLAGS:+false} :
18615 if test ${PKG_CONFIG+y}
18617 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18621 if ${NETAPI_LIBS:+false} :
18623 if test ${PKG_CONFIG+y}
18625 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18632 if test -s conftest.err
; then
18633 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18634 cat conftest.err
>&5
18637 ac_save_CPPFLAGS
=$CPPFLAGS
18638 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18640 printf %s
"checking for -lnetapi... " >&6; }
18641 if test ${ac_cv_lib_soname_netapi+y}
18643 printf %s
"(cached) " >&6
18645 ac_check_soname_save_LIBS
=$LIBS
18646 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 /* Override any GCC internal prototype to avoid an error.
18651 Use char because int might match the return type of a GCC
18652 builtin and then its argument prototype would still apply. */
18653 char libnetapi_init ();
18657 return libnetapi_init ();
18662 if ac_fn_c_try_link
"$LINENO"
18665 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18666 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'` ;;
18667 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18668 if ${ac_cv_lib_soname_netapi:+false} :
18670 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18674 ac_cv_lib_soname_netapi
=
18676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18677 conftest
$ac_exeext conftest.
$ac_ext
18678 LIBS
=$ac_check_soname_save_LIBS
18680 if ${ac_cv_lib_soname_netapi:+false} :
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18683 printf "%s\n" "not found" >&6; }
18684 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18688 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18690 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18694 CPPFLAGS
=$ac_save_CPPFLAGS
18697 if test "x$ac_cv_lib_soname_netapi" = "x"
18699 case "x$with_netapi" in
18700 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18702 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18703 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18705 enable_netapi
=${enable_netapi:-no}
18709 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18710 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18712 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18715 if test "x$with_vulkan" != "xno"
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18718 printf %s
"checking for -lvulkan... " >&6; }
18719 if test ${ac_cv_lib_soname_vulkan+y}
18721 printf %s
"(cached) " >&6
18723 ac_check_soname_save_LIBS
=$LIBS
18724 LIBS
="-lvulkan $LIBS"
18725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18728 /* Override any GCC internal prototype to avoid an error.
18729 Use char because int might match the return type of a GCC
18730 builtin and then its argument prototype would still apply. */
18731 char vkGetInstanceProcAddr ();
18735 return vkGetInstanceProcAddr ();
18740 if ac_fn_c_try_link
"$LINENO"
18743 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18744 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'` ;;
18745 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18746 if ${ac_cv_lib_soname_vulkan:+false} :
18748 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18752 ac_cv_lib_soname_vulkan
=
18754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18755 conftest
$ac_exeext conftest.
$ac_ext
18756 LIBS
=$ac_check_soname_save_LIBS
18758 if ${ac_cv_lib_soname_vulkan:+false} :
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18761 printf "%s\n" "not found" >&6; }
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18765 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18767 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18771 if test "x$ac_cv_lib_soname_vulkan" = "x"
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18774 printf %s
"checking for -lMoltenVK... " >&6; }
18775 if test ${ac_cv_lib_soname_MoltenVK+y}
18777 printf %s
"(cached) " >&6
18779 ac_check_soname_save_LIBS
=$LIBS
18780 LIBS
="-lMoltenVK $LIBS"
18781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18784 /* Override any GCC internal prototype to avoid an error.
18785 Use char because int might match the return type of a GCC
18786 builtin and then its argument prototype would still apply. */
18787 char vkGetInstanceProcAddr ();
18791 return vkGetInstanceProcAddr ();
18796 if ac_fn_c_try_link
"$LINENO"
18799 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18800 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'` ;;
18801 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18802 if ${ac_cv_lib_soname_MoltenVK:+false} :
18804 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18808 ac_cv_lib_soname_MoltenVK
=
18810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18811 conftest
$ac_exeext conftest.
$ac_ext
18812 LIBS
=$ac_check_soname_save_LIBS
18814 if ${ac_cv_lib_soname_MoltenVK:+false} :
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18817 printf "%s\n" "not found" >&6; }
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18821 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18823 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18829 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18831 case "x$with_vulkan" in
18832 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18834 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18835 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18841 if test "x${GCC}" = "xyes"
18843 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18845 saved_CFLAGS
=$CFLAGS
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18847 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18848 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18850 printf %s
"(cached) " >&6
18852 ac_wine_try_cflags_saved
=$CFLAGS
18853 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18858 if ac_fn_c_try_link
"$LINENO"
18860 ac_cv_cflags__Werror_unknown_warning_option
=yes
18862 ac_cv_cflags__Werror_unknown_warning_option
=no
18864 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18865 conftest
$ac_exeext conftest.
$ac_ext
18866 CFLAGS
=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18869 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18870 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18872 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18875 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18876 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18878 printf %s
"(cached) " >&6
18880 ac_wine_try_cflags_saved
=$CFLAGS
18881 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 int main(int argc, char **argv) { return 0; }
18886 if ac_fn_c_try_link
"$LINENO"
18888 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18890 ac_cv_cflags__Werror_unused_command_line_argument
=no
18892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18893 conftest
$ac_exeext conftest.
$ac_ext
18894 CFLAGS
=$ac_wine_try_cflags_saved
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18897 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18898 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18900 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18903 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18904 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18906 printf %s
"(cached) " >&6
18908 ac_wine_try_cflags_saved
=$CFLAGS
18909 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 int main(int argc, char **argv) { return 0; }
18914 if ac_fn_c_try_link
"$LINENO"
18916 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18918 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18920 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18921 conftest
$ac_exeext conftest.
$ac_ext
18922 CFLAGS
=$ac_wine_try_cflags_saved
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18925 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18926 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18928 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18931 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18932 if test ${ac_cv_cflags__fcf_protection_none+y}
18934 printf %s
"(cached) " >&6
18936 ac_wine_try_cflags_saved
=$CFLAGS
18937 CFLAGS
="$CFLAGS -fcf-protection=none"
18938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 int main(int argc, char **argv) { return 0; }
18942 if ac_fn_c_try_link
"$LINENO"
18944 ac_cv_cflags__fcf_protection_none
=yes
18946 ac_cv_cflags__fcf_protection_none
=no
18948 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18949 conftest
$ac_exeext conftest.
$ac_ext
18950 CFLAGS
=$ac_wine_try_cflags_saved
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18953 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18954 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18956 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18959 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
18960 if test ${ac_cv_cflags__fvisibility_hidden+y}
18962 printf %s
"(cached) " >&6
18964 ac_wine_try_cflags_saved
=$CFLAGS
18965 CFLAGS
="$CFLAGS -fvisibility=hidden"
18966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 int main(int argc, char **argv) { return 0; }
18970 if ac_fn_c_try_link
"$LINENO"
18972 ac_cv_cflags__fvisibility_hidden
=yes
18974 ac_cv_cflags__fvisibility_hidden
=no
18976 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18977 conftest
$ac_exeext conftest.
$ac_ext
18978 CFLAGS
=$ac_wine_try_cflags_saved
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18981 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18982 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18984 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18987 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18988 if test ${ac_cv_cflags__fno_stack_protector+y}
18990 printf %s
"(cached) " >&6
18992 ac_wine_try_cflags_saved
=$CFLAGS
18993 CFLAGS
="$CFLAGS -fno-stack-protector"
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 int main(int argc, char **argv) { return 0; }
18998 if ac_fn_c_try_link
"$LINENO"
19000 ac_cv_cflags__fno_stack_protector
=yes
19002 ac_cv_cflags__fno_stack_protector
=no
19004 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19005 conftest
$ac_exeext conftest.
$ac_ext
19006 CFLAGS
=$ac_wine_try_cflags_saved
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19009 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19010 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19012 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19015 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19016 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19018 printf %s
"(cached) " >&6
19020 ac_wine_try_cflags_saved
=$CFLAGS
19021 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19024 int main(int argc, char **argv) { return 0; }
19026 if ac_fn_c_try_link
"$LINENO"
19028 ac_cv_cflags__fno_strict_aliasing
=yes
19030 ac_cv_cflags__fno_strict_aliasing
=no
19032 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19033 conftest
$ac_exeext conftest.
$ac_ext
19034 CFLAGS
=$ac_wine_try_cflags_saved
19036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19037 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19038 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19040 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19043 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19044 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19046 printf %s
"(cached) " >&6
19048 ac_wine_try_cflags_saved
=$CFLAGS
19049 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052 int main(int argc, char **argv) { return 0; }
19054 if ac_fn_c_try_link
"$LINENO"
19056 ac_cv_cflags__Wdeclaration_after_statement
=yes
19058 ac_cv_cflags__Wdeclaration_after_statement
=no
19060 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19061 conftest
$ac_exeext conftest.
$ac_ext
19062 CFLAGS
=$ac_wine_try_cflags_saved
19064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19065 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19066 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19068 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19071 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19072 if test ${ac_cv_cflags__Wempty_body+y}
19074 printf %s
"(cached) " >&6
19076 ac_wine_try_cflags_saved
=$CFLAGS
19077 CFLAGS
="$CFLAGS -Wempty-body"
19078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 int main(int argc, char **argv) { return 0; }
19082 if ac_fn_c_try_link
"$LINENO"
19084 ac_cv_cflags__Wempty_body
=yes
19086 ac_cv_cflags__Wempty_body
=no
19088 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19089 conftest
$ac_exeext conftest.
$ac_ext
19090 CFLAGS
=$ac_wine_try_cflags_saved
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19093 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19094 if test "x$ac_cv_cflags__Wempty_body" = xyes
19096 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19099 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19100 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19102 printf %s
"(cached) " >&6
19104 ac_wine_try_cflags_saved
=$CFLAGS
19105 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 int main(int argc, char **argv) { return 0; }
19110 if ac_fn_c_try_link
"$LINENO"
19112 ac_cv_cflags__Wignored_qualifiers
=yes
19114 ac_cv_cflags__Wignored_qualifiers
=no
19116 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19117 conftest
$ac_exeext conftest.
$ac_ext
19118 CFLAGS
=$ac_wine_try_cflags_saved
19120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19121 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19122 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19124 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19127 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19128 if test ${ac_cv_cflags__Winit_self+y}
19130 printf %s
"(cached) " >&6
19132 ac_wine_try_cflags_saved
=$CFLAGS
19133 CFLAGS
="$CFLAGS -Winit-self"
19134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19135 /* end confdefs.h. */
19136 int main(int argc, char **argv) { return 0; }
19138 if ac_fn_c_try_link
"$LINENO"
19140 ac_cv_cflags__Winit_self
=yes
19142 ac_cv_cflags__Winit_self
=no
19144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19145 conftest
$ac_exeext conftest.
$ac_ext
19146 CFLAGS
=$ac_wine_try_cflags_saved
19148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19149 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19150 if test "x$ac_cv_cflags__Winit_self" = xyes
19152 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19155 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19156 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19158 printf %s
"(cached) " >&6
19160 ac_wine_try_cflags_saved
=$CFLAGS
19161 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19164 int main(int argc, char **argv) { return 0; }
19166 if ac_fn_c_try_link
"$LINENO"
19168 ac_cv_cflags__Wpacked_not_aligned
=yes
19170 ac_cv_cflags__Wpacked_not_aligned
=no
19172 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19173 conftest
$ac_exeext conftest.
$ac_ext
19174 CFLAGS
=$ac_wine_try_cflags_saved
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19177 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19178 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19180 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19183 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19184 if test ${ac_cv_cflags__Wpragma_pack+y}
19186 printf %s
"(cached) " >&6
19188 ac_wine_try_cflags_saved
=$CFLAGS
19189 CFLAGS
="$CFLAGS -Wpragma-pack"
19190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19194 if ac_fn_c_try_link
"$LINENO"
19196 ac_cv_cflags__Wpragma_pack
=yes
19198 ac_cv_cflags__Wpragma_pack
=no
19200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19201 conftest
$ac_exeext conftest.
$ac_ext
19202 CFLAGS
=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19205 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19206 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19208 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19211 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19212 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19214 printf %s
"(cached) " >&6
19216 ac_wine_try_cflags_saved
=$CFLAGS
19217 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 int main(int argc, char **argv) { return 0; }
19222 if ac_fn_c_try_link
"$LINENO"
19224 ac_cv_cflags__Wshift_overflow_2
=yes
19226 ac_cv_cflags__Wshift_overflow_2
=no
19228 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19229 conftest
$ac_exeext conftest.
$ac_ext
19230 CFLAGS
=$ac_wine_try_cflags_saved
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19233 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19234 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19236 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19239 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19240 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19242 printf %s
"(cached) " >&6
19244 ac_wine_try_cflags_saved
=$CFLAGS
19245 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h. */
19248 int main(int argc, char **argv) { return 0; }
19250 if ac_fn_c_try_link
"$LINENO"
19252 ac_cv_cflags__Wstrict_prototypes
=yes
19254 ac_cv_cflags__Wstrict_prototypes
=no
19256 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19257 conftest
$ac_exeext conftest.
$ac_ext
19258 CFLAGS
=$ac_wine_try_cflags_saved
19260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19261 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19262 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19264 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19267 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19268 if test ${ac_cv_cflags__Wtype_limits+y}
19270 printf %s
"(cached) " >&6
19272 ac_wine_try_cflags_saved
=$CFLAGS
19273 CFLAGS
="$CFLAGS -Wtype-limits"
19274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 int main(int argc, char **argv) { return 0; }
19278 if ac_fn_c_try_link
"$LINENO"
19280 ac_cv_cflags__Wtype_limits
=yes
19282 ac_cv_cflags__Wtype_limits
=no
19284 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19285 conftest
$ac_exeext conftest.
$ac_ext
19286 CFLAGS
=$ac_wine_try_cflags_saved
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19289 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19290 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19292 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19295 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19296 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19298 printf %s
"(cached) " >&6
19300 ac_wine_try_cflags_saved
=$CFLAGS
19301 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 int main(int argc, char **argv) { return 0; }
19306 if ac_fn_c_try_link
"$LINENO"
19308 ac_cv_cflags__Wunused_but_set_parameter
=yes
19310 ac_cv_cflags__Wunused_but_set_parameter
=no
19312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19313 conftest
$ac_exeext conftest.
$ac_ext
19314 CFLAGS
=$ac_wine_try_cflags_saved
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19317 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19318 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19320 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19323 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19324 if test ${ac_cv_cflags__Wvla+y}
19326 printf %s
"(cached) " >&6
19328 ac_wine_try_cflags_saved
=$CFLAGS
19329 CFLAGS
="$CFLAGS -Wvla"
19330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 int main(int argc, char **argv) { return 0; }
19334 if ac_fn_c_try_link
"$LINENO"
19336 ac_cv_cflags__Wvla
=yes
19338 ac_cv_cflags__Wvla
=no
19340 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19341 conftest
$ac_exeext conftest.
$ac_ext
19342 CFLAGS
=$ac_wine_try_cflags_saved
19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19345 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19346 if test "x$ac_cv_cflags__Wvla" = xyes
19348 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19351 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19352 if test ${ac_cv_cflags__Wwrite_strings+y}
19354 printf %s
"(cached) " >&6
19356 ac_wine_try_cflags_saved
=$CFLAGS
19357 CFLAGS
="$CFLAGS -Wwrite-strings"
19358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19360 int main(int argc, char **argv) { return 0; }
19362 if ac_fn_c_try_link
"$LINENO"
19364 ac_cv_cflags__Wwrite_strings
=yes
19366 ac_cv_cflags__Wwrite_strings
=no
19368 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19369 conftest
$ac_exeext conftest.
$ac_ext
19370 CFLAGS
=$ac_wine_try_cflags_saved
19372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19373 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19374 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19376 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19380 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19381 if test ${ac_cv_cflags__Wpointer_arith+y}
19383 printf %s
"(cached) " >&6
19385 ac_wine_try_cflags_saved
=$CFLAGS
19386 CFLAGS
="$CFLAGS -Wpointer-arith"
19387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19388 /* end confdefs.h. */
19389 int main(int argc, char **argv) { return 0; }
19391 if ac_fn_c_try_link
"$LINENO"
19393 ac_cv_cflags__Wpointer_arith
=yes
19395 ac_cv_cflags__Wpointer_arith
=no
19397 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19398 conftest
$ac_exeext conftest.
$ac_ext
19399 CFLAGS
=$ac_wine_try_cflags_saved
19401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19402 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19403 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19405 saved_string_h_CFLAGS
=$CFLAGS
19406 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19408 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19409 if test ${ac_cv_c_string_h_warnings+y}
19411 printf %s
"(cached) " >&6
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <string.h>
19424 if ac_fn_c_try_compile
"$LINENO"
19426 ac_cv_c_string_h_warnings
=no
19428 ac_cv_c_string_h_warnings
=yes
19430 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19433 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19434 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19435 CFLAGS
=$saved_string_h_CFLAGS
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19439 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19440 if test ${ac_cv_cflags__Wlogical_op+y}
19442 printf %s
"(cached) " >&6
19444 ac_wine_try_cflags_saved
=$CFLAGS
19445 CFLAGS
="$CFLAGS -Wlogical-op"
19446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 int main(int argc, char **argv) { return 0; }
19450 if ac_fn_c_try_link
"$LINENO"
19452 ac_cv_cflags__Wlogical_op
=yes
19454 ac_cv_cflags__Wlogical_op
=no
19456 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19457 conftest
$ac_exeext conftest.
$ac_ext
19458 CFLAGS
=$ac_wine_try_cflags_saved
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19461 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19462 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19464 saved_string_h_CFLAGS
=$CFLAGS
19465 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19467 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19468 if test ${ac_cv_c_logicalop_noisy+y}
19470 printf %s
"(cached) " >&6
19472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #include <string.h>
19475 char*f(const char *h,char n) {return strchr(h,n);}
19484 if ac_fn_c_try_compile
"$LINENO"
19486 ac_cv_c_logicalop_noisy
=no
19488 ac_cv_c_logicalop_noisy
=yes
19490 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19493 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19494 CFLAGS
=$saved_string_h_CFLAGS
19495 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19499 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19500 if test ${wine_cv_64bit_compare_swap+y}
19502 printf %s
"(cached) " >&6
19504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19517 if ac_fn_c_try_compile
"$LINENO"
19519 wine_cv_64bit_compare_swap
="none needed"
19522 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
19523 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19524 *) wine_cv_64bit_compare_swap
="unknown" ;;
19526 if test "x$wine_cv_64bit_compare_swap" != xunknown
19528 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19542 if ac_fn_c_try_compile
"$LINENO"
19546 wine_cv_64bit_compare_swap
="unknown"
19548 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19549 CFLAGS
=$saved_CFLAGS
19552 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19555 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19556 case "$wine_cv_64bit_compare_swap" in
19557 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19559 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19562 ac_debug_format_seen
=""
19563 for ac_flag
in $CFLAGS; do
19565 -gdwarf*) ac_debug_format_seen
=yes ;;
19566 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19569 if test "x$ac_debug_format_seen" = xdefault
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19572 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19573 if test ${ac_cv_cflags__gdwarf_4+y}
19575 printf %s
"(cached) " >&6
19577 ac_wine_try_cflags_saved
=$CFLAGS
19578 CFLAGS
="$CFLAGS -gdwarf-4"
19579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19581 int main(int argc, char **argv) { return 0; }
19583 if ac_fn_c_try_link
"$LINENO"
19585 ac_cv_cflags__gdwarf_4
=yes
19587 ac_cv_cflags__gdwarf_4
=no
19589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19590 conftest
$ac_exeext conftest.
$ac_ext
19591 CFLAGS
=$ac_wine_try_cflags_saved
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19594 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19595 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19597 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19604 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19605 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19606 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19608 printf %s
"(cached) " >&6
19610 ac_wine_try_cflags_saved
=$CFLAGS
19611 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 int main(int argc, char **argv) { return 0; }
19616 if ac_fn_c_try_link
"$LINENO"
19618 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19620 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19623 conftest
$ac_exeext conftest.
$ac_ext
19624 CFLAGS
=$ac_wine_try_cflags_saved
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19627 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19628 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19630 DELAYLOADFLAG
="-Wl,-delayload,"
19633 *) MSVCRTFLAGS
="-D_WIN32"
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19635 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19636 if test ${ac_cv_cflags__fno_builtin+y}
19638 printf %s
"(cached) " >&6
19640 ac_wine_try_cflags_saved
=$CFLAGS
19641 CFLAGS
="$CFLAGS -fno-builtin"
19642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 int main(int argc, char **argv) { return 0; }
19646 if ac_fn_c_try_link
"$LINENO"
19648 ac_cv_cflags__fno_builtin
=yes
19650 ac_cv_cflags__fno_builtin
=no
19652 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19653 conftest
$ac_exeext conftest.
$ac_ext
19654 CFLAGS
=$ac_wine_try_cflags_saved
19656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19657 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19658 if test "x$ac_cv_cflags__fno_builtin" = xyes
19660 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19663 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19664 if test ${ac_cv_cflags__fshort_wchar+y}
19666 printf %s
"(cached) " >&6
19668 ac_wine_try_cflags_saved
=$CFLAGS
19669 CFLAGS
="$CFLAGS -fshort-wchar"
19670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 int main(int argc, char **argv) { return 0; }
19674 if ac_fn_c_try_link
"$LINENO"
19676 ac_cv_cflags__fshort_wchar
=yes
19678 ac_cv_cflags__fshort_wchar
=no
19680 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19681 conftest
$ac_exeext conftest.
$ac_ext
19682 CFLAGS
=$ac_wine_try_cflags_saved
19684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19685 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19686 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19688 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19691 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19692 if test ${ac_cv_cflags__Wno_format+y}
19694 printf %s
"(cached) " >&6
19696 ac_wine_try_cflags_saved
=$CFLAGS
19697 CFLAGS
="$CFLAGS -Wno-format"
19698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 int main(int argc, char **argv) { return 0; }
19702 if ac_fn_c_try_link
"$LINENO"
19704 ac_cv_cflags__Wno_format
=yes
19706 ac_cv_cflags__Wno_format
=no
19708 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19709 conftest
$ac_exeext conftest.
$ac_ext
19710 CFLAGS
=$ac_wine_try_cflags_saved
19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19713 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19714 if test "x$ac_cv_cflags__Wno_format" = xyes
19716 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19721 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19722 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19723 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19725 printf %s
"(cached) " >&6
19727 ac_wine_try_cflags_saved
=$CFLAGS
19728 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 int main(int argc, char **argv) { return 0; }
19733 if ac_fn_c_try_link
"$LINENO"
19735 ac_cv_cflags__fno_omit_frame_pointer
=yes
19737 ac_cv_cflags__fno_omit_frame_pointer
=no
19739 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19740 conftest
$ac_exeext conftest.
$ac_ext
19741 CFLAGS
=$ac_wine_try_cflags_saved
19743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19744 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19745 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19747 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19751 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19752 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19753 if test ${ac_cv_cflags__Wno_format+y}
19755 printf %s
"(cached) " >&6
19757 ac_wine_try_cflags_saved
=$CFLAGS
19758 CFLAGS
="$CFLAGS -Wno-format"
19759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19761 int main(int argc, char **argv) { return 0; }
19763 if ac_fn_c_try_link
"$LINENO"
19765 ac_cv_cflags__Wno_format
=yes
19767 ac_cv_cflags__Wno_format
=no
19769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19770 conftest
$ac_exeext conftest.
$ac_ext
19771 CFLAGS
=$ac_wine_try_cflags_saved
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19774 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19775 if test "x$ac_cv_cflags__Wno_format" = xyes
19777 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19779 *) if test -z "$PE_ARCHS"
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19782 printf %s
"checking for working -mabi=ms... " >&6; }
19783 if test ${ac_cv_mabi_ms+y}
19785 printf %s
"(cached) " >&6
19787 CFLAGS
="$CFLAGS -mabi=ms"
19788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <stdarg.h>
19791 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19800 if ac_fn_c_try_compile
"$LINENO"
19806 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19807 CFLAGS
=$saved_CFLAGS
19809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19810 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19811 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
19813 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19817 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19818 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19820 printf %s
"(cached) " >&6
19822 ac_wine_try_cflags_saved
=$CFLAGS
19823 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 int main(int argc, char **argv) { return 0; }
19828 if ac_fn_c_try_link
"$LINENO"
19830 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19832 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19835 conftest
$ac_exeext conftest.
$ac_ext
19836 CFLAGS
=$ac_wine_try_cflags_saved
19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19839 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19840 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19842 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19846 CFLAGS
=$saved_CFLAGS
19848 if test "x$enable_werror" = "xyes"
19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19851 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19852 if test ${ac_cv_cflags__Werror+y}
19854 printf %s
"(cached) " >&6
19856 ac_wine_try_cflags_saved
=$CFLAGS
19857 CFLAGS
="$CFLAGS -Werror"
19858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 int main(int argc, char **argv) { return 0; }
19862 if ac_fn_c_try_link
"$LINENO"
19864 ac_cv_cflags__Werror
=yes
19866 ac_cv_cflags__Werror
=no
19868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19869 conftest
$ac_exeext conftest.
$ac_ext
19870 CFLAGS
=$ac_wine_try_cflags_saved
19872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19873 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19874 if test "x$ac_cv_cflags__Werror" = xyes
19876 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19879 if test "x$enable_build_id" = "xyes"
19881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19882 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19883 if test ${ac_cv_cflags__Wl___build_id+y}
19885 printf %s
"(cached) " >&6
19887 ac_wine_try_cflags_saved
=$CFLAGS
19888 CFLAGS
="$CFLAGS -Wl,--build-id"
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 int main(int argc, char **argv) { return 0; }
19893 if ac_fn_c_try_link
"$LINENO"
19895 ac_cv_cflags__Wl___build_id
=yes
19897 ac_cv_cflags__Wl___build_id
=no
19899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19900 conftest
$ac_exeext conftest.
$ac_ext
19901 CFLAGS
=$ac_wine_try_cflags_saved
19903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19904 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19905 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19907 CFLAGS
="$CFLAGS -Wl,--build-id"
19908 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19915 printf %s
"checking for the need to disable Fortify... " >&6; }
19916 if test ${ac_cv_c_fortify_enabled+y}
19918 printf %s
"(cached) " >&6
19920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 #include <string.h>
19926 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19927 #error Fortify enabled
19933 if ac_fn_c_try_compile
"$LINENO"
19935 ac_cv_c_fortify_enabled
=no
19937 ac_cv_c_fortify_enabled
=yes
19939 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19942 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19943 if test "$ac_cv_c_fortify_enabled" = yes
19945 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19950 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19951 if test ${ac_cv_c_cfi_support+y}
19953 printf %s
"(cached) " >&6
19955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19966 if ac_fn_c_try_compile
"$LINENO"
19968 ac_cv_c_cfi_support
="yes"
19970 ac_cv_c_cfi_support
="no"
19972 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19975 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19976 if test "$ac_cv_c_cfi_support" = "yes"
19978 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19979 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19980 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19981 elif test $HOST_ARCH = x86_64
19983 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19987 case "$HOST_ARCH,$PE_ARCHS" in
19988 x86_64
,*i386
*) wine_binary
="wine" ;;
19989 x86_64
,*) wine_binary
="wine64" ;;
19990 *) wine_binary
="wine" ;;
19992 WINELOADER_PROGRAMS
="$wine_binary"
19997 if test $HOST_ARCH != unknown
19999 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20000 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20004 if test "$wine_can_build_preloader" = "yes"
20006 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20007 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20014 printf %s
"checking for library containing dlopen... " >&6; }
20015 if test ${ac_cv_search_dlopen+y}
20017 printf %s
"(cached) " >&6
20019 ac_func_search_save_LIBS
=$LIBS
20020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 /* Override any GCC internal prototype to avoid an error.
20024 Use char because int might match the return type of a GCC
20025 builtin and then its argument prototype would still apply. */
20035 for ac_lib
in '' dl
20037 if test -z "$ac_lib"; then
20038 ac_res
="none required"
20041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20043 if ac_fn_c_try_link
"$LINENO"
20045 ac_cv_search_dlopen
=$ac_res
20047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20049 if test ${ac_cv_search_dlopen+y}
20054 if test ${ac_cv_search_dlopen+y}
20058 ac_cv_search_dlopen
=no
20060 rm conftest.
$ac_ext
20061 LIBS
=$ac_func_search_save_LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20064 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20065 ac_res
=$ac_cv_search_dlopen
20066 if test "$ac_res" != no
20068 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20074 printf %s
"checking for library containing gethostbyname... " >&6; }
20075 if test ${ac_cv_search_gethostbyname+y}
20077 printf %s
"(cached) " >&6
20079 ac_func_search_save_LIBS
=$LIBS
20080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20081 /* end confdefs.h. */
20083 /* Override any GCC internal prototype to avoid an error.
20084 Use char because int might match the return type of a GCC
20085 builtin and then its argument prototype would still apply. */
20086 char gethostbyname ();
20090 return gethostbyname ();
20095 for ac_lib
in '' nsl
20097 if test -z "$ac_lib"; then
20098 ac_res
="none required"
20101 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20103 if ac_fn_c_try_link
"$LINENO"
20105 ac_cv_search_gethostbyname
=$ac_res
20107 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20109 if test ${ac_cv_search_gethostbyname+y}
20114 if test ${ac_cv_search_gethostbyname+y}
20118 ac_cv_search_gethostbyname
=no
20120 rm conftest.
$ac_ext
20121 LIBS
=$ac_func_search_save_LIBS
20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20124 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20125 ac_res
=$ac_cv_search_gethostbyname
20126 if test "$ac_res" != no
20128 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20134 printf %s
"checking for library containing connect... " >&6; }
20135 if test ${ac_cv_search_connect+y}
20137 printf %s
"(cached) " >&6
20139 ac_func_search_save_LIBS
=$LIBS
20140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20143 /* Override any GCC internal prototype to avoid an error.
20144 Use char because int might match the return type of a GCC
20145 builtin and then its argument prototype would still apply. */
20155 for ac_lib
in '' socket
20157 if test -z "$ac_lib"; then
20158 ac_res
="none required"
20161 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20163 if ac_fn_c_try_link
"$LINENO"
20165 ac_cv_search_connect
=$ac_res
20167 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20169 if test ${ac_cv_search_connect+y}
20174 if test ${ac_cv_search_connect+y}
20178 ac_cv_search_connect
=no
20180 rm conftest.
$ac_ext
20181 LIBS
=$ac_func_search_save_LIBS
20183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20184 printf "%s\n" "$ac_cv_search_connect" >&6; }
20185 ac_res
=$ac_cv_search_connect
20186 if test "$ac_res" != no
20188 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20194 printf %s
"checking for library containing inet_aton... " >&6; }
20195 if test ${ac_cv_search_inet_aton+y}
20197 printf %s
"(cached) " >&6
20199 ac_func_search_save_LIBS
=$LIBS
20200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20203 /* Override any GCC internal prototype to avoid an error.
20204 Use char because int might match the return type of a GCC
20205 builtin and then its argument prototype would still apply. */
20210 return inet_aton ();
20215 for ac_lib
in '' resolv
20217 if test -z "$ac_lib"; then
20218 ac_res
="none required"
20221 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20223 if ac_fn_c_try_link
"$LINENO"
20225 ac_cv_search_inet_aton
=$ac_res
20227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20229 if test ${ac_cv_search_inet_aton+y}
20234 if test ${ac_cv_search_inet_aton+y}
20238 ac_cv_search_inet_aton
=no
20240 rm conftest.
$ac_ext
20241 LIBS
=$ac_func_search_save_LIBS
20243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20244 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20245 ac_res
=$ac_cv_search_inet_aton
20246 if test "$ac_res" != no
20248 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20253 ac_save_CFLAGS
="$CFLAGS"
20254 CFLAGS
="$CFLAGS $BUILTINFLAG"
20255 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20256 if test "x$ac_cv_func_dladdr1" = xyes
20258 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20261 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20262 if test "x$ac_cv_func_dlinfo" = xyes
20264 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20267 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20268 if test "x$ac_cv_func_epoll_create" = xyes
20270 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20273 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20274 if test "x$ac_cv_func_fstatfs" = xyes
20276 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20279 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20280 if test "x$ac_cv_func_futimens" = xyes
20282 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20285 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20286 if test "x$ac_cv_func_futimes" = xyes
20288 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20291 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20292 if test "x$ac_cv_func_futimesat" = xyes
20294 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20297 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20298 if test "x$ac_cv_func_getaddrinfo" = xyes
20300 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20303 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20304 if test "x$ac_cv_func_getattrlist" = xyes
20306 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20309 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20310 if test "x$ac_cv_func_getauxval" = xyes
20312 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20315 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20316 if test "x$ac_cv_func_getifaddrs" = xyes
20318 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20321 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20322 if test "x$ac_cv_func_getrandom" = xyes
20324 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20327 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20328 if test "x$ac_cv_func_kqueue" = xyes
20330 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20333 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20334 if test "x$ac_cv_func_mach_continuous_time" = xyes
20336 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20339 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20340 if test "x$ac_cv_func_pipe2" = xyes
20342 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20345 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20346 if test "x$ac_cv_func_port_create" = xyes
20348 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20351 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20352 if test "x$ac_cv_func_posix_fadvise" = xyes
20354 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20357 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20358 if test "x$ac_cv_func_posix_fallocate" = xyes
20360 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20363 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20364 if test "x$ac_cv_func_prctl" = xyes
20366 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20369 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20370 if test "x$ac_cv_func_proc_pidinfo" = xyes
20372 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20375 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20376 if test "x$ac_cv_func_sched_yield" = xyes
20378 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20381 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20382 if test "x$ac_cv_func_setproctitle" = xyes
20384 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20387 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20388 if test "x$ac_cv_func_setprogname" = xyes
20390 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20393 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20394 if test "x$ac_cv_func_sigprocmask" = xyes
20396 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20399 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20400 if test "x$ac_cv_func_sysinfo" = xyes
20402 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20405 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20406 if test "x$ac_cv_func_tcdrain" = xyes
20408 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20411 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20412 if test "x$ac_cv_func_thr_kill2" = xyes
20414 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20418 CFLAGS
="$ac_save_CFLAGS"
20421 darwin
*|macosx
*) ;;
20422 *) ac_save_LIBS
=$LIBS
20423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20424 printf %s
"checking for library containing clock_gettime... " >&6; }
20425 if test ${ac_cv_search_clock_gettime+y}
20427 printf %s
"(cached) " >&6
20429 ac_func_search_save_LIBS
=$LIBS
20430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h. */
20433 /* Override any GCC internal prototype to avoid an error.
20434 Use char because int might match the return type of a GCC
20435 builtin and then its argument prototype would still apply. */
20436 char clock_gettime ();
20440 return clock_gettime ();
20445 for ac_lib
in '' rt
20447 if test -z "$ac_lib"; then
20448 ac_res
="none required"
20451 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20453 if ac_fn_c_try_link
"$LINENO"
20455 ac_cv_search_clock_gettime
=$ac_res
20457 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20459 if test ${ac_cv_search_clock_gettime+y}
20464 if test ${ac_cv_search_clock_gettime+y}
20468 ac_cv_search_clock_gettime
=no
20470 rm conftest.
$ac_ext
20471 LIBS
=$ac_func_search_save_LIBS
20473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20474 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20475 ac_res
=$ac_cv_search_clock_gettime
20476 if test "$ac_res" != no
20478 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20480 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20482 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20491 printf %s
"checking for sched_setaffinity... " >&6; }
20492 if test ${wine_cv_have_sched_setaffinity+y}
20494 printf %s
"(cached) " >&6
20496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20502 sched_setaffinity(0, 0, 0);
20507 if ac_fn_c_try_link
"$LINENO"
20509 wine_cv_have_sched_setaffinity
=yes
20511 wine_cv_have_sched_setaffinity
=no
20513 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20514 conftest
$ac_exeext conftest.
$ac_ext
20516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20517 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20518 if test "$wine_cv_have_sched_setaffinity" = "yes"
20521 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20527 printf %s
"checking for inline... " >&6; }
20528 if test ${ac_cv_c_inline+y}
20530 printf %s
"(cached) " >&6
20533 for ac_kw
in inline __inline__ __inline
; do
20534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20536 #ifndef __cplusplus
20538 static $ac_kw foo_t static_foo (void) {return 0; }
20539 $ac_kw foo_t foo (void) {return 0; }
20543 if ac_fn_c_try_compile
"$LINENO"
20545 ac_cv_c_inline
=$ac_kw
20547 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20548 test "$ac_cv_c_inline" != no
&& break
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20553 printf "%s\n" "$ac_cv_c_inline" >&6; }
20555 case $ac_cv_c_inline in
20558 case $ac_cv_c_inline in
20560 *) ac_val
=$ac_cv_c_inline;;
20562 cat >>confdefs.h
<<_ACEOF
20563 #ifndef __cplusplus
20564 #define inline $ac_val
20570 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20572 if test "x$ac_cv_type_request_sense" = xyes
20575 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20581 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20582 #include <sys/socket.h>
20583 #ifdef HAVE_SYS_SOCKETVAR_H
20584 #include <sys/socketvar.h>
20586 #ifdef HAVE_NET_ROUTE_H
20587 #include <net/route.h>
20589 #ifdef HAVE_NETINET_IN_H
20590 #include <netinet/in.h>
20592 #ifdef HAVE_NETINET_IN_SYSTM_H
20593 #include <netinet/in_systm.h>
20595 #ifdef HAVE_NETINET_IP_H
20596 #include <netinet/ip.h>
20598 #ifdef HAVE_NETINET_IN_PCB_H
20599 #include <netinet/in_pcb.h>
20602 if test "x$ac_cv_type_struct_xinpgen" = xyes
20605 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20612 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20613 if test ${wine_cv_linux_gethostbyname_r_6+y}
20615 printf %s
"(cached) " >&6
20617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20626 struct hostent *result;
20633 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20634 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20640 if ac_fn_c_try_link
"$LINENO"
20642 wine_cv_linux_gethostbyname_r_6
=yes
20644 wine_cv_linux_gethostbyname_r_6
=no
20647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20648 conftest
$ac_exeext conftest.
$ac_ext
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20652 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20653 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20656 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20660 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20661 #include <sys/socket.h>
20662 #ifdef HAVE_SYS_UN_H
20663 # include <sys/un.h>
20666 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20669 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20673 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20674 #include <sys/socket.h>
20675 #ifdef HAVE_SYS_UN_H
20676 # include <sys/un.h>
20679 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20682 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20688 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20689 #ifdef HAVE_SCSI_SG_H
20690 #include <scsi/sg.h>
20693 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20696 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20700 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>
20701 #ifdef HAVE_SCSI_SG_H
20702 #include <scsi/sg.h>
20705 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20708 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20714 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20716 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20719 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20725 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20726 #ifdef HAVE_SYS_MTIO_H
20727 #include <sys/mtio.h>
20730 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20733 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20737 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20738 #ifdef HAVE_SYS_MTIO_H
20739 #include <sys/mtio.h>
20742 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20745 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20749 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20750 #ifdef HAVE_SYS_MTIO_H
20751 #include <sys/mtio.h>
20754 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20757 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20763 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20764 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20767 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20771 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20772 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20775 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20779 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20780 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20783 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20787 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20788 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20791 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20795 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20796 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20799 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20803 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20804 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20807 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20811 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20812 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20815 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20819 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20820 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20823 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20827 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20828 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20831 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20835 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20836 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20839 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20843 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20844 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20847 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20853 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>
20854 #ifdef HAVE_NETINET_IN_H
20855 #include <netinet/in.h>
20858 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20861 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20867 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
20868 #include <resolv.h>
20871 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20874 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20880 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20881 #include <netinet/in.h>
20884 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20887 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20893 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20894 #ifdef HAVE_SYS_SOCKETVAR_H
20895 #include <sys/socketvar.h>
20897 #ifdef HAVE_NETINET_IN_H
20898 #include <netinet/in.h>
20900 #ifdef HAVE_NETINET_IP_VAR_H
20901 #include <netinet/ip_var.h>
20904 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20907 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20913 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
20914 #include <netinet/ip_var.h>
20917 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20920 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20926 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20927 #ifdef HAVE_SYS_SOCKETVAR_H
20928 #include <sys/socketvar.h>
20930 #ifdef HAVE_NETINET_IN_H
20931 #include <netinet/in.h>
20933 #ifdef HAVE_NETINET6_IP6_VAR_H
20934 #include <netinet6/ip6_var.h>
20937 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20940 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20946 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20947 #ifdef HAVE_SYS_SOCKETVAR_H
20948 #include <sys/socketvar.h>
20950 #ifdef HAVE_NETINET_IN_H
20951 #include <netinet/in.h>
20953 #ifdef HAVE_NETINET_IP_H
20954 #include <netinet/ip.h>
20956 #ifdef HAVE_NETINET_IP_ICMP_H
20957 #include <netinet/ip_icmp.h>
20959 #ifdef HAVE_NETINET_ICMP_VAR_H
20960 #include <netinet/icmp_var.h>
20963 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20966 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20972 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20973 #ifdef HAVE_SYS_SOCKETVAR_H
20974 #include <sys/socketvar.h>
20976 #ifdef HAVE_NETINET_IN_H
20977 #include <netinet/in.h>
20979 #ifdef HAVE_NETINET_ICMP6_H
20980 #include <netinet/icmp6.h>
20983 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20986 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20992 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20993 #ifdef HAVE_SYS_SOCKETVAR_H
20994 #include <sys/socketvar.h>
20996 #ifdef HAVE_NETINET_IN_H
20997 #include <netinet/in.h>
20999 #ifdef HAVE_NETINET_TCP_H
21000 #include <netinet/tcp.h>
21002 #ifdef HAVE_NETINET_TCP_VAR_H
21003 #include <netinet/tcp_var.h>
21006 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21009 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21015 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
21016 #include <netinet/tcp_var.h>
21019 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21022 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21028 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21029 #ifdef HAVE_NETINET_IN_H
21030 #include <netinet/in.h>
21032 #ifdef HAVE_NETINET_IP_VAR_H
21033 #include <netinet/ip_var.h>
21035 #ifdef HAVE_NETINET_UDP_H
21036 #include <netinet/udp.h>
21038 #ifdef HAVE_NETINET_UDP_VAR_H
21039 #include <netinet/udp_var.h>
21042 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21045 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21051 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21052 #ifdef HAVE_NET_IF_H
21053 # include <net/if.h>
21056 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21059 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21065 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21066 # include <sys/sysinfo.h>
21069 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21072 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21076 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21077 # include <sys/sysinfo.h>
21080 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21083 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21089 LIBS
="$ac_save_LIBS"
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21092 printf %s
"checking for __builtin_popcount... " >&6; }
21093 if test ${ac_cv_have___builtin_popcount+y}
21095 printf %s
"(cached) " >&6
21097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21103 return __builtin_popcount(1)
21108 if ac_fn_c_try_link
"$LINENO"
21110 ac_cv_have___builtin_popcount
="yes"
21112 ac_cv_have___builtin_popcount
="no"
21114 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21115 conftest
$ac_exeext conftest.
$ac_ext
21117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21118 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21119 if test "$ac_cv_have___builtin_popcount" = "yes"
21122 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21127 printf %s
"checking for __clear_cache... " >&6; }
21128 if test ${ac_cv_have___clear_cache+y}
21130 printf %s
"(cached) " >&6
21132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21133 /* end confdefs.h. */
21138 __clear_cache((void*)0, (void*)0); return 0;
21143 if ac_fn_c_try_link
"$LINENO"
21145 ac_cv_have___clear_cache
="yes"
21147 ac_cv_have___clear_cache
="no"
21149 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21150 conftest
$ac_exeext conftest.
$ac_ext
21152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21153 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21154 if test "$ac_cv_have___clear_cache" = "yes"
21157 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21163 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21164 printf %s
"checking whether we need to define __i386__... " >&6; }
21165 if test ${ac_cv_cpp_def___i386__+y}
21167 printf %s
"(cached) " >&6
21169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21170 /* end confdefs.h. */
21175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21176 $EGREP "yes" >/dev
/null
2>&1
21178 ac_cv_cpp_def___i386__
=yes
21180 ac_cv_cpp_def___i386__
=no
21185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21186 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21187 if test "x$ac_cv_cpp_def___i386__" = xyes
21189 CFLAGS
="$CFLAGS -D__i386__"
21190 LINTFLAGS
="$LINTFLAGS -D__i386__"
21192 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21193 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21194 if test ${ac_cv_cpp_def___x86_64__+y}
21196 printf %s
"(cached) " >&6
21198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21199 /* end confdefs.h. */
21204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21205 $EGREP "yes" >/dev
/null
2>&1
21207 ac_cv_cpp_def___x86_64__
=yes
21209 ac_cv_cpp_def___x86_64__
=no
21214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21215 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21216 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21218 CFLAGS
="$CFLAGS -D__x86_64__"
21219 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21221 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21222 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21223 if test ${ac_cv_cpp_def___sparc64__+y}
21225 printf %s
"(cached) " >&6
21227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21229 #ifndef __sparc64__
21233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21234 $EGREP "yes" >/dev
/null
2>&1
21236 ac_cv_cpp_def___sparc64__
=yes
21238 ac_cv_cpp_def___sparc64__
=no
21243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21244 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21245 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21247 CFLAGS
="$CFLAGS -D__sparc64__"
21248 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21250 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21251 printf %s
"checking whether we need to define __sparc__... " >&6; }
21252 if test ${ac_cv_cpp_def___sparc__+y}
21254 printf %s
"(cached) " >&6
21256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21263 $EGREP "yes" >/dev
/null
2>&1
21265 ac_cv_cpp_def___sparc__
=yes
21267 ac_cv_cpp_def___sparc__
=no
21272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21273 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21274 if test "x$ac_cv_cpp_def___sparc__" = xyes
21276 CFLAGS
="$CFLAGS -D__sparc__"
21277 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21279 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21280 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21281 if test ${ac_cv_cpp_def___powerpc64__+y}
21283 printf %s
"(cached) " >&6
21285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #ifndef __powerpc64__
21291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21292 $EGREP "yes" >/dev
/null
2>&1
21294 ac_cv_cpp_def___powerpc64__
=yes
21296 ac_cv_cpp_def___powerpc64__
=no
21301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21302 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21303 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21305 CFLAGS
="$CFLAGS -D__powerpc64__"
21306 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21308 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21309 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21310 if test ${ac_cv_cpp_def___powerpc__+y}
21312 printf %s
"(cached) " >&6
21314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21316 #ifndef __powerpc__
21320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21321 $EGREP "yes" >/dev
/null
2>&1
21323 ac_cv_cpp_def___powerpc__
=yes
21325 ac_cv_cpp_def___powerpc__
=no
21330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21331 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21332 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21334 CFLAGS
="$CFLAGS -D__powerpc__"
21335 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21337 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21338 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21339 if test ${ac_cv_cpp_def___aarch64__+y}
21341 printf %s
"(cached) " >&6
21343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21345 #ifndef __aarch64__
21349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21350 $EGREP "yes" >/dev
/null
2>&1
21352 ac_cv_cpp_def___aarch64__
=yes
21354 ac_cv_cpp_def___aarch64__
=no
21359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21360 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21361 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21363 CFLAGS
="$CFLAGS -D__aarch64__"
21364 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21366 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21367 printf %s
"checking whether we need to define __arm__... " >&6; }
21368 if test ${ac_cv_cpp_def___arm__+y}
21370 printf %s
"(cached) " >&6
21372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h. */
21378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21379 $EGREP "yes" >/dev
/null
2>&1
21381 ac_cv_cpp_def___arm__
=yes
21383 ac_cv_cpp_def___arm__
=no
21388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21389 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21390 if test "x$ac_cv_cpp_def___arm__" = xyes
21392 CFLAGS
="$CFLAGS -D__arm__"
21393 LINTFLAGS
="$LINTFLAGS -D__arm__"
21397 case $host_vendor in
21398 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21399 printf %s
"checking whether we need to define __sun__... " >&6; }
21400 if test ${ac_cv_cpp_def___sun__+y}
21402 printf %s
"(cached) " >&6
21404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21411 $EGREP "yes" >/dev
/null
2>&1
21413 ac_cv_cpp_def___sun__
=yes
21415 ac_cv_cpp_def___sun__
=no
21420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21421 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21422 if test "x$ac_cv_cpp_def___sun__" = xyes
21424 CFLAGS
="$CFLAGS -D__sun__"
21425 LINTFLAGS
="$LINTFLAGS -D__sun__"
21433 ac_config_commands
="$ac_config_commands include/stamp-h"
21435 printf %s
"creating Makefile rules..." >&6
21438 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21441 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21443 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21444 wine_fn_config_symlink wine
21445 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21446 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21447 wine_fn_config_symlink wine64
21450 wine_fn_config_makefile dlls
/acledit enable_acledit
21451 wine_fn_config_makefile dlls
/aclui enable_aclui
21452 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21453 wine_fn_config_makefile dlls
/activeds enable_activeds
21454 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21455 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21456 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21457 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21458 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21459 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21460 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21461 wine_fn_config_makefile dlls
/advpack enable_advpack
21462 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21463 wine_fn_config_makefile dlls
/amsi enable_amsi
21464 wine_fn_config_makefile dlls
/amstream enable_amstream
21465 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21466 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21467 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21468 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21469 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21470 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21471 wine_fn_config_makefile dlls
/atl enable_atl
21472 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21473 wine_fn_config_makefile dlls
/atl100 enable_atl100
21474 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21475 wine_fn_config_makefile dlls
/atl110 enable_atl110
21476 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21477 wine_fn_config_makefile dlls
/atl80 enable_atl80
21478 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21479 wine_fn_config_makefile dlls
/atl90 enable_atl90
21480 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21481 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21482 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21483 wine_fn_config_makefile dlls
/authz enable_authz
21484 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21485 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21486 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21487 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21488 wine_fn_config_makefile dlls
/avrt enable_avrt
21489 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21490 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21491 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21492 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21493 wine_fn_config_makefile dlls
/browseui enable_browseui
21494 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21495 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21496 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21497 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21498 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21499 wine_fn_config_makefile dlls
/cards enable_cards
21500 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21501 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21502 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21503 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21504 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21505 wine_fn_config_makefile dlls
/combase enable_combase
21506 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21507 wine_fn_config_makefile dlls
/comcat enable_comcat
21508 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21509 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21510 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21511 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21512 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21513 wine_fn_config_makefile dlls
/coml2 enable_coml2
21514 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21515 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21516 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21517 wine_fn_config_makefile dlls
/compstui enable_compstui
21518 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21519 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21520 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21521 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21522 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21523 wine_fn_config_makefile dlls
/connect enable_connect
21524 wine_fn_config_makefile dlls
/credui enable_credui
21525 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21526 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21527 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21528 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21529 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21530 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21531 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21532 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21533 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21534 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21535 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21536 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21537 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21538 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21539 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21540 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21541 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21542 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21543 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21544 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21545 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21546 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21547 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21548 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21549 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21550 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21551 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21552 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21553 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21554 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21555 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21556 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21557 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21558 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21559 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21560 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21561 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21562 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21563 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21564 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21565 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21566 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21567 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21568 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21569 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21570 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21571 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21572 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21573 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21574 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21575 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21576 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21577 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21578 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21579 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21580 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21581 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21582 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21583 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21584 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21585 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21586 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21587 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21588 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21589 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21590 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21591 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21592 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21593 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21594 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21595 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21596 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21597 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21598 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21599 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21600 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21601 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21602 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21603 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21604 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21605 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21606 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21607 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21608 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21609 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21610 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21611 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21612 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21613 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21614 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21615 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21616 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21617 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21618 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21619 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21620 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21621 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21622 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21623 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21624 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21625 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21626 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21627 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21628 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21629 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21630 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21631 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21632 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21633 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21634 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21635 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21636 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21637 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21638 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21639 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21640 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21641 wine_fn_config_makefile dlls
/devenum enable_devenum
21642 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21643 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21644 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21645 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21646 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21647 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21648 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21649 wine_fn_config_makefile dlls
/dinput enable_dinput
21650 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21651 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21652 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21653 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21654 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21655 wine_fn_config_makefile dlls
/dispex enable_dispex
21656 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21657 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21658 wine_fn_config_makefile dlls
/dmband enable_dmband
21659 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21660 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21661 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21662 wine_fn_config_makefile dlls
/dmime enable_dmime
21663 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21664 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21665 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21666 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21667 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21668 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21669 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21670 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21671 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21672 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21673 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21674 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21675 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21676 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21677 wine_fn_config_makefile dlls
/dplay enable_dplay
21678 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21679 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21680 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21681 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21682 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21683 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21684 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21685 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21686 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21687 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21688 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21689 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21690 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21691 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21692 wine_fn_config_makefile dlls
/dsound enable_dsound
21693 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21694 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21695 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21696 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21697 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21698 wine_fn_config_makefile dlls
/dswave enable_dswave
21699 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21700 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21701 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21702 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21703 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21704 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21705 wine_fn_config_makefile dlls
/dxcore enable_dxcore
21706 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21707 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21708 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21709 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21710 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21711 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21712 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21713 wine_fn_config_makefile dlls
/esent enable_esent
21714 wine_fn_config_makefile dlls
/evr enable_evr
21715 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21716 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21717 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21718 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21719 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21720 wine_fn_config_makefile dlls
/feclient enable_feclient
21721 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21722 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21723 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21724 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21725 wine_fn_config_makefile dlls
/fusion enable_fusion
21726 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21727 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21728 wine_fn_config_makefile dlls
/gameux enable_gameux
21729 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21730 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21731 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21732 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21733 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21734 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21735 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21736 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21737 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21738 wine_fn_config_makefile dlls
/glu32 enable_glu32
21739 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21740 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21741 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21742 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21743 wine_fn_config_makefile dlls
/hal enable_hal
21744 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21745 wine_fn_config_makefile dlls
/hid enable_hid
21746 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21747 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21748 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21749 wine_fn_config_makefile dlls
/hlink enable_hlink
21750 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21751 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21752 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21753 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21754 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21755 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21756 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21757 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21758 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21759 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21760 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21761 wine_fn_config_makefile dlls
/icmp enable_icmp
21762 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21763 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21764 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21765 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21766 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21767 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21768 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21769 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21770 wine_fn_config_makefile dlls
/imm32 enable_imm32
21771 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21772 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21773 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21774 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21775 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21776 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21777 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21778 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21779 wine_fn_config_makefile dlls
/initpki enable_initpki
21780 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21781 wine_fn_config_makefile dlls
/inseng enable_inseng
21782 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21783 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21784 wine_fn_config_makefile dlls
/iprop enable_iprop
21785 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21786 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21787 wine_fn_config_makefile dlls
/itircl enable_itircl
21788 wine_fn_config_makefile dlls
/itss enable_itss
21789 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21790 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21791 wine_fn_config_makefile dlls
/jscript enable_jscript
21792 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21793 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21794 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21795 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21796 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21797 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21798 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21799 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21800 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21801 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21802 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21803 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21804 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21805 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21806 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21807 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21808 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21809 wine_fn_config_makefile dlls
/localspl enable_localspl
21810 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21811 wine_fn_config_makefile dlls
/localui enable_localui
21812 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21813 wine_fn_config_makefile dlls
/lz32 enable_lz32
21814 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21815 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21816 wine_fn_config_makefile dlls
/magnification enable_magnification
21817 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21818 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21819 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21820 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21821 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21822 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21823 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21824 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21825 wine_fn_config_makefile dlls
/mf enable_mf
21826 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21827 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21828 wine_fn_config_makefile dlls
/mferror enable_mferror
21829 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21830 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21831 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21832 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21833 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21834 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21835 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21836 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21837 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21838 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21839 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21840 wine_fn_config_makefile dlls
/midimap enable_midimap
21841 wine_fn_config_makefile dlls
/mlang enable_mlang
21842 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21843 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21844 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21845 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21846 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21847 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21848 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21849 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21850 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21851 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21852 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21853 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21854 wine_fn_config_makefile dlls
/mpr enable_mpr
21855 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21856 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21857 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21858 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21859 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21860 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21861 wine_fn_config_makefile dlls
/msado15 enable_msado15
21862 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21863 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21864 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21865 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21866 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21867 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21868 wine_fn_config_makefile dlls
/mscms enable_mscms
21869 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21870 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21871 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21872 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21873 wine_fn_config_makefile dlls
/msctf enable_msctf
21874 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21875 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21876 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21877 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21878 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21879 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21880 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21881 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21882 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21883 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21884 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21885 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21886 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21887 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21888 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21889 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21890 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21891 wine_fn_config_makefile dlls
/msi enable_msi
21892 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21893 wine_fn_config_makefile dlls
/msident enable_msident
21894 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21895 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21896 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21897 wine_fn_config_makefile dlls
/msisip enable_msisip
21898 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21899 wine_fn_config_makefile dlls
/msls31 enable_msls31
21900 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21901 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21902 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21903 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21904 wine_fn_config_makefile dlls
/msports enable_msports
21905 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21906 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21907 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21908 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21909 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21910 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21911 wine_fn_config_makefile dlls
/mstask enable_mstask
21912 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21913 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
21914 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21915 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21916 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21917 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21918 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21919 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21920 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21921 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21922 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21923 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21924 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21925 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21926 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21927 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21928 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21929 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21930 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21931 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21932 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21933 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21934 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21935 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21936 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21937 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21938 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21939 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21940 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21941 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21942 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21943 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21944 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21945 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21946 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21947 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21948 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21949 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21950 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21951 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21952 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21953 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21954 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21955 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21956 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21957 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21958 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21959 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21960 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21961 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21962 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21963 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21964 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21965 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21966 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21967 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21968 wine_fn_config_makefile dlls
/msxml enable_msxml
21969 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21970 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21971 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21972 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21973 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
21974 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21975 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
21976 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21977 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21978 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21979 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21980 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21981 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21982 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21983 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21984 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21985 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21986 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21987 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21988 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21989 wine_fn_config_makefile dlls
/netutils enable_netutils
21990 wine_fn_config_makefile dlls
/newdev enable_newdev
21991 wine_fn_config_makefile dlls
/ninput enable_ninput
21992 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21993 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21994 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21995 wine_fn_config_makefile dlls
/npptools enable_npptools
21996 wine_fn_config_makefile dlls
/nsi enable_nsi
21997 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21998 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21999 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22000 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22001 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22002 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22003 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22004 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22005 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22006 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22007 wine_fn_config_makefile dlls
/objsel enable_objsel
22008 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22009 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22010 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22011 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22012 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22013 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22014 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22015 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22016 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22017 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22018 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22019 wine_fn_config_makefile dlls
/ole32 enable_ole32
22020 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22021 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22022 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22023 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22024 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22025 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22026 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22027 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22028 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22029 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22030 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22031 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22032 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22033 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22034 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22035 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22036 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22037 wine_fn_config_makefile dlls
/opencl enable_opencl
22038 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22039 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22040 wine_fn_config_makefile dlls
/packager enable_packager
22041 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22042 wine_fn_config_makefile dlls
/pdh enable_pdh
22043 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22044 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22045 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22046 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22047 wine_fn_config_makefile dlls
/printui enable_printui
22048 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22049 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22050 wine_fn_config_makefile dlls
/propsys enable_propsys
22051 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22052 wine_fn_config_makefile dlls
/psapi enable_psapi
22053 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22054 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22055 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22056 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22057 wine_fn_config_makefile dlls
/qasf enable_qasf
22058 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22059 wine_fn_config_makefile dlls
/qcap enable_qcap
22060 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22061 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22062 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22063 wine_fn_config_makefile dlls
/qedit enable_qedit
22064 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22065 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22066 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22067 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22068 wine_fn_config_makefile dlls
/quartz enable_quartz
22069 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22070 wine_fn_config_makefile dlls
/query enable_query
22071 wine_fn_config_makefile dlls
/qwave enable_qwave
22072 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22073 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22074 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22075 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22076 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22077 wine_fn_config_makefile dlls
/regapi enable_regapi
22078 wine_fn_config_makefile dlls
/resutils enable_resutils
22079 wine_fn_config_makefile dlls
/riched20 enable_riched20
22080 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22081 wine_fn_config_makefile dlls
/riched32 enable_riched32
22082 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22083 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22084 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22085 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22086 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22087 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22088 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22089 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22090 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22091 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22092 wine_fn_config_makefile dlls
/samlib enable_samlib
22093 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22094 wine_fn_config_makefile dlls
/sapi enable_sapi
22095 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22096 wine_fn_config_makefile dlls
/sas enable_sas
22097 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22098 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22099 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22100 wine_fn_config_makefile dlls
/schannel enable_schannel
22101 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22102 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22103 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22104 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22105 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22106 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22107 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22108 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22109 wine_fn_config_makefile dlls
/sechost enable_sechost
22110 wine_fn_config_makefile dlls
/secur32 enable_secur32
22111 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22112 wine_fn_config_makefile dlls
/security enable_security
22113 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22114 wine_fn_config_makefile dlls
/serialui enable_serialui
22115 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22116 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22117 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22118 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22119 wine_fn_config_makefile dlls
/sfc enable_sfc
22120 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22121 wine_fn_config_makefile dlls
/shcore enable_shcore
22122 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22123 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22124 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22125 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22126 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22127 wine_fn_config_makefile dlls
/shell32 enable_shell32
22128 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22129 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22130 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22131 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22132 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22133 wine_fn_config_makefile dlls
/slc enable_slc
22134 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22135 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22136 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22137 wine_fn_config_makefile dlls
/softpub enable_softpub
22138 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22139 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22140 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22141 wine_fn_config_makefile dlls
/sppc enable_sppc
22142 wine_fn_config_makefile dlls
/srclient enable_srclient
22143 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22144 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22145 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22146 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22147 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22148 wine_fn_config_makefile dlls
/sti enable_sti
22149 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22150 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22151 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22152 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22153 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22154 wine_fn_config_makefile dlls
/sxs enable_sxs
22155 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22156 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22157 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22158 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22159 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22160 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22161 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22162 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22163 wine_fn_config_makefile dlls
/tbs enable_tbs
22164 wine_fn_config_makefile dlls
/tdh enable_tdh
22165 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22166 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22167 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22168 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22169 wine_fn_config_makefile dlls
/traffic enable_traffic
22170 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22171 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22172 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22173 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22174 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22175 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22176 wine_fn_config_makefile dlls
/tzres enable_tzres
22177 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22178 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22179 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22180 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22181 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22182 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22183 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22184 wine_fn_config_makefile dlls
/unicows enable_unicows
22185 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22186 wine_fn_config_makefile dlls
/url enable_url
22187 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22188 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22189 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22190 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22191 wine_fn_config_makefile dlls
/user32 enable_user32
22192 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22193 wine_fn_config_makefile dlls
/userenv enable_userenv
22194 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22195 wine_fn_config_makefile dlls
/usp10 enable_usp10
22196 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22197 wine_fn_config_makefile dlls
/utildll enable_utildll
22198 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22199 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22200 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22201 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22202 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22203 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22204 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22205 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22206 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22207 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22208 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22209 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22210 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22211 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22212 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22213 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22214 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22215 wine_fn_config_makefile dlls
/version enable_version
22216 wine_fn_config_makefile dlls
/version
/tests enable_tests
22217 wine_fn_config_makefile dlls
/vga enable_vga
22218 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22219 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22220 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22221 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22222 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22223 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22224 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22225 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22226 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22227 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22228 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22229 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22230 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22231 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22232 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22233 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22234 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22235 wine_fn_config_makefile dlls
/webservices enable_webservices
22236 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22237 wine_fn_config_makefile dlls
/websocket enable_websocket
22238 wine_fn_config_makefile dlls
/wer enable_wer
22239 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22240 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22241 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22242 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22243 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22244 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22245 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22246 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22247 wine_fn_config_makefile dlls
/win32u enable_win32u
22248 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22249 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22250 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22251 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22252 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22253 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22254 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22255 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22256 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22257 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22258 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22259 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22260 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22261 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22262 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22263 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22264 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22265 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22266 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22267 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22268 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22269 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22270 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22271 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22272 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22273 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22274 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22275 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22276 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22277 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22278 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22279 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22280 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22281 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22282 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22283 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22284 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22285 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22286 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22287 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22288 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22289 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22290 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22291 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22292 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22293 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22294 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22295 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22296 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22297 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22298 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22299 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22300 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22301 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22302 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22303 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22304 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22305 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22306 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22307 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22308 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22309 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22310 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22311 wine_fn_config_makefile dlls
/wing32 enable_wing32
22312 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22313 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22314 wine_fn_config_makefile dlls
/wininet enable_wininet
22315 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22316 wine_fn_config_makefile dlls
/winmm enable_winmm
22317 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22318 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22319 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22320 wine_fn_config_makefile dlls
/winprint enable_winprint
22321 wine_fn_config_makefile dlls
/winscard enable_winscard
22322 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22323 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22324 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22325 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22326 wine_fn_config_makefile dlls
/winsta enable_winsta
22327 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22328 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22329 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22330 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22331 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22332 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22333 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22334 wine_fn_config_makefile dlls
/winusb enable_winusb
22335 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22336 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22337 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22338 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22339 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22340 wine_fn_config_makefile dlls
/wldp enable_wldp
22341 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22342 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22343 wine_fn_config_makefile dlls
/wmi enable_wmi
22344 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22345 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22346 wine_fn_config_makefile dlls
/wmp enable_wmp
22347 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22348 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22349 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22350 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22351 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22352 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22353 wine_fn_config_makefile dlls
/wow32 enable_win16
22354 wine_fn_config_makefile dlls
/wow64 enable_wow64
22355 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22356 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22357 wine_fn_config_makefile dlls
/wpc enable_wpc
22358 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22359 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22360 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22361 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22362 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22363 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22364 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22365 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22366 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22367 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22368 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22369 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22370 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22371 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22372 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22373 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22374 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22375 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22376 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22377 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22378 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22379 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22380 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22381 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22382 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22383 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22384 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22385 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22386 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22387 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22388 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22389 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22390 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22391 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22392 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22393 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22394 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22395 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22396 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22397 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22398 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22399 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22400 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22401 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22402 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22403 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22404 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22405 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22406 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22407 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22408 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22409 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22410 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22411 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22412 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22413 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22414 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22415 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22416 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22417 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22418 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22419 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22420 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22421 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22422 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22423 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22424 wine_fn_config_makefile fonts enable_fonts
22425 wine_fn_config_makefile include enable_include
22426 wine_fn_config_makefile libs
/adsiid enable_adsiid
22427 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22428 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22429 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22430 wine_fn_config_makefile libs
/dxguid enable_dxguid
22431 wine_fn_config_makefile libs
/faudio enable_faudio
22432 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22433 wine_fn_config_makefile libs
/gsm enable_gsm
22434 wine_fn_config_makefile libs
/jpeg enable_jpeg
22435 wine_fn_config_makefile libs
/jxr enable_jxr
22436 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22437 wine_fn_config_makefile libs
/ldap enable_ldap
22438 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22439 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22440 wine_fn_config_makefile libs
/musl enable_musl
22441 wine_fn_config_makefile libs
/png enable_png
22442 wine_fn_config_makefile libs
/strmbase enable_strmbase
22443 wine_fn_config_makefile libs
/strmiids enable_strmiids
22444 wine_fn_config_makefile libs
/tiff enable_tiff
22445 wine_fn_config_makefile libs
/uuid enable_uuid
22446 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22447 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22448 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22449 wine_fn_config_makefile libs
/xml2 enable_xml2
22450 wine_fn_config_makefile libs
/xslt enable_xslt
22451 wine_fn_config_makefile libs
/zlib enable_zlib
22452 wine_fn_config_makefile libs
/zydis enable_zydis
22453 wine_fn_config_makefile loader enable_loader
22454 wine_fn_config_makefile nls enable_nls
22455 wine_fn_config_makefile po enable_po
22456 wine_fn_config_makefile programs
/arp enable_arp
22457 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22458 wine_fn_config_makefile programs
/attrib enable_attrib
22459 wine_fn_config_makefile programs
/cabarc enable_cabarc
22460 wine_fn_config_makefile programs
/cacls enable_cacls
22461 wine_fn_config_makefile programs
/certutil enable_certutil
22462 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22463 wine_fn_config_makefile programs
/clock enable_clock
22464 wine_fn_config_makefile programs
/cmd enable_cmd
22465 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22466 wine_fn_config_makefile programs
/conhost enable_conhost
22467 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22468 wine_fn_config_makefile programs
/control enable_control
22469 wine_fn_config_makefile programs
/cscript enable_cscript
22470 wine_fn_config_makefile programs
/dism enable_dism
22471 wine_fn_config_makefile programs
/dllhost enable_dllhost
22472 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22473 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22474 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22475 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22476 wine_fn_config_makefile programs
/eject enable_eject
22477 wine_fn_config_makefile programs
/expand enable_expand
22478 wine_fn_config_makefile programs
/explorer enable_explorer
22479 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22480 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22481 wine_fn_config_makefile programs
/fc enable_fc
22482 wine_fn_config_makefile programs
/find enable_find
22483 wine_fn_config_makefile programs
/find
/tests enable_tests
22484 wine_fn_config_makefile programs
/findstr enable_findstr
22485 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22486 wine_fn_config_makefile programs
/fsutil enable_fsutil
22487 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22488 wine_fn_config_makefile programs
/hh enable_hh
22489 wine_fn_config_makefile programs
/hostname enable_hostname
22490 wine_fn_config_makefile programs
/icacls enable_icacls
22491 wine_fn_config_makefile programs
/icinfo enable_icinfo
22492 wine_fn_config_makefile programs
/iexplore enable_iexplore
22493 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22494 wine_fn_config_makefile programs
/klist enable_klist
22495 wine_fn_config_makefile programs
/lodctr enable_lodctr
22496 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22497 wine_fn_config_makefile programs
/mshta enable_mshta
22498 wine_fn_config_makefile programs
/msidb enable_msidb
22499 wine_fn_config_makefile programs
/msiexec enable_msiexec
22500 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22501 wine_fn_config_makefile programs
/net enable_net
22502 wine_fn_config_makefile programs
/netsh enable_netsh
22503 wine_fn_config_makefile programs
/netstat enable_netstat
22504 wine_fn_config_makefile programs
/ngen enable_ngen
22505 wine_fn_config_makefile programs
/notepad enable_notepad
22506 wine_fn_config_makefile programs
/oleview enable_oleview
22507 wine_fn_config_makefile programs
/ping enable_ping
22508 wine_fn_config_makefile programs
/plugplay enable_plugplay
22509 wine_fn_config_makefile programs
/pnputil enable_pnputil
22510 wine_fn_config_makefile programs
/powershell enable_powershell
22511 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22512 wine_fn_config_makefile programs
/progman enable_progman
22513 wine_fn_config_makefile programs
/reg enable_reg
22514 wine_fn_config_makefile programs
/reg
/tests enable_tests
22515 wine_fn_config_makefile programs
/regasm enable_regasm
22516 wine_fn_config_makefile programs
/regedit enable_regedit
22517 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22518 wine_fn_config_makefile programs
/regini enable_regini
22519 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22520 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22521 wine_fn_config_makefile programs
/robocopy enable_robocopy
22522 wine_fn_config_makefile programs
/rpcss enable_rpcss
22523 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22524 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22525 wine_fn_config_makefile programs
/sc enable_sc
22526 wine_fn_config_makefile programs
/sc
/tests enable_tests
22527 wine_fn_config_makefile programs
/schtasks enable_schtasks
22528 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22529 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22530 wine_fn_config_makefile programs
/secedit enable_secedit
22531 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22532 wine_fn_config_makefile programs
/services enable_services
22533 wine_fn_config_makefile programs
/services
/tests enable_tests
22534 wine_fn_config_makefile programs
/setx enable_setx
22535 wine_fn_config_makefile programs
/shutdown enable_shutdown
22536 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22537 wine_fn_config_makefile programs
/start enable_start
22538 wine_fn_config_makefile programs
/subst enable_subst
22539 wine_fn_config_makefile programs
/svchost enable_svchost
22540 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22541 wine_fn_config_makefile programs
/taskkill enable_taskkill
22542 wine_fn_config_makefile programs
/tasklist enable_tasklist
22543 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22544 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22545 wine_fn_config_makefile programs
/termsv enable_termsv
22546 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22547 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22548 wine_fn_config_makefile programs
/view enable_view
22549 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22550 wine_fn_config_makefile programs
/where enable_where
22551 wine_fn_config_makefile programs
/whoami enable_whoami
22552 wine_fn_config_makefile programs
/wineboot enable_wineboot
22553 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22554 wine_fn_config_makefile programs
/winecfg enable_winecfg
22555 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22556 wine_fn_config_makefile programs
/winedbg enable_winedbg
22557 wine_fn_config_makefile programs
/winedevice enable_winedevice
22558 wine_fn_config_makefile programs
/winefile enable_winefile
22559 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22560 wine_fn_config_makefile programs
/winemine enable_winemine
22561 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22562 wine_fn_config_makefile programs
/winepath enable_winepath
22563 wine_fn_config_makefile programs
/winetest enable_winetest
22564 wine_fn_config_makefile programs
/winevdm enable_win16
22565 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22566 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22567 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22568 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22569 wine_fn_config_makefile programs
/winver enable_winver
22570 wine_fn_config_makefile programs
/wmic enable_wmic
22571 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22572 wine_fn_config_makefile programs
/wordpad enable_wordpad
22573 wine_fn_config_makefile programs
/write enable_write
22574 wine_fn_config_makefile programs
/wscript enable_wscript
22575 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22576 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22577 wine_fn_config_makefile programs
/wusa enable_wusa
22578 wine_fn_config_makefile programs
/xcopy enable_xcopy
22579 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22580 wine_fn_config_makefile server enable_server
22581 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22582 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22583 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22584 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22585 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22586 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22587 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22588 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22589 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22592 as_fn_append CONFIGURE_TARGETS
" TAGS"
22593 as_fn_append CONFIGURE_TARGETS
" tags"
22594 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22595 as_fn_append CONFIGURE_TARGETS
" config.log"
22596 as_fn_append CONFIGURE_TARGETS
" config.status"
22597 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22598 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22599 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22601 if test "x$enable_tools" != xno
22603 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22604 ac_config_commands
="$ac_config_commands tools/makedep"
22608 ac_config_commands
="$ac_config_commands Makefile"
22615 as_fn_append wine_rules
"
22617 @echo \"Wine build complete.\"
22621 Makefile: config.status \$(MAKEDEP)
22622 @./config.status Makefile
22623 depend: \$(MAKEDEP)
22624 \$(MAKEDEP)$makedep_flags"
22627 as_fn_append wine_rules
"
22628 config.status: ${wine_srcdir}configure
22629 @./config.status --recheck
22630 include/config.h: include/stamp-h
22631 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22632 @./config.status include/config.h include/stamp-h"
22634 if test "x$enable_maintainer_mode" = xyes
22636 as_fn_append wine_rules
"
22637 configure: configure.ac aclocal.m4
22638 autoconf --warnings=all
22639 include/config.h.in: include/stamp-h.in
22640 include/stamp-h.in: configure.ac aclocal.m4
22641 autoheader --warnings=all
22642 @echo timestamp > \$@"
22645 if test "x$enable_tools" != xno
22647 as_fn_append wine_rules
"
22648 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22649 @./config.status tools/makedep
22650 Makefile: tools/makedep$ac_exeext"
22652 as_fn_append wine_rules
"
22654 @echo \"You need to run make in $toolsdir first\" && false"
22658 if test -n "$with_wine64"
22660 case "$with_wine64" in
22664 rm -f fonts server
2>/dev
/null
22665 as_fn_append wine_rules
"
22666 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22667 loader/wine64 loader/wine64-preloader:
22668 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22669 $with_wine64/loader/wine:
22670 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22671 $with_wine64/loader/wine-preloader:
22672 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22674 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22676 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22677 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22681 programs/msidb/msidb \
22682 programs/msiexec/msiexec \
22683 programs/notepad/notepad \
22684 programs/regedit/regedit \
22685 programs/regsvr32/regsvr32 \
22686 programs/wineboot/wineboot \
22687 programs/winecfg/winecfg \
22688 programs/wineconsole/wineconsole \
22689 programs/winedbg/winedbg \
22690 programs/winefile/winefile \
22691 programs/winemine/winemine \
22692 programs/winepath/winepath \
22696 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22697 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22702 as_fn_append wine_rules
"
22704 rm -rf autom4te.cache
22706 rm -f configure include/config.h.in"
22709 as_fn_append wine_rules
"
22710 dlls/ntdll/unix/version.c: dummy
22711 @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)
22712 programs/winetest/build.rc: dummy
22713 @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)
22714 programs/winetest/build.nfo:
22716 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
22717 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22718 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22721 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22723 as_fn_append wine_rules
"
22726 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22729 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22731 .PHONY: depend dummy install-manpages"
22733 printf "%s\n" " done" >&6
22734 cat >confcache
<<\_ACEOF
22735 # This file is a shell script that caches the results of configure
22736 # tests run on this system so they can be shared between configure
22737 # scripts and configure runs, see configure's option --config-cache.
22738 # It is not useful on other systems. If it contains results you don't
22739 # want to keep, you may remove or edit it.
22741 # config.status only pays attention to the cache file if you give it
22742 # the --recheck option to rerun configure.
22744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22746 # following values.
22750 # The following way of writing the cache mishandles newlines in values,
22751 # but we know of no workaround that is simple, portable, and efficient.
22752 # So, we kill variables containing newlines.
22753 # Ultrix sh set writes to stderr and can't be redirected directly,
22754 # and sets the high bit in the cache file unless we assign to the vars.
22756 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22757 eval ac_val
=\$
$ac_var
22761 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22762 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22765 _ | IFS | as_nl
) ;; #(
22766 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22767 *) { eval $ac_var=; unset $ac_var;} ;;
22773 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22774 *${as_nl}ac_space
=\
*)
22775 # `set' does not quote correctly, so add quotes: double-quote
22776 # substitution turns \\\\ into \\, and sed turns \\ into \.
22779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22782 # `set' quotes correctly as required by POSIX, so do not add quotes.
22783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22792 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22794 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22796 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22797 if test -w "$cache_file"; then
22798 if test "x$cache_file" != "x/dev/null"; then
22799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22800 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22801 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22802 cat confcache
>"$cache_file"
22804 case $cache_file in #(
22806 mv -f confcache
"$cache_file"$$
&&
22807 mv -f "$cache_file"$$
"$cache_file" ;; #(
22809 mv -f confcache
"$cache_file" ;;
22814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22815 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22820 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22821 # Let make expand exec_prefix.
22822 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22824 DEFS
=-DHAVE_CONFIG_H
22829 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22830 # 1. Remove the extension, and $U if already installed.
22831 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22832 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22833 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22834 # will be set to the directory where LIBOBJS objects are built.
22835 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22836 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22838 LIBOBJS
=$ac_libobjs
22840 LTLIBOBJS
=$ac_ltlibobjs
22844 : "${CONFIG_STATUS=./config.status}"
22846 ac_clean_files_save
=$ac_clean_files
22847 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22849 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22851 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22853 # Generated by $as_me.
22854 # Run this file to recreate the current configuration.
22855 # Compiler output produced by configure, useful for debugging
22856 # configure, is in config.log if it exists.
22859 ac_cs_recheck=false
22862 SHELL=\${CONFIG_SHELL-$SHELL}
22865 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22866 ## -------------------- ##
22867 ## M4sh Initialization. ##
22868 ## -------------------- ##
22870 # Be more Bourne compatible
22871 DUALCASE
=1; export DUALCASE
# for MKS sh
22873 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22878 # is contrary to our usage. Disable this feature.
22879 alias -g '${1+"$@"}'='"$@"'
22880 setopt NO_GLOB_SUBST
22882 case `(set -o) 2>/dev/null` in #(
22892 # Reset variables that may have inherited troublesome values from
22895 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22896 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22897 # side effect of setting IFS to empty, thus disabling word splitting.)
22898 # Quoting is to prevent editors from complaining about space-tab.
22908 # Ensure predictable behavior from utilities with locale-dependent output.
22914 # We cannot yet rely on "unset" to work, but we need these variables
22915 # to be unset--not just set to an empty or harmless value--now, to
22916 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22917 # also avoids known problems related to "unset" and subshell syntax
22918 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22919 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22920 do eval test \
${$as_var+y} \
22921 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22924 # Ensure that fds 0, 1, and 2 are open.
22925 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22926 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22927 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22929 # The user is always right.
22930 if ${PATH_SEPARATOR+false} :; then
22932 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22933 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22939 # Find who we are. Look in the path if we contain no directory separator.
22942 *[\\/]* ) as_myself
=$0 ;;
22943 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22944 for as_dir
in $PATH
22947 case $as_dir in #(((
22950 *) as_dir
=$as_dir/ ;;
22952 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22958 # We did not find ourselves, most probably we were run as `sh COMMAND'
22959 # in which case we are not to be found in the path.
22960 if test "x$as_myself" = x
; then
22963 if test ! -f "$as_myself"; then
22964 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22970 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22971 # ----------------------------------------
22972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22974 # script with STATUS, using 1 if that was 0.
22977 as_status
=$1; test $as_status -eq 0 && as_status
=1
22979 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22982 printf "%s\n" "$as_me: error: $2" >&2
22983 as_fn_exit
$as_status
22988 # as_fn_set_status STATUS
22989 # -----------------------
22990 # Set $? to STATUS, without forking.
22991 as_fn_set_status
()
22994 } # as_fn_set_status
22996 # as_fn_exit STATUS
22997 # -----------------
22998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23002 as_fn_set_status
$1
23008 # Portably unset VAR.
23011 { eval $1=; unset $1;}
23013 as_unset
=as_fn_unset
23015 # as_fn_append VAR VALUE
23016 # ----------------------
23017 # Append the text in VALUE to the end of the definition contained in VAR. Take
23018 # advantage of any shell optimizations that allow amortized linear growth over
23019 # repeated appends, instead of the typical quadratic growth present in naive
23021 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23023 eval 'as_fn_append ()
23034 # as_fn_arith ARG...
23035 # ------------------
23036 # Perform arithmetic evaluation on the ARGs, and store the result in the
23037 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23038 # must be portable across $(()) and expr.
23039 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23041 eval 'as_fn_arith ()
23048 as_val
=`expr "$@" || test $? -eq 1`
23053 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23054 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23060 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23061 as_basename
=basename
23066 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23072 as_me
=`$as_basename -- "$0" ||
23073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23074 X"$0" : 'X\(//\)$' \| \
23075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23076 printf "%s\n" X/"$0" |
23077 sed '/^.*\/\([^/][^/]*\)\/*$/{
23091 # Avoid depending upon Character Ranges.
23092 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23093 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23094 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23095 as_cr_digits
='0123456789'
23096 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23099 # Determine whether it's possible to make 'echo' print without a newline.
23100 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23101 # for compatibility with existing Makefiles.
23102 ECHO_C
= ECHO_N
= ECHO_T
=
23103 case `echo -n x` in #(((((
23105 case `echo 'xy\c'` in
23106 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23108 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23115 # For backward compatibility with old third-party macros, we provide
23116 # the shell variables $as_echo and $as_echo_n. New code should use
23117 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23118 as_echo
='printf %s\n'
23119 as_echo_n
='printf %s'
23121 rm -f conf$$ conf$$.exe conf$$.
file
23122 if test -d conf$$.dir
; then
23123 rm -f conf$$.dir
/conf$$.
file
23126 mkdir conf$$.dir
2>/dev
/null
23128 if (echo >conf$$.
file) 2>/dev
/null
; then
23129 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23131 # ... but there are two gotchas:
23132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23134 # In both cases, we have to default to `cp -pR'.
23135 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23137 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23145 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23146 rmdir conf$$.dir
2>/dev
/null
23151 # Create "$as_dir" as a directory, including parents if necessary.
23156 -*) as_dir
=.
/$as_dir;;
23158 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23162 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23163 *) as_qdir
=$as_dir;;
23165 as_dirs
="'$as_qdir' $as_dirs"
23166 as_dir
=`$as_dirname -- "$as_dir" ||
23167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23168 X"$as_dir" : 'X\(//\)[^/]' \| \
23169 X"$as_dir" : 'X\(//\)$' \| \
23170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23171 printf "%s\n" X"$as_dir" |
23172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23176 /^X\(\/\/\)[^/].*/{
23189 test -d "$as_dir" && break
23191 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23192 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23196 if mkdir
-p .
2>/dev
/null
; then
23197 as_mkdir_p
='mkdir -p "$as_dir"'
23199 test -d .
/-p && rmdir .
/-p
23204 # as_fn_executable_p FILE
23205 # -----------------------
23206 # Test if FILE is an executable regular file.
23207 as_fn_executable_p
()
23209 test -f "$1" && test -x "$1"
23210 } # as_fn_executable_p
23211 as_test_x
='test -x'
23212 as_executable_p
=as_fn_executable_p
23214 # Sed expression to map a string onto a valid CPP name.
23215 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23217 # Sed expression to map a string onto a valid variable name.
23218 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23222 ## ----------------------------------- ##
23223 ## Main body of $CONFIG_STATUS script. ##
23224 ## ----------------------------------- ##
23226 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23229 # Save the log message, to keep $0 and so on meaningful, and to
23230 # report actual input values of CONFIG_FILES etc. instead of their
23231 # values after options handling.
23233 This file was extended by Wine $as_me 8.21, which was
23234 generated by GNU Autoconf 2.71. Invocation command line was
23236 CONFIG_FILES = $CONFIG_FILES
23237 CONFIG_HEADERS = $CONFIG_HEADERS
23238 CONFIG_LINKS = $CONFIG_LINKS
23239 CONFIG_COMMANDS = $CONFIG_COMMANDS
23242 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23248 case $ac_config_headers in *"
23249 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23254 # Files that config.status was made for.
23255 config_headers="$ac_config_headers"
23256 config_links="$ac_config_links"
23257 config_commands="$ac_config_commands"
23261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23263 \`$as_me' instantiates files and other configuration actions
23264 from templates according to the current configuration. Unless the files
23265 and actions are specified as TAGs, all are instantiated by default.
23267 Usage: $0 [OPTION]... [TAG]...
23269 -h, --help print this help, then exit
23270 -V, --version print version number and configuration settings, then exit
23271 --config print configuration, then exit
23272 -q, --quiet, --silent
23273 do not print progress messages
23274 -d, --debug don't remove temporary files
23275 --recheck update $as_me by reconfiguring in the same conditions
23276 --header=FILE[:TEMPLATE]
23277 instantiate the configuration header FILE
23279 Configuration headers:
23282 Configuration links:
23285 Configuration commands:
23288 Report bugs to <wine-devel@winehq.org>.
23289 Wine home page: <https://www.winehq.org>."
23292 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23293 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23295 ac_cs_config='$ac_cs_config_escaped'
23297 Wine config.status 8.21
23298 configured by $0, generated by GNU Autoconf 2.71,
23299 with options \\"\$ac_cs_config\\"
23301 Copyright (C) 2021 Free Software Foundation, Inc.
23302 This config.status script is free software; the Free Software Foundation
23303 gives unlimited permission to copy, distribute and modify it."
23307 test -n "\$AWK" || AWK=awk
23310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23311 # The default lists apply if the user does not specify any file.
23317 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23318 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23322 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23334 # Handling of the options.
23335 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23337 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23338 printf "%s\n" "$ac_cs_version"; exit ;;
23339 --config |
--confi |
--conf |
--con |
--co |
--c )
23340 printf "%s\n" "$ac_cs_config"; exit ;;
23341 --debug |
--debu |
--deb |
--de |
--d |
-d )
23343 --header |
--heade |
--head |
--hea )
23346 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23348 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23349 ac_need_defaults
=false
;;
23351 # Conflict between --help and --header
23352 as_fn_error $?
"ambiguous option: \`$1'
23353 Try \`$0 --help' for more information.";;
23354 --help |
--hel |
-h )
23355 printf "%s\n" "$ac_cs_usage"; exit ;;
23356 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23357 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23360 # This is an error.
23361 -*) as_fn_error $?
"unrecognized option: \`$1'
23362 Try \`$0 --help' for more information." ;;
23364 *) as_fn_append ac_config_targets
" $1"
23365 ac_need_defaults
=false
;;
23371 ac_configure_extra_args
=
23373 if $ac_cs_silent; then
23375 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23380 if \$ac_cs_recheck; then
23381 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23383 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23384 CONFIG_SHELL='$SHELL'
23385 export CONFIG_SHELL
23390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23395 ## Running $as_me. ##
23397 printf "%s\n" "$ac_log"
23401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23405 wine_fn_output_makedep ()
23407 as_dir=tools; as_fn_mkdir_p
23408 $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
23410 wine_fn_output_makefile ()
23412 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23413 # This Makefile understands the following targets:
23415 # all (default): build wine
23416 # clean: remove all intermediate files
23417 # distclean: also remove all files created by configure
23419 # testclean: clean test results to force running all tests again
23420 # install-lib: install libraries needed to run applications
23421 # install-dev: install development environment
23422 # install: install everything
23423 # uninstall: uninstall everything
23424 # ctags: create a tags file for vim and others.
23425 # etags: create a TAGS file for Emacs.
23428 PATH_SEPARATOR = $PATH_SEPARATOR
23429 PACKAGE_NAME = $PACKAGE_NAME
23430 PACKAGE_TARNAME = $PACKAGE_TARNAME
23431 PACKAGE_VERSION = $PACKAGE_VERSION
23432 PACKAGE_STRING = $PACKAGE_STRING
23433 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23434 PACKAGE_URL = $PACKAGE_URL
23435 exec_prefix = $exec_prefix
23437 program_transform_name = $program_transform_name
23440 libexecdir = $libexecdir
23441 datarootdir = $datarootdir
23443 sysconfdir = $sysconfdir
23444 sharedstatedir = $sharedstatedir
23445 localstatedir = $localstatedir
23446 runstatedir = $runstatedir
23447 includedir = $includedir
23448 oldincludedir = $oldincludedir
23456 localedir = $localedir
23463 build_alias = $build_alias
23464 host_alias = $host_alias
23465 target_alias = $target_alias
23466 system_dllpath = $system_dllpath
23468 build_cpu = $build_cpu
23469 build_vendor = $build_vendor
23470 build_os = $build_os
23472 host_cpu = $host_cpu
23473 host_vendor = $host_vendor
23479 SET_MAKE = $SET_MAKE
23483 CPPFLAGS = $CPPFLAGS
23484 ac_ct_CC = $ac_ct_CC
23488 CXXFLAGS = $CXXFLAGS
23489 ac_ct_CXX = $ac_ct_CXX
23492 TARGETFLAGS = $TARGETFLAGS
23493 toolsext = $toolsext
23494 HOST_ARCH = $HOST_ARCH
23495 aarch64_CC = $aarch64_CC
23496 aarch64_CFLAGS = $aarch64_CFLAGS
23497 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23498 aarch64_LDFLAGS = $aarch64_LDFLAGS
23499 aarch64_DEBUG = $aarch64_DEBUG
23500 aarch64_TARGET = $aarch64_TARGET
23501 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23502 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23504 arm_CFLAGS = $arm_CFLAGS
23505 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23506 arm_LDFLAGS = $arm_LDFLAGS
23507 arm_DEBUG = $arm_DEBUG
23508 arm_TARGET = $arm_TARGET
23509 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23510 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23511 arm64ec_CC = $arm64ec_CC
23512 arm64ec_CFLAGS = $arm64ec_CFLAGS
23513 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23514 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23515 arm64ec_DEBUG = $arm64ec_DEBUG
23516 arm64ec_TARGET = $arm64ec_TARGET
23517 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23518 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23520 i386_CFLAGS = $i386_CFLAGS
23521 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23522 i386_LDFLAGS = $i386_LDFLAGS
23523 i386_DEBUG = $i386_DEBUG
23524 i386_TARGET = $i386_TARGET
23525 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23526 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23527 x86_64_CC = $x86_64_CC
23528 x86_64_CFLAGS = $x86_64_CFLAGS
23529 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23530 x86_64_LDFLAGS = $x86_64_LDFLAGS
23531 x86_64_DEBUG = $x86_64_DEBUG
23532 x86_64_TARGET = $x86_64_TARGET
23533 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23534 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23535 toolsdir = $toolsdir
23537 RUNTESTFLAGS = $RUNTESTFLAGS
23542 ac_ct_AR = $ac_ct_AR
23548 LDCONFIG = $LDCONFIG
23550 PKG_CONFIG = $PKG_CONFIG
23551 FONTFORGE = $FONTFORGE
23555 I386_LIBS = $I386_LIBS
23556 OPENGL_LIBS = $OPENGL_LIBS
23557 DLLFLAGS = $DLLFLAGS
23558 LDDLLFLAGS = $LDDLLFLAGS
23559 LDEXECFLAGS = $LDEXECFLAGS
23560 EXTRACFLAGS = $EXTRACFLAGS
23561 UNIXDLLFLAGS = $UNIXDLLFLAGS
23562 UNIXLDFLAGS = $UNIXLDFLAGS
23563 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23564 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23565 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23566 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23572 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23573 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23574 CARBON_LIBS = $CARBON_LIBS
23575 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23576 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23577 IOKIT_LIBS = $IOKIT_LIBS
23578 METAL_LIBS = $METAL_LIBS
23579 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23580 CORESERVICES_LIBS = $CORESERVICES_LIBS
23581 APPKIT_LIBS = $APPKIT_LIBS
23582 SECURITY_LIBS = $SECURITY_LIBS
23583 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23584 COREAUDIO_LIBS = $COREAUDIO_LIBS
23585 OPENCL_LIBS = $OPENCL_LIBS
23587 OBJCFLAGS = $OBJCFLAGS
23588 ac_ct_OBJC = $ac_ct_OBJC
23589 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23590 PE_ARCHS = $PE_ARCHS
23591 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23592 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23593 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23594 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23595 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23596 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23597 GSM_PE_LIBS = $GSM_PE_LIBS
23598 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23599 JPEG_PE_LIBS = $JPEG_PE_LIBS
23600 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23601 JXR_PE_LIBS = $JXR_PE_LIBS
23602 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23603 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23604 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23605 LDAP_PE_LIBS = $LDAP_PE_LIBS
23606 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23607 MPG123_PE_LIBS = $MPG123_PE_LIBS
23608 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23609 MUSL_PE_LIBS = $MUSL_PE_LIBS
23610 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23611 PNG_PE_LIBS = $PNG_PE_LIBS
23612 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23613 TIFF_PE_LIBS = $TIFF_PE_LIBS
23614 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23615 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23616 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23617 XML2_PE_LIBS = $XML2_PE_LIBS
23618 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23619 XSLT_PE_LIBS = $XSLT_PE_LIBS
23620 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23621 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23622 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23623 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23624 PTHREAD_LIBS = $PTHREAD_LIBS
23627 X_CFLAGS = $X_CFLAGS
23628 X_PRE_LIBS = $X_PRE_LIBS
23630 X_EXTRA_LIBS = $X_EXTRA_LIBS
23631 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23632 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23633 WAYLAND_SCANNER = $WAYLAND_SCANNER
23634 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23635 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23636 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23637 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23638 PCAP_LIBS = $PCAP_LIBS
23639 PCSCLITE_LIBS = $PCSCLITE_LIBS
23640 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23641 INOTIFY_LIBS = $INOTIFY_LIBS
23642 DBUS_CFLAGS = $DBUS_CFLAGS
23643 DBUS_LIBS = $DBUS_LIBS
23644 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23645 GNUTLS_LIBS = $GNUTLS_LIBS
23646 SANE_CFLAGS = $SANE_CFLAGS
23647 SANE_LIBS = $SANE_LIBS
23648 USB_CFLAGS = $USB_CFLAGS
23649 USB_LIBS = $USB_LIBS
23650 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23651 GPHOTO2_LIBS = $GPHOTO2_LIBS
23652 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23653 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23654 RESOLV_LIBS = $RESOLV_LIBS
23655 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23656 FREETYPE_LIBS = $FREETYPE_LIBS
23657 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23658 PULSE_CFLAGS = $PULSE_CFLAGS
23659 PULSE_LIBS = $PULSE_LIBS
23660 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23661 GSTREAMER_LIBS = $GSTREAMER_LIBS
23662 ALSA_LIBS = $ALSA_LIBS
23663 OSS4_CFLAGS = $OSS4_CFLAGS
23664 OSS4_LIBS = $OSS4_LIBS
23665 UDEV_CFLAGS = $UDEV_CFLAGS
23666 UDEV_LIBS = $UDEV_LIBS
23667 UNWIND_CFLAGS = $UNWIND_CFLAGS
23668 UNWIND_LIBS = $UNWIND_LIBS
23669 SDL2_CFLAGS = $SDL2_CFLAGS
23670 SDL2_LIBS = $SDL2_LIBS
23671 CAPI20_CFLAGS = $CAPI20_CFLAGS
23672 CAPI20_LIBS = $CAPI20_LIBS
23673 CUPS_CFLAGS = $CUPS_CFLAGS
23674 CUPS_LIBS = $CUPS_LIBS
23675 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23676 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23677 KRB5_CFLAGS = $KRB5_CFLAGS
23678 KRB5_LIBS = $KRB5_LIBS
23679 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23680 GSSAPI_LIBS = $GSSAPI_LIBS
23681 PROCSTAT_LIBS = $PROCSTAT_LIBS
23682 NETAPI_CFLAGS = $NETAPI_CFLAGS
23683 NETAPI_LIBS = $NETAPI_LIBS
23684 MSVCRTFLAGS = $MSVCRTFLAGS
23685 DELAYLOADFLAG = $DELAYLOADFLAG
23686 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23688 TAGSFLAGS = $TAGSFLAGS
23690 LTLIBOBJS = $LTLIBOBJS
23694 as_fn_error $? "could not create Makefile" "$LINENO" 5
23699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23701 # Handling of arguments.
23702 for ac_config_target
in $ac_config_targets
23704 case $ac_config_target in
23705 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23706 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23707 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23708 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23709 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23710 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23712 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23717 # If the user did not use the arguments to specify the items to instantiate,
23718 # then the envvar interface is used. Set only those that are not.
23719 # We use the long form for the default assignment because of an extremely
23720 # bizarre bug on SunOS 4.1.3.
23721 if $ac_need_defaults; then
23722 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23723 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23724 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23727 # Have a temporary directory for convenience. Make it in the build tree
23728 # simply because there is no reason against having it here, and in addition,
23729 # creating and moving files from /tmp can sometimes cause problems.
23730 # Hook for its removal unless debugging.
23731 # Note that there is a small window in which the directory will not be cleaned:
23732 # after its creation but before its name has been assigned to `$tmp'.
23736 trap 'exit_status=$?
23737 : "${ac_tmp:=$tmp}"
23738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23740 trap 'as_fn_exit 1' 1 2 13 15
23742 # Create a (secure) tmp directory for tmp files.
23745 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23749 tmp
=.
/conf$$
-$RANDOM
23750 (umask 077 && mkdir
"$tmp")
23751 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23754 # Set up the scripts for CONFIG_HEADERS section.
23755 # No need to generate them if there are no CONFIG_HEADERS.
23756 # This happens for instance with `./config.status Makefile'.
23757 if test -n "$CONFIG_HEADERS"; then
23758 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23762 # Transform confdefs.h into an awk script `defines.awk', embedded as
23763 # here-document in config.status, that substitutes the proper values into
23764 # config.h.in to produce config.h.
23766 # Create a delimiter string that does not exist in confdefs.h, to ease
23767 # handling of long lines.
23769 for ac_last_try
in false false
:; do
23770 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23771 if test -z "$ac_tt"; then
23773 elif $ac_last_try; then
23774 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23776 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23780 # For the awk script, D is an array of macro values keyed by name,
23781 # likewise P contains macro parameters if any. Preserve backslash
23782 # newline sequences.
23784 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23786 s/.\{148\}/&'"$ac_delim"'/g
23789 s/^[ ]*#[ ]*define[ ][ ]*/ /
23796 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23803 D["\1"]=" \3\\\\\\n"\\/p
23805 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23810 s/.\{148\}/&'"$ac_delim"'/g
23815 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23818 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23820 ' <confdefs.h |
sed '
23821 s/'"$ac_delim"'/"\\\
23822 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23825 for (key in D) D_is_set[key] = 1
23828 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23830 split(line, arg, " ")
23831 if (arg[1] == "#") {
23835 defundef = substr(arg[1], 2)
23838 split(mac1, mac2, "(") #)
23840 prefix = substr(line, 1, index(line, defundef) - 1)
23841 if (D_is_set[macro]) {
23842 # Preserve the white space surrounding the "#".
23843 print prefix "define", macro P[macro] D[macro]
23846 # Replace #undef with comments. This is necessary, for example,
23847 # in the case of _POSIX_SOURCE, which is predefined and required
23848 # on some systems where configure will not decide to define it.
23849 if (defundef == "undef") {
23850 print "/*", prefix defundef, macro, "*/"
23858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23859 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23860 fi # test -n "$CONFIG_HEADERS"
23863 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23868 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23870 case $ac_mode$ac_tag in
23872 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23873 :[FH
]-) ac_tag
=-:-;;
23874 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23891 -) ac_f
="$ac_tmp/stdin";;
23892 *) # Look for the file first in the build tree, then in the source tree
23893 # (if the path is not absolute). The absolute path cannot be DOS-style,
23894 # because $ac_f cannot contain `:'.
23898 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23900 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23902 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23903 as_fn_append ac_file_inputs
" '$ac_f'"
23906 # Let's still pretend it is `configure' which instantiates (i.e., don't
23907 # use $as_me), people would be surprised to read:
23908 # /* config.h. Generated by config.status. */
23909 configure_input
='Generated from '`
23910 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23912 if test x
"$ac_file" != x-
; then
23913 configure_input
="$ac_file. $configure_input"
23914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23915 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23917 # Neutralize special characters interpreted by sed in replacement strings.
23918 case $configure_input in #(
23919 *\
&* |
*\|
* |
*\\* )
23920 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23921 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23922 *) ac_sed_conf_input
=$configure_input;;
23926 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23927 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23932 ac_dir
=`$as_dirname -- "$ac_file" ||
23933 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23934 X"$ac_file" : 'X\(//\)[^/]' \| \
23935 X"$ac_file" : 'X\(//\)$' \| \
23936 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23937 printf "%s\n" X"$ac_file" |
23938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23942 /^X\(\/\/\)[^/].*/{
23955 as_dir
="$ac_dir"; as_fn_mkdir_p
23959 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23961 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23962 # A ".." for each directory in $ac_dir_suffix.
23963 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23964 case $ac_top_builddir_sub in
23965 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23966 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23969 ac_abs_top_builddir
=$ac_pwd
23970 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23971 # for backward compatibility:
23972 ac_top_builddir
=$ac_top_build_prefix
23975 .
) # We are building in place.
23977 ac_top_srcdir
=$ac_top_builddir_sub
23978 ac_abs_top_srcdir
=$ac_pwd ;;
23979 [\\/]* | ?
:[\\/]* ) # Absolute name.
23980 ac_srcdir
=$srcdir$ac_dir_suffix;
23981 ac_top_srcdir
=$srcdir
23982 ac_abs_top_srcdir
=$srcdir ;;
23983 *) # Relative name.
23984 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23985 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23986 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23988 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23997 if test x
"$ac_file" != x-
; then
23999 printf "%s\n" "/* $configure_input */" >&1 \
24000 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24001 } >"$ac_tmp/config.h" \
24002 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24003 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24005 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24008 mv "$ac_tmp/config.h" "$ac_file" \
24009 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24012 printf "%s\n" "/* $configure_input */" >&1 \
24013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24014 || as_fn_error $?
"could not create -" "$LINENO" 5
24022 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24025 # Prefer the file from the source tree if names are identical.
24026 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24027 ac_source
=$srcdir/$ac_source
24030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24031 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24033 if test ! -r "$ac_source"; then
24034 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24038 # Try a relative symlink, then a hard link, then a copy.
24040 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24041 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24043 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24044 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24045 cp -p "$ac_source" "$ac_file" ||
24046 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24049 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24050 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24055 case $ac_file$ac_mode in
24056 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24057 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24058 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24066 ac_clean_files
=$ac_clean_files_save
24068 test $ac_write_fail = 0 ||
24069 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24072 # configure is writing to config.log, and then calls config.status.
24073 # config.status does its own redirection, appending to config.log.
24074 # Unfortunately, on DOS this fails, as config.log is still kept open
24075 # by configure, so config.status won't be able to write to it; its
24076 # output is simply discarded. So we exec the FD to /dev/null,
24077 # effectively closing config.log, so it can be properly (re)opened and
24078 # appended to by config.status. When coming back to configure, we
24079 # need to make the FD available again.
24080 if test "$no_create" != yes; then
24082 ac_config_status_args
=
24083 test "$silent" = yes &&
24084 ac_config_status_args
="$ac_config_status_args --quiet"
24086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24089 # would make configure fail if this is the last instruction.
24090 $ac_cs_success || as_fn_exit
1
24092 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24094 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24098 if test "$no_create" = "yes"
24104 if test "x$wine_notices" != x
; then
24107 for msg
in $wine_notices; do
24113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24114 printf "%s\n" "$as_me: $msg" >&6;}
24119 for msg
in $wine_warnings; do
24126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24127 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24133 $as_me: Finished. Do '${ac_make}' to compile Wine.