2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.19.
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.19'
615 PACKAGE_STRING
='Wine 8.19'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
755 SYSTEMCONFIGURATION_LIBS
759 APPLICATIONSERVICES_LIBS
772 WINEPRELOADER_LDFLAGS
804 x86_64_DISABLED_SUBDIRS
812 i386_DISABLED_SUBDIRS
828 aarch64_DISABLED_SUBDIRS
829 aarch64_DELAYLOADFLAG
893 program_transform_name
906 enable_option_checking
912 enable_maintainer_mode
979 enable_appxdeploymentclient
992 enable_bcryptprimitives
1033 enable_d3dcompiler_33
1034 enable_d3dcompiler_34
1035 enable_d3dcompiler_35
1036 enable_d3dcompiler_36
1037 enable_d3dcompiler_37
1038 enable_d3dcompiler_38
1039 enable_d3dcompiler_39
1040 enable_d3dcompiler_40
1041 enable_d3dcompiler_41
1042 enable_d3dcompiler_42
1043 enable_d3dcompiler_43
1044 enable_d3dcompiler_46
1045 enable_d3dcompiler_47
1098 enable_directmanipulation
1136 enable_explorerframe
1153 enable_graphicscapture
1164 enable_hvsimanagementapi
1197 enable_light_msstyles
1202 enable_magnification
1213 enable_mfmediaengine
1278 enable_msvcp140_atomic_wait
1279 enable_msvcp140_codecvt_ids
1345 enable_photometadatahandler
1423 enable_threadpoolwinrt
1426 enable_twinapi_appcore
1430 enable_uiautomationcore
1450 enable_vcruntime140_1
1468 enable_windows_applicationmodel
1469 enable_windows_devices_bluetooth
1470 enable_windows_devices_enumeration
1471 enable_windows_devices_usb
1472 enable_windows_gaming_input
1473 enable_windows_gaming_ui_gamebar
1474 enable_windows_globalization
1475 enable_windows_media_devices
1476 enable_windows_media_mediacontrol
1477 enable_windows_media_speech
1478 enable_windows_media
1479 enable_windows_networking_hostname
1480 enable_windows_networking
1481 enable_windows_perception_stub
1482 enable_windows_security_credentials_ui_userconsentverifier
1483 enable_windows_storage_applicationdata
1484 enable_windows_system_profile_systemmanufacturers
1486 enable_windowscodecs
1487 enable_windowscodecsext
1489 enable_wineandroid_drv
1491 enable_winecoreaudio_drv
1494 enable_winegstreamer
1500 enable_winepulse_drv
1503 enable_winewayland_drv
1505 enable_winexinput_sys
1552 enable_xactengine2_0
1553 enable_xactengine2_4
1554 enable_xactengine2_7
1555 enable_xactengine2_9
1556 enable_xactengine3_0
1557 enable_xactengine3_1
1558 enable_xactengine3_2
1559 enable_xactengine3_3
1560 enable_xactengine3_4
1561 enable_xactengine3_5
1562 enable_xactengine3_6
1563 enable_xactengine3_7
1613 enable_wmcodecdspuuid
1622 enable_aspnet_regiis
1670 enable_presentationfontcache
1685 enable_servicemodelreg
1711 enable_winemenubuilder
1713 enable_winemsibuilder
1738 ac_precious_vars
='build_alias
1753 FLUIDSYNTH_PE_CFLAGS
1785 WAYLAND_CLIENT_CFLAGS
1827 # Initialize some variables set by options.
1829 ac_init_version
=false
1830 ac_unrecognized_opts
=
1831 ac_unrecognized_sep
=
1832 # The variables have the same names as the options, with
1833 # dashes changed to underlines.
1834 cache_file
=/dev
/null
1841 program_transform_name
=s
,x
,x
,
1849 # Installation directory options.
1850 # These are left unexpanded so users can "make install exec_prefix=/foo"
1851 # and all the variables that are supposed to be based on exec_prefix
1852 # by default will actually change.
1853 # Use braces instead of parens because sh, perl, etc. also accept them.
1854 # (The list follows the same order as the GNU Coding Standards.)
1855 bindir
='${exec_prefix}/bin'
1856 sbindir
='${exec_prefix}/sbin'
1857 libexecdir
='${exec_prefix}/libexec'
1858 datarootdir
='${prefix}/share'
1859 datadir
='${datarootdir}'
1860 sysconfdir
='${prefix}/etc'
1861 sharedstatedir
='${prefix}/com'
1862 localstatedir
='${prefix}/var'
1863 runstatedir
='${localstatedir}/run'
1864 includedir
='${prefix}/include'
1865 oldincludedir
='/usr/include'
1866 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1867 infodir
='${datarootdir}/info'
1872 libdir
='${exec_prefix}/lib'
1873 localedir
='${datarootdir}/locale'
1874 mandir
='${datarootdir}/man'
1880 # If the previous option needs an argument, assign it.
1881 if test -n "$ac_prev"; then
1882 eval $ac_prev=\
$ac_option
1888 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1893 case $ac_dashdash$ac_option in
1897 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1899 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1900 bindir
=$ac_optarg ;;
1902 -build |
--build |
--buil |
--bui |
--bu)
1903 ac_prev
=build_alias
;;
1904 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1905 build_alias
=$ac_optarg ;;
1907 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1908 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1909 ac_prev
=cache_file
;;
1910 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1911 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1912 cache_file
=$ac_optarg ;;
1914 --config-cache |
-C)
1915 cache_file
=config.cache
;;
1917 -datadir |
--datadir |
--datadi |
--datad)
1919 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1920 datadir
=$ac_optarg ;;
1922 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1923 |
--dataroo |
--dataro |
--datar)
1924 ac_prev
=datarootdir
;;
1925 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1926 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1927 datarootdir
=$ac_optarg ;;
1929 -disable-* |
--disable-*)
1930 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1931 # Reject names that are not valid shell variable names.
1932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1933 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1934 ac_useropt_orig
=$ac_useropt
1935 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1936 case $ac_user_opts in
1938 "enable_
$ac_useropt"
1940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1941 ac_unrecognized_sep
=', ';;
1943 eval enable_
$ac_useropt=no
;;
1945 -docdir |
--docdir |
--docdi |
--doc |
--do)
1947 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1948 docdir
=$ac_optarg ;;
1950 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1952 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1953 dvidir
=$ac_optarg ;;
1955 -enable-* |
--enable-*)
1956 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1957 # Reject names that are not valid shell variable names.
1958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1959 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1960 ac_useropt_orig
=$ac_useropt
1961 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1962 case $ac_user_opts in
1964 "enable_
$ac_useropt"
1966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1967 ac_unrecognized_sep
=', ';;
1969 eval enable_
$ac_useropt=\
$ac_optarg ;;
1971 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1972 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1973 |
--exec |
--exe |
--ex)
1974 ac_prev
=exec_prefix
;;
1975 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1976 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1977 |
--exec=* |
--exe=* |
--ex=*)
1978 exec_prefix
=$ac_optarg ;;
1980 -gas |
--gas |
--ga |
--g)
1981 # Obsolete; use --with-gas.
1984 -help |
--help |
--hel |
--he |
-h)
1985 ac_init_help
=long
;;
1986 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1987 ac_init_help
=recursive
;;
1988 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1989 ac_init_help
=short
;;
1991 -host |
--host |
--hos |
--ho)
1992 ac_prev
=host_alias
;;
1993 -host=* |
--host=* |
--hos=* |
--ho=*)
1994 host_alias
=$ac_optarg ;;
1996 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1998 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2000 htmldir
=$ac_optarg ;;
2002 -includedir |
--includedir |
--includedi |
--included |
--include \
2003 |
--includ |
--inclu |
--incl |
--inc)
2004 ac_prev
=includedir
;;
2005 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2006 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2007 includedir
=$ac_optarg ;;
2009 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2011 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2012 infodir
=$ac_optarg ;;
2014 -libdir |
--libdir |
--libdi |
--libd)
2016 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2017 libdir
=$ac_optarg ;;
2019 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2020 |
--libexe |
--libex |
--libe)
2021 ac_prev
=libexecdir
;;
2022 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2023 |
--libexe=* |
--libex=* |
--libe=*)
2024 libexecdir
=$ac_optarg ;;
2026 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2027 ac_prev
=localedir
;;
2028 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2029 localedir
=$ac_optarg ;;
2031 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2032 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2033 ac_prev
=localstatedir
;;
2034 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2035 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2036 localstatedir
=$ac_optarg ;;
2038 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2040 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2041 mandir
=$ac_optarg ;;
2043 -nfp |
--nfp |
--nf)
2044 # Obsolete; use --without-fp.
2047 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2048 |
--no-cr |
--no-c |
-n)
2051 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2052 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2055 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2056 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2057 |
--oldin |
--oldi |
--old |
--ol |
--o)
2058 ac_prev
=oldincludedir
;;
2059 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2060 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2061 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2062 oldincludedir
=$ac_optarg ;;
2064 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2066 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2067 prefix
=$ac_optarg ;;
2069 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2070 |
--program-pre |
--program-pr |
--program-p)
2071 ac_prev
=program_prefix
;;
2072 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2073 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2074 program_prefix
=$ac_optarg ;;
2076 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2077 |
--program-suf |
--program-su |
--program-s)
2078 ac_prev
=program_suffix
;;
2079 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2080 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2081 program_suffix
=$ac_optarg ;;
2083 -program-transform-name |
--program-transform-name \
2084 |
--program-transform-nam |
--program-transform-na \
2085 |
--program-transform-n |
--program-transform- \
2086 |
--program-transform |
--program-transfor \
2087 |
--program-transfo |
--program-transf \
2088 |
--program-trans |
--program-tran \
2089 |
--progr-tra |
--program-tr |
--program-t)
2090 ac_prev
=program_transform_name
;;
2091 -program-transform-name=* |
--program-transform-name=* \
2092 |
--program-transform-nam=* |
--program-transform-na=* \
2093 |
--program-transform-n=* |
--program-transform-=* \
2094 |
--program-transform=* |
--program-transfor=* \
2095 |
--program-transfo=* |
--program-transf=* \
2096 |
--program-trans=* |
--program-tran=* \
2097 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2098 program_transform_name
=$ac_optarg ;;
2100 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2102 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2103 pdfdir
=$ac_optarg ;;
2105 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2107 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2110 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2111 |
-silent |
--silent |
--silen |
--sile |
--sil)
2114 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2115 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2116 |
--run |
--ru |
--r)
2117 ac_prev
=runstatedir
;;
2118 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2119 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2120 |
--run=* |
--ru=* |
--r=*)
2121 runstatedir
=$ac_optarg ;;
2123 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2125 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2127 sbindir
=$ac_optarg ;;
2129 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2130 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2131 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2133 ac_prev
=sharedstatedir
;;
2134 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2135 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2136 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2138 sharedstatedir
=$ac_optarg ;;
2140 -site |
--site |
--sit)
2142 -site=* |
--site=* |
--sit=*)
2145 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2147 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2148 srcdir
=$ac_optarg ;;
2150 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2151 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2152 ac_prev
=sysconfdir
;;
2153 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2154 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2155 sysconfdir
=$ac_optarg ;;
2157 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2158 ac_prev
=target_alias
;;
2159 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2160 target_alias
=$ac_optarg ;;
2162 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2165 -version |
--version |
--versio |
--versi |
--vers |
-V)
2166 ac_init_version
=: ;;
2169 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2172 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig
=$ac_useropt
2174 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2180 ac_unrecognized_sep
=', ';;
2182 eval with_
$ac_useropt=\
$ac_optarg ;;
2184 -without-* |
--without-*)
2185 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2186 # Reject names that are not valid shell variable names.
2187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2188 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2189 ac_useropt_orig
=$ac_useropt
2190 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2191 case $ac_user_opts in
2195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2196 ac_unrecognized_sep
=', ';;
2198 eval with_
$ac_useropt=no
;;
2201 # Obsolete; use --with-x.
2204 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2205 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2206 ac_prev
=x_includes
;;
2207 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2208 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2209 x_includes
=$ac_optarg ;;
2211 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2212 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2213 ac_prev
=x_libraries
;;
2214 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2215 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2216 x_libraries
=$ac_optarg ;;
2218 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2219 Try \`$0 --help' for more information"
2223 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2224 # Reject names that are not valid shell variable names.
2225 case $ac_envvar in #(
2226 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2227 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2229 eval $ac_envvar=\
$ac_optarg
2230 export $ac_envvar ;;
2233 # FIXME: should be removed in autoconf 3.0.
2234 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2236 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2243 if test -n "$ac_prev"; then
2244 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2245 as_fn_error $?
"missing argument to $ac_option"
2248 if test -n "$ac_unrecognized_opts"; then
2249 case $enable_option_checking in
2251 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2252 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2256 # Check all directory arguments for consistency.
2257 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2258 datadir sysconfdir sharedstatedir localstatedir includedir \
2259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2260 libdir localedir mandir runstatedir
2262 eval ac_val
=\$
$ac_var
2263 # Remove trailing slashes.
2266 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2267 eval $ac_var=\
$ac_val;;
2269 # Be sure to have absolute directory names.
2271 [\\/$
]* | ?
:[\\/]* ) continue;;
2272 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2274 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2277 # There might be people who depend on the old broken behavior: `$host'
2278 # used to hold the argument of --host etc.
2279 # FIXME: To remove some day.
2282 target
=$target_alias
2284 # FIXME: To remove some day.
2285 if test "x$host_alias" != x
; then
2286 if test "x$build_alias" = x
; then
2287 cross_compiling
=maybe
2288 elif test "x$build_alias" != "x$host_alias"; then
2294 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2296 test "$silent" = yes && exec 6>/dev
/null
2299 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2300 ac_ls_di
=`ls -di .` &&
2301 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2302 as_fn_error $?
"working directory cannot be determined"
2303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2304 as_fn_error $?
"pwd does not report name of working directory"
2307 # Find the source files, if location was not specified.
2308 if test -z "$srcdir"; then
2309 ac_srcdir_defaulted
=yes
2310 # Try the directory containing this script, then the parent directory.
2311 ac_confdir
=`$as_dirname -- "$as_myself" ||
2312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2313 X"$as_myself" : 'X\(//\)[^/]' \| \
2314 X"$as_myself" : 'X\(//\)$' \| \
2315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2316 printf "%s\n" X"$as_myself" |
2317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2335 if test ! -r "$srcdir/$ac_unique_file"; then
2339 ac_srcdir_defaulted
=no
2341 if test ! -r "$srcdir/$ac_unique_file"; then
2342 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2343 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2345 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2349 # When building in place, set srcdir=.
2350 if test "$ac_abs_confdir" = "$ac_pwd"; then
2353 # Remove unnecessary trailing slashes from srcdir.
2354 # Double slashes in file names in object file debugging info
2355 # mess up M-x gdb in Emacs.
2357 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2359 for ac_var
in $ac_precious_vars; do
2360 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2361 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2362 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2363 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2367 # Report the --help message.
2369 if test "$ac_init_help" = "long"; then
2370 # Omit some internal or obsolete options to make the list less imposing.
2371 # This message is too long to be a string in the A/UX 3.1 sh.
2373 \`configure' configures Wine 8.19 to adapt to many kinds of systems.
2375 Usage: $0 [OPTION]... [VAR=VALUE]...
2377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2378 VAR=VALUE. See below for descriptions of some of the useful variables.
2380 Defaults for the options are specified in brackets.
2383 -h, --help display this help and exit
2384 --help=short display options specific to this package
2385 --help=recursive display the short help of all the included packages
2386 -V, --version display version information and exit
2387 -q, --quiet, --silent do not print \`checking ...' messages
2388 --cache-file=FILE cache test results in FILE [disabled]
2389 -C, --config-cache alias for \`--cache-file=config.cache'
2390 -n, --no-create do not create output files
2391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2393 Installation directories:
2394 --prefix=PREFIX install architecture-independent files in PREFIX
2395 [$ac_default_prefix]
2396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2399 By default, \`make install' will install all the files in
2400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2402 for instance \`--prefix=\$HOME'.
2404 For better control, use the options below.
2406 Fine tuning of the installation directories:
2407 --bindir=DIR user executables [EPREFIX/bin]
2408 --sbindir=DIR system admin executables [EPREFIX/sbin]
2409 --libexecdir=DIR program executables [EPREFIX/libexec]
2410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2413 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2414 --libdir=DIR object code libraries [EPREFIX/lib]
2415 --includedir=DIR C header files [PREFIX/include]
2416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2419 --infodir=DIR info documentation [DATAROOTDIR/info]
2420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2421 --mandir=DIR man documentation [DATAROOTDIR/man]
2422 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2423 --htmldir=DIR html documentation [DOCDIR]
2424 --dvidir=DIR dvi documentation [DOCDIR]
2425 --pdfdir=DIR pdf documentation [DOCDIR]
2426 --psdir=DIR ps documentation [DOCDIR]
2432 --x-includes=DIR X include files are
in DIR
2433 --x-libraries=DIR X library files are
in DIR
2436 --build=BUILD configure
for building on BUILD
[guessed
]
2437 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2441 if test -n "$ac_init_help"; then
2442 case $ac_init_help in
2443 short | recursive
) echo "Configuration of Wine 8.19:";;
2448 --disable-option-checking ignore unrecognized
--enable/--with options
2449 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2450 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2451 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2452 enable multiple architectures
for PE compilation
2453 --disable-win16 do not include Win16 support
2454 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2456 --disable-tests do not build the regression tests
2457 --enable-build-id include .buildid section in output objects
2458 --enable-maintainer-mode
2459 enable maintainer-specific build rules
2460 --enable-silent-rules use silent build rules (override: "make V=1")
2461 --enable-werror treat compilation warnings as errors
2462 --disable-largefile omit support for large files
2465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2467 --without-alsa do not use the Alsa sound support
2468 --without-capi do not use CAPI (ISDN support)
2469 --without-coreaudio do not use the CoreAudio sound support
2470 --without-cups do not use CUPS
2471 --without-dbus do not use DBus (dynamic device support)
2472 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2473 --without-fontconfig do not use fontconfig
2474 --without-freetype do not use the FreeType library
2475 --without-gettext do not use gettext
2476 --with-gettextpo use the GetTextPO library to rebuild po files
2477 --without-gphoto do not use gphoto (Digital Camera support)
2478 --without-gnutls do not use GnuTLS (schannel support)
2479 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2480 --without-gstreamer do not use GStreamer (codecs support)
2481 --without-inotify do not use inotify (filesystem change notifications)
2482 --without-krb5 do not use krb5 (Kerberos)
2483 --without-mingw do not use the MinGW cross-compiler
2484 --without-netapi do not use the Samba NetAPI library
2485 --without-opencl do not use OpenCL
2486 --without-opengl do not use OpenGL
2487 --without-osmesa do not use the OSMesa library
2488 --without-oss do not use the OSS sound support
2489 --without-pcap do not use the Packet Capture library
2490 --without-pcsclite do not use PCSC lite
2491 --without-pthread do not use the pthread library
2492 --without-pulse do not use PulseAudio sound support
2493 --without-sane do not use SANE (scanner support)
2494 --without-sdl do not use SDL
2495 --without-udev do not use udev (plug and play support)
2496 --without-unwind do not use the libunwind library (exception
2498 --without-usb do not use the libusb library
2499 --without-v4l2 do not use v4l2 (video capture)
2500 --without-vulkan do not use Vulkan
2501 --without-wayland do not build the Wayland driver
2502 --without-xcomposite do not use the Xcomposite extension
2503 --without-xcursor do not use the Xcursor extension
2504 --without-xfixes do not use Xfixes for clipboard change notifications
2505 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2506 --without-xinput do not use the Xinput extension
2507 --without-xinput2 do not use the Xinput 2 extension
2508 --without-xrandr do not use Xrandr (multi-monitor support)
2509 --without-xrender do not use the Xrender extension
2510 --without-xshape do not use the Xshape extension
2511 --without-xshm do not use XShm (shared memory extension)
2512 --without-xxf86vm do not use XFree video mode extension
2513 --with-system-dllpath=PATH
2514 load external PE dependencies from colon-separated
2516 --with-wine-tools=DIR use Wine tools from directory DIR
2517 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2518 --with-x use the X Window System
2520 Some influential environment variables:
2521 CC C compiler command
2522 CFLAGS C compiler flags
2523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2524 nonstandard directory <lib dir>
2525 LIBS libraries to pass to the linker, e.g. -l<library>
2526 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2527 you have headers in a nonstandard directory <include dir>
2528 CXX C++ compiler command
2529 CXXFLAGS C++ compiler flags
2530 OBJC Objective C compiler command
2531 OBJCFLAGS Objective C compiler flags
2533 C compiler flags for the PE faudio, overriding the bundled
2536 Linker flags for the PE faudio, overriding the bundled version
2537 FLUIDSYNTH_PE_CFLAGS
2538 C compiler flags for the PE fluidsynth, overriding the bundled
2541 Linker flags for the PE fluidsynth, overriding the bundled
2544 C compiler flags for the PE gsm, overriding the bundled version
2545 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2547 C compiler flags for the PE jpeg, overriding the bundled version
2549 Linker flags for the PE jpeg, overriding the bundled version
2551 C compiler flags for the PE jxr, overriding the bundled version
2552 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2554 C compiler flags for the PE lcms2, overriding the bundled
2557 Linker flags for the PE lcms2, overriding the bundled version
2559 C compiler flags for the PE ldap, overriding the bundled version
2561 Linker flags for the PE ldap, overriding the bundled version
2563 C compiler flags for the PE mpg123, overriding the bundled
2566 Linker flags for the PE mpg123, overriding the bundled version
2568 C compiler flags for the PE musl, overriding the bundled version
2570 Linker flags for the PE musl, overriding the bundled version
2572 C compiler flags for the PE png, overriding the bundled version
2573 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2575 C compiler flags for the PE tiff, overriding the bundled version
2577 Linker flags for the PE tiff, overriding the bundled version
2579 C compiler flags for the PE vkd3d, overriding the bundled
2582 Linker flags for the PE vkd3d, overriding the bundled version
2584 C compiler flags for the PE xml2, overriding the bundled version
2586 Linker flags for the PE xml2, overriding the bundled version
2588 C compiler flags for the PE xslt, overriding the bundled version
2590 Linker flags for the PE xslt, overriding the bundled version
2592 C compiler flags for the PE zlib, overriding the bundled version
2594 Linker flags for the PE zlib, overriding the bundled version
2596 C compiler flags for the PE zydis, overriding the bundled
2599 Linker flags for the PE zydis, overriding the bundled version
2600 XMKMF Path to xmkmf, Makefile generator for X Window System
2602 WAYLAND_CLIENT_CFLAGS
2603 C compiler flags for wayland-client, overriding pkg-config
2605 Linker flags for wayland-client, overriding pkg-config
2607 C compiler flags for libinotify, overriding pkg-config
2609 Linker flags for libinotify, overriding pkg-config
2610 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2611 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2613 C compiler flags for gnutls, overriding pkg-config
2614 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2615 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2616 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2617 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2618 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2620 C compiler flags for libgphoto2, overriding pkg-config
2622 Linker flags for libgphoto2, overriding pkg-config
2624 C compiler flags for libgphoto2_port, overriding pkg-config
2626 Linker flags for libgphoto2_port, overriding pkg-config
2628 C compiler flags for freetype2, overriding pkg-config
2630 Linker flags for freetype2, overriding pkg-config
2632 C compiler flags for libpulse, overriding pkg-config
2633 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2635 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2636 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2638 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2639 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2640 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2641 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2643 C compiler flags for libunwind, overriding pkg-config
2644 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2645 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2646 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2648 C compiler flags for capi20, overriding pkg-config
2649 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2650 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2651 CUPS_LIBS Linker flags for cups, overriding pkg-config
2653 C compiler flags for fontconfig, overriding pkg-config
2655 Linker flags for fontconfig, overriding pkg-config
2656 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2657 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2659 C compiler flags for krb5-gssapi, overriding pkg-config
2660 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2662 C compiler flags for netapi, overriding pkg-config
2663 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2665 Use these variables to override the choices made by `configure' or to
help
2666 it to
find libraries and programs with nonstandard names
/locations.
2668 Report bugs to
<wine-devel@winehq.org
>.
2669 Wine home page
: <https
://www.winehq.org
>.
2674 if test "$ac_init_help" = "recursive"; then
2675 # If there are subdirs, report their specific --help.
2676 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2677 test -d "$ac_dir" ||
2678 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2683 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2685 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2686 # A ".." for each directory in $ac_dir_suffix.
2687 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2688 case $ac_top_builddir_sub in
2689 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2690 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2693 ac_abs_top_builddir
=$ac_pwd
2694 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2695 # for backward compatibility:
2696 ac_top_builddir
=$ac_top_build_prefix
2699 .
) # We are building in place.
2701 ac_top_srcdir
=$ac_top_builddir_sub
2702 ac_abs_top_srcdir
=$ac_pwd ;;
2703 [\\/]* | ?
:[\\/]* ) # Absolute name.
2704 ac_srcdir
=$srcdir$ac_dir_suffix;
2705 ac_top_srcdir
=$srcdir
2706 ac_abs_top_srcdir
=$srcdir ;;
2708 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2709 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2710 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2712 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2714 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2715 # Check for configure.gnu first; this name is used for a wrapper for
2716 # Metaconfig's "Configure" on case-insensitive file systems.
2717 if test -f "$ac_srcdir/configure.gnu"; then
2719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2720 elif test -f "$ac_srcdir/configure"; then
2722 $SHELL "$ac_srcdir/configure" --help=recursive
2724 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2726 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2730 test -n "$ac_init_help" && exit $ac_status
2731 if $ac_init_version; then
2734 generated by GNU Autoconf
2.71
2736 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2737 This configure
script is free software
; the Free Software Foundation
2738 gives unlimited permission to copy
, distribute and modify it.
2743 ## ------------------------ ##
2744 ## Autoconf initialization. ##
2745 ## ------------------------ ##
2747 # ac_fn_c_try_compile LINENO
2748 # --------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_compile
()
2752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2753 rm -f conftest.
$ac_objext conftest.beam
2754 if { { ac_try
="$ac_compile"
2756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 printf "%s\n" "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext
2776 printf "%s\n" "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 as_fn_set_status $ac_retval
2784 } # ac_fn_c_try_compile
2786 # ac_fn_cxx_try_compile LINENO
2787 # ----------------------------
2788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2789 ac_fn_cxx_try_compile ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 rm -f conftest.$ac_objext conftest.beam
2793 if { { ac_try="$ac_compile"
2795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2796 *) ac_try_echo
=$ac_try;;
2798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 printf "%s\n" "$ac_try_echo"; } >&5
2800 (eval "$ac_compile") 2>conftest.err
2802 if test -s conftest.err
; then
2803 grep -v '^ *+' conftest.err
>conftest.er1
2804 cat conftest.er1
>&5
2805 mv -f conftest.er1 conftest.err
2807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_cxx_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest.
$ac_objext
2815 printf "%s\n" "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.
$ac_ext >&5
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 as_fn_set_status
$ac_retval
2823 } # ac_fn_cxx_try_compile
2825 # ac_fn_c_try_link LINENO
2826 # -----------------------
2827 # Try to link conftest.$ac_ext, and return whether this succeeded.
2830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2831 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2832 if { { ac_try
="$ac_link"
2834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838 printf "%s\n" "$ac_try_echo"; } >&5
2839 (eval "$ac_link") 2>conftest.err
2841 if test -s conftest.err; then
2842 grep -v '^ *+' conftest.err >conftest.er1
2843 cat conftest.er1 >&5
2844 mv -f conftest.er1 conftest.err
2846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; } && {
2848 test -z "$ac_c_werror_flag" ||
2849 test ! -s conftest.err
2850 } && test -s conftest$ac_exeext && {
2851 test "$cross_compiling" = yes ||
2852 test -x conftest$ac_exeext
2857 printf "%s\n" "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2864 # interfere with the next link command; also delete a directory that is
2865 # left behind by Apple's compiler. We do this before executing the actions.
2866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 as_fn_set_status $ac_retval
2870 } # ac_fn_c_try_link
2872 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2873 # -------------------------------------------------------
2874 # Tests whether HEADER exists and can be compiled using the include files in
2875 # INCLUDES, setting the cache variable VAR accordingly.
2876 ac_fn_c_check_header_compile ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 printf %s "checking for $2... " >&6; }
2881 if eval test \${$3+y}
2883 printf %s "(cached) " >&6
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"
2896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2900 printf "%s\n" "$ac_res" >&6; }
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 } # ac_fn_c_check_header_compile
2905 # ac_fn_objc_try_compile LINENO
2906 # -----------------------------
2907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_objc_try_compile ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 rm -f conftest.$ac_objext conftest.beam
2912 if { { ac_try="$ac_compile"
2914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2915 *) ac_try_echo
=$ac_try;;
2917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 printf "%s\n" "$ac_try_echo"; } >&5
2919 (eval "$ac_compile") 2>conftest.err
2921 if test -s conftest.err
; then
2922 grep -v '^ *+' conftest.err
>conftest.er1
2923 cat conftest.er1
>&5
2924 mv -f conftest.er1 conftest.err
2926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } && {
2928 test -z "$ac_objc_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest.
$ac_objext
2934 printf "%s\n" "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.
$ac_ext >&5
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 as_fn_set_status
$ac_retval
2942 } # ac_fn_objc_try_compile
2944 # ac_fn_c_check_func LINENO FUNC VAR
2945 # ----------------------------------
2946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2947 ac_fn_c_check_func
()
2949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2951 printf %s
"checking for $2... " >&6; }
2952 if eval test \
${$3+y}
2954 printf %s
"(cached) " >&6
2956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2958 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2960 #define $2 innocuous_$2
2962 /* System header to define __stub macros and hopefully few prototypes,
2963 which can conflict with char $2 (); below. */
2968 /* Override any GCC internal prototype to avoid an error.
2969 Use char because int might match the return type of a GCC
2970 builtin and then its argument prototype would still apply. */
2975 /* The GNU C library defines this for functions which it implements
2976 to always fail with ENOSYS. Some functions are actually named
2977 something starting with __ and the normal name is an alias. */
2978 #if defined __stub_$2 || defined __stub___$2
2990 if ac_fn_c_try_link
"$LINENO"
2996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2997 conftest
$ac_exeext conftest.
$ac_ext
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 printf "%s\n" "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_func
3006 # ac_fn_c_try_cpp LINENO
3007 # ----------------------
3008 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3011 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3012 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 printf "%s\n" "$ac_try_echo"; } >&5
3019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3021 if test -s conftest.err; then
3022 grep -v '^ *+' conftest.err >conftest.er1
3023 cat conftest.er1 >&5
3024 mv -f conftest.er1 conftest.err
3026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027 test $ac_status = 0; } > conftest.i && {
3028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3029 test ! -s conftest.err
3034 printf "%s\n" "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 as_fn_set_status $ac_retval
3044 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3045 # ----------------------------------------------------
3046 # Tries to find if the field MEMBER exists in type AGGR, after including
3047 # INCLUDES, setting cache variable VAR accordingly.
3048 ac_fn_c_check_member ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3052 printf %s "checking for $2.$3... " >&6; }
3053 if eval test \${$4+y}
3055 printf %s "(cached) " >&6
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3081 if (sizeof ac_aggr.$3)
3087 if ac_fn_c_try_compile "$LINENO"
3093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3099 printf "%s\n" "$ac_res" >&6; }
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 } # ac_fn_c_check_member
3104 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3105 # -------------------------------------------
3106 # Tests whether TYPE exists after having included INCLUDES, setting cache
3107 # variable VAR accordingly.
3108 ac_fn_c_check_type ()
3110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3112 printf %s "checking for $2... " >&6; }
3113 if eval test \${$3+y}
3115 printf %s "(cached) " >&6
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3130 if ac_fn_c_try_compile "$LINENO"
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3144 if ac_fn_c_try_compile "$LINENO"
3150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3156 printf "%s\n" "$ac_res" >&6; }
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 } # ac_fn_c_check_type
3160 ac_configure_args_raw=
3165 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3167 as_fn_append ac_configure_args_raw " '$ac_arg'"
3170 case $ac_configure_args_raw in
3174 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3175 ac_unsafe_a="$ac_unsafe_z#~
"
3176 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3177 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3180 cat >config.log <<_ACEOF
3181 This file contains any messages produced by compilers while
3182 running configure, to aid debugging if configure makes a mistake.
3184 It was created by Wine $as_me 8.19, which was
3185 generated by GNU Autoconf 2.71. Invocation command line was
3187 $ $0$ac_configure_args_raw
3197 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3198 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3199 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3200 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3201 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3203 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3204 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3206 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3207 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3208 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3209 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3210 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3211 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3212 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 case $as_dir in #(((
3223 *) as_dir=$as_dir/ ;;
3225 printf "%s
\n" "PATH
: $as_dir"
3241 # Keep a trace of the command line.
3242 # Strip out --no-create and --no-recursion so they do not pile up.
3243 # Strip out --silent because we don't want to record it for future runs.
3244 # Also quote any args containing shell meta-characters.
3245 # Make two passes to allow for proper duplicate-argument suppression.
3249 ac_must_keep_next=false
3255 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3257 | -silent | --silent | --silen | --sile | --sil)
3260 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3263 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3265 as_fn_append ac_configure_args1 " '$ac_arg'"
3266 if test $ac_must_keep_next = true; then
3267 ac_must_keep_next=false # Got value, back to normal.
3270 *=* | --config-cache | -C | -disable-* | --disable-* \
3271 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3272 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3273 | -with-* | --with-* | -without-* | --without-* | --x)
3274 case "$ac_configure_args0 " in
3275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3278 -* ) ac_must_keep_next=true ;;
3281 as_fn_append ac_configure_args " '$ac_arg'"
3286 { ac_configure_args0=; unset ac_configure_args0;}
3287 { ac_configure_args1=; unset ac_configure_args1;}
3289 # When interrupted or exit'd, cleanup temporary files, and complete
3290 # config.log. We remove comments because anyway the quotes in there
3291 # would cause problems or look ugly.
3292 # WARNING: Use '\'' to represent an apostrophe within the trap.
3293 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3294 trap 'exit_status=$?
3297 # Save into config.log some information that might help in debugging.
3301 printf "%s
\n" "## ---------------- ##
3302 ## Cache variables. ##
3303 ## ---------------- ##"
3305 # The following way of writing the cache mishandles newlines in values,
3307 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3308 eval ac_val
=\$
$ac_var
3312 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3313 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3316 _ | IFS | as_nl
) ;; #(
3317 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3318 *) { eval $ac_var=; unset $ac_var;} ;;
3323 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3324 *${as_nl}ac_space
=\
*)
3326 "s/'\''/'\''\\\\'\'''\''/g;
3327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3337 printf "%s\n" "## ----------------- ##
3338 ## Output variables. ##
3339 ## ----------------- ##"
3341 for ac_var
in $ac_subst_vars
3343 eval ac_val
=\$
$ac_var
3345 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 printf "%s\n" "$ac_var='\''$ac_val'\''"
3351 if test -n "$ac_subst_files"; then
3352 printf "%s\n" "## ------------------- ##
3353 ## File substitutions. ##
3354 ## ------------------- ##"
3356 for ac_var in $ac_subst_files
3358 eval ac_val=\$$ac_var
3360 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3362 printf "%s\n" "$ac_var='\''$ac_val'\''"
3367 if test -s confdefs.h
; then
3368 printf "%s\n" "## ----------- ##
3375 test "$ac_signal" != 0 &&
3376 printf "%s\n" "$as_me: caught signal $ac_signal"
3377 printf "%s\n" "$as_me: exit $exit_status"
3379 rm -f core
*.core core.conftest.
* &&
3380 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3383 for ac_signal in 1 2 13 15; do
3384 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3389 rm -f -r conftest* confdefs.h
3391 printf "%s\n" "/* confdefs.h */" > confdefs.h
3393 # Predefined preprocessor variables.
3395 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3397 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3399 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3401 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3403 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3405 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3408 # Let the site file select an alternate cache file if it wants to.
3409 # Prefer an explicitly selected file to automatically selected ones.
3410 if test -n "$CONFIG_SITE"; then
3411 ac_site_files="$CONFIG_SITE"
3412 elif test "x$prefix" != xNONE; then
3413 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3415 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3418 for ac_site_file in $ac_site_files
3420 case $ac_site_file in #(
3424 ac_site_file=./$ac_site_file ;;
3426 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3428 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3429 sed 's
/^
/|
/' "$ac_site_file" >&5
3431 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3433 as_fn_error $? "failed to load site script $ac_site_file
3434 See \`config.log
' for more details" "$LINENO" 5; }
3438 if test -r "$cache_file"; then
3439 # Some versions of bash will fail to source /dev/null (special files
3440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3441 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3443 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3445 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3446 *) . "./$cache_file";;
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3451 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3455 # Test code for whether the C compiler supports C89 (global declarations)
3456 ac_c_conftest_c89_globals='
3457 /* Does the compiler advertise C89 conformance?
3458 Do not
test the value of __STDC__
, because some compilers
set it to
0
3459 while being otherwise adequately conformant.
*/
3460 #if !defined __STDC__
3461 # error "Compiler does not advertise C89 conformance"
3467 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3468 struct buf
{ int x
; };
3469 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3470 static char
*e
(p
, i
)
3476 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3481 s
= g
(p
, va_arg
(v
,int
));
3486 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3487 function prototypes and stuff
, but not \xHH hex character constants.
3488 These
do not provoke an error unfortunately
, instead are silently treated
3489 as an
"x". The following induces an error
, until -std is added to get
3490 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3491 array size
at least. It is necessary to
write \x00 == 0 to get something
3492 that is true only with
-std.
*/
3493 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3495 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3496 inside
strings and character constants.
*/
3497 #define FOO(x) '\''x'\''
3498 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3500 int
test (int i
, double x
);
3501 struct s1
{int
(*f
) (int a
);};
3502 struct s2
{int
(*f
) (double a
);};
3503 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3506 # Test code for whether the C compiler supports C89 (body of main).
3507 ac_c_conftest_c89_main='
3508 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3511 # Test code for whether the C compiler supports C99 (global declarations)
3512 ac_c_conftest_c99_globals='
3513 // Does the compiler advertise C99 conformance?
3514 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3515 # error "Compiler does not advertise C99 conformance"
3518 #include <stdbool.h>
3519 extern int puts
(const char
*);
3520 extern int
printf (const char
*, ...
);
3521 extern int dprintf
(int
, const char
*, ...
);
3522 extern void
*malloc
(size_t
);
3524 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3525 // dprintf is used instead of fprintf to avoid needing to
declare
3527 #define debug(...) dprintf (2, __VA_ARGS__)
3528 #define showlist(...) puts (#__VA_ARGS__)
3529 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3531 test_varargs_macros
(void
)
3536 debug
("X = %d\n", x
);
3537 showlist
(The first
, second
, and third items.
);
3538 report
(x
>y
, "x is %d but y is %d", x
, y
);
3541 // Check long long types.
3542 #define BIG64 18446744073709551615ull
3543 #define BIG32 4294967295ul
3544 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3546 #error "your preprocessor is broken"
3550 #error "your preprocessor is broken"
3552 static long long int bignum
= -9223372036854775807LL;
3553 static unsigned long long int ubignum
= BIG64
;
3555 struct incomplete_array
3563 const wchar_t
*name
;
3567 typedef const char
*ccp
;
3570 test_restrict
(ccp restrict text
)
3572 // See
if C
++-style comments work.
3573 // Iterate through items via the restricted pointer.
3574 // Also check
for declarations
in for loops.
3575 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3580 // Check varargs and va_copy.
3582 test_varargs
(const char
*format
, ...
)
3585 va_start
(args
, format
);
3587 va_copy
(args_copy
, args
);
3589 const char
*str
= "";
3597 case '\''s
'\'': // string
3598 str
= va_arg
(args_copy
, const char
*);
3600 case '\''d
'\'': // int
3601 number
= va_arg
(args_copy
, int
);
3603 case '\''f
'\'': // float
3604 fnumber
= va_arg
(args_copy
, double
);
3613 return *str
&& number
&& fnumber
;
3617 # Test code for whether the C compiler supports C99 (body of main).
3618 ac_c_conftest_c99_main='
3620 _Bool success
= false
;
3621 success |
= (argc
!= 0);
3624 if (test_restrict
("String literal") == 0)
3626 char
*restrict newvar
= "Another string";
3629 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3630 test_varargs_macros
();
3632 // Check flexible array members.
3633 struct incomplete_array
*ia
=
3634 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3636 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3637 ia-
>data
[i
] = i
* 1.234;
3639 // Check named initializers.
3640 struct named_init ni
= {
3642 .name
= L
"Test wide string",
3643 .average
= 543.34343,
3648 int dynamic_array
[ni.number
];
3649 dynamic_array
[0] = argv
[0][0];
3650 dynamic_array
[ni.number
- 1] = 543;
3652 // work around unused variable warnings
3653 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3654 || dynamic_array
[ni.number
- 1] != 543);
3657 # Test code for whether the C compiler supports C11 (global declarations)
3658 ac_c_conftest_c11_globals='
3659 // Does the compiler advertise C11 conformance?
3660 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3661 # error "Compiler does not advertise C11 conformance"
3665 char _Alignas
(double
) aligned_as_double
;
3666 char _Alignas
(0) no_special_alignment
;
3667 extern char aligned_as_int
;
3668 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3673 int_alignment
= _Alignof
(int
),
3674 int_array_alignment
= _Alignof
(int
[100]),
3675 char_alignment
= _Alignof
(char
)
3677 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3680 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3682 // Check _Static_assert.
3683 struct test_static_assert
3686 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3687 "_Static_assert does not work in struct");
3691 // Check UTF-8 literals.
3692 #define u8 syntax error!
3693 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3695 // Check duplicate typedefs.
3696 typedef long
*long_ptr
;
3697 typedef long int
*long_ptr
;
3698 typedef long_ptr long_ptr
;
3700 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3704 struct
{ int i
; int j
; };
3705 struct
{ int k
; long int l
; } w
;
3711 # Test code for whether the C compiler supports C11 (body of main).
3712 ac_c_conftest_c11_main='
3713 _Static_assert
((offsetof
(struct anonymous
, i
)
3714 == offsetof
(struct anonymous
, w.k
)),
3715 "Anonymous union alignment botch");
3721 # Test code for whether the C compiler supports C11 (complete).
3722 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3723 ${ac_c_conftest_c99_globals}
3724 ${ac_c_conftest_c11_globals}
3727 main (int argc, char **argv)
3730 ${ac_c_conftest_c89_main}
3731 ${ac_c_conftest_c99_main}
3732 ${ac_c_conftest_c11_main}
3737 # Test code for whether the C compiler supports C99 (complete).
3738 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3739 ${ac_c_conftest_c99_globals}
3742 main (int argc, char **argv)
3745 ${ac_c_conftest_c89_main}
3746 ${ac_c_conftest_c99_main}
3751 # Test code for whether the C compiler supports C89 (complete).
3752 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3755 main (int argc, char **argv)
3758 ${ac_c_conftest_c89_main}
3763 # Test code for whether the C++ compiler supports C++98 (global declarations)
3764 ac_cxx_conftest_cxx98_globals='
3765 // Does the compiler advertise C
++98 conformance?
3766 #if !defined __cplusplus || __cplusplus < 199711L
3767 # error "Compiler does not advertise C++98 conformance"
3770 // These inclusions are to reject old compilers that
3771 // lack the unsuffixed header files.
3773 #include <exception>
3775 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3776 extern void assert
(int
);
3778 extern int strcmp
(const char
*, const char
*);
3781 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3782 using std
::exception
;
3787 void test_exception_syntax
()
3791 } catch
(const char
*s
) {
3792 // Extra parentheses suppress a warning when building autoconf itself
,
3793 // due to lint rules shared with
more typical C programs.
3794 assert
(!(strcmp
) (s
, "test"));
3798 template
<typename T
> struct test_template
3801 explicit test_template
(T t
) : val
(t
) {}
3802 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3805 } // anonymous namespace
3808 # Test code for whether the C++ compiler supports C++98 (body of main)
3809 ac_cxx_conftest_cxx98_main='
3813 test_exception_syntax
();
3814 test_template
<double
> tt
(2.0);
3815 assert
(tt.add
(4) == 6.0);
3816 assert
(true
&& !false
);
3820 # Test code for whether the C++ compiler supports C++11 (global declarations)
3821 ac_cxx_conftest_cxx11_globals='
3822 // Does the compiler advertise C
++ 2011 conformance?
3823 #if !defined __cplusplus || __cplusplus < 201103L
3824 # error "Compiler does not advertise C++11 conformance"
3829 constexpr int get_val
() { return 20; }
3840 delegate
(int n
) : n
(n
) {}
3841 delegate
(): delegate
(2354) {}
3843 virtual int getval
() { return this-
>n
; };
3848 class overridden
: public delegate
3851 overridden
(int n
): delegate
(n
) {}
3852 virtual int getval
() override final
{ return this-
>n
* 2; }
3858 nocopy
(int i
): i
(i
) {}
3860 nocopy
(const nocopy
&) = delete
;
3861 nocopy
& operator
=(const nocopy
&) = delete
;
3866 // for testing lambda expressions
3867 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3872 // for testing variadic templates and trailing
return types
3873 template
<typename V
> auto
sum(V first
) -> V
3877 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3879 return first
+ sum(rest...
);
3884 # Test code for whether the C++ compiler supports C++11 (body of main)
3885 ac_cxx_conftest_cxx11_main='
3887 // Test auto and decltype
3889 auto a2
= 48573953.4;
3890 auto a3
= "String literal";
3893 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3895 decltype
(a2
) a4
= 34895.034;
3899 short sa
[cxx11test
::get_val
()] = { 0 };
3902 // Test initializer lists
3903 cxx11test
::testinit il
= { 4323, 435234.23544 };
3906 // Test range-based
for
3907 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3908 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3909 for (auto
&x
: array
) { x
+= 23; }
3912 // Test lambda expressions
3913 using cxx11test
::eval;
3914 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3916 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3918 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3922 // Test use of variadic templates
3923 using cxx11test
::sum;
3926 auto c
= sum(1.0, 2.0, 3.0);
3929 // Test constructor delegation
3930 cxx11test
::delegate d1
;
3931 cxx11test
::delegate d2
();
3932 cxx11test
::delegate d3
(45);
3935 // Test override and final
3936 cxx11test
::overridden o1
(55464);
3943 // Test template brackets
3944 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3948 char const
*utf8
= u8
"UTF-8 string \u2500";
3949 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3950 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3954 # Test code for whether the C compiler supports C++11 (complete).
3955 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3956 ${ac_cxx_conftest_cxx11_globals}
3959 main (int argc, char **argv)
3962 ${ac_cxx_conftest_cxx98_main}
3963 ${ac_cxx_conftest_cxx11_main}
3968 # Test code for whether the C compiler supports C++98 (complete).
3969 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3971 main (int argc, char **argv)
3974 ${ac_cxx_conftest_cxx98_main}
3979 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3980 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3981 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3982 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3983 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3984 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3985 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3986 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3987 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3989 # Auxiliary files required by this configure script.
3990 ac_aux_files="config.guess config.sub"
3992 # Locations in which to look for auxiliary files.
3993 ac_aux_dir_candidates="${srcdir}/tools"
3995 # Search for a directory containing all of the required auxiliary files,
3996 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3997 # If we don't
find one directory that contains all the files we need
,
3998 # we report the set of missing files from the *first* directory in
3999 # $ac_aux_dir_candidates and give up.
4000 ac_missing_aux_files
=""
4001 ac_first_candidate
=:
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 for as_dir
in $ac_aux_dir_candidates
4008 case $as_dir in #(((
4011 *) as_dir
=$as_dir/ ;;
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4016 ac_aux_dir_found
=yes
4018 for ac_aux
in $ac_aux_files
4020 # As a special case, if "install-sh" is required, that requirement
4021 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4022 # and $ac_install_sh is set appropriately for whichever one is found.
4023 if test x
"$ac_aux" = x
"install-sh"
4025 if test -f "${as_dir}install-sh"; then
4026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4027 ac_install_sh
="${as_dir}install-sh -c"
4028 elif test -f "${as_dir}install.sh"; then
4029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4030 ac_install_sh
="${as_dir}install.sh -c"
4031 elif test -f "${as_dir}shtool"; then
4032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4033 ac_install_sh
="${as_dir}shtool install -c"
4036 if $ac_first_candidate; then
4037 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4043 if test -f "${as_dir}${ac_aux}"; then
4044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4047 if $ac_first_candidate; then
4048 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4055 if test "$ac_aux_dir_found" = yes; then
4056 ac_aux_dir
="$as_dir"
4059 ac_first_candidate
=false
4068 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4072 # These three variables are undocumented and unsupported,
4073 # and are intended to be withdrawn in a future Autoconf release.
4074 # They can cause serious problems if a builder's source tree is in a directory
4075 # whose full name contains unusual characters.
4076 if test -f "${ac_aux_dir}config.guess"; then
4077 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4079 if test -f "${ac_aux_dir}config.sub"; then
4080 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4082 if test -f "$ac_aux_dir/configure"; then
4083 ac_configure
="$SHELL ${ac_aux_dir}configure"
4086 # Check that the precious variables saved in the cache have kept the same
4088 ac_cache_corrupted
=false
4089 for ac_var
in $ac_precious_vars; do
4090 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4091 eval ac_new_set
=\
$ac_env_${ac_var}_set
4092 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4093 eval ac_new_val
=\
$ac_env_${ac_var}_value
4094 case $ac_old_set,$ac_new_set in
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4097 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4098 ac_cache_corrupted
=: ;;
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4101 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4102 ac_cache_corrupted
=: ;;
4105 if test "x$ac_old_val" != "x$ac_new_val"; then
4106 # differences in whitespace do not lead to failure.
4107 ac_old_val_w
=`echo x $ac_old_val`
4108 ac_new_val_w
=`echo x $ac_new_val`
4109 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4111 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4112 ac_cache_corrupted
=:
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4115 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4116 eval $ac_var=\
$ac_old_val
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4119 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4121 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4124 # Pass precious variables to config.status.
4125 if test "$ac_new_set" = set; then
4127 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4128 *) ac_arg
=$ac_var=$ac_new_val ;;
4130 case " $ac_configure_args " in
4131 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4132 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4136 if $ac_cache_corrupted; then
4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4140 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4141 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4142 and start over" "$LINENO" 5
4144 ## -------------------- ##
4145 ## Main body of script. ##
4146 ## -------------------- ##
4149 ac_cpp
='$CPP $CPPFLAGS'
4150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4156 ac_config_headers
="$ac_config_headers include/config.h"
4160 libwine_version
="1.0"
4163 # Check whether --enable-archs was given.
4164 if test ${enable_archs+y}
4166 enableval
=$enable_archs;
4169 # Check whether --enable-win16 was given.
4170 if test ${enable_win16+y}
4172 enableval
=$enable_win16;
4175 # Check whether --enable-win64 was given.
4176 if test ${enable_win64+y}
4178 enableval
=$enable_win64;
4181 # Check whether --enable-tests was given.
4182 if test ${enable_tests+y}
4184 enableval
=$enable_tests;
4187 # Check whether --enable-build-id was given.
4188 if test ${enable_build_id+y}
4190 enableval
=$enable_build_id;
4193 # Check whether --enable-maintainer-mode was given.
4194 if test ${enable_maintainer_mode+y}
4196 enableval
=$enable_maintainer_mode;
4199 # Check whether --enable-silent-rules was given.
4200 if test ${enable_silent_rules+y}
4202 enableval
=$enable_silent_rules;
4205 # Check whether --enable-werror was given.
4206 if test ${enable_werror+y}
4208 enableval
=$enable_werror;
4213 # Check whether --with-alsa was given.
4214 if test ${with_alsa+y}
4220 # Check whether --with-capi was given.
4221 if test ${with_capi+y}
4227 # Check whether --with-coreaudio was given.
4228 if test ${with_coreaudio+y}
4230 withval
=$with_coreaudio;
4234 # Check whether --with-cups was given.
4235 if test ${with_cups+y}
4241 # Check whether --with-dbus was given.
4242 if test ${with_dbus+y}
4248 # Check whether --with-float-abi was given.
4249 if test ${with_float_abi+y}
4251 withval
=$with_float_abi;
4255 # Check whether --with-fontconfig was given.
4256 if test ${with_fontconfig+y}
4258 withval
=$with_fontconfig;
4262 # Check whether --with-freetype was given.
4263 if test ${with_freetype+y}
4265 withval
=$with_freetype;
4269 # Check whether --with-gettext was given.
4270 if test ${with_gettext+y}
4272 withval
=$with_gettext;
4276 # Check whether --with-gettextpo was given.
4277 if test ${with_gettextpo+y}
4279 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4283 # Check whether --with-gphoto was given.
4284 if test ${with_gphoto+y}
4286 withval
=$with_gphoto;
4290 # Check whether --with-gnutls was given.
4291 if test ${with_gnutls+y}
4293 withval
=$with_gnutls;
4297 # Check whether --with-gssapi was given.
4298 if test ${with_gssapi+y}
4300 withval
=$with_gssapi;
4304 # Check whether --with-gstreamer was given.
4305 if test ${with_gstreamer+y}
4307 withval
=$with_gstreamer;
4311 # Check whether --with-inotify was given.
4312 if test ${with_inotify+y}
4314 withval
=$with_inotify;
4318 # Check whether --with-krb5 was given.
4319 if test ${with_krb5+y}
4325 # Check whether --with-mingw was given.
4326 if test ${with_mingw+y}
4328 withval
=$with_mingw;
4332 # Check whether --with-netapi was given.
4333 if test ${with_netapi+y}
4335 withval
=$with_netapi;
4339 # Check whether --with-opencl was given.
4340 if test ${with_opencl+y}
4342 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4346 # Check whether --with-opengl was given.
4347 if test ${with_opengl+y}
4349 withval
=$with_opengl;
4353 # Check whether --with-osmesa was given.
4354 if test ${with_osmesa+y}
4356 withval
=$with_osmesa;
4360 # Check whether --with-oss was given.
4361 if test ${with_oss+y}
4367 # Check whether --with-pcap was given.
4368 if test ${with_pcap+y}
4370 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4374 # Check whether --with-pcsclite was given.
4375 if test ${with_pcsclite+y}
4377 withval
=$with_pcsclite;
4381 # Check whether --with-pthread was given.
4382 if test ${with_pthread+y}
4384 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4388 # Check whether --with-pulse was given.
4389 if test ${with_pulse+y}
4391 withval
=$with_pulse;
4395 # Check whether --with-sane was given.
4396 if test ${with_sane+y}
4402 # Check whether --with-sdl was given.
4403 if test ${with_sdl+y}
4409 # Check whether --with-udev was given.
4410 if test ${with_udev+y}
4416 # Check whether --with-unwind was given.
4417 if test ${with_unwind+y}
4419 withval
=$with_unwind;
4423 # Check whether --with-usb was given.
4424 if test ${with_usb+y}
4430 # Check whether --with-v4l2 was given.
4431 if test ${with_v4l2+y}
4437 # Check whether --with-vulkan was given.
4438 if test ${with_vulkan+y}
4440 withval
=$with_vulkan;
4444 # Check whether --with-wayland was given.
4445 if test ${with_wayland+y}
4447 withval
=$with_wayland;
4451 # Check whether --with-xcomposite was given.
4452 if test ${with_xcomposite+y}
4454 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4458 # Check whether --with-xcursor was given.
4459 if test ${with_xcursor+y}
4461 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4465 # Check whether --with-xfixes was given.
4466 if test ${with_xfixes+y}
4468 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4472 # Check whether --with-xinerama was given.
4473 if test ${with_xinerama+y}
4475 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4479 # Check whether --with-xinput was given.
4480 if test ${with_xinput+y}
4482 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4486 # Check whether --with-xinput2 was given.
4487 if test ${with_xinput2+y}
4489 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4493 # Check whether --with-xrandr was given.
4494 if test ${with_xrandr+y}
4496 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4500 # Check whether --with-xrender was given.
4501 if test ${with_xrender+y}
4503 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4507 # Check whether --with-xshape was given.
4508 if test ${with_xshape+y}
4510 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4514 # Check whether --with-xshm was given.
4515 if test ${with_xshm+y}
4517 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4521 # Check whether --with-xxf86vm was given.
4522 if test ${with_xxf86vm+y}
4524 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
4529 # Check whether --with-system-dllpath was given.
4530 if test ${with_system_dllpath+y}
4532 withval
=$with_system_dllpath; system_dllpath
=$withval
4537 # Check whether --with-wine-tools was given.
4538 if test ${with_wine_tools+y}
4540 withval
=$with_wine_tools;
4544 # Check whether --with-wine64 was given.
4545 if test ${with_wine64+y}
4547 withval
=$with_wine64;
4554 # Make sure we can run config.sub.
4555 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4556 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4559 printf %s
"checking build system type... " >&6; }
4560 if test ${ac_cv_build+y}
4562 printf %s
"(cached) " >&6
4564 ac_build_alias
=$build_alias
4565 test "x$ac_build_alias" = x
&&
4566 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4567 test "x$ac_build_alias" = x
&&
4568 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4569 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4570 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4574 printf "%s\n" "$ac_cv_build" >&6; }
4575 case $ac_cv_build in
4577 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4580 ac_save_IFS
=$IFS; IFS
='-'
4586 # Remember, the first character of IFS is used to create $*,
4587 # except with old shells:
4590 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4594 printf %s
"checking host system type... " >&6; }
4595 if test ${ac_cv_host+y}
4597 printf %s
"(cached) " >&6
4599 if test "x$host_alias" = x
; then
4600 ac_cv_host
=$ac_cv_build
4602 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4603 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4608 printf "%s\n" "$ac_cv_host" >&6; }
4611 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4614 ac_save_IFS
=$IFS; IFS
='-'
4620 # Remember, the first character of IFS is used to create $*,
4621 # except with old shells:
4624 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4628 dlldir
=\
${libdir}/wine
4630 fontdir
=\
${datadir}/wine
/fonts
4632 nlsdir
=\
${datadir}/wine
/nls
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4638 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4640 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4641 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4643 printf %s
"(cached) " >&6
4645 cat >conftest.
make <<\_ACEOF
4648 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4651 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4653 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4655 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4659 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4661 printf "%s\n" "yes" >&6; }
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 printf "%s\n" "no" >&6; }
4666 SET_MAKE
="MAKE=${MAKE-make}"
4679 ac_cpp
='$CPP $CPPFLAGS'
4680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4683 if test -n "$ac_tool_prefix"; then
4684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 printf %s
"checking for $ac_word... " >&6; }
4688 if test ${ac_cv_prog_CC+y}
4690 printf %s
"(cached) " >&6
4692 if test -n "$CC"; then
4693 ac_cv_prog_CC
="$CC" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 case $as_dir in #(((
4702 *) as_dir
=$as_dir/ ;;
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4706 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4717 if test -n "$CC"; then
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4719 printf "%s\n" "$CC" >&6; }
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 printf "%s\n" "no" >&6; }
4727 if test -z "$ac_cv_prog_CC"; then
4729 # Extract the first word of "gcc", so it can be a program name with args.
4730 set dummy gcc
; ac_word
=$2
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 printf %s
"checking for $ac_word... " >&6; }
4733 if test ${ac_cv_prog_ac_ct_CC+y}
4735 printf %s
"(cached) " >&6
4737 if test -n "$ac_ct_CC"; then
4738 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 case $as_dir in #(((
4747 *) as_dir
=$as_dir/ ;;
4749 for ac_exec_ext
in '' $ac_executable_extensions; do
4750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_ac_ct_CC
="gcc"
4752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4761 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4762 if test -n "$ac_ct_CC"; then
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4764 printf "%s\n" "$ac_ct_CC" >&6; }
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 printf "%s\n" "no" >&6; }
4770 if test "x$ac_ct_CC" = x
; then
4773 case $cross_compiling:$ac_tool_warned in
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned
=yes ;;
4785 if test -z "$CC"; then
4786 if test -n "$ac_tool_prefix"; then
4787 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4788 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 printf %s
"checking for $ac_word... " >&6; }
4791 if test ${ac_cv_prog_CC+y}
4793 printf %s
"(cached) " >&6
4795 if test -n "$CC"; then
4796 ac_cv_prog_CC
="$CC" # Let the user override the test.
4798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4802 case $as_dir in #(((
4805 *) as_dir
=$as_dir/ ;;
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4820 if test -n "$CC"; then
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4822 printf "%s\n" "$CC" >&6; }
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 printf "%s\n" "no" >&6; }
4831 if test -z "$CC"; then
4832 # Extract the first word of "cc", so it can be a program name with args.
4833 set dummy cc
; ac_word
=$2
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 printf %s
"checking for $ac_word... " >&6; }
4836 if test ${ac_cv_prog_CC+y}
4838 printf %s
"(cached) " >&6
4840 if test -n "$CC"; then
4841 ac_cv_prog_CC
="$CC" # Let the user override the test.
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 case $as_dir in #(((
4851 *) as_dir
=$as_dir/ ;;
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4855 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4856 ac_prog_rejected
=yes
4860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4867 if test $ac_prog_rejected = yes; then
4868 # We found a bogon in the path, so make sure we never use it.
4869 set dummy
$ac_cv_prog_CC
4871 if test $# != 0; then
4872 # We chose a different compiler from the bogus one.
4873 # However, it has the same basename, so the bogon will be chosen
4874 # first if we set CC to just the basename; use the full file name.
4876 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4882 if test -n "$CC"; then
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4884 printf "%s\n" "$CC" >&6; }
4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 printf "%s\n" "no" >&6; }
4892 if test -z "$CC"; then
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog
in cl.exe
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 printf %s
"checking for $ac_word... " >&6; }
4900 if test ${ac_cv_prog_CC+y}
4902 printf %s
"(cached) " >&6
4904 if test -n "$CC"; then
4905 ac_cv_prog_CC
="$CC" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 case $as_dir in #(((
4914 *) as_dir
=$as_dir/ ;;
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 if test -n "$CC"; then
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4931 printf "%s\n" "$CC" >&6; }
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 printf "%s\n" "no" >&6; }
4938 test -n "$CC" && break
4941 if test -z "$CC"; then
4943 for ac_prog
in cl.exe
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_prog; ac_word
=$2
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 printf %s
"checking for $ac_word... " >&6; }
4949 if test ${ac_cv_prog_ac_ct_CC+y}
4951 printf %s
"(cached) " >&6
4953 if test -n "$ac_ct_CC"; then
4954 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 case $as_dir in #(((
4963 *) as_dir
=$as_dir/ ;;
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_CC
="$ac_prog"
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4978 if test -n "$ac_ct_CC"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4980 printf "%s\n" "$ac_ct_CC" >&6; }
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4987 test -n "$ac_ct_CC" && break
4990 if test "x$ac_ct_CC" = x
; then
4993 case $cross_compiling:$ac_tool_warned in
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned
=yes ;;
5004 if test -z "$CC"; then
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5007 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 printf %s
"checking for $ac_word... " >&6; }
5010 if test ${ac_cv_prog_CC+y}
5012 printf %s
"(cached) " >&6
5014 if test -n "$CC"; then
5015 ac_cv_prog_CC
="$CC" # Let the user override the test.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 case $as_dir in #(((
5024 *) as_dir
=$as_dir/ ;;
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5039 if test -n "$CC"; then
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5041 printf "%s\n" "$CC" >&6; }
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 printf "%s\n" "no" >&6; }
5049 if test -z "$ac_cv_prog_CC"; then
5051 # Extract the first word of "clang", so it can be a program name with args.
5052 set dummy clang
; ac_word
=$2
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 printf %s
"checking for $ac_word... " >&6; }
5055 if test ${ac_cv_prog_ac_ct_CC+y}
5057 printf %s
"(cached) " >&6
5059 if test -n "$ac_ct_CC"; then
5060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 case $as_dir in #(((
5069 *) as_dir
=$as_dir/ ;;
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_CC
="clang"
5074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5083 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5084 if test -n "$ac_ct_CC"; then
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5086 printf "%s\n" "$ac_ct_CC" >&6; }
5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 printf "%s\n" "no" >&6; }
5092 if test "x$ac_ct_CC" = x
; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned
=yes ;;
5110 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5112 as_fn_error $?
"no acceptable C compiler found in \$PATH
5113 See \`config.log' for more details" "$LINENO" 5; }
5115 # Provide some information about the compiler.
5116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5119 for ac_option
in --version -v -V -qversion -version; do
5120 { { ac_try
="$ac_compiler $ac_option >&5"
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5126 printf "%s\n" "$ac_try_echo"; } >&5
5127 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5129 if test -s conftest.err; then
5131 ... rest of stderr output deleted ...
5132 10q' conftest.err >conftest.er1
5133 cat conftest.er1 >&5
5135 rm -f conftest.er1 conftest.err
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5137 test $ac_status = 0; }
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5151 ac_clean_files_save=$ac_clean_files
5152 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5153 # Try to create an executable without -o first, disregard a.out.
5154 # It will help us diagnose broken compilers, and finding out an intuition
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5157 printf %s "checking whether the C compiler works... " >&6; }
5158 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5160 # The possible output files:
5161 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5164 for ac_file in $ac_files
5167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5168 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5173 if { { ac_try="$ac_link_default"
5175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5176 *) ac_try_echo
=$ac_try;;
5178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5179 printf "%s\n" "$ac_try_echo"; } >&5
5180 (eval "$ac_link_default") 2>&5
5182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5183 test $ac_status = 0; }
5185 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5187 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5188 # so that the user can short-circuit this test for compilers unknown to
5190 for ac_file
in $ac_files ''
5192 test -f "$ac_file" ||
continue
5194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5197 # We found the default executable, but exeext='' is most
5201 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5203 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5205 # We set ac_cv_exeext here because the later test for it is not
5206 # safe: cross compilers may not add the suffix if given an `-o'
5207 # argument, so we may need to know it at that point already.
5208 # Even if this section looks crufty: it has the advantage of
5215 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5220 if test -z "$ac_file"
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 printf "%s\n" "no" >&6; }
5224 printf "%s\n" "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5227 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5228 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5229 as_fn_error
77 "C compiler cannot create executables
5230 See \`config.log' for more details" "$LINENO" 5; }
5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5233 printf "%s\n" "yes" >&6; }
5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5236 printf %s
"checking for C compiler default output file name... " >&6; }
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5238 printf "%s\n" "$ac_file" >&6; }
5239 ac_exeext
=$ac_cv_exeext
5241 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5242 ac_clean_files
=$ac_clean_files_save
5243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5244 printf %s
"checking for suffix of executables... " >&6; }
5245 if { { ac_try
="$ac_link"
5247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5248 *) ac_try_echo=$ac_try;;
5250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5251 printf "%s\n" "$ac_try_echo"; } >&5
5252 (eval "$ac_link") 2>&5
5254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5255 test $ac_status = 0; }
5257 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5258 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5259 # work properly (i.e., refer to `conftest.exe'), while it won't with
5261 for ac_file
in conftest.exe conftest conftest.
*; do
5262 test -f "$ac_file" ||
continue
5264 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5265 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5273 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5274 See \`config.log' for more details" "$LINENO" 5; }
5276 rm -f conftest conftest
$ac_cv_exeext
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5278 printf "%s\n" "$ac_cv_exeext" >&6; }
5280 rm -f conftest.
$ac_ext
5281 EXEEXT
=$ac_cv_exeext
5283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5289 FILE *f = fopen ("conftest.out", "w");
5290 return ferror (f) || fclose (f) != 0;
5296 ac_clean_files
="$ac_clean_files conftest.out"
5297 # Check that the compiler produces executables we can run. If not, either
5298 # the compiler is broken, or we cross compile.
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5300 printf %s
"checking whether we are cross compiling... " >&6; }
5301 if test "$cross_compiling" != yes; then
5302 { { ac_try
="$ac_link"
5304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5305 *) ac_try_echo=$ac_try;;
5307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5308 printf "%s\n" "$ac_try_echo"; } >&5
5309 (eval "$ac_link") 2>&5
5311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5312 test $ac_status = 0; }
5313 if { ac_try='./conftest$ac_cv_exeext'
5314 { { case "(($ac_try" in
5315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5316 *) ac_try_echo
=$ac_try;;
5318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5319 printf "%s\n" "$ac_try_echo"; } >&5
5320 (eval "$ac_try") 2>&5
5322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5323 test $ac_status = 0; }; }; then
5326 if test "$cross_compiling" = maybe
; then
5329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error
77 "cannot run C compiled programs.
5332 If you meant to cross compile, use \`--host'.
5333 See \`config.log' for more details" "$LINENO" 5; }
5337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5338 printf "%s\n" "$cross_compiling" >&6; }
5340 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5341 ac_clean_files
=$ac_clean_files_save
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5343 printf %s
"checking for suffix of object files... " >&6; }
5344 if test ${ac_cv_objext+y}
5346 printf %s
"(cached) " >&6
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5359 rm -f conftest.o conftest.obj
5360 if { { ac_try
="$ac_compile"
5362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5366 printf "%s\n" "$ac_try_echo"; } >&5
5367 (eval "$ac_compile") 2>&5
5369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5370 test $ac_status = 0; }
5372 for ac_file in conftest.o conftest.obj conftest.*; do
5373 test -f "$ac_file" || continue;
5375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5376 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5381 printf "%s\n" "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.$ac_ext >&5
5384 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5387 See \
`config.log' for more details" "$LINENO" 5; }
5389 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5392 printf "%s\n" "$ac_cv_objext" >&6; }
5393 OBJEXT=$ac_cv_objext
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5396 printf %s "checking whether the compiler supports GNU C... " >&6; }
5397 if test ${ac_cv_c_compiler_gnu+y}
5399 printf %s "(cached) " >&6
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5415 if ac_fn_c_try_compile "$LINENO"
5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5426 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5429 if test $ac_compiler_gnu = yes; then
5434 ac_test_CFLAGS=${CFLAGS+y}
5435 ac_save_CFLAGS=$CFLAGS
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5437 printf %s "checking whether $CC accepts -g... " >&6; }
5438 if test ${ac_cv_prog_cc_g+y}
5440 printf %s "(cached) " >&6
5442 ac_save_c_werror_flag=$ac_c_werror_flag
5443 ac_c_werror_flag=yes
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5457 if ac_fn_c_try_compile "$LINENO"
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5473 if ac_fn_c_try_compile "$LINENO"
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5490 if ac_fn_c_try_compile "$LINENO"
5494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 ac_c_werror_flag=$ac_save_c_werror_flag
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5502 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5503 if test $ac_test_CFLAGS; then
5504 CFLAGS=$ac_save_CFLAGS
5505 elif test $ac_cv_prog_cc_g = yes; then
5506 if test "$GCC" = yes; then
5512 if test "$GCC" = yes; then
5519 if test x$ac_prog_cc_stdc = xno
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5522 printf %s "checking for $CC option to enable C11 features... " >&6; }
5523 if test ${ac_cv_prog_cc_c11+y}
5525 printf %s "(cached) " >&6
5527 ac_cv_prog_cc_c11=no
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5531 $ac_c_conftest_c11_program
5533 for ac_arg in '' -std=gnu11
5535 CC="$ac_save_CC $ac_arg"
5536 if ac_fn_c_try_compile "$LINENO"
5538 ac_cv_prog_cc_c11=$ac_arg
5540 rm -f core conftest.err conftest.$ac_objext conftest.beam
5541 test "x$ac_cv_prog_cc_c11" != "xno" && break
5543 rm -f conftest.$ac_ext
5547 if test "x$ac_cv_prog_cc_c11" = xno
5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5550 printf "%s\n" "unsupported" >&6; }
5552 if test "x$ac_cv_prog_cc_c11" = x
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5555 printf "%s\n" "none needed" >&6; }
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5558 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5559 CC="$CC $ac_cv_prog_cc_c11"
5561 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5565 if test x$ac_prog_cc_stdc = xno
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5568 printf %s "checking for $CC option to enable C99 features... " >&6; }
5569 if test ${ac_cv_prog_cc_c99+y}
5571 printf %s "(cached) " >&6
5573 ac_cv_prog_cc_c99=no
5575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5577 $ac_c_conftest_c99_program
5579 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5581 CC="$ac_save_CC $ac_arg"
5582 if ac_fn_c_try_compile "$LINENO"
5584 ac_cv_prog_cc_c99=$ac_arg
5586 rm -f core conftest.err conftest.$ac_objext conftest.beam
5587 test "x$ac_cv_prog_cc_c99" != "xno" && break
5589 rm -f conftest.$ac_ext
5593 if test "x$ac_cv_prog_cc_c99" = xno
5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5596 printf "%s\n" "unsupported" >&6; }
5598 if test "x$ac_cv_prog_cc_c99" = x
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5601 printf "%s\n" "none needed" >&6; }
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5604 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5605 CC="$CC $ac_cv_prog_cc_c99"
5607 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5611 if test x$ac_prog_cc_stdc = xno
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5614 printf %s "checking for $CC option to enable C89 features... " >&6; }
5615 if test ${ac_cv_prog_cc_c89+y}
5617 printf %s "(cached) " >&6
5619 ac_cv_prog_cc_c89=no
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 $ac_c_conftest_c89_program
5625 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5627 CC="$ac_save_CC $ac_arg"
5628 if ac_fn_c_try_compile "$LINENO"
5630 ac_cv_prog_cc_c89=$ac_arg
5632 rm -f core conftest.err conftest.$ac_objext conftest.beam
5633 test "x$ac_cv_prog_cc_c89" != "xno" && break
5635 rm -f conftest.$ac_ext
5639 if test "x$ac_cv_prog_cc_c89" = xno
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5642 printf "%s\n" "unsupported" >&6; }
5644 if test "x$ac_cv_prog_cc_c89" = x
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5647 printf "%s\n" "none needed" >&6; }
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5650 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5651 CC="$CC $ac_cv_prog_cc_c89"
5653 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5659 ac_cpp='$CPP $CPPFLAGS'
5660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5671 ac_cpp='$CXXCPP $CPPFLAGS'
5672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5675 if test -z "$CXX"; then
5676 if test -n "$CCC"; then
5679 if test -n "$ac_tool_prefix"; then
5680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 printf %s "checking for $ac_word... " >&6; }
5686 if test ${ac_cv_prog_CXX+y}
5688 printf %s "(cached) " >&6
5690 if test -n "$CXX"; then
5691 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 case $as_dir in #(((
5700 *) as_dir=$as_dir/ ;;
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5715 if test -n "$CXX"; then
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5717 printf "%s\n" "$CXX" >&6; }
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 printf "%s\n" "no" >&6; }
5724 test -n "$CXX" && break
5727 if test -z "$CXX"; then
5729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 printf %s "checking for $ac_word... " >&6; }
5735 if test ${ac_cv_prog_ac_ct_CXX+y}
5737 printf %s "(cached) " >&6
5739 if test -n "$ac_ct_CXX"; then
5740 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 case $as_dir in #(((
5749 *) as_dir=$as_dir/ ;;
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_CXX="$ac_prog"
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5763 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5764 if test -n "$ac_ct_CXX"; then
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5766 printf "%s\n" "$ac_ct_CXX" >&6; }
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 printf "%s\n" "no" >&6; }
5773 test -n "$ac_ct_CXX" && break
5776 if test "x$ac_ct_CXX" = x; then
5779 case $cross_compiling:$ac_tool_warned in
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5791 # Provide some information about the compiler.
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5795 for ac_option in --version -v -V -qversion; do
5796 { { ac_try="$ac_compiler $ac_option >&5"
5798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5799 *) ac_try_echo
=$ac_try;;
5801 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5802 printf "%s\n" "$ac_try_echo"; } >&5
5803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5805 if test -s conftest.err
; then
5807 ... rest of stderr output deleted ...
5808 10q' conftest.err
>conftest.er1
5809 cat conftest.er1
>&5
5811 rm -f conftest.er1 conftest.err
5812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5813 test $ac_status = 0; }
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5817 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5818 if test ${ac_cv_cxx_compiler_gnu+y}
5820 printf %s
"(cached) " >&6
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5836 if ac_fn_cxx_try_compile
"$LINENO"
5842 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5843 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5847 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5850 if test $ac_compiler_gnu = yes; then
5855 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5856 ac_save_CXXFLAGS
=$CXXFLAGS
5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5858 printf %s
"checking whether $CXX accepts -g... " >&6; }
5859 if test ${ac_cv_prog_cxx_g+y}
5861 printf %s
"(cached) " >&6
5863 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5864 ac_cxx_werror_flag
=yes
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5878 if ac_fn_cxx_try_compile
"$LINENO"
5880 ac_cv_prog_cxx_g
=yes
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5894 if ac_fn_cxx_try_compile
"$LINENO"
5898 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5911 if ac_fn_cxx_try_compile
"$LINENO"
5913 ac_cv_prog_cxx_g
=yes
5915 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5917 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5919 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5920 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5923 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5924 if test $ac_test_CXXFLAGS; then
5925 CXXFLAGS
=$ac_save_CXXFLAGS
5926 elif test $ac_cv_prog_cxx_g = yes; then
5927 if test "$GXX" = yes; then
5933 if test "$GXX" = yes; then
5939 ac_prog_cxx_stdcxx
=no
5940 if test x
$ac_prog_cxx_stdcxx = xno
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5943 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5944 if test ${ac_cv_prog_cxx_cxx11+y}
5946 printf %s
"(cached) " >&6
5948 ac_cv_prog_cxx_cxx11
=no
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952 $ac_cxx_conftest_cxx11_program
5954 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5956 CXX
="$ac_save_CXX $ac_arg"
5957 if ac_fn_cxx_try_compile
"$LINENO"
5959 ac_cv_prog_cxx_cxx11
=$ac_arg
5961 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5962 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5964 rm -f conftest.
$ac_ext
5968 if test "x$ac_cv_prog_cxx_cxx11" = xno
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5971 printf "%s\n" "unsupported" >&6; }
5973 if test "x$ac_cv_prog_cxx_cxx11" = x
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5976 printf "%s\n" "none needed" >&6; }
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5979 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5980 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5982 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5983 ac_prog_cxx_stdcxx
=cxx11
5986 if test x
$ac_prog_cxx_stdcxx = xno
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5989 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5990 if test ${ac_cv_prog_cxx_cxx98+y}
5992 printf %s
"(cached) " >&6
5994 ac_cv_prog_cxx_cxx98
=no
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 $ac_cxx_conftest_cxx98_program
6000 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6002 CXX
="$ac_save_CXX $ac_arg"
6003 if ac_fn_cxx_try_compile
"$LINENO"
6005 ac_cv_prog_cxx_cxx98
=$ac_arg
6007 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6008 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6010 rm -f conftest.
$ac_ext
6014 if test "x$ac_cv_prog_cxx_cxx98" = xno
6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6017 printf "%s\n" "unsupported" >&6; }
6019 if test "x$ac_cv_prog_cxx_cxx98" = x
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6022 printf "%s\n" "none needed" >&6; }
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6025 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6026 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6028 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6029 ac_prog_cxx_stdcxx
=cxx98
6034 ac_cpp
='$CPP $CPPFLAGS'
6035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6041 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043 printf %s
"checking for $ac_word... " >&6; }
6044 if test ${ac_cv_prog_CPPBIN+y}
6046 printf %s
"(cached) " >&6
6048 if test -n "$CPPBIN"; then
6049 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6055 case $as_dir in #(((
6058 *) as_dir
=$as_dir/ ;;
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6072 CPPBIN
=$ac_cv_prog_CPPBIN
6073 if test -n "$CPPBIN"; then
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6075 printf "%s\n" "$CPPBIN" >&6; }
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 printf "%s\n" "no" >&6; }
6083 if test -z "$ac_cv_prog_CPPBIN"; then
6084 ac_ct_CPPBIN
=$CPPBIN
6085 # Extract the first word of "cpp", so it can be a program name with args.
6086 set dummy cpp
; ac_word
=$2
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 printf %s
"checking for $ac_word... " >&6; }
6089 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6091 printf %s
"(cached) " >&6
6093 if test -n "$ac_ct_CPPBIN"; then
6094 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6100 case $as_dir in #(((
6103 *) as_dir
=$as_dir/ ;;
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6117 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6118 if test -n "$ac_ct_CPPBIN"; then
6119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6120 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 printf "%s\n" "no" >&6; }
6126 if test "x$ac_ct_CPPBIN" = x
; then
6129 case $cross_compiling:$ac_tool_warned in
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6132 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6133 ac_tool_warned
=yes ;;
6135 CPPBIN
=$ac_ct_CPPBIN
6138 CPPBIN
="$ac_cv_prog_CPPBIN"
6142 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6146 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 printf %s
"checking for $ac_word... " >&6; }
6149 if test ${ac_cv_prog_LD+y}
6151 printf %s
"(cached) " >&6
6153 if test -n "$LD"; then
6154 ac_cv_prog_LD
="$LD" # Let the user override the test.
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6160 case $as_dir in #(((
6163 *) as_dir
=$as_dir/ ;;
6165 for ac_exec_ext
in '' $ac_executable_extensions; do
6166 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6178 if test -n "$LD"; then
6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6180 printf "%s\n" "$LD" >&6; }
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 printf "%s\n" "no" >&6; }
6188 if test -z "$ac_cv_prog_LD"; then
6190 # Extract the first word of "ld", so it can be a program name with args.
6191 set dummy ld
; ac_word
=$2
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 printf %s
"checking for $ac_word... " >&6; }
6194 if test ${ac_cv_prog_ac_ct_LD+y}
6196 printf %s
"(cached) " >&6
6198 if test -n "$ac_ct_LD"; then
6199 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6205 case $as_dir in #(((
6208 *) as_dir
=$as_dir/ ;;
6210 for ac_exec_ext
in '' $ac_executable_extensions; do
6211 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_ac_ct_LD
="ld"
6213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6222 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6223 if test -n "$ac_ct_LD"; then
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6225 printf "%s\n" "$ac_ct_LD" >&6; }
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 printf "%s\n" "no" >&6; }
6231 if test "x$ac_ct_LD" = x
; then
6234 case $cross_compiling:$ac_tool_warned in
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6237 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6238 ac_tool_warned
=yes ;;
6249 with_fontconfig
=${with_fontconfig:-no}
6251 *-mingw32*|
*-cygwin*)
6252 enable_win16
=${enable_win16:-no}
6253 with_mingw
=${with_mingw:-no}
6260 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6266 printf %s
"checking whether $CC works... " >&6; }
6267 if test ${wine_cv_cc_m32+y}
6269 printf %s
"(cached) " >&6
6271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6282 if ac_fn_c_try_link
"$LINENO"
6288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6289 conftest
$ac_exeext conftest.
$ac_ext
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6292 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6293 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
6295 notice_platform
="32-bit "
6296 TARGETFLAGS
="$TARGETFLAGS -m32"
6297 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6298 export PKG_CONFIG_LIBDIR
6299 with_unwind
=${with_unwind:-no}
6304 notice_platform
="64-bit "
6305 TARGETFLAGS
="$TARGETFLAGS -m64"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6310 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6311 if test ${wine_cv_thumb2+y}
6313 printf %s
"(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6321 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6326 if ac_fn_c_try_link
"$LINENO"
6332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6333 conftest
$ac_exeext conftest.
$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6336 printf "%s\n" "$wine_cv_thumb2" >&6; }
6337 if test x
"$wine_cv_thumb2" = xyes
6339 CFLAGS
="$CFLAGS -mthumb"
6340 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6342 CFLAGS
="$CFLAGS -marm"
6343 TARGETFLAGS
="$TARGETFLAGS -marm"
6345 case $with_float_abi in
6347 float_abi
=$with_float_abi ;;
6354 saved_CFLAGS
=$CFLAGS
6355 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6357 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6358 if test ${wine_cv_float_abi+y}
6360 printf %s
"(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6368 asm("vmrs r2,fpscr");
6373 if ac_fn_c_try_link
"$LINENO"
6375 wine_cv_float_abi
=yes
6377 wine_cv_float_abi
=no
6379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6380 conftest
$ac_exeext conftest.
$ac_ext
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6383 printf "%s\n" "$wine_cv_float_abi" >&6; }
6384 if test $wine_cv_float_abi = no
6387 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6389 CFLAGS
=$saved_CFLAGS
6393 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6394 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 with_unwind
=${with_unwind:-no}
6401 enable_win16
=${enable_win16:-i386}
6402 enable_win64
=${enable_win64:-no}
6403 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6404 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6405 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6406 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64}
6408 enable_winetest
=${enable_winetest:-$enable_tests}
6410 if test "x$enable_win64" = "xyes"
6412 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6413 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 cygwin
*|mingw32
*) toolsext
=".exe"
6425 aarch64
*) HOST_ARCH
=aarch64
;;
6426 arm
*) HOST_ARCH
=arm
;;
6427 i
[3456789]86*) HOST_ARCH
=i386
;;
6428 x86_64
) HOST_ARCH
=x86_64
;;
6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6433 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6434 if test ${wine_cv_toolsdir+y}
6436 printf %s
"(cached) " >&6
6438 wine_cv_toolsdir
="$with_wine_tools"
6439 if test -z "$with_wine_tools"; then
6440 if test "$cross_compiling" = "yes"; then
6441 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6442 elif test -n "$with_wine64"; then
6443 wine_cv_toolsdir
="$with_wine64"
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6448 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6449 if test -z "$wine_cv_toolsdir"; then
6450 wine_makedep
=tools
/makedep
$toolsext
6451 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6452 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6453 enable_tools
=${enable_tools:-no}
6454 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6458 toolsdir
=$wine_cv_toolsdir
6460 MAKEDEP
=$wine_makedep
6462 RUNTESTFLAGS
="-q -P wine"
6464 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'"
6467 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6474 # Extract the first word of "$ac_prog", so it can be a program name with args.
6475 set dummy
$ac_prog; ac_word
=$2
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 printf %s
"checking for $ac_word... " >&6; }
6478 if test ${ac_cv_prog_FLEX+y}
6480 printf %s
"(cached) " >&6
6482 if test -n "$FLEX"; then
6483 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6489 case $as_dir in #(((
6492 *) as_dir
=$as_dir/ ;;
6494 for ac_exec_ext
in '' $ac_executable_extensions; do
6495 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_FLEX
="$ac_prog"
6497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6506 FLEX
=$ac_cv_prog_FLEX
6507 if test -n "$FLEX"; then
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6509 printf "%s\n" "$FLEX" >&6; }
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 printf "%s\n" "no" >&6; }
6516 test -n "$FLEX" && break
6518 test -n "$FLEX" || FLEX
="none"
6520 if test "$FLEX" = "none"
6522 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6525 printf %s
"checking whether flex is recent enough... " >&6; }
6526 if test ${wine_cv_recent_flex+y}
6528 printf %s
"(cached) " >&6
6530 cat >conftest.l
<<EOF
6532 #include "prediluvian.h"
6536 if $FLEX -t conftest.l
>/dev
/null
2>&5
6538 wine_cv_recent_flex
=yes
6540 wine_cv_recent_flex
=no
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6544 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6545 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
6547 for ac_prog
in bison
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy
$ac_prog; ac_word
=$2
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 printf %s
"checking for $ac_word... " >&6; }
6553 if test ${ac_cv_prog_BISON+y}
6555 printf %s
"(cached) " >&6
6557 if test -n "$BISON"; then
6558 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 case $as_dir in #(((
6567 *) as_dir
=$as_dir/ ;;
6569 for ac_exec_ext
in '' $ac_executable_extensions; do
6570 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_BISON
="$ac_prog"
6572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6581 BISON
=$ac_cv_prog_BISON
6582 if test -n "$BISON"; then
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6584 printf "%s\n" "$BISON" >&6; }
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 printf "%s\n" "no" >&6; }
6591 test -n "$BISON" && break
6593 test -n "$BISON" || BISON
="none"
6595 if test "$BISON" = "none"
6597 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6600 printf %s
"checking whether bison is recent enough... " >&6; }
6601 if test ${wine_cv_recent_bison+y}
6603 printf %s
"(cached) " >&6
6605 cat >conftest.y
<<EOF
6606 %define parse.error verbose
6610 if $BISON conftest.y
>/dev
/null
2>&5
6612 wine_cv_recent_bison
=yes
6614 wine_cv_recent_bison
=no
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6618 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6619 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
6621 if test -n "$ac_tool_prefix"; then
6622 for ac_prog
in ar gar
6624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6625 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 printf %s
"checking for $ac_word... " >&6; }
6628 if test ${ac_cv_prog_AR+y}
6630 printf %s
"(cached) " >&6
6632 if test -n "$AR"; then
6633 ac_cv_prog_AR
="$AR" # Let the user override the test.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6639 case $as_dir in #(((
6642 *) as_dir
=$as_dir/ ;;
6644 for ac_exec_ext
in '' $ac_executable_extensions; do
6645 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6657 if test -n "$AR"; then
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6659 printf "%s\n" "$AR" >&6; }
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 printf "%s\n" "no" >&6; }
6666 test -n "$AR" && break
6669 if test -z "$AR"; then
6671 for ac_prog
in ar gar
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy
$ac_prog; ac_word
=$2
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 printf %s
"checking for $ac_word... " >&6; }
6677 if test ${ac_cv_prog_ac_ct_AR+y}
6679 printf %s
"(cached) " >&6
6681 if test -n "$ac_ct_AR"; then
6682 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6688 case $as_dir in #(((
6691 *) as_dir
=$as_dir/ ;;
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_ac_ct_AR
="$ac_prog"
6696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6705 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6706 if test -n "$ac_ct_AR"; then
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6708 printf "%s\n" "$ac_ct_AR" >&6; }
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 printf "%s\n" "no" >&6; }
6715 test -n "$ac_ct_AR" && break
6718 if test "x$ac_ct_AR" = x
; then
6721 case $cross_compiling:$ac_tool_warned in
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned
=yes ;;
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6733 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 printf %s
"checking for $ac_word... " >&6; }
6736 if test ${ac_cv_prog_STRIP+y}
6738 printf %s
"(cached) " >&6
6740 if test -n "$STRIP"; then
6741 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6747 case $as_dir in #(((
6750 *) as_dir
=$as_dir/ ;;
6752 for ac_exec_ext
in '' $ac_executable_extensions; do
6753 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6764 STRIP
=$ac_cv_prog_STRIP
6765 if test -n "$STRIP"; then
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6767 printf "%s\n" "$STRIP" >&6; }
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 printf "%s\n" "no" >&6; }
6775 if test -z "$ac_cv_prog_STRIP"; then
6777 # Extract the first word of "strip", so it can be a program name with args.
6778 set dummy strip
; ac_word
=$2
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 printf %s
"checking for $ac_word... " >&6; }
6781 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 printf %s
"(cached) " >&6
6785 if test -n "$ac_ct_STRIP"; then
6786 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6792 case $as_dir in #(((
6795 *) as_dir
=$as_dir/ ;;
6797 for ac_exec_ext
in '' $ac_executable_extensions; do
6798 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6799 ac_cv_prog_ac_ct_STRIP
="strip"
6800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6809 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6810 if test -n "$ac_ct_STRIP"; then
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6812 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 printf "%s\n" "no" >&6; }
6818 if test "x$ac_ct_STRIP" = x
; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned
=yes ;;
6830 STRIP
="$ac_cv_prog_STRIP"
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6835 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 printf %s
"checking for $ac_word... " >&6; }
6838 if test ${ac_cv_prog_RANLIB+y}
6840 printf %s
"(cached) " >&6
6842 if test -n "$RANLIB"; then
6843 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6849 case $as_dir in #(((
6852 *) as_dir
=$as_dir/ ;;
6854 for ac_exec_ext
in '' $ac_executable_extensions; do
6855 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6866 RANLIB
=$ac_cv_prog_RANLIB
6867 if test -n "$RANLIB"; then
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6869 printf "%s\n" "$RANLIB" >&6; }
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 printf "%s\n" "no" >&6; }
6877 if test -z "$ac_cv_prog_RANLIB"; then
6878 ac_ct_RANLIB
=$RANLIB
6879 # Extract the first word of "ranlib", so it can be a program name with args.
6880 set dummy ranlib
; ac_word
=$2
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 printf %s
"checking for $ac_word... " >&6; }
6883 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 printf %s
"(cached) " >&6
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6894 case $as_dir in #(((
6897 *) as_dir
=$as_dir/ ;;
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6911 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6912 if test -n "$ac_ct_RANLIB"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6914 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 printf "%s\n" "no" >&6; }
6920 if test "x$ac_ct_RANLIB" = x
; then
6923 case $cross_compiling:$ac_tool_warned in
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned
=yes ;;
6929 RANLIB
=$ac_ct_RANLIB
6932 RANLIB
="$ac_cv_prog_RANLIB"
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6936 printf %s
"checking whether ln -s works... " >&6; }
6938 if test "$LN_S" = "ln -s"; then
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6940 printf "%s\n" "yes" >&6; }
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6943 printf "%s\n" "no, using $LN_S" >&6; }
6946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6947 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6948 if test ${ac_cv_path_GREP+y}
6950 printf %s
"(cached) " >&6
6952 if test -z "$GREP"; then
6953 ac_path_GREP_found
=false
6954 # Loop through the user's path and test for each of PROGNAME-LIST
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6956 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6959 case $as_dir in #(((
6962 *) as_dir
=$as_dir/ ;;
6964 for ac_prog
in grep ggrep
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6968 as_fn_executable_p
"$ac_path_GREP" ||
continue
6969 # Check for GNU ac_path_GREP and select it if it is found.
6970 # Check for GNU $ac_path_GREP
6971 case `"$ac_path_GREP" --version 2>&1` in
6973 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6976 printf %s
0123456789 >"conftest.in"
6979 cat "conftest.in" "conftest.in" >"conftest.tmp"
6980 mv "conftest.tmp" "conftest.in"
6981 cp "conftest.in" "conftest.nl"
6982 printf "%s\n" 'GREP' >> "conftest.nl"
6983 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6984 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6985 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6986 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6987 # Best one so far, save it but keep looking for a better one
6988 ac_cv_path_GREP
="$ac_path_GREP"
6989 ac_path_GREP_max
=$ac_count
6991 # 10*(2^10) chars as input seems more than enough
6992 test $ac_count -gt 10 && break
6994 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6997 $ac_path_GREP_found && break 3
7002 if test -z "$ac_cv_path_GREP"; then
7003 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 ac_cv_path_GREP
=$GREP
7010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7011 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7012 GREP
="$ac_cv_path_GREP"
7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7016 printf %s
"checking for egrep... " >&6; }
7017 if test ${ac_cv_path_EGREP+y}
7019 printf %s
"(cached) " >&6
7021 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7022 then ac_cv_path_EGREP
="$GREP -E"
7024 if test -z "$EGREP"; then
7025 ac_path_EGREP_found
=false
7026 # Loop through the user's path and test for each of PROGNAME-LIST
7027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7028 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7031 case $as_dir in #(((
7034 *) as_dir
=$as_dir/ ;;
7036 for ac_prog
in egrep
7038 for ac_exec_ext
in '' $ac_executable_extensions; do
7039 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7040 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7041 # Check for GNU ac_path_EGREP and select it if it is found.
7042 # Check for GNU $ac_path_EGREP
7043 case `"$ac_path_EGREP" --version 2>&1` in
7045 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7048 printf %s
0123456789 >"conftest.in"
7051 cat "conftest.in" "conftest.in" >"conftest.tmp"
7052 mv "conftest.tmp" "conftest.in"
7053 cp "conftest.in" "conftest.nl"
7054 printf "%s\n" 'EGREP' >> "conftest.nl"
7055 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7056 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7057 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7058 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7059 # Best one so far, save it but keep looking for a better one
7060 ac_cv_path_EGREP
="$ac_path_EGREP"
7061 ac_path_EGREP_max
=$ac_count
7063 # 10*(2^10) chars as input seems more than enough
7064 test $ac_count -gt 10 && break
7066 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7069 $ac_path_EGREP_found && break 3
7074 if test -z "$ac_cv_path_EGREP"; then
7075 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 ac_cv_path_EGREP
=$EGREP
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7084 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7085 EGREP
="$ac_cv_path_EGREP"
7088 # Extract the first word of "ldconfig", so it can be a program name with args.
7089 set dummy ldconfig
; ac_word
=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s
"checking for $ac_word... " >&6; }
7092 if test ${ac_cv_path_LDCONFIG+y}
7094 printf %s
"(cached) " >&6
7098 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7102 for as_dir
in /sbin
/usr
/sbin
$PATH
7105 case $as_dir in #(((
7108 *) as_dir
=$as_dir/ ;;
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7112 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7120 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7124 LDCONFIG
=$ac_cv_path_LDCONFIG
7125 if test -n "$LDCONFIG"; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7127 printf "%s\n" "$LDCONFIG" >&6; }
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 printf "%s\n" "no" >&6; }
7134 for ac_prog
in msgfmt
7136 # Extract the first word of "$ac_prog", so it can be a program name with args.
7137 set dummy
$ac_prog; ac_word
=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s
"checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_MSGFMT+y}
7142 printf %s
"(cached) " >&6
7144 if test -n "$MSGFMT"; then
7145 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 case $as_dir in #(((
7154 *) as_dir
=$as_dir/ ;;
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_MSGFMT
="$ac_prog"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7168 MSGFMT
=$ac_cv_prog_MSGFMT
7169 if test -n "$MSGFMT"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7171 printf "%s\n" "$MSGFMT" >&6; }
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7178 test -n "$MSGFMT" && break
7180 test -n "$MSGFMT" || MSGFMT
="false"
7182 if test ${ac_tool_prefix+y}
7184 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7185 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s
"checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 printf %s
"(cached) " >&6
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 case $as_dir in #(((
7202 *) as_dir
=$as_dir/ ;;
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7216 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7227 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 if test "x$cross_compiling" = xyes
7233 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7234 # Extract the first word of "pkg-config", so it can be a program name with args.
7235 set dummy pkg-config
; ac_word
=$2
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 printf %s
"checking for $ac_word... " >&6; }
7238 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 printf %s
"(cached) " >&6
7242 if test -n "$PKG_CONFIG"; then
7243 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7249 case $as_dir in #(((
7252 *) as_dir
=$as_dir/ ;;
7254 for ac_exec_ext
in '' $ac_executable_extensions; do
7255 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7256 ac_cv_prog_PKG_CONFIG
="pkg-config"
7257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7266 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7267 if test -n "$PKG_CONFIG"; then
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7269 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 printf "%s\n" "no" >&6; }
7278 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7281 if test "x$enable_maintainer_mode" != "xyes"
7288 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7289 for ac_prog
in fontforge
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy
$ac_prog; ac_word
=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s
"checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_FONTFORGE+y}
7297 printf %s
"(cached) " >&6
7299 if test -n "$FONTFORGE"; then
7300 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7306 case $as_dir in #(((
7309 *) as_dir
=$as_dir/ ;;
7311 for ac_exec_ext
in '' $ac_executable_extensions; do
7312 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_FONTFORGE
="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7323 FONTFORGE
=$ac_cv_prog_FONTFORGE
7324 if test -n "$FONTFORGE"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7326 printf "%s\n" "$FONTFORGE" >&6; }
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$FONTFORGE" && break
7335 test -n "$FONTFORGE" || FONTFORGE
="false"
7337 for ac_prog
in rsvg-convert rsvg
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy
$ac_prog; ac_word
=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s
"checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_RSVG+y}
7345 printf %s
"(cached) " >&6
7347 if test -n "$RSVG"; then
7348 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7354 case $as_dir in #(((
7357 *) as_dir
=$as_dir/ ;;
7359 for ac_exec_ext
in '' $ac_executable_extensions; do
7360 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_RSVG
="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7371 RSVG
=$ac_cv_prog_RSVG
7372 if test -n "$RSVG"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7374 printf "%s\n" "$RSVG" >&6; }
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$RSVG" && break
7383 test -n "$RSVG" || RSVG
="false"
7385 for ac_prog
in convert
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy
$ac_prog; ac_word
=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s
"checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_CONVERT+y}
7393 printf %s
"(cached) " >&6
7395 if test -n "$CONVERT"; then
7396 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 case $as_dir in #(((
7405 *) as_dir
=$as_dir/ ;;
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_CONVERT
="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7419 CONVERT
=$ac_cv_prog_CONVERT
7420 if test -n "$CONVERT"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7422 printf "%s\n" "$CONVERT" >&6; }
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$CONVERT" && break
7431 test -n "$CONVERT" || CONVERT
="false"
7433 for ac_prog
in icotool
7435 # Extract the first word of "$ac_prog", so it can be a program name with args.
7436 set dummy
$ac_prog; ac_word
=$2
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 printf %s
"checking for $ac_word... " >&6; }
7439 if test ${ac_cv_prog_ICOTOOL+y}
7441 printf %s
"(cached) " >&6
7443 if test -n "$ICOTOOL"; then
7444 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7450 case $as_dir in #(((
7453 *) as_dir
=$as_dir/ ;;
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_ICOTOOL
="$ac_prog"
7458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7467 ICOTOOL
=$ac_cv_prog_ICOTOOL
7468 if test -n "$ICOTOOL"; then
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7470 printf "%s\n" "$ICOTOOL" >&6; }
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 printf "%s\n" "no" >&6; }
7477 test -n "$ICOTOOL" && break
7479 test -n "$ICOTOOL" || ICOTOOL
="false"
7481 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7482 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7484 if test "$CONVERT" = false
7486 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7489 printf %s
"checking for recent enough imagemagick... " >&6; }
7490 convert_version
=`convert --version | head -n1`
7491 if test "x$convert_version" != "x"
7493 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7494 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7495 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7500 if test "$CONVERT" = false
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7503 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7504 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7507 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7511 if test "$ICOTOOL" = false
7513 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7516 printf %s
"checking for recent enough icotool... " >&6; }
7517 icotool_version
=`icotool --version | head -n1`
7518 if test "x$icotool_version" != "x"
7520 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7521 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7522 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7525 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7528 if test "$ICOTOOL" = false
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7531 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7532 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7535 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7545 test "x$with_gettext" != xno || MSGFMT
=false
7546 if test "$MSGFMT" != "false"
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7549 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7550 if test ${wine_cv_msgfmt_contexts+y}
7552 printf %s
"(cached) " >&6
7554 cat >conftest.po
<<EOF
7560 if $MSGFMT -o /dev
/null conftest.po
2>&5
7562 wine_cv_msgfmt_contexts
=yes
7564 wine_cv_msgfmt_contexts
=no
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7568 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7569 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7571 if test "$MSGFMT" = false
7573 case "x$with_gettext" in
7574 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7576 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7577 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 enable_po
=${enable_po:-no}
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7584 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7585 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 printf %s
"(cached) " >&6
7589 ac_check_lib_save_LIBS
=$LIBS
7591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7594 /* Override any GCC internal prototype to avoid an error.
7595 Use char because int might match the return type of a GCC
7596 builtin and then its argument prototype would still apply. */
7597 char i386_set_ldt ();
7601 return i386_set_ldt ();
7606 if ac_fn_c_try_link
"$LINENO"
7608 ac_cv_lib_i386_i386_set_ldt
=yes
7610 ac_cv_lib_i386_i386_set_ldt
=no
7612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7613 conftest
$ac_exeext conftest.
$ac_ext
7614 LIBS
=$ac_check_lib_save_LIBS
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7617 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7618 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7629 # Check whether --enable-largefile was given.
7630 if test ${enable_largefile+y}
7632 enableval
=$enable_largefile;
7635 if test "$enable_largefile" != no
; then
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7638 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7639 if test ${ac_cv_sys_largefile_CC+y}
7641 printf %s
"(cached) " >&6
7643 ac_cv_sys_largefile_CC
=no
7644 if test "$GCC" != yes; then
7647 # IRIX 6.2 and later do not support large files by default,
7648 # so use the C compiler's -n32 option if that helps.
7649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 /* Check that off_t can represent 2**63 - 1 correctly.
7653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7654 since some C++ compilers masquerading as C compilers
7655 incorrectly reject 9223372036854775807. */
7656 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7658 && LARGE_OFF_T % 2147483647 == 1)
7668 if ac_fn_c_try_compile
"$LINENO"
7672 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7674 if ac_fn_c_try_compile
"$LINENO"
7676 ac_cv_sys_largefile_CC
=' -n32'; break
7678 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7682 rm -f conftest.
$ac_ext
7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7686 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7687 if test "$ac_cv_sys_largefile_CC" != no
; then
7688 CC
=$CC$ac_cv_sys_largefile_CC
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7692 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7693 if test ${ac_cv_sys_file_offset_bits+y}
7695 printf %s
"(cached) " >&6
7698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7717 if ac_fn_c_try_compile
"$LINENO"
7719 ac_cv_sys_file_offset_bits
=no
; break
7721 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #define _FILE_OFFSET_BITS 64
7725 #include <sys/types.h>
7726 /* Check that off_t can represent 2**63 - 1 correctly.
7727 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7728 since some C++ compilers masquerading as C compilers
7729 incorrectly reject 9223372036854775807. */
7730 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7731 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7732 && LARGE_OFF_T % 2147483647 == 1)
7742 if ac_fn_c_try_compile
"$LINENO"
7744 ac_cv_sys_file_offset_bits
=64; break
7746 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7747 ac_cv_sys_file_offset_bits
=unknown
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7752 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7753 case $ac_cv_sys_file_offset_bits in #(
7756 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7760 if test $ac_cv_sys_file_offset_bits = unknown
; then
7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7762 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7763 if test ${ac_cv_sys_large_files+y}
7765 printf %s
"(cached) " >&6
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7787 if ac_fn_c_try_compile
"$LINENO"
7789 ac_cv_sys_large_files
=no
; break
7791 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #define _LARGE_FILES 1
7795 #include <sys/types.h>
7796 /* Check that off_t can represent 2**63 - 1 correctly.
7797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7798 since some C++ compilers masquerading as C compilers
7799 incorrectly reject 9223372036854775807. */
7800 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7802 && LARGE_OFF_T % 2147483647 == 1)
7812 if ac_fn_c_try_compile
"$LINENO"
7814 ac_cv_sys_large_files
=1; break
7816 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7817 ac_cv_sys_large_files
=unknown
7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7822 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7823 case $ac_cv_sys_large_files in #(
7826 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7834 ac_header
= ac_cache
=
7835 for ac_item
in $ac_header_c_list
7837 if test $ac_cache; then
7838 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7839 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7840 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7842 ac_header
= ac_cache
=
7843 elif test $ac_header; then
7857 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7860 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7863 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_asm_types_h" = xyes
7896 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_asm_user_h" = xyes
7902 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_elf_h" = xyes
7908 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_float_h" = xyes
7914 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_libproc_h" = xyes
7926 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_link_h" = xyes
7932 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_input_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_major_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_param_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_types_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_wireless_h" = xyes
8004 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_lwp_h" = xyes
8010 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8016 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mach_mach_h" = xyes
8022 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_machine_cpu_h" = xyes
8028 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8034 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_mntent_h" = xyes
8040 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netdb_h" = xyes
8046 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_in_h" = xyes
8052 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8058 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8064 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8070 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8076 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_port_h" = xyes
8082 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pthread_h" = xyes
8088 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_pwd_h" = xyes
8094 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_sched_h" = xyes
8100 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8106 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8112 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_scsi_sg_h" = xyes
8118 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_stdint_h" = xyes
8124 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_attr_h" = xyes
8130 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_auxv_h" = xyes
8136 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_cdio_h" = xyes
8142 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_epoll_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_event_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_extattr_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_filio_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_ipc_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_link_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_modem_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_mtio_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_param_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_prctl_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_queue_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_random_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_resource_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_shm_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_signal_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_sockio_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_strtio_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_syscall_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_times_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_uio_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_user_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_utsname_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_vnode_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_xattr_h" = xyes
8316 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_syscall_h" = xyes
8322 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_utime_h" = xyes
8328 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8334 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8340 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8348 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8352 if test $ac_cv_header_sys_mkdev_h = no
; then
8353 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8357 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8363 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8364 if test ${ac_cv_header_stat_broken+y}
8366 printf %s
"(cached) " >&6
8368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 #include <sys/types.h>
8371 #include <sys/stat.h>
8373 #if defined S_ISBLK && defined S_IFDIR
8374 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8377 #if defined S_ISBLK && defined S_IFCHR
8378 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8381 #if defined S_ISLNK && defined S_IFREG
8382 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8385 #if defined S_ISSOCK && defined S_IFREG
8386 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8390 if ac_fn_c_try_compile
"$LINENO"
8392 ac_cv_header_stat_broken
=no
8394 ac_cv_header_stat_broken
=yes
8396 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8399 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8400 if test $ac_cv_header_stat_broken = yes; then
8402 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8408 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8409 #ifdef HAVE_SYS_PARAM_H
8410 # include <sys/param.h>
8413 if test "x$ac_cv_header_sys_conf_h" = xyes
8415 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8419 #ifdef HAVE_SYS_PARAM_H
8420 # include <sys/param.h>
8423 if test "x$ac_cv_header_sys_mount_h" = xyes
8425 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8433 if test "x$ac_cv_header_sys_statfs_h" = xyes
8435 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8438 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8439 #ifdef HAVE_SYS_PARAM_H
8440 # include <sys/param.h>
8443 if test "x$ac_cv_header_sys_user_h" = xyes
8445 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8449 #ifdef HAVE_SYS_PARAM_H
8450 # include <sys/param.h>
8453 if test "x$ac_cv_header_sys_vfs_h" = xyes
8455 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8460 saved_sysctl_h_CFLAGS
=$CFLAGS
8461 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8462 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8463 #ifdef HAVE_SYS_PARAM_H
8464 # include <sys/param.h>
8467 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8469 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8473 CFLAGS
=$saved_sysctl_h_CFLAGS
8475 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8476 #include <sys/socket.h>
8477 #ifdef HAVE_SYS_SOCKETVAR_H
8478 # include <sys/socketvar.h>
8480 #ifdef HAVE_NET_ROUTE_H
8481 # include <net/route.h>
8483 #ifdef HAVE_NETINET_IN_H
8484 # include <netinet/in.h>
8486 #ifdef HAVE_NETINET_IN_SYSTM_H
8487 # include <netinet/in_systm.h>
8489 #ifdef HAVE_NET_IF_H
8490 # include <net/if.h>
8492 #ifdef HAVE_NETINET_IP_H
8493 # include <netinet/ip.h>
8496 if test "x$ac_cv_header_netinet_ip_h" = xyes
8498 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8501 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8502 #include <sys/socket.h>
8503 #ifdef HAVE_SYS_SOCKETVAR_H
8504 # include <sys/socketvar.h>
8506 #ifdef HAVE_NET_ROUTE_H
8507 # include <net/route.h>
8509 #ifdef HAVE_NETINET_IN_H
8510 # include <netinet/in.h>
8512 #ifdef HAVE_NETINET_IN_SYSTM_H
8513 # include <netinet/in_systm.h>
8515 #ifdef HAVE_NET_IF_H
8516 # include <net/if.h>
8518 #ifdef HAVE_NETINET_IP_H
8519 # include <netinet/ip.h>
8522 if test "x$ac_cv_header_net_if_h" = xyes
8524 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8527 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8528 #include <sys/socket.h>
8529 #ifdef HAVE_SYS_SOCKETVAR_H
8530 # include <sys/socketvar.h>
8532 #ifdef HAVE_NET_ROUTE_H
8533 # include <net/route.h>
8535 #ifdef HAVE_NETINET_IN_H
8536 # include <netinet/in.h>
8538 #ifdef HAVE_NETINET_IN_SYSTM_H
8539 # include <netinet/in_systm.h>
8541 #ifdef HAVE_NET_IF_H
8542 # include <net/if.h>
8544 #ifdef HAVE_NETINET_IP_H
8545 # include <netinet/ip.h>
8548 if test "x$ac_cv_header_net_if_arp_h" = xyes
8550 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8553 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8554 #include <sys/socket.h>
8555 #ifdef HAVE_SYS_SOCKETVAR_H
8556 # include <sys/socketvar.h>
8558 #ifdef HAVE_NET_ROUTE_H
8559 # include <net/route.h>
8561 #ifdef HAVE_NETINET_IN_H
8562 # include <netinet/in.h>
8564 #ifdef HAVE_NETINET_IN_SYSTM_H
8565 # include <netinet/in_systm.h>
8567 #ifdef HAVE_NET_IF_H
8568 # include <net/if.h>
8570 #ifdef HAVE_NETINET_IP_H
8571 # include <netinet/ip.h>
8574 if test "x$ac_cv_header_net_if_dl_h" = xyes
8576 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8580 #include <sys/socket.h>
8581 #ifdef HAVE_SYS_SOCKETVAR_H
8582 # include <sys/socketvar.h>
8584 #ifdef HAVE_NET_ROUTE_H
8585 # include <net/route.h>
8587 #ifdef HAVE_NETINET_IN_H
8588 # include <netinet/in.h>
8590 #ifdef HAVE_NETINET_IN_SYSTM_H
8591 # include <netinet/in_systm.h>
8593 #ifdef HAVE_NET_IF_H
8594 # include <net/if.h>
8596 #ifdef HAVE_NETINET_IP_H
8597 # include <netinet/ip.h>
8600 if test "x$ac_cv_header_net_if_types_h" = xyes
8602 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8606 #include <sys/socket.h>
8607 #ifdef HAVE_SYS_SOCKETVAR_H
8608 # include <sys/socketvar.h>
8610 #ifdef HAVE_NET_ROUTE_H
8611 # include <net/route.h>
8613 #ifdef HAVE_NETINET_IN_H
8614 # include <netinet/in.h>
8616 #ifdef HAVE_NETINET_IN_SYSTM_H
8617 # include <netinet/in_systm.h>
8619 #ifdef HAVE_NET_IF_H
8620 # include <net/if.h>
8622 #ifdef HAVE_NETINET_IP_H
8623 # include <netinet/ip.h>
8626 if test "x$ac_cv_header_net_route_h" = xyes
8628 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8631 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8632 #include <sys/socket.h>
8633 #ifdef HAVE_SYS_SOCKETVAR_H
8634 # include <sys/socketvar.h>
8636 #ifdef HAVE_NET_ROUTE_H
8637 # include <net/route.h>
8639 #ifdef HAVE_NETINET_IN_H
8640 # include <netinet/in.h>
8642 #ifdef HAVE_NETINET_IN_SYSTM_H
8643 # include <netinet/in_systm.h>
8645 #ifdef HAVE_NET_IF_H
8646 # include <net/if.h>
8648 #ifdef HAVE_NETINET_IP_H
8649 # include <netinet/ip.h>
8652 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8654 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8658 #include <sys/socket.h>
8659 #ifdef HAVE_SYS_SOCKETVAR_H
8660 # include <sys/socketvar.h>
8662 #ifdef HAVE_NET_ROUTE_H
8663 # include <net/route.h>
8665 #ifdef HAVE_NETINET_IN_H
8666 # include <netinet/in.h>
8668 #ifdef HAVE_NETINET_IN_SYSTM_H
8669 # include <netinet/in_systm.h>
8671 #ifdef HAVE_NET_IF_H
8672 # include <net/if.h>
8674 #ifdef HAVE_NETINET_IP_H
8675 # include <netinet/ip.h>
8678 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8680 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8684 #include <sys/socket.h>
8685 #ifdef HAVE_SYS_SOCKETVAR_H
8686 # include <sys/socketvar.h>
8688 #ifdef HAVE_NET_ROUTE_H
8689 # include <net/route.h>
8691 #ifdef HAVE_NETINET_IN_H
8692 # include <netinet/in.h>
8694 #ifdef HAVE_NETINET_IN_SYSTM_H
8695 # include <netinet/in_systm.h>
8697 #ifdef HAVE_NET_IF_H
8698 # include <net/if.h>
8700 #ifdef HAVE_NETINET_IP_H
8701 # include <netinet/ip.h>
8704 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8706 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8709 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8710 #include <sys/socket.h>
8711 #ifdef HAVE_SYS_SOCKETVAR_H
8712 # include <sys/socketvar.h>
8714 #ifdef HAVE_NET_ROUTE_H
8715 # include <net/route.h>
8717 #ifdef HAVE_NETINET_IN_H
8718 # include <netinet/in.h>
8720 #ifdef HAVE_NETINET_IN_SYSTM_H
8721 # include <netinet/in_systm.h>
8723 #ifdef HAVE_NET_IF_H
8724 # include <net/if.h>
8726 #ifdef HAVE_NETINET_IP_H
8727 # include <netinet/ip.h>
8730 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8732 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8735 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8736 #include <sys/socket.h>
8737 #ifdef HAVE_SYS_SOCKETVAR_H
8738 # include <sys/socketvar.h>
8740 #ifdef HAVE_NET_ROUTE_H
8741 # include <net/route.h>
8743 #ifdef HAVE_NETINET_IN_H
8744 # include <netinet/in.h>
8746 #ifdef HAVE_NETINET_IN_SYSTM_H
8747 # include <netinet/in_systm.h>
8749 #ifdef HAVE_NET_IF_H
8750 # include <net/if.h>
8752 #ifdef HAVE_NETINET_IP_H
8753 # include <netinet/ip.h>
8756 if test "x$ac_cv_header_netinet_udp_h" = xyes
8758 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8761 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8762 #include <sys/socket.h>
8763 #ifdef HAVE_SYS_SOCKETVAR_H
8764 # include <sys/socketvar.h>
8766 #ifdef HAVE_NET_ROUTE_H
8767 # include <net/route.h>
8769 #ifdef HAVE_NETINET_IN_H
8770 # include <netinet/in.h>
8772 #ifdef HAVE_NETINET_IN_SYSTM_H
8773 # include <netinet/in_systm.h>
8775 #ifdef HAVE_NET_IF_H
8776 # include <net/if.h>
8778 #ifdef HAVE_NETINET_IP_H
8779 # include <netinet/ip.h>
8782 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8784 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8788 #include <sys/socket.h>
8789 #ifdef HAVE_SYS_SOCKETVAR_H
8790 # include <sys/socketvar.h>
8792 #ifdef HAVE_NET_ROUTE_H
8793 # include <net/route.h>
8795 #ifdef HAVE_NETINET_IN_H
8796 # include <netinet/in.h>
8798 #ifdef HAVE_NETINET_IN_SYSTM_H
8799 # include <netinet/in_systm.h>
8801 #ifdef HAVE_NET_IF_H
8802 # include <net/if.h>
8804 #ifdef HAVE_NETINET_IP_H
8805 # include <netinet/ip.h>
8808 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8810 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8813 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8818 #ifdef HAVE_NET_ROUTE_H
8819 # include <net/route.h>
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8827 #ifdef HAVE_NET_IF_H
8828 # include <net/if.h>
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8834 if test "x$ac_cv_header_sys_un_h" = xyes
8836 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8846 #ifdef HAVE_NETINET_IN_H
8847 # include <netinet/in.h>
8849 #ifdef HAVE_NETINET_IN_SYSTM_H
8850 # include <netinet/in_systm.h>
8852 #ifdef HAVE_NETINET_IP_H
8853 # include <netinet/ip.h>
8855 #ifdef HAVE_NETINET_IP_VAR_H
8856 # include <netinet/ip_var.h>
8858 #ifdef HAVE_NETINET_IP_ICMP_H
8859 # include <netinet/ip_icmp.h>
8861 #ifdef HAVE_NETINET_UDP_H
8862 # include <netinet/udp.h>
8864 #ifdef HAVE_NETINET_TCP_H
8865 # include <netinet/tcp.h>
8868 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8870 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8873 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8874 #include <sys/socket.h>
8875 #ifdef HAVE_SYS_SOCKETVAR_H
8876 # include <sys/socketvar.h>
8878 #ifdef HAVE_NETINET_IN_H
8879 # include <netinet/in.h>
8881 #ifdef HAVE_NETINET_IN_SYSTM_H
8882 # include <netinet/in_systm.h>
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8887 #ifdef HAVE_NETINET_IP_VAR_H
8888 # include <netinet/ip_var.h>
8890 #ifdef HAVE_NETINET_IP_ICMP_H
8891 # include <netinet/ip_icmp.h>
8893 #ifdef HAVE_NETINET_UDP_H
8894 # include <netinet/udp.h>
8896 #ifdef HAVE_NETINET_TCP_H
8897 # include <netinet/tcp.h>
8900 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8902 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8905 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8906 #include <sys/socket.h>
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8910 #ifdef HAVE_NETINET_IN_H
8911 # include <netinet/in.h>
8913 #ifdef HAVE_NETINET_IN_SYSTM_H
8914 # include <netinet/in_systm.h>
8916 #ifdef HAVE_NETINET_IP_H
8917 # include <netinet/ip.h>
8919 #ifdef HAVE_NETINET_IP_VAR_H
8920 # include <netinet/ip_var.h>
8922 #ifdef HAVE_NETINET_IP_ICMP_H
8923 # include <netinet/ip_icmp.h>
8925 #ifdef HAVE_NETINET_UDP_H
8926 # include <netinet/udp.h>
8928 #ifdef HAVE_NETINET_TCP_H
8929 # include <netinet/tcp.h>
8932 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8934 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8937 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8938 #include <sys/socket.h>
8939 #ifdef HAVE_SYS_SOCKETVAR_H
8940 # include <sys/socketvar.h>
8942 #ifdef HAVE_NETINET_IN_H
8943 # include <netinet/in.h>
8945 #ifdef HAVE_NETINET_IN_SYSTM_H
8946 # include <netinet/in_systm.h>
8948 #ifdef HAVE_NETINET_IP_H
8949 # include <netinet/ip.h>
8951 #ifdef HAVE_NETINET_IP_VAR_H
8952 # include <netinet/ip_var.h>
8954 #ifdef HAVE_NETINET_IP_ICMP_H
8955 # include <netinet/ip_icmp.h>
8957 #ifdef HAVE_NETINET_UDP_H
8958 # include <netinet/udp.h>
8960 #ifdef HAVE_NETINET_TCP_H
8961 # include <netinet/tcp.h>
8964 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8966 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8971 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8972 #include <sys/socket.h>
8973 #ifdef HAVE_ASM_TYPES_H
8974 # include <asm/types.h>
8976 #ifdef HAVE_LINUX_TYPES_H
8977 # include <linux/types.h>
8980 if test "x$ac_cv_header_linux_ipx_h" = xyes
8982 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8986 #include <sys/socket.h>
8987 #ifdef HAVE_ASM_TYPES_H
8988 # include <asm/types.h>
8990 #ifdef HAVE_LINUX_TYPES_H
8991 # include <linux/types.h>
8994 if test "x$ac_cv_header_linux_irda_h" = xyes
8996 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9000 #include <sys/socket.h>
9001 #ifdef HAVE_ASM_TYPES_H
9002 # include <asm/types.h>
9004 #ifdef HAVE_LINUX_TYPES_H
9005 # include <linux/types.h>
9008 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9010 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9016 #include <sys/socket.h>
9017 #ifdef HAVE_NETINET_IN_H
9018 # include <netinet/in.h>
9020 #ifdef HAVE_ARPA_NAMESER_H
9021 # include <arpa/nameser.h>
9024 if test "x$ac_cv_header_resolv_h" = xyes
9026 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9033 if test "x$ac_cv_header_ifaddrs_h" = xyes
9035 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9042 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9044 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9050 #ifdef HAVE_SYS_UCONTEXT_H
9051 #include <sys/ucontext.h>
9054 if test "x$ac_cv_header_sys_thr_h" = xyes
9056 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9061 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9062 #include <pthread.h>
9065 if test "x$ac_cv_header_pthread_np_h" = xyes
9067 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9073 #include <sys/types.h>
9074 #ifdef HAVE_ASM_TYPES_H
9075 #include <asm/types.h>
9078 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9080 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9085 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9086 #include <sys/param.h>
9088 #include <sys/socket.h>
9089 #ifdef HAVE_SYS_QUEUE_H
9090 #include <sys/queue.h>
9093 if test "x$ac_cv_header_libprocstat_h" = xyes
9095 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9100 if test "x$ac_cv_header_sys_xattr_h" = xyes
9102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9103 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9104 if test ${wine_cv_xattr_extra_args+y}
9106 printf %s
"(cached) " >&6
9108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9109 /* end confdefs.h. */
9110 #include <sys/xattr.h>
9114 getxattr("", "", "", 0, 0, 0);
9119 if ac_fn_c_try_compile
"$LINENO"
9121 wine_cv_xattr_extra_args
=yes
9123 wine_cv_xattr_extra_args
=no
9125 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9128 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9129 test $wine_cv_xattr_extra_args != yes ||
9130 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9143 UNIXDLLFLAGS
="-fPIC"
9145 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9151 WINELOADER_LDFLAGS
=""
9153 WINEPRELOADER_LDFLAGS
=""
9158 # Extract the first word of "ldd", so it can be a program name with args.
9159 set dummy ldd
; ac_word
=$2
9160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9161 printf %s
"checking for $ac_word... " >&6; }
9162 if test ${ac_cv_path_LDD+y}
9164 printf %s
"(cached) " >&6
9168 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9172 as_dummy
="/sbin:/usr/sbin:$PATH"
9173 for as_dir
in $as_dummy
9176 case $as_dir in #(((
9179 *) as_dir
=$as_dir/ ;;
9181 for ac_exec_ext
in '' $ac_executable_extensions; do
9182 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9183 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9191 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9196 if test -n "$LDD"; then
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9198 printf "%s\n" "$LDD" >&6; }
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201 printf "%s\n" "no" >&6; }
9205 if test -n "$ac_tool_prefix"; then
9206 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9207 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s
"checking for $ac_word... " >&6; }
9210 if test ${ac_cv_prog_OTOOL+y}
9212 printf %s
"(cached) " >&6
9214 if test -n "$OTOOL"; then
9215 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9221 case $as_dir in #(((
9224 *) as_dir
=$as_dir/ ;;
9226 for ac_exec_ext
in '' $ac_executable_extensions; do
9227 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9228 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9238 OTOOL
=$ac_cv_prog_OTOOL
9239 if test -n "$OTOOL"; then
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9241 printf "%s\n" "$OTOOL" >&6; }
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 printf "%s\n" "no" >&6; }
9249 if test -z "$ac_cv_prog_OTOOL"; then
9251 # Extract the first word of "otool", so it can be a program name with args.
9252 set dummy otool
; ac_word
=$2
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9254 printf %s
"checking for $ac_word... " >&6; }
9255 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9257 printf %s
"(cached) " >&6
9259 if test -n "$ac_ct_OTOOL"; then
9260 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9266 case $as_dir in #(((
9269 *) as_dir
=$as_dir/ ;;
9271 for ac_exec_ext
in '' $ac_executable_extensions; do
9272 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9273 ac_cv_prog_ac_ct_OTOOL
="otool"
9274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9283 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9284 if test -n "$ac_ct_OTOOL"; then
9285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9286 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9289 printf "%s\n" "no" >&6; }
9292 if test "x$ac_ct_OTOOL" = x
; then
9295 case $cross_compiling:$ac_tool_warned in
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9298 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9299 ac_tool_warned
=yes ;;
9304 OTOOL
="$ac_cv_prog_OTOOL"
9307 if test -n "$ac_tool_prefix"; then
9308 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9309 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9311 printf %s
"checking for $ac_word... " >&6; }
9312 if test ${ac_cv_prog_READELF+y}
9314 printf %s
"(cached) " >&6
9316 if test -n "$READELF"; then
9317 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9323 case $as_dir in #(((
9326 *) as_dir
=$as_dir/ ;;
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9330 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9340 READELF
=$ac_cv_prog_READELF
9341 if test -n "$READELF"; then
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9343 printf "%s\n" "$READELF" >&6; }
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9346 printf "%s\n" "no" >&6; }
9351 if test -z "$ac_cv_prog_READELF"; then
9352 ac_ct_READELF
=$READELF
9353 # Extract the first word of "readelf", so it can be a program name with args.
9354 set dummy readelf
; ac_word
=$2
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9356 printf %s
"checking for $ac_word... " >&6; }
9357 if test ${ac_cv_prog_ac_ct_READELF+y}
9359 printf %s
"(cached) " >&6
9361 if test -n "$ac_ct_READELF"; then
9362 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9368 case $as_dir in #(((
9371 *) as_dir
=$as_dir/ ;;
9373 for ac_exec_ext
in '' $ac_executable_extensions; do
9374 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9375 ac_cv_prog_ac_ct_READELF
="readelf"
9376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9385 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9386 if test -n "$ac_ct_READELF"; then
9387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9388 printf "%s\n" "$ac_ct_READELF" >&6; }
9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 printf "%s\n" "no" >&6; }
9394 if test "x$ac_ct_READELF" = x
; then
9397 case $cross_compiling:$ac_tool_warned in
9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9400 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9401 ac_tool_warned
=yes ;;
9403 READELF
=$ac_ct_READELF
9406 READELF
="$ac_cv_prog_READELF"
9414 CONFIGURE_TARGETS
=""
9417 wine_fn_config_makefile
()
9419 as_fn_append SUBDIRS
" \\$as_nl $1"
9422 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9423 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9424 if test -n "$PE_ARCHS"
9428 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9431 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9436 wine_fn_config_symlink
()
9439 as_fn_append wine_rules
"
9441 @./config.status \$@"
9442 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9449 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9451 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9452 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9453 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9455 printf %s
"(cached) " >&6
9457 ac_wine_try_cflags_saved
=$CFLAGS
9458 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9461 int main(int argc, char **argv) { return 0; }
9463 if ac_fn_c_try_link
"$LINENO"
9465 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9467 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 CFLAGS
=$ac_wine_try_cflags_saved
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9474 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9475 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9477 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9480 enable_loader
=${enable_loader:-no}
9481 enable_server
=${enable_server:-no}
9482 with_x
=${with_x:-no}
9483 with_pthread
=${with_pthread:-no}
9488 DLLFLAGS
="$DLLFLAGS -fPIC"
9490 enable_winemac_drv
=${enable_winemac_drv:-yes}
9491 CARBON_LIBS
="-framework Carbon"
9493 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9495 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9497 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9499 METAL_LIBS
="-framework Metal"
9501 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9503 CORESERVICES_LIBS
="-framework CoreServices"
9505 APPKIT_LIBS
="-framework AppKit"
9507 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9509 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9512 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9515 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9516 *) wine_can_build_preloader
=no
;;
9519 if test "$wine_can_build_preloader" = "yes"
9521 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"
9522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9523 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9524 if test ${ac_cv_cflags__Wl__no_pie+y}
9526 printf %s
"(cached) " >&6
9528 ac_wine_try_cflags_saved
=$CFLAGS
9529 CFLAGS
="$CFLAGS -Wl,-no_pie"
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9534 if ac_fn_c_try_link
"$LINENO"
9536 ac_cv_cflags__Wl__no_pie
=yes
9538 ac_cv_cflags__Wl__no_pie
=no
9540 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 CFLAGS
=$ac_wine_try_cflags_saved
9544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9545 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9546 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9548 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9552 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9555 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9558 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9560 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9563 if test "x$with_coreaudio" != "xno";
9565 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9567 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9569 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9571 OPENCL_LIBS
="-framework OpenCL"
9573 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9577 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9579 ac_cpp
='$OBJCPP $CPPFLAGS'
9580 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9581 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9582 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9585 ac_cpp
='$OBJCPP $CPPFLAGS'
9586 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9587 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9588 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9589 if test -n "$ac_tool_prefix"; then
9590 for ac_prog
in gcc objcc objc cc CC clang
9592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9595 printf %s
"checking for $ac_word... " >&6; }
9596 if test ${ac_cv_prog_OBJC+y}
9598 printf %s
"(cached) " >&6
9600 if test -n "$OBJC"; then
9601 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9607 case $as_dir in #(((
9610 *) as_dir
=$as_dir/ ;;
9612 for ac_exec_ext
in '' $ac_executable_extensions; do
9613 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9614 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9624 OBJC
=$ac_cv_prog_OBJC
9625 if test -n "$OBJC"; then
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9627 printf "%s\n" "$OBJC" >&6; }
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9630 printf "%s\n" "no" >&6; }
9634 test -n "$OBJC" && break
9637 if test -z "$OBJC"; then
9639 for ac_prog
in gcc objcc objc cc CC clang
9641 # Extract the first word of "$ac_prog", so it can be a program name with args.
9642 set dummy
$ac_prog; ac_word
=$2
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 printf %s
"checking for $ac_word... " >&6; }
9645 if test ${ac_cv_prog_ac_ct_OBJC+y}
9647 printf %s
"(cached) " >&6
9649 if test -n "$ac_ct_OBJC"; then
9650 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9656 case $as_dir in #(((
9659 *) as_dir
=$as_dir/ ;;
9661 for ac_exec_ext
in '' $ac_executable_extensions; do
9662 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9663 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9673 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9674 if test -n "$ac_ct_OBJC"; then
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9676 printf "%s\n" "$ac_ct_OBJC" >&6; }
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 printf "%s\n" "no" >&6; }
9683 test -n "$ac_ct_OBJC" && break
9686 if test "x$ac_ct_OBJC" = x
; then
9689 case $cross_compiling:$ac_tool_warned in
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9692 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9693 ac_tool_warned
=yes ;;
9699 # Provide some information about the compiler.
9700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9703 for ac_option
in --version -v -V -qversion; do
9704 { { ac_try
="$ac_compiler $ac_option >&5"
9706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9707 *) ac_try_echo=$ac_try;;
9709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9710 printf "%s\n" "$ac_try_echo"; } >&5
9711 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9713 if test -s conftest.err; then
9715 ... rest of stderr output deleted ...
9716 10q' conftest.err >conftest.er1
9717 cat conftest.er1 >&5
9719 rm -f conftest.er1 conftest.err
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9721 test $ac_status = 0; }
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9725 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9726 if test ${ac_cv_objc_compiler_gnu+y}
9728 printf %s "(cached) " >&6
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9744 if ac_fn_objc_try_compile "$LINENO"
9750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9751 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9755 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9756 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9758 if test $ac_compiler_gnu = yes; then
9763 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9764 ac_save_OBJCFLAGS=$OBJCFLAGS
9765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9766 printf %s "checking whether $OBJC accepts -g... " >&6; }
9767 if test ${ac_cv_prog_objc_g+y}
9769 printf %s "(cached) " >&6
9771 ac_save_objc_werror_flag=$ac_objc_werror_flag
9772 ac_objc_werror_flag=yes
9773 ac_cv_prog_objc_g=no
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9786 if ac_fn_objc_try_compile "$LINENO"
9788 ac_cv_prog_objc_g=yes
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9802 if ac_fn_objc_try_compile "$LINENO"
9806 ac_objc_werror_flag=$ac_save_objc_werror_flag
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9819 if ac_fn_objc_try_compile "$LINENO"
9821 ac_cv_prog_objc_g=yes
9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9828 ac_objc_werror_flag=$ac_save_objc_werror_flag
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9831 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9832 if test $ac_test_OBJCFLAGS; then
9833 OBJCFLAGS=$ac_save_OBJCFLAGS
9834 elif test $ac_cv_prog_objc_g = yes; then
9835 if test "$GOBJC" = yes; then
9841 if test "$GOBJC" = yes; then
9848 ac_cpp='$OBJCPP $CPPFLAGS'
9849 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9850 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9851 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9856 #include <Metal/Metal.h>
9860 id<MTLDevice> device; device.registryID;
9865 if ac_fn_objc_try_compile "$LINENO"
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9868 printf "%s\n" "yes" >&6; }
9870 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9874 printf "%s\n" "no" >&6; }
9876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9878 ac_cpp='$CPP $CPPFLAGS'
9879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9884 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9885 WINELOADER_DEPENDS="wine_info.plist"
9891 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9893 DLLFLAGS="$DLLFLAGS -fPIC"
9895 LDEXECFLAGS="-Wl,-pie"
9896 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9898 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9899 if test ${ac_cv_cflags__Wl__z_defs+y}
9901 printf %s "(cached) " >&6
9903 ac_wine_try_cflags_saved=$CFLAGS
9904 CFLAGS="$CFLAGS -Wl,-z,defs"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int main(int argc, char **argv) { return 0; }
9909 if ac_fn_c_try_link "$LINENO"
9911 ac_cv_cflags__Wl__z_defs=yes
9913 ac_cv_cflags__Wl__z_defs=no
9915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9920 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9921 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9923 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9926 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9927 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9929 printf %s "(cached) " >&6
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int main(int argc, char **argv) { return 0; }
9937 if ac_fn_c_try_link "$LINENO"
9939 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9941 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9948 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9949 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9951 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9953 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9956 printf %s "checking for -lEGL... " >&6; }
9957 if test ${ac_cv_lib_soname_EGL+y}
9959 printf %s "(cached) " >&6
9961 ac_check_soname_save_LIBS=$LIBS
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9969 char eglGetProcAddress ();
9973 return eglGetProcAddress ();
9978 if ac_fn_c_try_link "$LINENO"
9981 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9982 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'` ;;
9983 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9984 if ${ac_cv_lib_soname_EGL:+false} :
9986 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9990 ac_cv_lib_soname_EGL=
9992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_soname_save_LIBS
9996 if ${ac_cv_lib_soname_EGL:+false} :
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9999 printf "%s\n" "not found" >&6; }
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10003 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10005 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10010 printf %s "checking for -lGLESv2... " >&6; }
10011 if test ${ac_cv_lib_soname_GLESv2+y}
10013 printf %s "(cached) " >&6
10015 ac_check_soname_save_LIBS=$LIBS
10016 LIBS="-lGLESv2 $LIBS"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10032 if ac_fn_c_try_link "$LINENO"
10035 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10036 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'` ;;
10037 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10038 if ${ac_cv_lib_soname_GLESv2:+false} :
10040 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10044 ac_cv_lib_soname_GLESv2=
10046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_soname_save_LIBS
10050 if ${ac_cv_lib_soname_GLESv2:+false} :
10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10053 printf "%s\n" "not found" >&6; }
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10057 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10059 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10064 if test "x$exec_prefix" = xNONE
10067 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10068 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10069 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10070 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10077 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10079 test "$ac_cv_sys_file_offset_bits" = 64 &&
10080 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10084 DLLFLAGS="$DLLFLAGS -fno-PIC"
10085 LDDLLFLAGS="-fno-PIC"
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10087 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10088 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10090 printf %s "(cached) " >&6
10092 ac_wine_try_cflags_saved=$CFLAGS
10093 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int main(int argc, char **argv) { return 0; }
10098 if ac_fn_c_try_link "$LINENO"
10100 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10102 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10105 conftest$ac_exeext conftest.$ac_ext
10106 CFLAGS=$ac_wine_try_cflags_saved
10108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10109 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10110 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10112 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10116 DLLFLAGS="$DLLFLAGS -fPIC"
10117 LDDLLFLAGS="-fPIC" ;;
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10121 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10122 if test ${ac_cv_wl_z_defs+y}
10124 printf %s "(cached) " >&6
10126 ac_save_CFLAGS="$CFLAGS"
10127 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10132 if ac_fn_c_try_link "$LINENO"
10134 ac_cv_wl_z_defs=yes
10138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10139 conftest$ac_exeext conftest.$ac_ext
10140 CFLAGS=$ac_save_CFLAGS
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10143 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10144 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10147 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10148 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10150 printf %s "(cached) " >&6
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10158 if ac_fn_c_try_link "$LINENO"
10160 ac_cv_cflags__Wl___export_dynamic=yes
10162 ac_cv_cflags__Wl___export_dynamic=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10169 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10170 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10172 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10174 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10178 as_fn_append WINELOADER_LDFLAGS " -pie"
10181 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10184 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10185 if test ${ac_cv_cflags__static_pie+y}
10187 printf %s "(cached) " >&6
10189 ac_wine_try_cflags_saved=$CFLAGS
10190 CFLAGS="$CFLAGS -static-pie"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 int main(int argc, char **argv) { return 0; }
10195 if ac_fn_c_try_link "$LINENO"
10197 ac_cv_cflags__static_pie=yes
10199 ac_cv_cflags__static_pie=no
10201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10206 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10207 if test "x$ac_cv_cflags__static_pie" = xyes
10209 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10211 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10220 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10221 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10223 printf %s "(cached) " >&6
10225 ac_wine_try_cflags_saved=$CFLAGS
10226 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229 int main(int argc, char **argv) { return 0; }
10231 if ac_fn_c_try_link "$LINENO"
10233 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10235 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10242 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10243 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10245 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10248 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10249 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10251 printf %s "(cached) " >&6
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10259 if ac_fn_c_try_link "$LINENO"
10261 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10263 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10271 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10273 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10278 as_fn_append WINELOADER_LDFLAGS " -pie"
10286 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10287 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10288 enable_winemac_drv=${enable_winemac_drv:-no}
10293 if test ${enable_archs+y}
10295 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10298 set x $enable_archs
10304 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10305 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10309 if test "x$with_mingw" != xno
10311 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10315 for wine_arch in $cross_archs
10317 case "x$with_mingw" in
10318 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10320 if eval \${${wine_arch}_CC:+false} :
10324 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10326 # Extract the first word of "$ac_prog", so it can be a program name with args.
10327 set dummy $ac_prog; ac_word=$2
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10329 printf %s "checking for $ac_word... " >&6; }
10330 if test ${ac_cv_prog_aarch64_CC+y}
10332 printf %s "(cached) " >&6
10334 if test -n "$aarch64_CC"; then
10335 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $PATH
10341 case $as_dir in #(((
10344 *) as_dir=$as_dir/ ;;
10346 for ac_exec_ext in '' $ac_executable_extensions; do
10347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10348 ac_cv_prog_aarch64_CC="$ac_prog"
10349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10358 aarch64_CC=$ac_cv_prog_aarch64_CC
10359 if test -n "$aarch64_CC"; then
10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10361 printf "%s\n" "$aarch64_CC" >&6; }
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10364 printf "%s\n" "no" >&6; }
10368 test -n "$aarch64_CC" && break
10370 test -n "$aarch64_CC" || aarch64_CC="false"
10374 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10376 # Extract the first word of "$ac_prog", so it can be a program name with args.
10377 set dummy $ac_prog; ac_word=$2
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10379 printf %s "checking for $ac_word... " >&6; }
10380 if test ${ac_cv_prog_arm_CC+y}
10382 printf %s "(cached) " >&6
10384 if test -n "$arm_CC"; then
10385 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10388 for as_dir in $PATH
10391 case $as_dir in #(((
10394 *) as_dir=$as_dir/ ;;
10396 for ac_exec_ext in '' $ac_executable_extensions; do
10397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10398 ac_cv_prog_arm_CC="$ac_prog"
10399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10408 arm_CC=$ac_cv_prog_arm_CC
10409 if test -n "$arm_CC"; then
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10411 printf "%s\n" "$arm_CC" >&6; }
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10414 printf "%s\n" "no" >&6; }
10418 test -n "$arm_CC" && break
10420 test -n "$arm_CC" || arm_CC="false"
10424 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 "
10425 for ac_prog in $ac_prefix_list clang
10427 # Extract the first word of "$ac_prog", so it can be a program name with args.
10428 set dummy $ac_prog; ac_word=$2
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 printf %s "checking for $ac_word... " >&6; }
10431 if test ${ac_cv_prog_i386_CC+y}
10433 printf %s "(cached) " >&6
10435 if test -n "$i386_CC"; then
10436 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in $PATH
10442 case $as_dir in #(((
10445 *) as_dir=$as_dir/ ;;
10447 for ac_exec_ext in '' $ac_executable_extensions; do
10448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10449 ac_cv_prog_i386_CC="$ac_prog"
10450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10459 i386_CC=$ac_cv_prog_i386_CC
10460 if test -n "$i386_CC"; then
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10462 printf "%s\n" "$i386_CC" >&6; }
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465 printf "%s\n" "no" >&6; }
10469 test -n "$i386_CC" && break
10471 test -n "$i386_CC" || i386_CC="false"
10475 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10476 for ac_prog in $ac_prefix_list clang
10478 # Extract the first word of "$ac_prog", so it can be a program name with args.
10479 set dummy $ac_prog; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_prog_x86_64_CC+y}
10484 printf %s "(cached) " >&6
10486 if test -n "$x86_64_CC"; then
10487 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10493 case $as_dir in #(((
10496 *) as_dir=$as_dir/ ;;
10498 for ac_exec_ext in '' $ac_executable_extensions; do
10499 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10500 ac_cv_prog_x86_64_CC="$ac_prog"
10501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10510 x86_64_CC=$ac_cv_prog_x86_64_CC
10511 if test -n "$x86_64_CC"; then
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10513 printf "%s\n" "$x86_64_CC" >&6; }
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 printf "%s\n" "no" >&6; }
10520 test -n "$x86_64_CC" && break
10522 test -n "$x86_64_CC" || x86_64_CC="false"
10529 saved_CFLAGS=$CFLAGS
10530 saved_LDFLAGS=$LDFLAGS
10532 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10533 LDFLAGS=$CROSSLDFLAGS
10534 eval CC=\$${wine_arch}_CC
10535 eval ${wine_arch}_CFLAGS=\$CFLAGS
10536 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10537 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10540 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10542 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10547 printf %s "checking whether $CC works... " >&6; }
10548 if eval test \${$as_wine_cv_crosscc+y}
10550 printf %s "(cached) " >&6
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10563 if ac_fn_c_try_compile "$LINENO"
10565 eval "$as_wine_cv_crosscc=yes"
10567 eval "$as_wine_cv_crosscc=no"
10569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10571 eval ac_res=\$$as_wine_cv_crosscc
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10573 printf "%s\n" "$ac_res" >&6; }
10575 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10579 while test $# -ge 1
10582 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10583 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10588 llvm_target=$target
10589 if test -z "$llvm_target"
10592 i386) llvm_target=i686-windows ;;
10593 arm) llvm_target=armv7-windows ;;
10594 *) llvm_target=$wine_arch-windows ;;
10597 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10598 case $llvm_target in
10599 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10601 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10603 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10604 if eval test \${$as_ac_var+y}
10606 printf %s "(cached) " >&6
10608 ac_wine_try_cflags_saved=$CFLAGS
10609 ac_wine_try_cflags_saved_exeext=$ac_exeext
10610 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10614 int __cdecl mainCRTStartup(void) { return 0; }
10616 if ac_fn_c_try_link "$LINENO"
10618 eval "$as_ac_var=yes"
10620 eval "$as_ac_var=no"
10622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10623 conftest$ac_exeext conftest.$ac_ext
10624 CFLAGS=$ac_wine_try_cflags_saved
10625 ac_exeext=$ac_wine_try_cflags_saved_exeext
10627 eval ac_res=\$$as_ac_var
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10629 printf "%s\n" "$ac_res" >&6; }
10630 if eval test \"x\$"$as_ac_var"\" = x"yes"
10632 target=$llvm_target
10633 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10634 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10635 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10637 eval "${wine_arch}_TARGET=\$target"
10641 if test -z "$target"
10643 if test ${enable_archs+y}
10645 as_fn_error $? "MinGW $wine_arch compiler not found.
10646 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10649 CFLAGS=$saved_CFLAGS
10650 LDFLAGS=$saved_LDFLAGS
10654 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10657 printf %s "checking for $CC option to enable C99 features... " >&6; }
10658 if eval test \${$as_wine_cv_crosscc_c99+y}
10660 printf %s "(cached) " >&6
10662 eval "$as_wine_cv_crosscc_c99=no"
10663 for arg in '' '-std=gnu99' '-D__STDC__'
10665 test -z "$arg" || CC="$CC $arg"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 $ac_c_conftest_c99_program
10670 if ac_fn_c_try_compile "$LINENO"
10672 eval "$as_wine_cv_crosscc_c99=\$arg"
10674 eval "$as_wine_cv_crosscc_c99=no"
10676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10677 eval CC=\$${wine_arch}_CC
10678 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10687 eval res=\$$as_wine_cv_crosscc_c99
10690 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10691 printf "%s\n" "none needed" >&6; } ;;
10692 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10693 printf "%s\n" "unsupported" >&6; }
10695 CFLAGS=$saved_CFLAGS
10696 LDFLAGS=$saved_LDFLAGS
10697 if test ${enable_archs+y}
10699 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10700 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10704 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10705 printf "%s\n" "$res" >&6; }
10706 as_fn_append ${wine_arch}_CC " $res" ;;
10709 as_fn_append PE_ARCHS " $wine_arch"
10710 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10712 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10713 if eval test \${$as_ac_var+y}
10715 printf %s "(cached) " >&6
10717 ac_wine_try_cflags_saved=$CFLAGS
10718 ac_wine_try_cflags_saved_exeext=$ac_exeext
10719 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 int __cdecl mainCRTStartup(void) { return 0; }
10725 if ac_fn_c_try_link "$LINENO"
10727 eval "$as_ac_var=yes"
10729 eval "$as_ac_var=no"
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10732 conftest$ac_exeext conftest.$ac_ext
10733 CFLAGS=$ac_wine_try_cflags_saved
10734 ac_exeext=$ac_wine_try_cflags_saved_exeext
10736 eval ac_res=\$$as_ac_var
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10738 printf "%s\n" "$ac_res" >&6; }
10739 if eval test \"x\$"$as_ac_var"\" = x"yes"
10741 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10743 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10745 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10746 if eval test \${$as_ac_var+y}
10748 printf %s "(cached) " >&6
10750 ac_wine_try_cflags_saved=$CFLAGS
10751 ac_wine_try_cflags_saved_exeext=$ac_exeext
10752 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 int __cdecl mainCRTStartup(void) { return 0; }
10758 if ac_fn_c_try_link "$LINENO"
10760 eval "$as_ac_var=yes"
10762 eval "$as_ac_var=no"
10764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10765 conftest$ac_exeext conftest.$ac_ext
10766 CFLAGS=$ac_wine_try_cflags_saved
10767 ac_exeext=$ac_wine_try_cflags_saved_exeext
10769 eval ac_res=\$$as_ac_var
10770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10771 printf "%s\n" "$ac_res" >&6; }
10772 if eval test \"x\$"$as_ac_var"\" = x"yes"
10774 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10776 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10778 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10779 if eval test \${$as_ac_var+y}
10781 printf %s "(cached) " >&6
10783 ac_wine_try_cflags_saved=$CFLAGS
10784 ac_wine_try_cflags_saved_exeext=$ac_exeext
10785 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10789 int __cdecl mainCRTStartup(void) { return 0; }
10791 if ac_fn_c_try_link "$LINENO"
10793 eval "$as_ac_var=yes"
10795 eval "$as_ac_var=no"
10797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10798 conftest$ac_exeext conftest.$ac_ext
10799 CFLAGS=$ac_wine_try_cflags_saved
10800 ac_exeext=$ac_wine_try_cflags_saved_exeext
10802 eval ac_res=\$$as_ac_var
10803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10804 printf "%s\n" "$ac_res" >&6; }
10805 if eval test \"x\$"$as_ac_var"\" = x"yes"
10807 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10809 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10811 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10812 if eval test \${$as_ac_var+y}
10814 printf %s "(cached) " >&6
10816 ac_wine_try_cflags_saved=$CFLAGS
10817 ac_wine_try_cflags_saved_exeext=$ac_exeext
10818 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10822 int __cdecl mainCRTStartup(void) { return 0; }
10824 if ac_fn_c_try_link "$LINENO"
10826 eval "$as_ac_var=yes"
10828 eval "$as_ac_var=no"
10830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10831 conftest$ac_exeext conftest.$ac_ext
10832 CFLAGS=$ac_wine_try_cflags_saved
10833 ac_exeext=$ac_wine_try_cflags_saved_exeext
10835 eval ac_res=\$$as_ac_var
10836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10837 printf "%s\n" "$ac_res" >&6; }
10838 if eval test \"x\$"$as_ac_var"\" = x"yes"
10840 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10842 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10844 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10845 if eval test \${$as_ac_var+y}
10847 printf %s "(cached) " >&6
10849 ac_wine_try_cflags_saved=$CFLAGS
10850 ac_wine_try_cflags_saved_exeext=$ac_exeext
10851 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 int __cdecl mainCRTStartup(void) { return 0; }
10857 if ac_fn_c_try_link "$LINENO"
10859 eval "$as_ac_var=yes"
10861 eval "$as_ac_var=no"
10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10864 conftest$ac_exeext conftest.$ac_ext
10865 CFLAGS=$ac_wine_try_cflags_saved
10866 ac_exeext=$ac_wine_try_cflags_saved_exeext
10868 eval ac_res=\$$as_ac_var
10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10870 printf "%s\n" "$ac_res" >&6; }
10871 if eval test \"x\$"$as_ac_var"\" = x"yes"
10873 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10875 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10877 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10878 if eval test \${$as_ac_var+y}
10880 printf %s "(cached) " >&6
10882 ac_wine_try_cflags_saved=$CFLAGS
10883 ac_wine_try_cflags_saved_exeext=$ac_exeext
10884 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10888 int __cdecl mainCRTStartup(void) { return 0; }
10890 if ac_fn_c_try_link "$LINENO"
10892 eval "$as_ac_var=yes"
10894 eval "$as_ac_var=no"
10896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10897 conftest$ac_exeext conftest.$ac_ext
10898 CFLAGS=$ac_wine_try_cflags_saved
10899 ac_exeext=$ac_wine_try_cflags_saved_exeext
10901 eval ac_res=\$$as_ac_var
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10903 printf "%s\n" "$ac_res" >&6; }
10904 if eval test \"x\$"$as_ac_var"\" = x"yes"
10906 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10908 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10910 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10911 if eval test \${$as_ac_var+y}
10913 printf %s "(cached) " >&6
10915 ac_wine_try_cflags_saved=$CFLAGS
10916 ac_wine_try_cflags_saved_exeext=$ac_exeext
10917 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10921 int __cdecl mainCRTStartup(void) { return 0; }
10923 if ac_fn_c_try_link "$LINENO"
10925 eval "$as_ac_var=yes"
10927 eval "$as_ac_var=no"
10929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10930 conftest$ac_exeext conftest.$ac_ext
10931 CFLAGS=$ac_wine_try_cflags_saved
10932 ac_exeext=$ac_wine_try_cflags_saved_exeext
10934 eval ac_res=\$$as_ac_var
10935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10936 printf "%s\n" "$ac_res" >&6; }
10937 if eval test \"x\$"$as_ac_var"\" = x"yes"
10939 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10941 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10943 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10944 if eval test \${$as_ac_var+y}
10946 printf %s "(cached) " >&6
10948 ac_wine_try_cflags_saved=$CFLAGS
10949 ac_wine_try_cflags_saved_exeext=$ac_exeext
10950 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10954 int __cdecl mainCRTStartup(void) { return 0; }
10956 if ac_fn_c_try_link "$LINENO"
10958 eval "$as_ac_var=yes"
10960 eval "$as_ac_var=no"
10962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10963 conftest$ac_exeext conftest.$ac_ext
10964 CFLAGS=$ac_wine_try_cflags_saved
10965 ac_exeext=$ac_wine_try_cflags_saved_exeext
10967 eval ac_res=\$$as_ac_var
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10969 printf "%s\n" "$ac_res" >&6; }
10970 if eval test \"x\$"$as_ac_var"\" = x"yes"
10972 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10974 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10976 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10977 if eval test \${$as_ac_var+y}
10979 printf %s "(cached) " >&6
10981 ac_wine_try_cflags_saved=$CFLAGS
10982 ac_wine_try_cflags_saved_exeext=$ac_exeext
10983 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10987 int __cdecl mainCRTStartup(void) { return 0; }
10989 if ac_fn_c_try_link "$LINENO"
10991 eval "$as_ac_var=yes"
10993 eval "$as_ac_var=no"
10995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10996 conftest$ac_exeext conftest.$ac_ext
10997 CFLAGS=$ac_wine_try_cflags_saved
10998 ac_exeext=$ac_wine_try_cflags_saved_exeext
11000 eval ac_res=\$$as_ac_var
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11002 printf "%s\n" "$ac_res" >&6; }
11003 if eval test \"x\$"$as_ac_var"\" = x"yes"
11005 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11007 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11009 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11010 if eval test \${$as_ac_var+y}
11012 printf %s "(cached) " >&6
11014 ac_wine_try_cflags_saved=$CFLAGS
11015 ac_wine_try_cflags_saved_exeext=$ac_exeext
11016 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11020 int __cdecl mainCRTStartup(void) { return 0; }
11022 if ac_fn_c_try_link "$LINENO"
11024 eval "$as_ac_var=yes"
11026 eval "$as_ac_var=no"
11028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11029 conftest$ac_exeext conftest.$ac_ext
11030 CFLAGS=$ac_wine_try_cflags_saved
11031 ac_exeext=$ac_wine_try_cflags_saved_exeext
11033 eval ac_res=\$$as_ac_var
11034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11035 printf "%s\n" "$ac_res" >&6; }
11036 if eval test \"x\$"$as_ac_var"\" = x"yes"
11038 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11040 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11042 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11043 if eval test \${$as_ac_var+y}
11045 printf %s "(cached) " >&6
11047 ac_wine_try_cflags_saved=$CFLAGS
11048 ac_wine_try_cflags_saved_exeext=$ac_exeext
11049 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11053 int __cdecl mainCRTStartup(void) { return 0; }
11055 if ac_fn_c_try_link "$LINENO"
11057 eval "$as_ac_var=yes"
11059 eval "$as_ac_var=no"
11061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11062 conftest$ac_exeext conftest.$ac_ext
11063 CFLAGS=$ac_wine_try_cflags_saved
11064 ac_exeext=$ac_wine_try_cflags_saved_exeext
11066 eval ac_res=\$$as_ac_var
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11068 printf "%s\n" "$ac_res" >&6; }
11069 if eval test \"x\$"$as_ac_var"\" = x"yes"
11071 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11073 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11075 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11076 if eval test \${$as_ac_var+y}
11078 printf %s "(cached) " >&6
11080 ac_wine_try_cflags_saved=$CFLAGS
11081 ac_wine_try_cflags_saved_exeext=$ac_exeext
11082 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11086 int __cdecl mainCRTStartup(void) { return 0; }
11088 if ac_fn_c_try_link "$LINENO"
11090 eval "$as_ac_var=yes"
11092 eval "$as_ac_var=no"
11094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11095 conftest$ac_exeext conftest.$ac_ext
11096 CFLAGS=$ac_wine_try_cflags_saved
11097 ac_exeext=$ac_wine_try_cflags_saved_exeext
11099 eval ac_res=\$$as_ac_var
11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11101 printf "%s\n" "$ac_res" >&6; }
11102 if eval test \"x\$"$as_ac_var"\" = x"yes"
11104 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11106 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11108 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11109 if eval test \${$as_ac_var+y}
11111 printf %s "(cached) " >&6
11113 ac_wine_try_cflags_saved=$CFLAGS
11114 ac_wine_try_cflags_saved_exeext=$ac_exeext
11115 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11119 int __cdecl mainCRTStartup(void) { return 0; }
11121 if ac_fn_c_try_link "$LINENO"
11123 eval "$as_ac_var=yes"
11125 eval "$as_ac_var=no"
11127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11128 conftest$ac_exeext conftest.$ac_ext
11129 CFLAGS=$ac_wine_try_cflags_saved
11130 ac_exeext=$ac_wine_try_cflags_saved_exeext
11132 eval ac_res=\$$as_ac_var
11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11134 printf "%s\n" "$ac_res" >&6; }
11135 if eval test \"x\$"$as_ac_var"\" = x"yes"
11137 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11139 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11141 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11142 if eval test \${$as_ac_var+y}
11144 printf %s "(cached) " >&6
11146 ac_wine_try_cflags_saved=$CFLAGS
11147 ac_wine_try_cflags_saved_exeext=$ac_exeext
11148 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11152 int __cdecl mainCRTStartup(void) { return 0; }
11154 if ac_fn_c_try_link "$LINENO"
11156 eval "$as_ac_var=yes"
11158 eval "$as_ac_var=no"
11160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11161 conftest$ac_exeext conftest.$ac_ext
11162 CFLAGS=$ac_wine_try_cflags_saved
11163 ac_exeext=$ac_wine_try_cflags_saved_exeext
11165 eval ac_res=\$$as_ac_var
11166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11167 printf "%s\n" "$ac_res" >&6; }
11168 if eval test \"x\$"$as_ac_var"\" = x"yes"
11170 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11172 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11174 printf %s "checking whether $CC supports -Wvla... " >&6; }
11175 if eval test \${$as_ac_var+y}
11177 printf %s "(cached) " >&6
11179 ac_wine_try_cflags_saved=$CFLAGS
11180 ac_wine_try_cflags_saved_exeext=$ac_exeext
11181 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11185 int __cdecl mainCRTStartup(void) { return 0; }
11187 if ac_fn_c_try_link "$LINENO"
11189 eval "$as_ac_var=yes"
11191 eval "$as_ac_var=no"
11193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11194 conftest$ac_exeext conftest.$ac_ext
11195 CFLAGS=$ac_wine_try_cflags_saved
11196 ac_exeext=$ac_wine_try_cflags_saved_exeext
11198 eval ac_res=\$$as_ac_var
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11200 printf "%s\n" "$ac_res" >&6; }
11201 if eval test \"x\$"$as_ac_var"\" = x"yes"
11203 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11205 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11207 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11208 if eval test \${$as_ac_var+y}
11210 printf %s "(cached) " >&6
11212 ac_wine_try_cflags_saved=$CFLAGS
11213 ac_wine_try_cflags_saved_exeext=$ac_exeext
11214 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11218 int __cdecl mainCRTStartup(void) { return 0; }
11220 if ac_fn_c_try_link "$LINENO"
11222 eval "$as_ac_var=yes"
11224 eval "$as_ac_var=no"
11226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11227 conftest$ac_exeext conftest.$ac_ext
11228 CFLAGS=$ac_wine_try_cflags_saved
11229 ac_exeext=$ac_wine_try_cflags_saved_exeext
11231 eval ac_res=\$$as_ac_var
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11233 printf "%s\n" "$ac_res" >&6; }
11234 if eval test \"x\$"$as_ac_var"\" = x"yes"
11236 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11238 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11240 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11241 if eval test \${$as_ac_var+y}
11243 printf %s "(cached) " >&6
11245 ac_wine_try_cflags_saved=$CFLAGS
11246 ac_wine_try_cflags_saved_exeext=$ac_exeext
11247 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11251 int __cdecl mainCRTStartup(void) { return 0; }
11253 if ac_fn_c_try_link "$LINENO"
11255 eval "$as_ac_var=yes"
11257 eval "$as_ac_var=no"
11259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11260 conftest$ac_exeext conftest.$ac_ext
11261 CFLAGS=$ac_wine_try_cflags_saved
11262 ac_exeext=$ac_wine_try_cflags_saved_exeext
11264 eval ac_res=\$$as_ac_var
11265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11266 printf "%s\n" "$ac_res" >&6; }
11267 if eval test \"x\$"$as_ac_var"\" = x"yes"
11269 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11271 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11273 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11274 if eval test \${$as_ac_var+y}
11276 printf %s "(cached) " >&6
11278 ac_wine_try_cflags_saved=$CFLAGS
11279 ac_wine_try_cflags_saved_exeext=$ac_exeext
11280 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284 int __cdecl mainCRTStartup(void) { return 0; }
11286 if ac_fn_c_try_link "$LINENO"
11288 eval "$as_ac_var=yes"
11290 eval "$as_ac_var=no"
11292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11293 conftest$ac_exeext conftest.$ac_ext
11294 CFLAGS=$ac_wine_try_cflags_saved
11295 ac_exeext=$ac_wine_try_cflags_saved_exeext
11297 eval ac_res=\$$as_ac_var
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11299 printf "%s\n" "$ac_res" >&6; }
11300 if eval test \"x\$"$as_ac_var"\" = x"yes"
11302 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11304 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11306 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11307 if eval test \${$as_ac_var+y}
11309 printf %s "(cached) " >&6
11311 ac_wine_try_cflags_saved=$CFLAGS
11312 ac_wine_try_cflags_saved_exeext=$ac_exeext
11313 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 int __cdecl mainCRTStartup(void) { return 0; }
11319 if ac_fn_c_try_link "$LINENO"
11321 eval "$as_ac_var=yes"
11323 eval "$as_ac_var=no"
11325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11326 conftest$ac_exeext conftest.$ac_ext
11327 CFLAGS=$ac_wine_try_cflags_saved
11328 ac_exeext=$ac_wine_try_cflags_saved_exeext
11330 eval ac_res=\$$as_ac_var
11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11332 printf "%s\n" "$ac_res" >&6; }
11333 if eval test \"x\$"$as_ac_var"\" = x"yes"
11335 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11339 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11341 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11342 if eval test \${$as_ac_var+y}
11344 printf %s "(cached) " >&6
11346 ac_wine_try_cflags_saved=$CFLAGS
11347 ac_wine_try_cflags_saved_exeext=$ac_exeext
11348 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11352 int __cdecl mainCRTStartup(void) { return 0; }
11354 if ac_fn_c_try_link "$LINENO"
11356 eval "$as_ac_var=yes"
11358 eval "$as_ac_var=no"
11360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11361 conftest$ac_exeext conftest.$ac_ext
11362 CFLAGS=$ac_wine_try_cflags_saved
11363 ac_exeext=$ac_wine_try_cflags_saved_exeext
11365 eval ac_res=\$$as_ac_var
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11367 printf "%s\n" "$ac_res" >&6; }
11368 if eval test \"x\$"$as_ac_var"\" = x"yes"
11370 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11372 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11374 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11375 if eval test \${$as_ac_var+y}
11377 printf %s "(cached) " >&6
11379 ac_wine_try_cflags_saved=$CFLAGS
11380 ac_wine_try_cflags_saved_exeext=$ac_exeext
11381 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11385 int __cdecl mainCRTStartup(void) { return 0; }
11387 if ac_fn_c_try_link "$LINENO"
11389 eval "$as_ac_var=yes"
11391 eval "$as_ac_var=no"
11393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11394 conftest$ac_exeext conftest.$ac_ext
11395 CFLAGS=$ac_wine_try_cflags_saved
11396 ac_exeext=$ac_wine_try_cflags_saved_exeext
11398 eval ac_res=\$$as_ac_var
11399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11400 printf "%s\n" "$ac_res" >&6; }
11401 if eval test \"x\$"$as_ac_var"\" = x"yes"
11403 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11405 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11407 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11408 if eval test \${$as_ac_var+y}
11410 printf %s "(cached) " >&6
11412 ac_wine_try_cflags_saved=$CFLAGS
11413 ac_wine_try_cflags_saved_exeext=$ac_exeext
11414 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11418 int __cdecl mainCRTStartup(void) { return 0; }
11420 if ac_fn_c_try_link "$LINENO"
11422 eval "$as_ac_var=yes"
11424 eval "$as_ac_var=no"
11426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11427 conftest$ac_exeext conftest.$ac_ext
11428 CFLAGS=$ac_wine_try_cflags_saved
11429 ac_exeext=$ac_wine_try_cflags_saved_exeext
11431 eval ac_res=\$$as_ac_var
11432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11433 printf "%s\n" "$ac_res" >&6; }
11434 if eval test \"x\$"$as_ac_var"\" = x"yes"
11436 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11438 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11440 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11441 if eval test \${$as_ac_var+y}
11443 printf %s "(cached) " >&6
11445 ac_wine_try_cflags_saved=$CFLAGS
11446 ac_wine_try_cflags_saved_exeext=$ac_exeext
11447 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11451 int __cdecl mainCRTStartup(void) { return 0; }
11453 if ac_fn_c_try_link "$LINENO"
11455 eval "$as_ac_var=yes"
11457 eval "$as_ac_var=no"
11459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11460 conftest$ac_exeext conftest.$ac_ext
11461 CFLAGS=$ac_wine_try_cflags_saved
11462 ac_exeext=$ac_wine_try_cflags_saved_exeext
11464 eval ac_res=\$$as_ac_var
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11466 printf "%s\n" "$ac_res" >&6; }
11467 if eval test \"x\$"$as_ac_var"\" = x"yes"
11469 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11471 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11473 printf %s "checking whether $CC supports -mcx16... " >&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 -mcx16"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11484 int __cdecl mainCRTStartup(void) { return 0; }
11486 if ac_fn_c_try_link "$LINENO"
11488 eval "$as_ac_var=yes"
11490 eval "$as_ac_var=no"
11492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11493 conftest$ac_exeext conftest.$ac_ext
11494 CFLAGS=$ac_wine_try_cflags_saved
11495 ac_exeext=$ac_wine_try_cflags_saved_exeext
11497 eval ac_res=\$$as_ac_var
11498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11499 printf "%s\n" "$ac_res" >&6; }
11500 if eval test \"x\$"$as_ac_var"\" = x"yes"
11502 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11504 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11506 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11507 if eval test \${$as_ac_var+y}
11509 printf %s "(cached) " >&6
11511 ac_wine_try_cflags_saved=$CFLAGS
11512 ac_wine_try_cflags_saved_exeext=$ac_exeext
11513 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11517 int __cdecl mainCRTStartup(void) { return 0; }
11519 if ac_fn_c_try_link "$LINENO"
11521 eval "$as_ac_var=yes"
11523 eval "$as_ac_var=no"
11525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11526 conftest$ac_exeext conftest.$ac_ext
11527 CFLAGS=$ac_wine_try_cflags_saved
11528 ac_exeext=$ac_wine_try_cflags_saved_exeext
11530 eval ac_res=\$$as_ac_var
11531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11532 printf "%s\n" "$ac_res" >&6; }
11533 if eval test \"x\$"$as_ac_var"\" = x"yes"
11535 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11539 wine_crossdebug=$CROSSDEBUG
11540 if test -z "$wine_crossdebug"
11542 for ac_flag in $CFLAGS; do
11544 -gdwarf*) wine_crossdebug=dwarf ;;
11545 -gcodeview) wine_crossdebug=pdb ;;
11546 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11551 ac_debug_format_seen=""
11552 for ac_flag in $CFLAGS; do
11554 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11557 if test "x$ac_debug_format_seen" = x
11559 case $wine_crossdebug in
11560 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11562 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11563 if eval test \${$as_ac_var+y}
11565 printf %s "(cached) " >&6
11567 ac_wine_try_cflags_saved=$CFLAGS
11568 ac_wine_try_cflags_saved_exeext=$ac_exeext
11569 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 int __cdecl mainCRTStartup(void) { return 0; }
11575 if ac_fn_c_try_link "$LINENO"
11577 eval "$as_ac_var=yes"
11579 eval "$as_ac_var=no"
11581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11582 conftest$ac_exeext conftest.$ac_ext
11583 CFLAGS=$ac_wine_try_cflags_saved
11584 ac_exeext=$ac_wine_try_cflags_saved_exeext
11586 eval ac_res=\$$as_ac_var
11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11588 printf "%s\n" "$ac_res" >&6; }
11589 if eval test \"x\$"$as_ac_var"\" = x"yes"
11591 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11593 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11595 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11596 if eval test \${$as_ac_var+y}
11598 printf %s "(cached) " >&6
11600 ac_wine_try_cflags_saved=$CFLAGS
11601 ac_wine_try_cflags_saved_exeext=$ac_exeext
11602 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11606 int __cdecl mainCRTStartup(void) { return 0; }
11608 if ac_fn_c_try_link "$LINENO"
11610 eval "$as_ac_var=yes"
11612 eval "$as_ac_var=no"
11614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11615 conftest$ac_exeext conftest.$ac_ext
11616 CFLAGS=$ac_wine_try_cflags_saved
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 eval ac_res=\$$as_ac_var
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11621 printf "%s\n" "$ac_res" >&6; }
11622 if eval test \"x\$"$as_ac_var"\" = x"yes"
11624 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11628 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11630 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11632 printf %s "checking whether $CC supports -Werror... " >&6; }
11633 if eval test \${$as_ac_var+y}
11635 printf %s "(cached) " >&6
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 int __cdecl mainCRTStartup(void) { return 0; }
11645 if ac_fn_c_try_link "$LINENO"
11647 eval "$as_ac_var=yes"
11649 eval "$as_ac_var=no"
11651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11652 conftest$ac_exeext conftest.$ac_ext
11653 CFLAGS=$ac_wine_try_cflags_saved
11654 ac_exeext=$ac_wine_try_cflags_saved_exeext
11656 eval ac_res=\$$as_ac_var
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11658 printf "%s\n" "$ac_res" >&6; }
11659 if eval test \"x\$"$as_ac_var"\" = x"yes"
11661 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11663 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11665 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11666 if eval test \${$as_ac_var+y}
11668 printf %s "(cached) " >&6
11670 ac_wine_try_cflags_saved=$CFLAGS
11671 ac_wine_try_cflags_saved_exeext=$ac_exeext
11672 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 int __cdecl mainCRTStartup(void) { return 0; }
11678 if ac_fn_c_try_link "$LINENO"
11680 eval "$as_ac_var=yes"
11682 eval "$as_ac_var=no"
11684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11685 conftest$ac_exeext conftest.$ac_ext
11686 CFLAGS=$ac_wine_try_cflags_saved
11687 ac_exeext=$ac_wine_try_cflags_saved_exeext
11689 eval ac_res=\$$as_ac_var
11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11691 printf "%s\n" "$ac_res" >&6; }
11692 if eval test \"x\$"$as_ac_var"\" = x"yes"
11694 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11695 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11699 CFLAGS=$saved_CFLAGS
11700 LDFLAGS=$saved_LDFLAGS
11703 if test $HOST_ARCH = aarch64
11705 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
11710 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11712 case "$host_cpu" in
11714 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11716 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11718 for ac_prog in $ac_prefix_list
11720 # Extract the first word of "$ac_prog", so it can be a program name with args.
11721 set dummy $ac_prog; ac_word=$2
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 printf %s "checking for $ac_word... " >&6; }
11724 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11726 printf %s "(cached) " >&6
11728 if test -n "$MINGW_PKG_CONFIG"; then
11729 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11732 for as_dir in $PATH
11735 case $as_dir in #(((
11738 *) as_dir=$as_dir/ ;;
11740 for ac_exec_ext in '' $ac_executable_extensions; do
11741 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11742 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11752 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11753 if test -n "$MINGW_PKG_CONFIG"; then
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11755 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 printf "%s\n" "no" >&6; }
11762 test -n "$MINGW_PKG_CONFIG" && break
11764 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11766 if ${FAUDIO_PE_CFLAGS:+false} :
11768 if test ${MINGW_PKG_CONFIG+y}
11770 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11773 if ${FAUDIO_PE_LIBS:+false} :
11775 if test ${MINGW_PKG_CONFIG+y}
11777 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11780 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11781 ac_save_CPPFLAGS=$CPPFLAGS
11782 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11784 printf %s "checking for MinGW FAudio.h... " >&6; }
11785 if test ${ac_cv_mingw_header_FAudio_h+y}
11787 printf %s "(cached) " >&6
11789 ac_wine_check_headers_saved_cc=$CC
11790 ac_wine_check_headers_saved_exeext=$ac_exeext
11791 eval CC=\$${wine_arch}_CC
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 #include <FAudio.h>
11805 if ac_fn_c_try_compile "$LINENO"
11807 ac_cv_mingw_header_FAudio_h=yes
11809 ac_cv_mingw_header_FAudio_h=no
11811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11812 CC=$ac_wine_check_headers_saved_cc
11813 ac_exeext=$ac_wine_check_headers_saved_exeext
11815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11816 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11817 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11820 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11821 if test ${ac_cv_mingw_lib_FAudio+y}
11823 printf %s "(cached) " >&6
11825 ac_wine_check_headers_saved_cc=$CC
11826 ac_wine_check_headers_saved_exeext=$ac_exeext
11827 ac_wine_check_headers_saved_libs=$LIBS
11828 eval CC=\$${wine_arch}_CC
11830 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 char FAudio_CommitOperationSet ();
11841 return FAudio_CommitOperationSet ();
11846 if ac_fn_c_try_link "$LINENO"
11848 ac_cv_mingw_lib_FAudio=yes
11850 ac_cv_mingw_lib_FAudio=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11853 conftest$ac_exeext conftest.$ac_ext
11854 CC=$ac_wine_check_headers_saved_cc
11855 ac_exeext=$ac_wine_check_headers_saved_exeext
11856 LIBS=$ac_wine_check_headers_saved_libs
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11859 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11860 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11864 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11867 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11869 CPPFLAGS=$ac_save_CPPFLAGS
11871 if test "x$FAUDIO_PE_LIBS" = "x"
11873 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11876 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11878 if test ${MINGW_PKG_CONFIG+y}
11880 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
11883 if ${FLUIDSYNTH_PE_LIBS:+false} :
11885 if test ${MINGW_PKG_CONFIG+y}
11887 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
11890 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11891 ac_save_CPPFLAGS=$CPPFLAGS
11892 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11894 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11895 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11897 printf %s "(cached) " >&6
11899 ac_wine_check_headers_saved_cc=$CC
11900 ac_wine_check_headers_saved_exeext=$ac_exeext
11901 eval CC=\$${wine_arch}_CC
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 #include <fluidsynth.h>
11915 if ac_fn_c_try_compile "$LINENO"
11917 ac_cv_mingw_header_fluidsynth_h=yes
11919 ac_cv_mingw_header_fluidsynth_h=no
11921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11922 CC=$ac_wine_check_headers_saved_cc
11923 ac_exeext=$ac_wine_check_headers_saved_exeext
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11926 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11927 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11930 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11931 if test ${ac_cv_mingw_lib_fluidsynth+y}
11933 printf %s "(cached) " >&6
11935 ac_wine_check_headers_saved_cc=$CC
11936 ac_wine_check_headers_saved_exeext=$ac_exeext
11937 ac_wine_check_headers_saved_libs=$LIBS
11938 eval CC=\$${wine_arch}_CC
11940 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 char new_fluid_synth ();
11951 return new_fluid_synth ();
11956 if ac_fn_c_try_link "$LINENO"
11958 ac_cv_mingw_lib_fluidsynth=yes
11960 ac_cv_mingw_lib_fluidsynth=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11963 conftest$ac_exeext conftest.$ac_ext
11964 CC=$ac_wine_check_headers_saved_cc
11965 ac_exeext=$ac_wine_check_headers_saved_exeext
11966 LIBS=$ac_wine_check_headers_saved_libs
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11969 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11970 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11974 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11977 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11979 CPPFLAGS=$ac_save_CPPFLAGS
11981 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11983 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11986 if ${JPEG_PE_CFLAGS:+false} :
11988 if test ${MINGW_PKG_CONFIG+y}
11990 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11993 if ${JPEG_PE_LIBS:+false} :
11995 if test ${MINGW_PKG_CONFIG+y}
11997 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12001 ac_save_CPPFLAGS=$CPPFLAGS
12002 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12004 printf %s "checking for MinGW jpeglib.h... " >&6; }
12005 if test ${ac_cv_mingw_header_jpeglib_h+y}
12007 printf %s "(cached) " >&6
12009 ac_wine_check_headers_saved_cc=$CC
12010 ac_wine_check_headers_saved_exeext=$ac_exeext
12011 eval CC=\$${wine_arch}_CC
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <stddef.h>
12017 #include <jpeglib.h>
12026 if ac_fn_c_try_compile "$LINENO"
12028 ac_cv_mingw_header_jpeglib_h=yes
12030 ac_cv_mingw_header_jpeglib_h=no
12032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12033 CC=$ac_wine_check_headers_saved_cc
12034 ac_exeext=$ac_wine_check_headers_saved_exeext
12036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12037 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12038 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12041 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12042 if test ${ac_cv_mingw_lib_jpeg+y}
12044 printf %s "(cached) " >&6
12046 ac_wine_check_headers_saved_cc=$CC
12047 ac_wine_check_headers_saved_exeext=$ac_exeext
12048 ac_wine_check_headers_saved_libs=$LIBS
12049 eval CC=\$${wine_arch}_CC
12051 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 char jpeg_start_decompress ();
12062 return jpeg_start_decompress ();
12067 if ac_fn_c_try_link "$LINENO"
12069 ac_cv_mingw_lib_jpeg=yes
12071 ac_cv_mingw_lib_jpeg=no
12073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12074 conftest$ac_exeext conftest.$ac_ext
12075 CC=$ac_wine_check_headers_saved_cc
12076 ac_exeext=$ac_wine_check_headers_saved_exeext
12077 LIBS=$ac_wine_check_headers_saved_libs
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12080 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12081 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12085 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12088 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12090 CPPFLAGS=$ac_save_CPPFLAGS
12092 if test "x$JPEG_PE_LIBS" = "x"
12094 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12097 if ${LCMS2_PE_CFLAGS:+false} :
12099 if test ${MINGW_PKG_CONFIG+y}
12101 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12104 if ${LCMS2_PE_LIBS:+false} :
12106 if test ${MINGW_PKG_CONFIG+y}
12108 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12111 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12112 ac_save_CPPFLAGS=$CPPFLAGS
12113 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12115 printf %s "checking for MinGW lcms2.h... " >&6; }
12116 if test ${ac_cv_mingw_header_lcms2_h+y}
12118 printf %s "(cached) " >&6
12120 ac_wine_check_headers_saved_cc=$CC
12121 ac_wine_check_headers_saved_exeext=$ac_exeext
12122 eval CC=\$${wine_arch}_CC
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12136 if ac_fn_c_try_compile "$LINENO"
12138 ac_cv_mingw_header_lcms2_h=yes
12140 ac_cv_mingw_header_lcms2_h=no
12142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12143 CC=$ac_wine_check_headers_saved_cc
12144 ac_exeext=$ac_wine_check_headers_saved_exeext
12146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12147 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12148 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12151 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12152 if test ${ac_cv_mingw_lib_lcms2+y}
12154 printf %s "(cached) " >&6
12156 ac_wine_check_headers_saved_cc=$CC
12157 ac_wine_check_headers_saved_exeext=$ac_exeext
12158 ac_wine_check_headers_saved_libs=$LIBS
12159 eval CC=\$${wine_arch}_CC
12161 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12168 char cmsOpenProfileFromFile ();
12172 return cmsOpenProfileFromFile ();
12177 if ac_fn_c_try_link "$LINENO"
12179 ac_cv_mingw_lib_lcms2=yes
12181 ac_cv_mingw_lib_lcms2=no
12183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12184 conftest$ac_exeext conftest.$ac_ext
12185 CC=$ac_wine_check_headers_saved_cc
12186 ac_exeext=$ac_wine_check_headers_saved_exeext
12187 LIBS=$ac_wine_check_headers_saved_libs
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12190 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12191 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12195 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12198 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12200 CPPFLAGS=$ac_save_CPPFLAGS
12202 if test "x$LCMS2_PE_LIBS" = "x"
12204 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12207 if ${MPG123_PE_CFLAGS:+false} :
12209 if test ${MINGW_PKG_CONFIG+y}
12211 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12214 if ${MPG123_PE_LIBS:+false} :
12216 if test ${MINGW_PKG_CONFIG+y}
12218 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12221 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12222 ac_save_CPPFLAGS=$CPPFLAGS
12223 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12225 printf %s "checking for MinGW mpg123.h... " >&6; }
12226 if test ${ac_cv_mingw_header_mpg123_h+y}
12228 printf %s "(cached) " >&6
12230 ac_wine_check_headers_saved_cc=$CC
12231 ac_wine_check_headers_saved_exeext=$ac_exeext
12232 eval CC=\$${wine_arch}_CC
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12237 #include <mpg123.h>
12246 if ac_fn_c_try_compile "$LINENO"
12248 ac_cv_mingw_header_mpg123_h=yes
12250 ac_cv_mingw_header_mpg123_h=no
12252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12253 CC=$ac_wine_check_headers_saved_cc
12254 ac_exeext=$ac_wine_check_headers_saved_exeext
12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12257 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12258 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12261 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12262 if test ${ac_cv_mingw_lib_mpg123+y}
12264 printf %s "(cached) " >&6
12266 ac_wine_check_headers_saved_cc=$CC
12267 ac_wine_check_headers_saved_exeext=$ac_exeext
12268 ac_wine_check_headers_saved_libs=$LIBS
12269 eval CC=\$${wine_arch}_CC
12271 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 char mpg123_feed ();
12282 return mpg123_feed ();
12287 if ac_fn_c_try_link "$LINENO"
12289 ac_cv_mingw_lib_mpg123=yes
12291 ac_cv_mingw_lib_mpg123=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12294 conftest$ac_exeext conftest.$ac_ext
12295 CC=$ac_wine_check_headers_saved_cc
12296 ac_exeext=$ac_wine_check_headers_saved_exeext
12297 LIBS=$ac_wine_check_headers_saved_libs
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12300 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12301 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12305 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12308 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12310 CPPFLAGS=$ac_save_CPPFLAGS
12312 if test "x$MPG123_PE_LIBS" = "x"
12314 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12317 if ${PNG_PE_CFLAGS:+false} :
12319 if test ${MINGW_PKG_CONFIG+y}
12321 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12324 if ${PNG_PE_LIBS:+false} :
12326 if test ${MINGW_PKG_CONFIG+y}
12328 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12332 ac_save_CPPFLAGS=$CPPFLAGS
12333 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12335 printf %s "checking for MinGW png.h... " >&6; }
12336 if test ${ac_cv_mingw_header_png_h+y}
12338 printf %s "(cached) " >&6
12340 ac_wine_check_headers_saved_cc=$CC
12341 ac_wine_check_headers_saved_exeext=$ac_exeext
12342 eval CC=\$${wine_arch}_CC
12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12356 if ac_fn_c_try_compile "$LINENO"
12358 ac_cv_mingw_header_png_h=yes
12360 ac_cv_mingw_header_png_h=no
12362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12363 CC=$ac_wine_check_headers_saved_cc
12364 ac_exeext=$ac_wine_check_headers_saved_exeext
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12367 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12368 if test "x$ac_cv_mingw_header_png_h" = xyes
12370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12371 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12372 if test ${ac_cv_mingw_lib_png+y}
12374 printf %s "(cached) " >&6
12376 ac_wine_check_headers_saved_cc=$CC
12377 ac_wine_check_headers_saved_exeext=$ac_exeext
12378 ac_wine_check_headers_saved_libs=$LIBS
12379 eval CC=\$${wine_arch}_CC
12381 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12388 char png_create_read_struct ();
12392 return png_create_read_struct ();
12397 if ac_fn_c_try_link "$LINENO"
12399 ac_cv_mingw_lib_png=yes
12401 ac_cv_mingw_lib_png=no
12403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12404 conftest$ac_exeext conftest.$ac_ext
12405 CC=$ac_wine_check_headers_saved_cc
12406 ac_exeext=$ac_wine_check_headers_saved_exeext
12407 LIBS=$ac_wine_check_headers_saved_libs
12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12410 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12411 if test "x$ac_cv_mingw_lib_png" = xyes
12415 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12418 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12420 CPPFLAGS=$ac_save_CPPFLAGS
12422 if test "x$PNG_PE_LIBS" = "x"
12424 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12427 if ${TIFF_PE_CFLAGS:+false} :
12429 if test ${MINGW_PKG_CONFIG+y}
12431 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12434 if ${TIFF_PE_LIBS:+false} :
12436 if test ${MINGW_PKG_CONFIG+y}
12438 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12442 ac_save_CPPFLAGS=$CPPFLAGS
12443 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12445 printf %s "checking for MinGW tiffio.h... " >&6; }
12446 if test ${ac_cv_mingw_header_tiffio_h+y}
12448 printf %s "(cached) " >&6
12450 ac_wine_check_headers_saved_cc=$CC
12451 ac_wine_check_headers_saved_exeext=$ac_exeext
12452 eval CC=\$${wine_arch}_CC
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 #include <tiffio.h>
12466 if ac_fn_c_try_compile "$LINENO"
12468 ac_cv_mingw_header_tiffio_h=yes
12470 ac_cv_mingw_header_tiffio_h=no
12472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12473 CC=$ac_wine_check_headers_saved_cc
12474 ac_exeext=$ac_wine_check_headers_saved_exeext
12476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12477 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12478 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12481 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12482 if test ${ac_cv_mingw_lib_tiff+y}
12484 printf %s "(cached) " >&6
12486 ac_wine_check_headers_saved_cc=$CC
12487 ac_wine_check_headers_saved_exeext=$ac_exeext
12488 ac_wine_check_headers_saved_libs=$LIBS
12489 eval CC=\$${wine_arch}_CC
12491 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 char TIFFClientOpen ();
12502 return TIFFClientOpen ();
12507 if ac_fn_c_try_link "$LINENO"
12509 ac_cv_mingw_lib_tiff=yes
12511 ac_cv_mingw_lib_tiff=no
12513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12514 conftest$ac_exeext conftest.$ac_ext
12515 CC=$ac_wine_check_headers_saved_cc
12516 ac_exeext=$ac_wine_check_headers_saved_exeext
12517 LIBS=$ac_wine_check_headers_saved_libs
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12520 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12521 if test "x$ac_cv_mingw_lib_tiff" = xyes
12525 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12528 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12530 CPPFLAGS=$ac_save_CPPFLAGS
12532 if test "x$TIFF_PE_LIBS" = "x"
12534 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12537 if ${XML2_PE_CFLAGS:+false} :
12539 if test ${MINGW_PKG_CONFIG+y}
12541 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12544 if ${XML2_PE_LIBS:+false} :
12546 if test ${MINGW_PKG_CONFIG+y}
12548 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12551 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12552 ac_save_CPPFLAGS=$CPPFLAGS
12553 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12555 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12556 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12558 printf %s "(cached) " >&6
12560 ac_wine_check_headers_saved_cc=$CC
12561 ac_wine_check_headers_saved_exeext=$ac_exeext
12562 eval CC=\$${wine_arch}_CC
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12567 #include <libxml/parser.h>
12576 if ac_fn_c_try_compile "$LINENO"
12578 ac_cv_mingw_header_libxml_parser_h=yes
12580 ac_cv_mingw_header_libxml_parser_h=no
12582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12583 CC=$ac_wine_check_headers_saved_cc
12584 ac_exeext=$ac_wine_check_headers_saved_exeext
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12587 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12588 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12593 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12594 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12596 printf %s "(cached) " >&6
12598 ac_wine_check_headers_saved_cc=$CC
12599 ac_wine_check_headers_saved_exeext=$ac_exeext
12600 eval CC=\$${wine_arch}_CC
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 #include <libxml/xmlsave.h>
12614 if ac_fn_c_try_compile "$LINENO"
12616 ac_cv_mingw_header_libxml_xmlsave_h=yes
12618 ac_cv_mingw_header_libxml_xmlsave_h=no
12620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12621 CC=$ac_wine_check_headers_saved_cc
12622 ac_exeext=$ac_wine_check_headers_saved_exeext
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12625 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12626 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12631 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12632 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12634 printf %s "(cached) " >&6
12636 ac_wine_check_headers_saved_cc=$CC
12637 ac_wine_check_headers_saved_exeext=$ac_exeext
12638 eval CC=\$${wine_arch}_CC
12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12643 #include <libxml/SAX2.h>
12652 if ac_fn_c_try_compile "$LINENO"
12654 ac_cv_mingw_header_libxml_SAX2_h=yes
12656 ac_cv_mingw_header_libxml_SAX2_h=no
12658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12659 CC=$ac_wine_check_headers_saved_cc
12660 ac_exeext=$ac_wine_check_headers_saved_exeext
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12663 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12664 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12668 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"
12670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12671 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12672 if test ${ac_cv_mingw_lib_xml2+y}
12674 printf %s "(cached) " >&6
12676 ac_wine_check_headers_saved_cc=$CC
12677 ac_wine_check_headers_saved_exeext=$ac_exeext
12678 ac_wine_check_headers_saved_libs=$LIBS
12679 eval CC=\$${wine_arch}_CC
12681 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12688 char xmlFirstElementChild ();
12692 return xmlFirstElementChild ();
12697 if ac_fn_c_try_link "$LINENO"
12699 ac_cv_mingw_lib_xml2=yes
12701 ac_cv_mingw_lib_xml2=no
12703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12704 conftest$ac_exeext conftest.$ac_ext
12705 CC=$ac_wine_check_headers_saved_cc
12706 ac_exeext=$ac_wine_check_headers_saved_exeext
12707 LIBS=$ac_wine_check_headers_saved_libs
12709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12710 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12711 if test "x$ac_cv_mingw_lib_xml2" = xyes
12715 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12721 CPPFLAGS=$ac_save_CPPFLAGS
12723 if test "x$XML2_PE_LIBS" = "x"
12725 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12728 if ${XSLT_PE_CFLAGS:+false} :
12730 if test ${MINGW_PKG_CONFIG+y}
12732 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12735 if ${XSLT_PE_LIBS:+false} :
12737 if test ${MINGW_PKG_CONFIG+y}
12739 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12742 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12743 ac_save_CPPFLAGS=$CPPFLAGS
12744 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12746 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12747 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12749 printf %s "(cached) " >&6
12751 ac_wine_check_headers_saved_cc=$CC
12752 ac_wine_check_headers_saved_exeext=$ac_exeext
12753 eval CC=\$${wine_arch}_CC
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 #include <libxslt/pattern.h>
12767 if ac_fn_c_try_compile "$LINENO"
12769 ac_cv_mingw_header_libxslt_pattern_h=yes
12771 ac_cv_mingw_header_libxslt_pattern_h=no
12773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12774 CC=$ac_wine_check_headers_saved_cc
12775 ac_exeext=$ac_wine_check_headers_saved_exeext
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12778 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12779 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12784 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12785 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12787 printf %s "(cached) " >&6
12789 ac_wine_check_headers_saved_cc=$CC
12790 ac_wine_check_headers_saved_exeext=$ac_exeext
12791 eval CC=\$${wine_arch}_CC
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 #include <libxslt/transform.h>
12805 if ac_fn_c_try_compile "$LINENO"
12807 ac_cv_mingw_header_libxslt_transform_h=yes
12809 ac_cv_mingw_header_libxslt_transform_h=no
12811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12812 CC=$ac_wine_check_headers_saved_cc
12813 ac_exeext=$ac_wine_check_headers_saved_exeext
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12816 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12817 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12821 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12824 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12825 if test ${ac_cv_mingw_lib_xslt+y}
12827 printf %s "(cached) " >&6
12829 ac_wine_check_headers_saved_cc=$CC
12830 ac_wine_check_headers_saved_exeext=$ac_exeext
12831 ac_wine_check_headers_saved_libs=$LIBS
12832 eval CC=\$${wine_arch}_CC
12834 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 /* Override any GCC internal prototype to avoid an error.
12839 Use char because int might match the return type of a GCC
12840 builtin and then its argument prototype would still apply. */
12841 char xsltCompilePattern ();
12845 return xsltCompilePattern ();
12850 if ac_fn_c_try_link "$LINENO"
12852 ac_cv_mingw_lib_xslt=yes
12854 ac_cv_mingw_lib_xslt=no
12856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12857 conftest$ac_exeext conftest.$ac_ext
12858 CC=$ac_wine_check_headers_saved_cc
12859 ac_exeext=$ac_wine_check_headers_saved_exeext
12860 LIBS=$ac_wine_check_headers_saved_libs
12862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12863 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12864 if test "x$ac_cv_mingw_lib_xslt" = xyes
12868 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12874 CPPFLAGS=$ac_save_CPPFLAGS
12876 if test "x$XSLT_PE_LIBS" = "x"
12878 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12881 if ${VKD3D_PE_CFLAGS:+false} :
12883 if test ${MINGW_PKG_CONFIG+y}
12885 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12888 if ${VKD3D_PE_LIBS:+false} :
12890 if test ${MINGW_PKG_CONFIG+y}
12892 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12895 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12896 ac_save_CPPFLAGS=$CPPFLAGS
12897 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12899 printf %s "checking for MinGW vkd3d.h... " >&6; }
12900 if test ${ac_cv_mingw_header_vkd3d_h+y}
12902 printf %s "(cached) " >&6
12904 ac_wine_check_headers_saved_cc=$CC
12905 ac_wine_check_headers_saved_exeext=$ac_exeext
12906 eval CC=\$${wine_arch}_CC
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12920 if ac_fn_c_try_compile "$LINENO"
12922 ac_cv_mingw_header_vkd3d_h=yes
12924 ac_cv_mingw_header_vkd3d_h=no
12926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12927 CC=$ac_wine_check_headers_saved_cc
12928 ac_exeext=$ac_wine_check_headers_saved_exeext
12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12931 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12932 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12937 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12938 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12940 printf %s "(cached) " >&6
12942 ac_wine_check_headers_saved_cc=$CC
12943 ac_wine_check_headers_saved_exeext=$ac_exeext
12944 eval CC=\$${wine_arch}_CC
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 #include <vkd3d_shader.h>
12958 if ac_fn_c_try_compile "$LINENO"
12960 ac_cv_mingw_header_vkd3d_shader_h=yes
12962 ac_cv_mingw_header_vkd3d_shader_h=no
12964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12965 CC=$ac_wine_check_headers_saved_cc
12966 ac_exeext=$ac_wine_check_headers_saved_exeext
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12969 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12970 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12974 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12977 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12978 if test ${ac_cv_mingw_lib_vkd3d+y}
12980 printf %s "(cached) " >&6
12982 ac_wine_check_headers_saved_cc=$CC
12983 ac_wine_check_headers_saved_exeext=$ac_exeext
12984 ac_wine_check_headers_saved_libs=$LIBS
12985 eval CC=\$${wine_arch}_CC
12987 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 char vkd3d_set_log_callback ();
12998 return vkd3d_set_log_callback ();
13003 if ac_fn_c_try_link "$LINENO"
13005 ac_cv_mingw_lib_vkd3d=yes
13007 ac_cv_mingw_lib_vkd3d=no
13009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13010 conftest$ac_exeext conftest.$ac_ext
13011 CC=$ac_wine_check_headers_saved_cc
13012 ac_exeext=$ac_wine_check_headers_saved_exeext
13013 LIBS=$ac_wine_check_headers_saved_libs
13015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13016 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13017 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13024 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13025 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13027 printf %s "(cached) " >&6
13029 ac_wine_check_headers_saved_cc=$CC
13030 ac_wine_check_headers_saved_exeext=$ac_exeext
13031 ac_wine_check_headers_saved_libs=$LIBS
13032 eval CC=\$${wine_arch}_CC
13034 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 /* Override any GCC internal prototype to avoid an error.
13039 Use char because int might match the return type of a GCC
13040 builtin and then its argument prototype would still apply. */
13041 char vkd3d_shader_serialize_dxbc ();
13045 return vkd3d_shader_serialize_dxbc ();
13050 if ac_fn_c_try_link "$LINENO"
13052 ac_cv_mingw_lib_vkd3d_shader=yes
13054 ac_cv_mingw_lib_vkd3d_shader=no
13056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13057 conftest$ac_exeext conftest.$ac_ext
13058 CC=$ac_wine_check_headers_saved_cc
13059 ac_exeext=$ac_wine_check_headers_saved_exeext
13060 LIBS=$ac_wine_check_headers_saved_libs
13062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13063 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13064 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13070 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13079 CPPFLAGS=$ac_save_CPPFLAGS
13081 if test "x$VKD3D_PE_LIBS" = "x"
13083 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13086 if ${ZLIB_PE_CFLAGS:+false} :
13088 if test ${MINGW_PKG_CONFIG+y}
13090 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13093 if ${ZLIB_PE_LIBS:+false} :
13095 if test ${MINGW_PKG_CONFIG+y}
13097 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13100 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13101 ac_save_CPPFLAGS=$CPPFLAGS
13102 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13104 printf %s "checking for MinGW zlib.h... " >&6; }
13105 if test ${ac_cv_mingw_header_zlib_h+y}
13107 printf %s "(cached) " >&6
13109 ac_wine_check_headers_saved_cc=$CC
13110 ac_wine_check_headers_saved_exeext=$ac_exeext
13111 eval CC=\$${wine_arch}_CC
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13125 if ac_fn_c_try_compile "$LINENO"
13127 ac_cv_mingw_header_zlib_h=yes
13129 ac_cv_mingw_header_zlib_h=no
13131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13132 CC=$ac_wine_check_headers_saved_cc
13133 ac_exeext=$ac_wine_check_headers_saved_exeext
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13136 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13137 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13140 printf %s "checking for inflate in MinGW -lz... " >&6; }
13141 if test ${ac_cv_mingw_lib_z+y}
13143 printf %s "(cached) " >&6
13145 ac_wine_check_headers_saved_cc=$CC
13146 ac_wine_check_headers_saved_exeext=$ac_exeext
13147 ac_wine_check_headers_saved_libs=$LIBS
13148 eval CC=\$${wine_arch}_CC
13150 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13166 if ac_fn_c_try_link "$LINENO"
13168 ac_cv_mingw_lib_z=yes
13170 ac_cv_mingw_lib_z=no
13172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13173 conftest$ac_exeext conftest.$ac_ext
13174 CC=$ac_wine_check_headers_saved_cc
13175 ac_exeext=$ac_wine_check_headers_saved_exeext
13176 LIBS=$ac_wine_check_headers_saved_libs
13178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13179 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13180 if test "x$ac_cv_mingw_lib_z" = xyes
13184 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13187 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13189 CPPFLAGS=$ac_save_CPPFLAGS
13191 if test "x$ZLIB_PE_LIBS" = "x"
13193 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13197 if ${FAUDIO_PE_LIBS:+false} :
13199 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13200 if ${FAUDIO_PE_CFLAGS:+false} :
13202 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13212 if ${FLUIDSYNTH_PE_LIBS:+false} :
13214 FLUIDSYNTH_PE_LIBS="fluidsynth"
13215 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13217 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13219 enable_fluidsynth=no
13222 enable_fluidsynth=no
13224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13227 if ${GSM_PE_LIBS:+false} :
13230 if ${GSM_PE_CFLAGS:+false} :
13232 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13242 if ${JPEG_PE_LIBS:+false} :
13245 if ${JPEG_PE_CFLAGS:+false} :
13247 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13257 if ${JXR_PE_LIBS:+false} :
13260 if ${JXR_PE_CFLAGS:+false} :
13262 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13272 if ${LCMS2_PE_LIBS:+false} :
13274 LCMS2_PE_LIBS=lcms2
13275 if ${LCMS2_PE_CFLAGS:+false} :
13277 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13287 if ${LDAP_PE_LIBS:+false} :
13290 if ${LDAP_PE_CFLAGS:+false} :
13292 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13302 if ${MPG123_PE_LIBS:+false} :
13304 MPG123_PE_LIBS=mpg123
13305 if ${MPG123_PE_CFLAGS:+false} :
13307 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13317 if ${MUSL_PE_LIBS:+false} :
13320 if ${MUSL_PE_CFLAGS:+false} :
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13332 if ${PNG_PE_LIBS:+false} :
13334 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13335 if ${PNG_PE_CFLAGS:+false} :
13337 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13347 if ${TIFF_PE_LIBS:+false} :
13349 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13350 if ${TIFF_PE_CFLAGS:+false} :
13352 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13362 if ${VKD3D_PE_LIBS:+false} :
13364 VKD3D_PE_LIBS=vkd3d
13365 if ${VKD3D_PE_CFLAGS:+false} :
13367 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13377 if ${XML2_PE_LIBS:+false} :
13380 if ${XML2_PE_CFLAGS:+false} :
13382 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13392 if ${XSLT_PE_LIBS:+false} :
13395 if ${XSLT_PE_CFLAGS:+false} :
13397 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13407 if ${ZLIB_PE_LIBS:+false} :
13410 if ${ZLIB_PE_CFLAGS:+false} :
13412 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13422 if ${ZYDIS_PE_LIBS:+false} :
13424 ZYDIS_PE_LIBS=zydis
13425 if ${ZYDIS_PE_CFLAGS:+false} :
13427 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13439 if test "$ac_cv_header_pthread_h" = "yes"
13441 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13442 if test "x$ac_cv_func_pthread_create" = xyes
13446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13447 printf %s "checking for pthread_create in -lpthread... " >&6; }
13448 if test ${ac_cv_lib_pthread_pthread_create+y}
13450 printf %s "(cached) " >&6
13452 ac_check_lib_save_LIBS=$LIBS
13453 LIBS="-lpthread $LIBS"
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 /* Override any GCC internal prototype to avoid an error.
13458 Use char because int might match the return type of a GCC
13459 builtin and then its argument prototype would still apply. */
13460 char pthread_create ();
13464 return pthread_create ();
13469 if ac_fn_c_try_link "$LINENO"
13471 ac_cv_lib_pthread_pthread_create=yes
13473 ac_cv_lib_pthread_pthread_create=no
13475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13476 conftest$ac_exeext conftest.$ac_ext
13477 LIBS=$ac_check_lib_save_LIBS
13479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13480 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13481 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13483 PTHREAD_LIBS="-lpthread"
13490 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13492 case "x$with_pthread" in
13494 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13495 Wine cannot support threads without libpthread.
13496 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13508 printf %s "checking how to run the C preprocessor... " >&6; }
13509 # On Suns, sometimes $CPP names a directory.
13510 if test -n "$CPP" && test -d "$CPP"; then
13513 if test -z "$CPP"; then
13514 if test ${ac_cv_prog_CPP+y}
13516 printf %s "(cached) " >&6
13518 # Double quotes because $CC needs to be expanded
13519 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13521 ac_preproc_ok=false
13522 for ac_c_preproc_warn_flag in '' yes
13524 # Use a header file that comes with gcc, so configuring glibc
13525 # with a fresh cross-compiler works.
13526 # On the NeXT, cc -E runs the code through the compiler's parser,
13527 # not just through cpp. "Syntax error" is here to catch this case.
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 #include <limits.h>
13533 if ac_fn_c_try_cpp "$LINENO"
13537 # Broken: fails on valid input.
13540 rm -f conftest.err conftest.i conftest.$ac_ext
13542 # OK, works on sane cases. Now check whether nonexistent headers
13543 # can be detected and how.
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 #include <ac_nonexistent.h>
13548 if ac_fn_c_try_cpp "$LINENO"
13550 # Broken: success on invalid input.
13553 # Passes both tests.
13557 rm -f conftest.err conftest.i conftest.$ac_ext
13560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13561 rm -f conftest.i conftest.err conftest.
$ac_ext
13568 ac_cv_prog_CPP
=$CPP
13571 CPP
=$ac_cv_prog_CPP
13573 ac_cv_prog_CPP
=$CPP
13575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13576 printf "%s\n" "$CPP" >&6; }
13577 ac_preproc_ok
=false
13578 for ac_c_preproc_warn_flag
in '' yes
13580 # Use a header file that comes with gcc, so configuring glibc
13581 # with a fresh cross-compiler works.
13582 # On the NeXT, cc -E runs the code through the compiler's parser,
13583 # not just through cpp. "Syntax error" is here to catch this case.
13584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 #include <limits.h>
13589 if ac_fn_c_try_cpp
"$LINENO"
13593 # Broken: fails on valid input.
13596 rm -f conftest.err conftest.i conftest.
$ac_ext
13598 # OK, works on sane cases. Now check whether nonexistent headers
13599 # can be detected and how.
13600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <ac_nonexistent.h>
13604 if ac_fn_c_try_cpp
"$LINENO"
13606 # Broken: success on invalid input.
13609 # Passes both tests.
13613 rm -f conftest.err conftest.i conftest.
$ac_ext
13616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13617 rm -f conftest.i conftest.err conftest.
$ac_ext
13622 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13623 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13624 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13625 See \`config.log' for more details" "$LINENO" 5; }
13629 ac_cpp
='$CPP $CPPFLAGS'
13630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13636 printf %s
"checking for X... " >&6; }
13639 # Check whether --with-x was given.
13640 if test ${with_x+y}
13645 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13646 if test "x$with_x" = xno
; then
13647 # The user explicitly disabled X.
13650 case $x_includes,$x_libraries in #(
13651 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13652 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13654 printf %s
"(cached) " >&6
13656 # One or both of the vars are not set, and there is no cached value.
13659 # Do we need to do anything special at all?
13662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13664 #include <X11/Xlib.h>
13673 if ac_fn_c_try_link
"$LINENO"
13675 # We can compile and link X programs with no special options.
13679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13680 conftest
$ac_exeext conftest.
$ac_ext
13681 LIBS
="$ac_save_LIBS"
13682 # If that didn't work, only try xmkmf and file system searches
13683 # for native compilation.
13684 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13686 rm -f -r conftest.dir
13687 if mkdir conftest.dir
; then
13689 cat >Imakefile
<<'_ACEOF'
13691 @echo incroot='${INCROOT}'
13693 @echo usrlibdir='${USRLIBDIR}'
13695 @echo libdir='${LIBDIR}'
13697 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13699 for ac_var
in incroot usrlibdir libdir
; do
13700 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13702 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13703 for ac_extension
in a so sl dylib la dll
; do
13704 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13705 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13706 ac_im_usrlibdir
=$ac_im_libdir; break
13709 # Screen out bogus values from the imake configuration. They are
13710 # bogus both because they are the default anyway, and because
13711 # using them would break gcc on systems where it needs fixed includes.
13712 case $ac_im_incroot in
13713 /usr
/include
) ac_x_includes
= ;;
13714 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13716 case $ac_im_usrlibdir in
13717 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13718 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13722 rm -f -r conftest.dir
13725 # Standard set of common directories for X headers.
13726 # Check X11 before X11Rn because it is often a symlink to the current release.
13740 /usr/local/X11/include
13741 /usr/local/X11R7/include
13742 /usr/local/X11R6/include
13743 /usr/local/X11R5/include
13744 /usr/local/X11R4/include
13746 /usr/local/include/X11
13747 /usr/local/include/X11R7
13748 /usr/local/include/X11R6
13749 /usr/local/include/X11R5
13750 /usr/local/include/X11R4
13756 /usr/XFree86/include/X11
13760 /usr/unsupported/include
13761 /usr/athena/include
13762 /usr/local/x11r5/include
13763 /usr/lpp/Xamples/include
13765 /usr/openwin/include
13766 /usr/openwin/share/include'
13768 if test "$ac_x_includes" = no
; then
13769 # Guess where to find include files, by looking for Xlib.h.
13770 # First, try using that file with no special directory specified.
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 #include <X11/Xlib.h>
13775 if ac_fn_c_try_cpp
"$LINENO"
13777 # We can compile using X headers with no special include directory.
13780 for ac_dir
in $ac_x_header_dirs; do
13781 if test -r "$ac_dir/X11/Xlib.h"; then
13782 ac_x_includes
=$ac_dir
13787 rm -f conftest.err conftest.i conftest.
$ac_ext
13788 fi # $ac_x_includes = no
13790 if test "$ac_x_libraries" = no
; then
13791 # Check for the libraries.
13792 # See if we find them without any special options.
13793 # Don't add to $LIBS permanently.
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 #include <X11/Xlib.h>
13807 if ac_fn_c_try_link
"$LINENO"
13810 # We can link X programs with no special library path.
13814 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13816 # Don't even attempt the hair of trying to link an X program!
13817 for ac_extension
in a so sl dylib la dll
; do
13818 if test -r "$ac_dir/libX11.$ac_extension"; then
13819 ac_x_libraries
=$ac_dir
13825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13826 conftest
$ac_exeext conftest.
$ac_ext
13827 fi # $ac_x_libraries = no
13830 # Record the results.
13831 case $ac_x_includes,$ac_x_libraries in #(
13832 no
,* |
*,no |
*\'*) :
13833 # Didn't find X, or a directory has "'" in its name.
13834 ac_cv_have_x
="have_x=no" ;; #(
13836 # Record where we found X for the cache.
13837 ac_cv_have_x
="have_x=yes\
13838 ac_x_includes='$ac_x_includes'\
13839 ac_x_libraries='$ac_x_libraries'" ;;
13845 eval "$ac_cv_have_x"
13848 if test "$have_x" != yes; then
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13850 printf "%s\n" "$have_x" >&6; }
13853 # If each of the values was on the command line, it overrides each guess.
13854 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13855 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13856 # Update the cache value to reflect the command line values.
13857 ac_cv_have_x
="have_x=yes\
13858 ac_x_includes='$x_includes'\
13859 ac_x_libraries='$x_libraries'"
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13861 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13864 if test "$no_x" = yes; then
13865 # Not all programs may use this symbol, but it does not hurt to define it.
13867 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13869 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13871 if test -n "$x_includes"; then
13872 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13875 # It would also be nice to do this for all -L options, not just this one.
13876 if test -n "$x_libraries"; then
13877 X_LIBS
="$X_LIBS -L$x_libraries"
13878 # For Solaris; some versions of Sun CC require a space after -R and
13879 # others require no space. Words are not sufficient . . . .
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13881 printf %s
"checking whether -R must be followed by a space... " >&6; }
13882 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13883 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13884 ac_c_werror_flag
=yes
13885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13896 if ac_fn_c_try_link
"$LINENO"
13898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13899 printf "%s\n" "no" >&6; }
13900 X_LIBS
="$X_LIBS -R$x_libraries"
13902 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13914 if ac_fn_c_try_link
"$LINENO"
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13917 printf "%s\n" "yes" >&6; }
13918 X_LIBS
="$X_LIBS -R $x_libraries"
13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13921 printf "%s\n" "neither works" >&6; }
13923 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13924 conftest
$ac_exeext conftest.
$ac_ext
13926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13927 conftest
$ac_exeext conftest.
$ac_ext
13928 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13929 LIBS
=$ac_xsave_LIBS
13932 # Check for system-dependent libraries X programs must link with.
13933 # Do this before checking for the system-independent R6 libraries
13934 # (-lICE), since we may need -lsocket or whatever for X linking.
13936 if test "$ISC" = yes; then
13937 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13939 # Martyn Johnson says this is needed for Ultrix, if the X
13940 # libraries were built with DECnet support. And Karl Berry says
13941 # the Alpha needs dnet_stub (dnet does not exist).
13942 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13946 /* Override any GCC internal prototype to avoid an error.
13947 Use char because int might match the return type of a GCC
13948 builtin and then its argument prototype would still apply. */
13949 char XOpenDisplay ();
13953 return XOpenDisplay ();
13958 if ac_fn_c_try_link
"$LINENO"
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13963 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13964 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13966 printf %s
"(cached) " >&6
13968 ac_check_lib_save_LIBS
=$LIBS
13969 LIBS
="-ldnet $LIBS"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13980 return dnet_ntoa ();
13985 if ac_fn_c_try_link
"$LINENO"
13987 ac_cv_lib_dnet_dnet_ntoa
=yes
13989 ac_cv_lib_dnet_dnet_ntoa
=no
13991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 LIBS
=$ac_check_lib_save_LIBS
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13996 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13997 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14002 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14004 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14005 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14007 printf %s
"(cached) " >&6
14009 ac_check_lib_save_LIBS
=$LIBS
14010 LIBS
="-ldnet_stub $LIBS"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14021 return dnet_ntoa ();
14026 if ac_fn_c_try_link
"$LINENO"
14028 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14030 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14032 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14033 conftest
$ac_exeext conftest.
$ac_ext
14034 LIBS
=$ac_check_lib_save_LIBS
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14037 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14038 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14045 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 LIBS
="$ac_xsave_LIBS"
14049 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14050 # to get the SysV transport functions.
14051 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14053 # The nsl library prevents programs from opening the X display
14054 # on Irix 5.2, according to T.E. Dickey.
14055 # The functions gethostbyname, getservbyname, and inet_addr are
14056 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14057 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14058 if test "x$ac_cv_func_gethostbyname" = xyes
14063 if test $ac_cv_func_gethostbyname = no
; then
14064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14065 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14066 if test ${ac_cv_lib_nsl_gethostbyname+y}
14068 printf %s
"(cached) " >&6
14070 ac_check_lib_save_LIBS
=$LIBS
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14075 /* Override any GCC internal prototype to avoid an error.
14076 Use char because int might match the return type of a GCC
14077 builtin and then its argument prototype would still apply. */
14078 char gethostbyname ();
14082 return gethostbyname ();
14087 if ac_fn_c_try_link
"$LINENO"
14089 ac_cv_lib_nsl_gethostbyname
=yes
14091 ac_cv_lib_nsl_gethostbyname
=no
14093 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 LIBS
=$ac_check_lib_save_LIBS
14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14098 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14099 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14101 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14104 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14106 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14107 if test ${ac_cv_lib_bsd_gethostbyname+y}
14109 printf %s
"(cached) " >&6
14111 ac_check_lib_save_LIBS
=$LIBS
14113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14119 char gethostbyname ();
14123 return gethostbyname ();
14128 if ac_fn_c_try_link
"$LINENO"
14130 ac_cv_lib_bsd_gethostbyname
=yes
14132 ac_cv_lib_bsd_gethostbyname
=no
14134 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 LIBS
=$ac_check_lib_save_LIBS
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14139 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14140 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14148 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14149 # socket/setsockopt and other routines are undefined under SCO ODT
14150 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14151 # on later versions), says Simon Leinen: it contains gethostby*
14152 # variants that don't use the name server (or something). -lsocket
14153 # must be given before -lnsl if both are needed. We assume that
14154 # if connect needs -lnsl, so does gethostbyname.
14155 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14156 if test "x$ac_cv_func_connect" = xyes
14161 if test $ac_cv_func_connect = no
; then
14162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14163 printf %s
"checking for connect in -lsocket... " >&6; }
14164 if test ${ac_cv_lib_socket_connect+y}
14166 printf %s
"(cached) " >&6
14168 ac_check_lib_save_LIBS
=$LIBS
14169 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14185 if ac_fn_c_try_link
"$LINENO"
14187 ac_cv_lib_socket_connect
=yes
14189 ac_cv_lib_socket_connect
=no
14191 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14192 conftest
$ac_exeext conftest.
$ac_ext
14193 LIBS
=$ac_check_lib_save_LIBS
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14196 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14197 if test "x$ac_cv_lib_socket_connect" = xyes
14199 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14204 # Guillermo Gomez says -lposix is necessary on A/UX.
14205 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14206 if test "x$ac_cv_func_remove" = xyes
14211 if test $ac_cv_func_remove = no
; then
14212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14213 printf %s
"checking for remove in -lposix... " >&6; }
14214 if test ${ac_cv_lib_posix_remove+y}
14216 printf %s
"(cached) " >&6
14218 ac_check_lib_save_LIBS
=$LIBS
14219 LIBS
="-lposix $LIBS"
14220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14223 /* Override any GCC internal prototype to avoid an error.
14224 Use char because int might match the return type of a GCC
14225 builtin and then its argument prototype would still apply. */
14235 if ac_fn_c_try_link
"$LINENO"
14237 ac_cv_lib_posix_remove
=yes
14239 ac_cv_lib_posix_remove
=no
14241 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14242 conftest
$ac_exeext conftest.
$ac_ext
14243 LIBS
=$ac_check_lib_save_LIBS
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14246 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14247 if test "x$ac_cv_lib_posix_remove" = xyes
14249 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14254 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14255 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14256 if test "x$ac_cv_func_shmat" = xyes
14261 if test $ac_cv_func_shmat = no
; then
14262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14263 printf %s
"checking for shmat in -lipc... " >&6; }
14264 if test ${ac_cv_lib_ipc_shmat+y}
14266 printf %s
"(cached) " >&6
14268 ac_check_lib_save_LIBS
=$LIBS
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14285 if ac_fn_c_try_link
"$LINENO"
14287 ac_cv_lib_ipc_shmat
=yes
14289 ac_cv_lib_ipc_shmat
=no
14291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 LIBS
=$ac_check_lib_save_LIBS
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14296 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14297 if test "x$ac_cv_lib_ipc_shmat" = xyes
14299 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14305 # Check for libraries that X11R6 Xt/Xaw programs need.
14306 ac_save_LDFLAGS
=$LDFLAGS
14307 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14308 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14309 # check for ICE first), but we must link in the order -lSM -lICE or
14310 # we get undefined symbols. So assume we have SM if we have ICE.
14311 # These have to be linked with before -lX11, unlike the other
14312 # libraries we check for below, so use a different variable.
14313 # John Interrante, Karl Berry
14314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14315 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14316 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14318 printf %s
"(cached) " >&6
14320 ac_check_lib_save_LIBS
=$LIBS
14321 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14325 /* Override any GCC internal prototype to avoid an error.
14326 Use char because int might match the return type of a GCC
14327 builtin and then its argument prototype would still apply. */
14328 char IceConnectionNumber ();
14332 return IceConnectionNumber ();
14337 if ac_fn_c_try_link
"$LINENO"
14339 ac_cv_lib_ICE_IceConnectionNumber
=yes
14341 ac_cv_lib_ICE_IceConnectionNumber
=no
14343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14344 conftest
$ac_exeext conftest.
$ac_ext
14345 LIBS
=$ac_check_lib_save_LIBS
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14348 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14349 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14351 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14354 LDFLAGS
=$ac_save_LDFLAGS
14359 if test "$have_x" = "yes"
14361 ac_save_CPPFLAGS
="$CPPFLAGS"
14362 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14365 printf %s
"checking for -lX11... " >&6; }
14366 if test ${ac_cv_lib_soname_X11+y}
14368 printf %s
"(cached) " >&6
14370 ac_check_soname_save_LIBS
=$LIBS
14371 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14378 char XCreateWindow ();
14382 return XCreateWindow ();
14387 if ac_fn_c_try_link
"$LINENO"
14390 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14391 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'` ;;
14392 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14393 if ${ac_cv_lib_soname_X11:+false} :
14395 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14399 ac_cv_lib_soname_X11
=
14401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14402 conftest
$ac_exeext conftest.
$ac_ext
14403 LIBS
=$ac_check_soname_save_LIBS
14405 if ${ac_cv_lib_soname_X11:+false} :
14407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14408 printf "%s\n" "not found" >&6; }
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14412 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14414 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14419 printf %s
"checking for -lXext... " >&6; }
14420 if test ${ac_cv_lib_soname_Xext+y}
14422 printf %s
"(cached) " >&6
14424 ac_check_soname_save_LIBS
=$LIBS
14425 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14429 /* Override any GCC internal prototype to avoid an error.
14430 Use char because int might match the return type of a GCC
14431 builtin and then its argument prototype would still apply. */
14432 char XextCreateExtension ();
14436 return XextCreateExtension ();
14441 if ac_fn_c_try_link
"$LINENO"
14444 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14445 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'` ;;
14446 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14447 if ${ac_cv_lib_soname_Xext:+false} :
14449 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14453 ac_cv_lib_soname_Xext
=
14455 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14456 conftest
$ac_exeext conftest.
$ac_ext
14457 LIBS
=$ac_check_soname_save_LIBS
14459 if ${ac_cv_lib_soname_Xext:+false} :
14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14462 printf "%s\n" "not found" >&6; }
14465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14466 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14468 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14470 X_LIBS
="$X_LIBS -lXext"
14472 X_LIBS
="$X_LIBS -lX11"
14474 xlib_includes
="#include <X11/Xlib.h>
14475 #include <X11/Xutil.h>"
14477 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14479 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14486 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14488 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14493 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14500 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14507 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14509 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14512 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14514 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14516 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14519 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14521 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14526 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14528 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14530 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14533 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14535 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14544 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14547 printf %s
"checking for -lXcursor... " >&6; }
14548 if test ${ac_cv_lib_soname_Xcursor+y}
14550 printf %s
"(cached) " >&6
14552 ac_check_soname_save_LIBS
=$LIBS
14553 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14557 /* Override any GCC internal prototype to avoid an error.
14558 Use char because int might match the return type of a GCC
14559 builtin and then its argument prototype would still apply. */
14560 char XcursorImageLoadCursor ();
14564 return XcursorImageLoadCursor ();
14569 if ac_fn_c_try_link
"$LINENO"
14572 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14573 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'` ;;
14574 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14575 if ${ac_cv_lib_soname_Xcursor:+false} :
14577 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14581 ac_cv_lib_soname_Xcursor
=
14583 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14584 conftest
$ac_exeext conftest.
$ac_ext
14585 LIBS
=$ac_check_soname_save_LIBS
14587 if ${ac_cv_lib_soname_Xcursor:+false} :
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14590 printf "%s\n" "not found" >&6; }
14593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14594 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14596 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14602 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14604 case "x$with_xcursor" in
14605 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14607 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14608 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14613 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14615 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14618 printf %s
"checking for -lXi... " >&6; }
14619 if test ${ac_cv_lib_soname_Xi+y}
14621 printf %s
"(cached) " >&6
14623 ac_check_soname_save_LIBS
=$LIBS
14624 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14631 char XOpenDevice ();
14635 return XOpenDevice ();
14640 if ac_fn_c_try_link
"$LINENO"
14643 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14644 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'` ;;
14645 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14646 if ${ac_cv_lib_soname_Xi:+false} :
14648 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14652 ac_cv_lib_soname_Xi
=
14654 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14655 conftest
$ac_exeext conftest.
$ac_ext
14656 LIBS
=$ac_check_soname_save_LIBS
14658 if ${ac_cv_lib_soname_Xi:+false} :
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14661 printf "%s\n" "not found" >&6; }
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14665 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14667 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14673 if test "x$ac_cv_lib_soname_Xi" = "x"
14675 case "x$with_xinput" in
14676 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14678 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14679 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14684 if test "x$ac_cv_lib_soname_Xi" != x
14686 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14688 case "x$with_xinput2" in
14689 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14691 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14692 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14698 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14701 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14702 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14704 printf %s
"(cached) " >&6
14706 ac_check_lib_save_LIBS
=$LIBS
14707 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 char XShmQueryExtension ();
14718 return XShmQueryExtension ();
14723 if ac_fn_c_try_link
"$LINENO"
14725 ac_cv_lib_Xext_XShmQueryExtension
=yes
14727 ac_cv_lib_Xext_XShmQueryExtension
=no
14729 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14730 conftest
$ac_exeext conftest.
$ac_ext
14731 LIBS
=$ac_check_lib_save_LIBS
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14734 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14735 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14738 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14743 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14745 case "x$with_xshm" in
14746 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14748 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14749 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14754 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14757 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14758 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14760 printf %s
"(cached) " >&6
14762 ac_check_lib_save_LIBS
=$LIBS
14763 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14767 /* Override any GCC internal prototype to avoid an error.
14768 Use char because int might match the return type of a GCC
14769 builtin and then its argument prototype would still apply. */
14770 char XShapeQueryExtension ();
14774 return XShapeQueryExtension ();
14779 if ac_fn_c_try_link
"$LINENO"
14781 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14783 ac_cv_lib_Xext_XShapeQueryExtension
=no
14785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 LIBS
=$ac_check_lib_save_LIBS
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14790 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14791 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14794 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14799 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14801 case "x$with_xshape" in
14802 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14804 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14805 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14810 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14813 printf %s
"checking for -lXxf86vm... " >&6; }
14814 if test ${ac_cv_lib_soname_Xxf86vm+y}
14816 printf %s
"(cached) " >&6
14818 ac_check_soname_save_LIBS
=$LIBS
14819 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14823 /* Override any GCC internal prototype to avoid an error.
14824 Use char because int might match the return type of a GCC
14825 builtin and then its argument prototype would still apply. */
14826 char XF86VidModeQueryExtension ();
14830 return XF86VidModeQueryExtension ();
14835 if ac_fn_c_try_link
"$LINENO"
14838 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14839 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'` ;;
14840 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14841 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14843 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14847 ac_cv_lib_soname_Xxf86vm
=
14849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14850 conftest
$ac_exeext conftest.
$ac_ext
14851 LIBS
=$ac_check_soname_save_LIBS
14853 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14856 printf "%s\n" "not found" >&6; }
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14860 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14862 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14867 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14869 case "x$with_xxf86vm" in
14870 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14872 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14873 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14878 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14881 printf %s
"checking for -lXrender... " >&6; }
14882 if test ${ac_cv_lib_soname_Xrender+y}
14884 printf %s
"(cached) " >&6
14886 ac_check_soname_save_LIBS
=$LIBS
14887 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14894 char XRenderQueryExtension ();
14898 return XRenderQueryExtension ();
14903 if ac_fn_c_try_link
"$LINENO"
14906 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14907 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'` ;;
14908 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14909 if ${ac_cv_lib_soname_Xrender:+false} :
14911 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14915 ac_cv_lib_soname_Xrender
=
14917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14918 conftest
$ac_exeext conftest.
$ac_ext
14919 LIBS
=$ac_check_soname_save_LIBS
14921 if ${ac_cv_lib_soname_Xrender:+false} :
14923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14924 printf "%s\n" "not found" >&6; }
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14928 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14930 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14933 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14934 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14936 printf %s
"(cached) " >&6
14938 ac_check_lib_save_LIBS
=$LIBS
14939 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14943 /* Override any GCC internal prototype to avoid an error.
14944 Use char because int might match the return type of a GCC
14945 builtin and then its argument prototype would still apply. */
14946 char XRenderSetPictureTransform ();
14950 return XRenderSetPictureTransform ();
14955 if ac_fn_c_try_link
"$LINENO"
14957 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14959 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14961 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14962 conftest
$ac_exeext conftest.
$ac_ext
14963 LIBS
=$ac_check_lib_save_LIBS
14965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14966 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14967 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14970 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14975 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14976 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14978 printf %s
"(cached) " >&6
14980 ac_check_lib_save_LIBS
=$LIBS
14981 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 /* Override any GCC internal prototype to avoid an error.
14986 Use char because int might match the return type of a GCC
14987 builtin and then its argument prototype would still apply. */
14988 char XRenderCreateLinearGradient ();
14992 return XRenderCreateLinearGradient ();
14997 if ac_fn_c_try_link
"$LINENO"
14999 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15001 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15003 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15004 conftest
$ac_exeext conftest.
$ac_ext
15005 LIBS
=$ac_check_lib_save_LIBS
15007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15008 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15009 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15012 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15019 if test "x$ac_cv_lib_soname_Xrender" = "x"
15021 case "x$with_xrender" in
15022 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15024 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15025 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15030 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #include <X11/Xlib.h>
15035 #include <X11/extensions/Xrandr.h>
15039 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15044 if ac_fn_c_try_compile
"$LINENO"
15046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15047 printf %s
"checking for -lXrandr... " >&6; }
15048 if test ${ac_cv_lib_soname_Xrandr+y}
15050 printf %s
"(cached) " >&6
15052 ac_check_soname_save_LIBS
=$LIBS
15053 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 char XRRQueryExtension ();
15064 return XRRQueryExtension ();
15069 if ac_fn_c_try_link
"$LINENO"
15072 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15073 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'` ;;
15074 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15075 if ${ac_cv_lib_soname_Xrandr:+false} :
15077 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15081 ac_cv_lib_soname_Xrandr
=
15083 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_soname_save_LIBS
15087 if ${ac_cv_lib_soname_Xrandr:+false} :
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15090 printf "%s\n" "not found" >&6; }
15093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15094 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15096 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 #include <X11/Xlib.h>
15101 #include <X11/extensions/Xrandr.h>
15105 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15110 if ac_fn_c_try_compile
"$LINENO"
15113 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15116 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15118 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15121 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15123 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15125 case "x$with_xrandr" in
15126 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15128 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15129 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15134 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15138 #include <X11/Xlib.h>
15139 #include <X11/extensions/Xfixes.h>
15143 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15148 if ac_fn_c_try_compile
"$LINENO"
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15151 printf %s
"checking for -lXfixes... " >&6; }
15152 if test ${ac_cv_lib_soname_Xfixes+y}
15154 printf %s
"(cached) " >&6
15156 ac_check_soname_save_LIBS
=$LIBS
15157 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15161 /* Override any GCC internal prototype to avoid an error.
15162 Use char because int might match the return type of a GCC
15163 builtin and then its argument prototype would still apply. */
15164 char XFixesQueryVersion ();
15168 return XFixesQueryVersion ();
15173 if ac_fn_c_try_link
"$LINENO"
15176 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15177 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'` ;;
15178 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15179 if ${ac_cv_lib_soname_Xfixes:+false} :
15181 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15185 ac_cv_lib_soname_Xfixes
=
15187 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15188 conftest
$ac_exeext conftest.
$ac_ext
15189 LIBS
=$ac_check_soname_save_LIBS
15191 if ${ac_cv_lib_soname_Xfixes:+false} :
15193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15194 printf "%s\n" "not found" >&6; }
15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15198 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15200 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15205 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15207 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15209 case "x$with_xfixes" in
15210 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15212 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15213 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15218 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 #include <X11/Xlib.h>
15223 #include <X11/extensions/Xinerama.h>
15227 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15232 if ac_fn_c_try_compile
"$LINENO"
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15235 printf %s
"checking for -lXinerama... " >&6; }
15236 if test ${ac_cv_lib_soname_Xinerama+y}
15238 printf %s
"(cached) " >&6
15240 ac_check_soname_save_LIBS
=$LIBS
15241 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15245 /* Override any GCC internal prototype to avoid an error.
15246 Use char because int might match the return type of a GCC
15247 builtin and then its argument prototype would still apply. */
15248 char XineramaQueryScreens ();
15252 return XineramaQueryScreens ();
15257 if ac_fn_c_try_link
"$LINENO"
15260 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15261 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'` ;;
15262 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15263 if ${ac_cv_lib_soname_Xinerama:+false} :
15265 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15269 ac_cv_lib_soname_Xinerama
=
15271 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15272 conftest
$ac_exeext conftest.
$ac_ext
15273 LIBS
=$ac_check_soname_save_LIBS
15275 if ${ac_cv_lib_soname_Xinerama:+false} :
15277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15278 printf "%s\n" "not found" >&6; }
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15282 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15284 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15289 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15291 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15293 case "x$with_xinerama" in
15294 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15296 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15297 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15302 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15304 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15307 printf %s
"checking for -lXcomposite... " >&6; }
15308 if test ${ac_cv_lib_soname_Xcomposite+y}
15310 printf %s
"(cached) " >&6
15312 ac_check_soname_save_LIBS
=$LIBS
15313 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15317 /* Override any GCC internal prototype to avoid an error.
15318 Use char because int might match the return type of a GCC
15319 builtin and then its argument prototype would still apply. */
15320 char XCompositeRedirectWindow ();
15324 return XCompositeRedirectWindow ();
15329 if ac_fn_c_try_link
"$LINENO"
15332 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15333 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'` ;;
15334 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15335 if ${ac_cv_lib_soname_Xcomposite:+false} :
15337 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15341 ac_cv_lib_soname_Xcomposite
=
15343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15344 conftest
$ac_exeext conftest.
$ac_ext
15345 LIBS
=$ac_check_soname_save_LIBS
15347 if ${ac_cv_lib_soname_Xcomposite:+false} :
15349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15350 printf "%s\n" "not found" >&6; }
15353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15354 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15356 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15362 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15364 case "x$with_xcomposite" in
15365 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15367 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15368 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15373 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15375 if test "x$ac_cv_member_XICCallback_callback" = xyes
15378 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15382 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15384 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15387 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15395 if test "x$with_opengl" != "xno"
15397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15398 printf %s
"checking for -lGL... " >&6; }
15399 if test ${ac_cv_lib_soname_GL+y}
15401 printf %s
"(cached) " >&6
15403 ac_check_soname_save_LIBS
=$LIBS
15404 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 char glXCreateContext ();
15415 return glXCreateContext ();
15420 if ac_fn_c_try_link
"$LINENO"
15423 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15424 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'` ;;
15425 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15426 if ${ac_cv_lib_soname_GL:+false} :
15428 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15432 ac_cv_lib_soname_GL
=
15434 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15435 conftest
$ac_exeext conftest.
$ac_ext
15436 LIBS
=$ac_check_soname_save_LIBS
15438 if ${ac_cv_lib_soname_GL:+false} :
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15441 printf "%s\n" "not found" >&6; }
15442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15443 printf %s
"checking for -lGL... " >&6; }
15444 if test ${ac_cv_lib_soname_GL+y}
15446 printf %s
"(cached) " >&6
15448 ac_check_soname_save_LIBS
=$LIBS
15449 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"
15450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15453 /* Override any GCC internal prototype to avoid an error.
15454 Use char because int might match the return type of a GCC
15455 builtin and then its argument prototype would still apply. */
15456 char glXCreateContext ();
15460 return glXCreateContext ();
15465 if ac_fn_c_try_link
"$LINENO"
15468 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15469 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'` ;;
15470 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15471 if ${ac_cv_lib_soname_GL:+false} :
15473 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15477 ac_cv_lib_soname_GL
=
15479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15480 conftest
$ac_exeext conftest.
$ac_ext
15481 LIBS
=$ac_check_soname_save_LIBS
15483 if ${ac_cv_lib_soname_GL:+false} :
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15486 printf "%s\n" "not found" >&6; }
15487 if test -f /usr
/X11R
6/lib
/libGL.a
15489 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15490 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15492 opengl_msg
="No OpenGL library found on this system."
15495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15496 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15498 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15500 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"
15503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15504 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15506 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15510 if test "x$with_osmesa" != "xno"
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15513 printf %s
"checking for -lOSMesa... " >&6; }
15514 if test ${ac_cv_lib_soname_OSMesa+y}
15516 printf %s
"(cached) " >&6
15518 ac_check_soname_save_LIBS
=$LIBS
15519 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15523 /* Override any GCC internal prototype to avoid an error.
15524 Use char because int might match the return type of a GCC
15525 builtin and then its argument prototype would still apply. */
15526 char OSMesaGetProcAddress ();
15530 return OSMesaGetProcAddress ();
15535 if ac_fn_c_try_link
"$LINENO"
15538 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 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'` ;;
15540 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_OSMesa:+false} :
15543 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15547 ac_cv_lib_soname_OSMesa
=
15549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15550 conftest
$ac_exeext conftest.
$ac_ext
15551 LIBS
=$ac_check_soname_save_LIBS
15553 if ${ac_cv_lib_soname_OSMesa:+false} :
15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15556 printf "%s\n" "not found" >&6; }
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15560 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15562 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15566 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15568 case "x$with_osmesa" in
15569 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15571 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15572 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15578 if test -n "$opengl_msg"
15580 case "x$with_opengl" in
15581 x
) as_fn_append wine_warnings
"|$opengl_msg
15582 OpenGL and Direct3D won't be supported." ;;
15584 *) as_fn_error $?
"$opengl_msg
15585 OpenGL and Direct3D won't be supported.
15586 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15591 CPPFLAGS
="$ac_save_CPPFLAGS"
15597 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15599 if test "x$X_LIBS" = "x"
15603 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15604 without X support, which probably isn't what you want. You will need
15605 to install ${notice_platform}development packages of Xlib at the very least.
15606 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15608 enable_winex11_drv
=${enable_winex11_drv:-no}
15611 if test "x$X_LIBS" = "x"
15614 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15616 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15617 This is an error since --with-x was requested." "$LINENO" 5 ;;
15619 enable_winex11_drv
=${enable_winex11_drv:-no}
15623 if test "x$with_wayland" != "xno"
15626 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15628 if test ${PKG_CONFIG+y}
15630 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15634 if ${WAYLAND_CLIENT_LIBS:+false} :
15636 if test ${PKG_CONFIG+y}
15638 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15645 if test -s conftest.err
; then
15646 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15647 cat conftest.err
>&5
15650 ac_save_CPPFLAGS
=$CPPFLAGS
15651 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15652 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15653 if test "x$ac_cv_header_wayland_client_h" = xyes
15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15656 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15657 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15659 printf %s
"(cached) " >&6
15661 ac_check_lib_save_LIBS
=$LIBS
15662 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 char wl_display_connect ();
15673 return wl_display_connect ();
15678 if ac_fn_c_try_link
"$LINENO"
15680 ac_cv_lib_wayland_client_wl_display_connect
=yes
15682 ac_cv_lib_wayland_client_wl_display_connect
=no
15684 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15685 conftest
$ac_exeext conftest.
$ac_ext
15686 LIBS
=$ac_check_lib_save_LIBS
15688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15689 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15690 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15692 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15693 set dummy wayland-scanner
; ac_word
=$2
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15695 printf %s
"checking for $ac_word... " >&6; }
15696 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15698 printf %s
"(cached) " >&6
15700 case $WAYLAND_SCANNER in
15702 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15706 for as_dir
in $PATH
15709 case $as_dir in #(((
15712 *) as_dir
=$as_dir/ ;;
15714 for ac_exec_ext
in '' $ac_executable_extensions; do
15715 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15716 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15724 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`"
15728 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15729 if test -n "$WAYLAND_SCANNER"; then
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15731 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15734 printf "%s\n" "no" >&6; }
15739 WAYLAND_CLIENT_LIBS
=""
15744 CPPFLAGS
=$ac_save_CPPFLAGS
15747 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
15749 case "x$with_wayland" in
15750 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15752 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15753 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15755 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15758 if test "$ac_cv_header_CL_cl_h" = "yes"
15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15761 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15762 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15764 printf %s
"(cached) " >&6
15766 ac_check_lib_save_LIBS
=$LIBS
15767 LIBS
="-lOpenCL $LIBS"
15768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15771 /* Override any GCC internal prototype to avoid an error.
15772 Use char because int might match the return type of a GCC
15773 builtin and then its argument prototype would still apply. */
15774 char clGetPlatformInfo ();
15778 return clGetPlatformInfo ();
15783 if ac_fn_c_try_link
"$LINENO"
15785 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15787 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15790 conftest
$ac_exeext conftest.
$ac_ext
15791 LIBS
=$ac_check_lib_save_LIBS
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15794 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15795 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15797 OPENCL_LIBS
="-lOpenCL"
15802 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15804 case "x$with_opencl" in
15805 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15807 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15808 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15810 enable_opencl
=${enable_opencl:-no}
15813 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15816 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15817 if test ${ac_cv_lib_pcap_pcap_init+y}
15819 printf %s
"(cached) " >&6
15821 ac_check_lib_save_LIBS
=$LIBS
15822 LIBS
="-lpcap $LIBS"
15823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15826 /* Override any GCC internal prototype to avoid an error.
15827 Use char because int might match the return type of a GCC
15828 builtin and then its argument prototype would still apply. */
15833 return pcap_init ();
15838 if ac_fn_c_try_link
"$LINENO"
15840 ac_cv_lib_pcap_pcap_init
=yes
15842 ac_cv_lib_pcap_pcap_init
=no
15844 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15845 conftest
$ac_exeext conftest.
$ac_ext
15846 LIBS
=$ac_check_lib_save_LIBS
15848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15849 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15850 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15857 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15859 case "x$with_pcap" in
15860 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15862 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15863 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15865 enable_wpcap
=${enable_wpcap:-no}
15868 if test "x$with_pcsclite" != "xno"
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15871 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15872 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15874 printf %s
"(cached) " >&6
15876 ac_check_lib_save_LIBS
=$LIBS
15877 LIBS
="-lpcsclite $LIBS"
15878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15881 /* Override any GCC internal prototype to avoid an error.
15882 Use char because int might match the return type of a GCC
15883 builtin and then its argument prototype would still apply. */
15884 char SCardEstablishContext ();
15888 return SCardEstablishContext ();
15893 if ac_fn_c_try_link
"$LINENO"
15895 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15897 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15900 conftest
$ac_exeext conftest.
$ac_ext
15901 LIBS
=$ac_check_lib_save_LIBS
15903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15904 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15905 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15907 PCSCLITE_LIBS
="-lpcsclite"
15911 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
15917 if test "x$PCSCLITE_LIBS" = x
15919 case "x$with_pcsclite" in
15920 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15922 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15923 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15925 enable_winscard
=${enable_winscard:-no}
15928 if test "x$with_inotify" != "xno"
15931 if ${INOTIFY_CFLAGS:+false} :
15933 if test ${PKG_CONFIG+y}
15935 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15939 if ${INOTIFY_LIBS:+false} :
15941 if test ${PKG_CONFIG+y}
15943 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15950 if test -s conftest.err
; then
15951 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15952 cat conftest.err
>&5
15955 ac_save_CPPFLAGS
=$CPPFLAGS
15956 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15957 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15958 if test "x$ac_cv_header_sys_inotify_h" = xyes
15960 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15965 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15966 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15968 printf %s
"(cached) " >&6
15970 ac_check_lib_save_LIBS
=$LIBS
15971 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 char inotify_add_watch ();
15982 return inotify_add_watch ();
15987 if ac_fn_c_try_link
"$LINENO"
15989 ac_cv_lib_inotify_inotify_add_watch
=yes
15991 ac_cv_lib_inotify_inotify_add_watch
=no
15993 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15994 conftest
$ac_exeext conftest.
$ac_ext
15995 LIBS
=$ac_check_lib_save_LIBS
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15998 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15999 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16006 CPPFLAGS
=$ac_save_CPPFLAGS
16009 if test "$ac_cv_header_sys_inotify_h" != "yes"
16011 case "x$with_inotify" in
16012 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16014 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16015 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16020 if test "x$with_dbus" != "xno"
16023 if ${DBUS_CFLAGS:+false} :
16025 if test ${PKG_CONFIG+y}
16027 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16031 if ${DBUS_LIBS:+false} :
16033 if test ${PKG_CONFIG+y}
16035 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16042 if test -s conftest.err
; then
16043 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16044 cat conftest.err
>&5
16047 ac_save_CPPFLAGS
=$CPPFLAGS
16048 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16049 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16050 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16053 printf %s
"checking for -ldbus-1... " >&6; }
16054 if test ${ac_cv_lib_soname_dbus_1+y}
16056 printf %s
"(cached) " >&6
16058 ac_check_soname_save_LIBS
=$LIBS
16059 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16066 char dbus_connection_close ();
16070 return dbus_connection_close ();
16075 if ac_fn_c_try_link
"$LINENO"
16078 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16079 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'` ;;
16080 *) 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'`
16081 if ${ac_cv_lib_soname_dbus_1:+false} :
16083 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16087 ac_cv_lib_soname_dbus_1
=
16089 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16090 conftest
$ac_exeext conftest.
$ac_ext
16091 LIBS
=$ac_check_soname_save_LIBS
16093 if ${ac_cv_lib_soname_dbus_1:+false} :
16095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16096 printf "%s\n" "not found" >&6; }
16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16100 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16102 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16110 CPPFLAGS
=$ac_save_CPPFLAGS
16114 darwin
*|macosx
*) ;;
16115 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16117 case "x$with_dbus" in
16118 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16120 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16121 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16127 if test "x$with_gnutls" != "xno"
16130 if ${GNUTLS_CFLAGS:+false} :
16132 if test ${PKG_CONFIG+y}
16134 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16138 if ${GNUTLS_LIBS:+false} :
16140 if test ${PKG_CONFIG+y}
16142 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16146 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16149 if test -s conftest.err
; then
16150 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16151 cat conftest.err
>&5
16154 ac_save_CPPFLAGS
=$CPPFLAGS
16155 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16156 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16157 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <gnutls/gnutls.h>
16162 #include <gnutls/crypto.h>
16166 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16171 if ac_fn_c_try_compile
"$LINENO"
16173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16174 printf %s
"checking for -lgnutls... " >&6; }
16175 if test ${ac_cv_lib_soname_gnutls+y}
16177 printf %s
"(cached) " >&6
16179 ac_check_soname_save_LIBS
=$LIBS
16180 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16184 /* Override any GCC internal prototype to avoid an error.
16185 Use char because int might match the return type of a GCC
16186 builtin and then its argument prototype would still apply. */
16187 char gnutls_global_init ();
16191 return gnutls_global_init ();
16196 if ac_fn_c_try_link
"$LINENO"
16199 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16200 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'` ;;
16201 *) 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'`
16202 if ${ac_cv_lib_soname_gnutls:+false} :
16204 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'`
16208 ac_cv_lib_soname_gnutls
=
16210 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16211 conftest
$ac_exeext conftest.
$ac_ext
16212 LIBS
=$ac_check_soname_save_LIBS
16214 if ${ac_cv_lib_soname_gnutls:+false} :
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16217 printf "%s\n" "not found" >&6; }
16220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16221 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16223 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16227 ac_wine_check_funcs_save_LIBS
="$LIBS"
16228 LIBS
="$LIBS $GNUTLS_LIBS"
16230 for ac_func
in gnutls_cipher_init
16232 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16233 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16235 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16238 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16242 LIBS
="$ac_wine_check_funcs_save_LIBS"
16244 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16249 CPPFLAGS
=$ac_save_CPPFLAGS
16252 if test "x$ac_cv_lib_soname_gnutls" = "x"
16254 case "x$with_gnutls" in
16255 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16257 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16258 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16263 if test "x$with_sane" != "xno"
16266 if ${SANE_CFLAGS:+false} :
16268 if test ${PKG_CONFIG+y}
16270 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16273 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16274 if ${SANE_LIBS:+false} :
16276 if test ${PKG_CONFIG+y}
16278 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16281 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16285 if test -s conftest.err
; then
16286 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16287 cat conftest.err
>&5
16290 ac_save_CPPFLAGS
=$CPPFLAGS
16291 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16292 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16293 if test "x$ac_cv_header_sane_sane_h" = xyes
16295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16296 printf %s
"checking for sane_init in -lsane... " >&6; }
16297 if test ${ac_cv_lib_sane_sane_init+y}
16299 printf %s
"(cached) " >&6
16301 ac_check_lib_save_LIBS
=$LIBS
16302 LIBS
="-lsane $SANE_LIBS $LIBS"
16303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16313 return sane_init ();
16318 if ac_fn_c_try_link
"$LINENO"
16320 ac_cv_lib_sane_sane_init
=yes
16322 ac_cv_lib_sane_sane_init
=no
16324 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16325 conftest
$ac_exeext conftest.
$ac_ext
16326 LIBS
=$ac_check_lib_save_LIBS
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16329 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16330 if test "x$ac_cv_lib_sane_sane_init" = xyes
16337 CPPFLAGS
=$ac_save_CPPFLAGS
16340 if test "$ac_cv_lib_sane_sane_init" != "yes"
16342 case "x$with_sane" in
16343 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16345 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16346 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16348 enable_sane_ds
=${enable_sane_ds:-no}
16351 if test "x$with_usb" != "xno"
16354 if ${USB_CFLAGS:+false} :
16356 if test ${PKG_CONFIG+y}
16358 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16362 if ${USB_LIBS:+false} :
16364 if test ${PKG_CONFIG+y}
16366 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16370 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16373 if test -s conftest.err
; then
16374 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16375 cat conftest.err
>&5
16378 ac_save_CPPFLAGS
=$CPPFLAGS
16379 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16380 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16381 if test "x$ac_cv_header_libusb_h" = xyes
16383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16384 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16385 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16387 printf %s
"(cached) " >&6
16389 ac_check_lib_save_LIBS
=$LIBS
16390 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16394 /* Override any GCC internal prototype to avoid an error.
16395 Use char because int might match the return type of a GCC
16396 builtin and then its argument prototype would still apply. */
16397 char libusb_interrupt_event_handler ();
16401 return libusb_interrupt_event_handler ();
16406 if ac_fn_c_try_link
"$LINENO"
16408 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16410 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16412 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16413 conftest
$ac_exeext conftest.
$ac_ext
16414 LIBS
=$ac_check_lib_save_LIBS
16416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16417 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16418 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16429 CPPFLAGS
=$ac_save_CPPFLAGS
16432 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16434 case "x$with_usb" in
16435 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16437 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16438 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16440 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16443 if test "x$with_v4l2" != "xno"
16445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16446 printf %s
"checking for -lv4l2... " >&6; }
16447 if test ${ac_cv_lib_soname_v4l2+y}
16449 printf %s
"(cached) " >&6
16451 ac_check_soname_save_LIBS
=$LIBS
16452 LIBS
="-lv4l2 $LIBS"
16453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16463 return v4l2_open ();
16468 if ac_fn_c_try_link
"$LINENO"
16471 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16472 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'` ;;
16473 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16474 if ${ac_cv_lib_soname_v4l2:+false} :
16476 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16480 ac_cv_lib_soname_v4l2
=
16482 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16483 conftest
$ac_exeext conftest.
$ac_ext
16484 LIBS
=$ac_check_soname_save_LIBS
16486 if ${ac_cv_lib_soname_v4l2:+false} :
16488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16489 printf "%s\n" "not found" >&6; }
16492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16493 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16495 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16500 if test "x$ac_cv_lib_soname_v4l2" = "x"
16502 case "x$with_v4l2" in
16503 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16505 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16506 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16511 if test "x$with_gphoto" != "xno"
16514 if ${GPHOTO2_CFLAGS:+false} :
16516 if test ${PKG_CONFIG+y}
16518 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16521 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16522 if ${GPHOTO2_LIBS:+false} :
16524 if test ${PKG_CONFIG+y}
16526 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16529 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16530 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16533 if test -s conftest.err
; then
16534 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16535 cat conftest.err
>&5
16538 ac_save_CPPFLAGS
=$CPPFLAGS
16539 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16540 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16541 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16544 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16545 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16547 printf %s
"(cached) " >&6
16549 ac_check_lib_save_LIBS
=$LIBS
16550 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16554 /* Override any GCC internal prototype to avoid an error.
16555 Use char because int might match the return type of a GCC
16556 builtin and then its argument prototype would still apply. */
16557 char gp_camera_new ();
16561 return gp_camera_new ();
16566 if ac_fn_c_try_link
"$LINENO"
16568 ac_cv_lib_gphoto2_gp_camera_new
=yes
16570 ac_cv_lib_gphoto2_gp_camera_new
=no
16572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16573 conftest
$ac_exeext conftest.
$ac_ext
16574 LIBS
=$ac_check_lib_save_LIBS
16576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16577 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16578 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16585 CPPFLAGS
=$ac_save_CPPFLAGS
16588 if ${GPHOTO2_PORT_CFLAGS:+false} :
16590 if test ${PKG_CONFIG+y}
16592 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16595 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16596 if ${GPHOTO2_PORT_LIBS:+false} :
16598 if test ${PKG_CONFIG+y}
16600 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16603 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16604 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16607 if test -s conftest.err
; then
16608 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16609 cat conftest.err
>&5
16612 ac_save_CPPFLAGS
=$CPPFLAGS
16613 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16614 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16615 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16618 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16619 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16621 printf %s
"(cached) " >&6
16623 ac_check_lib_save_LIBS
=$LIBS
16624 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16628 /* Override any GCC internal prototype to avoid an error.
16629 Use char because int might match the return type of a GCC
16630 builtin and then its argument prototype would still apply. */
16631 char gp_port_info_list_new ();
16635 return gp_port_info_list_new ();
16640 if ac_fn_c_try_link
"$LINENO"
16642 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16644 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16646 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16647 conftest
$ac_exeext conftest.
$ac_ext
16648 LIBS
=$ac_check_lib_save_LIBS
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16651 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16652 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16655 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16658 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16662 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16665 CPPFLAGS
=$ac_save_CPPFLAGS
16668 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16670 case "x$with_gphoto" in
16671 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16673 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16674 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16676 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16678 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16680 case "x$with_gphoto" in
16681 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16683 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16684 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16690 if test "$ac_cv_header_resolv_h" = "yes"
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16693 printf %s
"checking for resolver library... " >&6; }
16694 if test ${ac_cv_have_resolv+y}
16696 printf %s
"(cached) " >&6
16698 ac_save_LIBS
="$LIBS"
16699 for lib
in '' -lresolv
16701 LIBS
="$lib $ac_save_LIBS"
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #ifdef HAVE_NETINET_IN_H
16705 #include <netinet/in.h>
16707 #include <resolv.h>
16711 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16716 if ac_fn_c_try_link
"$LINENO"
16718 ac_cv_have_resolv
=${lib:-"none required"}
16720 ac_cv_have_resolv
="not found"
16722 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16723 conftest
$ac_exeext conftest.
$ac_ext
16724 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16726 LIBS
="$ac_save_LIBS"
16728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16729 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16731 case "$ac_cv_have_resolv" in
16735 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16738 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16740 RESOLV_LIBS
=$ac_cv_have_resolv
16744 if test "x$ac_cv_have_resolv" != "xnot found"
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16747 printf %s
"checking for res_getservers... " >&6; }
16748 if test ${ac_cv_have_res_getservers+y}
16750 printf %s
"(cached) " >&6
16752 ac_save_LIBS
="$LIBS"
16753 LIBS
="$RESOLV_LIBS $LIBS"
16754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16756 #include <resolv.h>
16760 res_getservers(NULL, NULL, 0);
16765 if ac_fn_c_try_link
"$LINENO"
16767 ac_cv_have_res_getservers
=yes
16769 ac_cv_have_res_getservers
=no
16771 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16772 conftest
$ac_exeext conftest.
$ac_ext
16773 LIBS
="$ac_save_LIBS"
16775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16776 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16777 if test "$ac_cv_have_res_getservers" = "yes"
16780 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16786 if test "x$with_freetype" != "xno"
16789 if ${FREETYPE_CFLAGS:+false} :
16791 if test ${PKG_CONFIG+y}
16793 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16796 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16797 if ${FREETYPE_LIBS:+false} :
16799 if test ${PKG_CONFIG+y}
16801 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16804 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16805 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16808 if test -s conftest.err
; then
16809 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16810 cat conftest.err
>&5
16813 ac_save_CPPFLAGS
=$CPPFLAGS
16814 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16815 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16816 if test "x$ac_cv_header_ft2build_h" = xyes
16818 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16822 if test "$ac_cv_header_ft2build_h" = "yes"
16824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16825 printf %s
"checking for -lfreetype... " >&6; }
16826 if test ${ac_cv_lib_soname_freetype+y}
16828 printf %s
"(cached) " >&6
16830 ac_check_soname_save_LIBS
=$LIBS
16831 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 /* Override any GCC internal prototype to avoid an error.
16836 Use char because int might match the return type of a GCC
16837 builtin and then its argument prototype would still apply. */
16838 char FT_Init_FreeType ();
16842 return FT_Init_FreeType ();
16847 if ac_fn_c_try_link
"$LINENO"
16850 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16851 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'` ;;
16852 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16853 if ${ac_cv_lib_soname_freetype:+false} :
16855 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16859 ac_cv_lib_soname_freetype
=
16861 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16862 conftest
$ac_exeext conftest.
$ac_ext
16863 LIBS
=$ac_check_soname_save_LIBS
16865 if ${ac_cv_lib_soname_freetype:+false} :
16867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16868 printf "%s\n" "not found" >&6; }
16871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16872 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16874 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16877 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16879 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16880 #include FT_MODULE_H
16882 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16885 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16895 CPPFLAGS
=$ac_save_CPPFLAGS
16898 if test "x$ac_cv_lib_soname_freetype" = x
16900 case "x$with_freetype" in
16902 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16903 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16905 enable_fonts
=${enable_fonts:-no}
16908 ac_wine_check_funcs_save_LIBS
="$LIBS"
16909 LIBS
="$LIBS $PTHREAD_LIBS"
16910 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16911 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16913 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16917 LIBS
="$ac_wine_check_funcs_save_LIBS"
16919 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16921 if test "$ac_cv_header_gettext_po_h" = "yes"
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16924 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16925 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16927 printf %s
"(cached) " >&6
16929 ac_check_lib_save_LIBS
=$LIBS
16930 LIBS
="-lgettextpo $LIBS"
16931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16934 /* Override any GCC internal prototype to avoid an error.
16935 Use char because int might match the return type of a GCC
16936 builtin and then its argument prototype would still apply. */
16937 char po_message_msgctxt ();
16941 return po_message_msgctxt ();
16946 if ac_fn_c_try_link
"$LINENO"
16948 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16950 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16953 conftest
$ac_exeext conftest.
$ac_ext
16954 LIBS
=$ac_check_lib_save_LIBS
16956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16957 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16958 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16961 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16963 GETTEXTPO_LIBS
="-lgettextpo"
16968 if test "x$GETTEXTPO_LIBS" = "x"
16970 case "x$with_gettextpo" in
16971 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16973 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16974 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16978 if test "$srcdir" != .
16980 case "x$with_gettextpo" in
16981 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16983 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16984 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16990 if test "x$with_pulse" != "xno";
16993 if ${PULSE_CFLAGS:+false} :
16995 if test ${PKG_CONFIG+y}
16997 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17001 if ${PULSE_LIBS:+false} :
17003 if test ${PKG_CONFIG+y}
17005 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17012 if test -s conftest.err
; then
17013 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17014 cat conftest.err
>&5
17017 ac_save_CPPFLAGS
=$CPPFLAGS
17018 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17019 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17020 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17023 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17024 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17026 printf %s
"(cached) " >&6
17028 ac_check_lib_save_LIBS
=$LIBS
17029 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17033 /* Override any GCC internal prototype to avoid an error.
17034 Use char because int might match the return type of a GCC
17035 builtin and then its argument prototype would still apply. */
17036 char pa_stream_is_corked ();
17040 return pa_stream_is_corked ();
17045 if ac_fn_c_try_link
"$LINENO"
17047 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17049 ac_cv_lib_pulse_pa_stream_is_corked
=no
17051 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17052 conftest
$ac_exeext conftest.
$ac_ext
17053 LIBS
=$ac_check_lib_save_LIBS
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17056 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17057 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17068 CPPFLAGS
=$ac_save_CPPFLAGS
17071 if test -z "$PULSE_LIBS"
17073 case "x$with_pulse" in
17074 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17076 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17077 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17079 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17082 if test "x$with_gstreamer" != "xno"
17085 if ${GSTREAMER_CFLAGS:+false} :
17087 if test ${PKG_CONFIG+y}
17089 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17093 if ${GSTREAMER_LIBS:+false} :
17095 if test ${PKG_CONFIG+y}
17097 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17102 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
17103 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
17104 if test -s conftest.err
; then
17105 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17106 cat conftest.err
>&5
17109 ac_save_CPPFLAGS
=$CPPFLAGS
17110 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17111 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17112 if test "x$ac_cv_header_gst_gst_h" = xyes
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17115 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <gst/gst.h>
17122 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17127 if ac_fn_c_try_compile
"$LINENO"
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17130 printf "%s\n" "yes" >&6; }
17131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17132 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17133 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17135 printf %s
"(cached) " >&6
17137 ac_check_lib_save_LIBS
=$LIBS
17138 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17142 /* Override any GCC internal prototype to avoid an error.
17143 Use char because int might match the return type of a GCC
17144 builtin and then its argument prototype would still apply. */
17145 char gst_pad_new ();
17149 return gst_pad_new ();
17154 if ac_fn_c_try_link
"$LINENO"
17156 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17158 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17161 conftest
$ac_exeext conftest.
$ac_ext
17162 LIBS
=$ac_check_lib_save_LIBS
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17165 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17166 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17173 printf "%s\n" "no" >&6; }
17174 ac_glib2_broken
=yes
17175 enable_winegstreamer
=${enable_winegstreamer:-no}
17176 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17178 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17181 CPPFLAGS
=$ac_save_CPPFLAGS
17184 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17186 case "x$with_gstreamer" in
17187 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17189 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17190 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17192 enable_winegstreamer
=${enable_winegstreamer:-no}
17197 if test "x$with_alsa" != "xno"
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17200 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17201 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17203 printf %s
"(cached) " >&6
17205 ac_check_lib_save_LIBS
=$LIBS
17206 LIBS
="-lasound $LIBS"
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 char snd_pcm_hw_params_get_access_mask ();
17217 return snd_pcm_hw_params_get_access_mask ();
17222 if ac_fn_c_try_link
"$LINENO"
17224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17226 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17228 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17229 conftest
$ac_exeext conftest.
$ac_ext
17230 LIBS
=$ac_check_lib_save_LIBS
17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17233 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17234 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 #include <alsa/asoundlib.h>
17242 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17247 if ac_fn_c_try_compile
"$LINENO"
17249 ALSA_LIBS
="-lasound"
17251 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17255 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17257 if test "x$with_oss" != xno
17259 ac_save_CPPFLAGS
="$CPPFLAGS"
17260 if test -f /etc
/oss.conf
17264 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17265 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17266 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17267 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17269 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17271 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17274 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17276 OSS4_CFLAGS
="$ac_oss_incl"
17278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17279 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17280 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17282 printf %s
"(cached) " >&6
17284 ac_check_lib_save_LIBS
=$LIBS
17285 LIBS
="-lossaudio $LIBS"
17286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17289 /* Override any GCC internal prototype to avoid an error.
17290 Use char because int might match the return type of a GCC
17291 builtin and then its argument prototype would still apply. */
17292 char _oss_ioctl ();
17296 return _oss_ioctl ();
17301 if ac_fn_c_try_link
"$LINENO"
17303 ac_cv_lib_ossaudio__oss_ioctl
=yes
17305 ac_cv_lib_ossaudio__oss_ioctl
=no
17307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17308 conftest
$ac_exeext conftest.
$ac_ext
17309 LIBS
=$ac_check_lib_save_LIBS
17311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17312 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17313 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17315 OSS4_LIBS
="-lossaudio"
17323 CPPFLAGS
="$ac_save_CPPFLAGS"
17325 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17327 case "x$with_oss" in
17328 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17330 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17331 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17333 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17336 if test "x$with_udev" != "xno"
17339 if ${UDEV_CFLAGS:+false} :
17341 if test ${PKG_CONFIG+y}
17343 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17347 if ${UDEV_LIBS:+false} :
17349 if test ${PKG_CONFIG+y}
17351 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17355 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17358 if test -s conftest.err
; then
17359 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17360 cat conftest.err
>&5
17363 ac_save_CPPFLAGS
=$CPPFLAGS
17364 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17365 for ac_header
in libudev.h
17367 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17368 if test "x$ac_cv_header_libudev_h" = xyes
17370 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17372 printf %s
"checking for udev_new in -ludev... " >&6; }
17373 if test ${ac_cv_lib_udev_udev_new+y}
17375 printf %s
"(cached) " >&6
17377 ac_check_lib_save_LIBS
=$LIBS
17378 LIBS
="-ludev $UDEV_LIBS $LIBS"
17379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17382 /* Override any GCC internal prototype to avoid an error.
17383 Use char because int might match the return type of a GCC
17384 builtin and then its argument prototype would still apply. */
17389 return udev_new ();
17394 if ac_fn_c_try_link
"$LINENO"
17396 ac_cv_lib_udev_udev_new
=yes
17398 ac_cv_lib_udev_udev_new
=no
17400 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17401 conftest
$ac_exeext conftest.
$ac_ext
17402 LIBS
=$ac_check_lib_save_LIBS
17404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17405 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17406 if test "x$ac_cv_lib_udev_udev_new" = xyes
17409 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17420 CPPFLAGS
=$ac_save_CPPFLAGS
17423 if test "x$UDEV_LIBS" = "x"
17425 case "x$with_udev" in
17426 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17428 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17429 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17434 if test "x$with_unwind" != xno
17437 if ${UNWIND_CFLAGS:+false} :
17439 if test ${PKG_CONFIG+y}
17441 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17445 if ${UNWIND_LIBS:+false} :
17447 if test ${PKG_CONFIG+y}
17449 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17453 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17456 if test -s conftest.err
; then
17457 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17458 cat conftest.err
>&5
17461 ac_save_CPPFLAGS
=$CPPFLAGS
17462 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17464 printf %s
"checking for unw_step... " >&6; }
17465 if test ${wine_cv_have_unw_step+y}
17467 printf %s
"(cached) " >&6
17469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 #define UNW_LOCAL_ONLY
17472 #include <libunwind.h>
17476 unw_cursor_t cursor; unw_step( &cursor );
17481 if ac_fn_c_try_link
"$LINENO"
17483 wine_cv_have_unw_step
="yes"
17485 wine_cv_have_unw_step
="no"
17487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17488 conftest
$ac_exeext conftest.
$ac_ext
17490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17491 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17492 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17495 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17496 LIBS
="$UNWIND_LIBS $LIBS"
17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17498 printf %s
"checking for unw_step in libunwind... " >&6; }
17499 if test ${wine_cv_have_libunwind_unw_step+y}
17501 printf %s
"(cached) " >&6
17503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 #define UNW_LOCAL_ONLY
17506 #include <libunwind.h>
17510 unw_cursor_t cursor; unw_step( &cursor );
17515 if ac_fn_c_try_link
"$LINENO"
17517 wine_cv_have_libunwind_unw_step
="yes"
17519 wine_cv_have_libunwind_unw_step
="no"
17521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17522 conftest
$ac_exeext conftest.
$ac_ext
17524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17525 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17528 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17529 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17532 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17535 CPPFLAGS
=$ac_save_CPPFLAGS
17539 aarch64
*|
*-darwin*)
17540 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17542 case "x$with_unwind" in
17543 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17545 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17546 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17552 if test "x$with_sdl" != "xno"
17555 if ${SDL2_CFLAGS:+false} :
17557 if test ${PKG_CONFIG+y}
17559 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17563 if ${SDL2_LIBS:+false} :
17565 if test ${PKG_CONFIG+y}
17567 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17571 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17574 if test -s conftest.err
; then
17575 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17576 cat conftest.err
>&5
17579 ac_save_CPPFLAGS
=$CPPFLAGS
17580 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17581 for ac_header
in SDL.h
17583 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17584 if test "x$ac_cv_header_SDL_h" = xyes
17586 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17588 printf %s
"checking for -lSDL2... " >&6; }
17589 if test ${ac_cv_lib_soname_SDL2+y}
17591 printf %s
"(cached) " >&6
17593 ac_check_soname_save_LIBS
=$LIBS
17594 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17605 return SDL_Init ();
17610 if ac_fn_c_try_link
"$LINENO"
17613 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17614 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'` ;;
17615 *) 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'`
17616 if ${ac_cv_lib_soname_SDL2:+false} :
17618 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17622 ac_cv_lib_soname_SDL2
=
17624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17625 conftest
$ac_exeext conftest.
$ac_ext
17626 LIBS
=$ac_check_soname_save_LIBS
17628 if ${ac_cv_lib_soname_SDL2:+false} :
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17631 printf "%s\n" "not found" >&6; }
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17635 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17637 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17644 CPPFLAGS
=$ac_save_CPPFLAGS
17647 if test "x$ac_cv_lib_soname_SDL2" = "x"
17649 case "x$with_sdl" in
17650 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17652 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17653 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17658 if test "x$with_capi" != "xno"
17661 if ${CAPI20_CFLAGS:+false} :
17663 if test ${PKG_CONFIG+y}
17665 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17669 if ${CAPI20_LIBS:+false} :
17671 if test ${PKG_CONFIG+y}
17673 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17680 if test -s conftest.err
; then
17681 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17682 cat conftest.err
>&5
17685 ac_save_CPPFLAGS
=$CPPFLAGS
17686 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17687 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17689 if test "x$ac_cv_header_capi20_h" = xyes
17691 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17694 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17696 if test "x$ac_cv_header_linux_capi_h" = xyes
17698 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17702 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17705 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17706 if test ${ac_cv_lib_capi20_capi20_register+y}
17708 printf %s
"(cached) " >&6
17710 ac_check_lib_save_LIBS
=$LIBS
17711 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17715 /* Override any GCC internal prototype to avoid an error.
17716 Use char because int might match the return type of a GCC
17717 builtin and then its argument prototype would still apply. */
17718 char capi20_register ();
17722 return capi20_register ();
17727 if ac_fn_c_try_link
"$LINENO"
17729 ac_cv_lib_capi20_capi20_register
=yes
17731 ac_cv_lib_capi20_capi20_register
=no
17733 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17734 conftest
$ac_exeext conftest.
$ac_ext
17735 LIBS
=$ac_check_lib_save_LIBS
17737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17738 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17739 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17747 CPPFLAGS
=$ac_save_CPPFLAGS
17750 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17752 case "x$with_capi" in
17753 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17755 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17756 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17758 enable_capi2032
=${enable_capi2032:-no}
17761 if test "x$with_cups" != "xno"
17764 if ${CUPS_CFLAGS:+false} :
17766 if test ${PKG_CONFIG+y}
17768 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17771 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17772 if ${CUPS_LIBS:+false} :
17774 if test ${PKG_CONFIG+y}
17776 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17779 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17780 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17783 if test -s conftest.err
; then
17784 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17785 cat conftest.err
>&5
17788 ac_save_CPPFLAGS
=$CPPFLAGS
17789 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17790 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17791 if test "x$ac_cv_header_cups_cups_h" = xyes
17793 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17796 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17797 if test "x$ac_cv_header_cups_ppd_h" = xyes
17799 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17803 if test "$ac_cv_header_cups_cups_h" = "yes"
17805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17806 printf %s
"checking for -lcups... " >&6; }
17807 if test ${ac_cv_lib_soname_cups+y}
17809 printf %s
"(cached) " >&6
17811 ac_check_soname_save_LIBS
=$LIBS
17812 LIBS
="-lcups $CUPS_LIBS $LIBS"
17813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17816 /* Override any GCC internal prototype to avoid an error.
17817 Use char because int might match the return type of a GCC
17818 builtin and then its argument prototype would still apply. */
17819 char cupsGetDefault ();
17823 return cupsGetDefault ();
17828 if ac_fn_c_try_link
"$LINENO"
17831 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17832 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'` ;;
17833 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17834 if ${ac_cv_lib_soname_cups:+false} :
17836 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17840 ac_cv_lib_soname_cups
=
17842 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17843 conftest
$ac_exeext conftest.
$ac_ext
17844 LIBS
=$ac_check_soname_save_LIBS
17846 if ${ac_cv_lib_soname_cups:+false} :
17848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17849 printf "%s\n" "not found" >&6; }
17852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17853 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17855 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17863 CPPFLAGS
=$ac_save_CPPFLAGS
17866 if test "x$ac_cv_lib_soname_cups" = "x"
17868 case "x$with_cups" in
17869 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17871 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17872 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17877 if test "x$with_fontconfig" != "xno"
17880 if ${FONTCONFIG_CFLAGS:+false} :
17882 if test ${PKG_CONFIG+y}
17884 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17887 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17888 if ${FONTCONFIG_LIBS:+false} :
17890 if test ${PKG_CONFIG+y}
17892 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17895 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17899 if test -s conftest.err
; then
17900 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17901 cat conftest.err
>&5
17904 ac_save_CPPFLAGS
=$CPPFLAGS
17905 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17906 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17907 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17910 printf %s
"checking for -lfontconfig... " >&6; }
17911 if test ${ac_cv_lib_soname_fontconfig+y}
17913 printf %s
"(cached) " >&6
17915 ac_check_soname_save_LIBS
=$LIBS
17916 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17920 /* Override any GCC internal prototype to avoid an error.
17921 Use char because int might match the return type of a GCC
17922 builtin and then its argument prototype would still apply. */
17932 if ac_fn_c_try_link
"$LINENO"
17935 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17936 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'` ;;
17937 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17938 if ${ac_cv_lib_soname_fontconfig:+false} :
17940 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17944 ac_cv_lib_soname_fontconfig
=
17946 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17947 conftest
$ac_exeext conftest.
$ac_ext
17948 LIBS
=$ac_check_soname_save_LIBS
17950 if ${ac_cv_lib_soname_fontconfig:+false} :
17952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17953 printf "%s\n" "not found" >&6; }
17954 FONTCONFIG_CFLAGS
=""
17956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17957 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17959 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17964 FONTCONFIG_CFLAGS
=""
17967 CPPFLAGS
=$ac_save_CPPFLAGS
17970 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17972 case "x$with_fontconfig" in
17973 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17975 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17976 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17981 if test "x$with_krb5" != "xno"
17984 if ${KRB5_CFLAGS:+false} :
17986 if test ${PKG_CONFIG+y}
17988 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17991 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17992 if ${KRB5_LIBS:+false} :
17994 if test ${PKG_CONFIG+y}
17996 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17999 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18003 if test -s conftest.err
; then
18004 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18005 cat conftest.err
>&5
18008 ac_save_CPPFLAGS
=$CPPFLAGS
18009 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18010 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18011 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18013 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18017 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18020 printf %s
"checking for -lkrb5... " >&6; }
18021 if test ${ac_cv_lib_soname_krb5+y}
18023 printf %s
"(cached) " >&6
18025 ac_check_soname_save_LIBS
=$LIBS
18026 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18030 /* Override any GCC internal prototype to avoid an error.
18031 Use char because int might match the return type of a GCC
18032 builtin and then its argument prototype would still apply. */
18033 char krb5_is_config_principal ();
18037 return krb5_is_config_principal ();
18042 if ac_fn_c_try_link
"$LINENO"
18045 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18046 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'` ;;
18047 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18048 if ${ac_cv_lib_soname_krb5:+false} :
18050 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18054 ac_cv_lib_soname_krb5
=
18056 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18057 conftest
$ac_exeext conftest.
$ac_ext
18058 LIBS
=$ac_check_soname_save_LIBS
18060 if ${ac_cv_lib_soname_krb5:+false} :
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18063 printf "%s\n" "not found" >&6; }
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18067 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18069 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18076 CPPFLAGS
=$ac_save_CPPFLAGS
18079 if test "x$ac_cv_lib_soname_krb5" = "x"
18081 case "x$with_krb5" in
18082 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18084 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18085 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18089 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18091 if test "x$with_gssapi" != "xno"
18094 if ${GSSAPI_CFLAGS:+false} :
18096 if test ${PKG_CONFIG+y}
18098 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18101 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18102 if ${GSSAPI_LIBS:+false} :
18104 if test ${PKG_CONFIG+y}
18106 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18109 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18113 if test -s conftest.err
; then
18114 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18115 cat conftest.err
>&5
18118 ac_save_CPPFLAGS
=$CPPFLAGS
18119 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18120 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18121 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18123 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18126 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18127 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18129 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18133 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18136 printf %s
"checking for -lgssapi_krb5... " >&6; }
18137 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18139 printf %s
"(cached) " >&6
18141 ac_check_soname_save_LIBS
=$LIBS
18142 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18146 /* Override any GCC internal prototype to avoid an error.
18147 Use char because int might match the return type of a GCC
18148 builtin and then its argument prototype would still apply. */
18149 char gss_init_sec_context ();
18153 return gss_init_sec_context ();
18158 if ac_fn_c_try_link
"$LINENO"
18161 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18162 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'` ;;
18163 *) 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'`
18164 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18166 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18170 ac_cv_lib_soname_gssapi_krb5
=
18172 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18173 conftest
$ac_exeext conftest.
$ac_ext
18174 LIBS
=$ac_check_soname_save_LIBS
18176 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18179 printf "%s\n" "not found" >&6; }
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18183 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18185 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18192 CPPFLAGS
=$ac_save_CPPFLAGS
18195 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18197 case "x$with_gssapi" in
18198 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18200 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18201 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18206 if test "$ac_cv_header_libprocstat_h" = "yes"
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18209 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18210 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18212 printf %s
"(cached) " >&6
18214 ac_check_lib_save_LIBS
=$LIBS
18215 LIBS
="-lprocstat $LIBS"
18216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18222 char procstat_open_sysctl ();
18226 return procstat_open_sysctl ();
18231 if ac_fn_c_try_link
"$LINENO"
18233 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18235 ac_cv_lib_procstat_procstat_open_sysctl
=no
18237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18238 conftest
$ac_exeext conftest.
$ac_ext
18239 LIBS
=$ac_check_lib_save_LIBS
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18242 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18243 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18246 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18248 PROCSTAT_LIBS
="-lprocstat"
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18255 printf %s
"checking for -lodbc... " >&6; }
18256 if test ${ac_cv_lib_soname_odbc+y}
18258 printf %s
"(cached) " >&6
18260 ac_check_soname_save_LIBS
=$LIBS
18261 LIBS
="-lodbc $LIBS"
18262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 char SQLConnect ();
18272 return SQLConnect ();
18277 if ac_fn_c_try_link
"$LINENO"
18280 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18281 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'` ;;
18282 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18283 if ${ac_cv_lib_soname_odbc:+false} :
18285 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18289 ac_cv_lib_soname_odbc
=
18291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18292 conftest
$ac_exeext conftest.
$ac_ext
18293 LIBS
=$ac_check_soname_save_LIBS
18295 if ${ac_cv_lib_soname_odbc:+false} :
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18298 printf "%s\n" "not found" >&6; }
18299 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18303 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18305 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18310 if test "x$with_netapi" != "xno"
18313 if ${NETAPI_CFLAGS:+false} :
18315 if test ${PKG_CONFIG+y}
18317 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18321 if ${NETAPI_LIBS:+false} :
18323 if test ${PKG_CONFIG+y}
18325 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18332 if test -s conftest.err
; then
18333 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18334 cat conftest.err
>&5
18337 ac_save_CPPFLAGS
=$CPPFLAGS
18338 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18340 printf %s
"checking for -lnetapi... " >&6; }
18341 if test ${ac_cv_lib_soname_netapi+y}
18343 printf %s
"(cached) " >&6
18345 ac_check_soname_save_LIBS
=$LIBS
18346 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18350 /* Override any GCC internal prototype to avoid an error.
18351 Use char because int might match the return type of a GCC
18352 builtin and then its argument prototype would still apply. */
18353 char libnetapi_init ();
18357 return libnetapi_init ();
18362 if ac_fn_c_try_link
"$LINENO"
18365 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18366 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'` ;;
18367 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18368 if ${ac_cv_lib_soname_netapi:+false} :
18370 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18374 ac_cv_lib_soname_netapi
=
18376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18377 conftest
$ac_exeext conftest.
$ac_ext
18378 LIBS
=$ac_check_soname_save_LIBS
18380 if ${ac_cv_lib_soname_netapi:+false} :
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18383 printf "%s\n" "not found" >&6; }
18384 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18388 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18390 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18394 CPPFLAGS
=$ac_save_CPPFLAGS
18397 if test "x$ac_cv_lib_soname_netapi" = "x"
18399 case "x$with_netapi" in
18400 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18402 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18403 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18405 enable_netapi
=${enable_netapi:-no}
18409 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18410 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18412 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18415 if test "x$with_vulkan" != "xno"
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18418 printf %s
"checking for -lvulkan... " >&6; }
18419 if test ${ac_cv_lib_soname_vulkan+y}
18421 printf %s
"(cached) " >&6
18423 ac_check_soname_save_LIBS
=$LIBS
18424 LIBS
="-lvulkan $LIBS"
18425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18431 char vkGetInstanceProcAddr ();
18435 return vkGetInstanceProcAddr ();
18440 if ac_fn_c_try_link
"$LINENO"
18443 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18444 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'` ;;
18445 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18446 if ${ac_cv_lib_soname_vulkan:+false} :
18448 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18452 ac_cv_lib_soname_vulkan
=
18454 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18455 conftest
$ac_exeext conftest.
$ac_ext
18456 LIBS
=$ac_check_soname_save_LIBS
18458 if ${ac_cv_lib_soname_vulkan:+false} :
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18461 printf "%s\n" "not found" >&6; }
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18465 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18467 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18471 if test "x$ac_cv_lib_soname_vulkan" = "x"
18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18474 printf %s
"checking for -lMoltenVK... " >&6; }
18475 if test ${ac_cv_lib_soname_MoltenVK+y}
18477 printf %s
"(cached) " >&6
18479 ac_check_soname_save_LIBS
=$LIBS
18480 LIBS
="-lMoltenVK $LIBS"
18481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 /* Override any GCC internal prototype to avoid an error.
18485 Use char because int might match the return type of a GCC
18486 builtin and then its argument prototype would still apply. */
18487 char vkGetInstanceProcAddr ();
18491 return vkGetInstanceProcAddr ();
18496 if ac_fn_c_try_link
"$LINENO"
18499 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18500 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'` ;;
18501 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18502 if ${ac_cv_lib_soname_MoltenVK:+false} :
18504 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18508 ac_cv_lib_soname_MoltenVK
=
18510 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18511 conftest
$ac_exeext conftest.
$ac_ext
18512 LIBS
=$ac_check_soname_save_LIBS
18514 if ${ac_cv_lib_soname_MoltenVK:+false} :
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18517 printf "%s\n" "not found" >&6; }
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18521 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18523 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18529 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18531 case "x$with_vulkan" in
18532 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18534 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18535 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18541 if test "x${GCC}" = "xyes"
18543 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18545 saved_CFLAGS
=$CFLAGS
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18547 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18548 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18550 printf %s
"(cached) " >&6
18552 ac_wine_try_cflags_saved
=$CFLAGS
18553 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 int main(int argc, char **argv) { return 0; }
18558 if ac_fn_c_try_link
"$LINENO"
18560 ac_cv_cflags__Werror_unknown_warning_option
=yes
18562 ac_cv_cflags__Werror_unknown_warning_option
=no
18564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18565 conftest
$ac_exeext conftest.
$ac_ext
18566 CFLAGS
=$ac_wine_try_cflags_saved
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18569 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18570 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18572 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18575 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18576 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18578 printf %s
"(cached) " >&6
18580 ac_wine_try_cflags_saved
=$CFLAGS
18581 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 int main(int argc, char **argv) { return 0; }
18586 if ac_fn_c_try_link
"$LINENO"
18588 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18590 ac_cv_cflags__Werror_unused_command_line_argument
=no
18592 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18593 conftest
$ac_exeext conftest.
$ac_ext
18594 CFLAGS
=$ac_wine_try_cflags_saved
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18597 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18598 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18600 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18603 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18604 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18606 printf %s
"(cached) " >&6
18608 ac_wine_try_cflags_saved
=$CFLAGS
18609 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 int main(int argc, char **argv) { return 0; }
18614 if ac_fn_c_try_link
"$LINENO"
18616 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18618 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18621 conftest
$ac_exeext conftest.
$ac_ext
18622 CFLAGS
=$ac_wine_try_cflags_saved
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18625 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18626 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18628 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18631 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18632 if test ${ac_cv_cflags__fcf_protection_none+y}
18634 printf %s
"(cached) " >&6
18636 ac_wine_try_cflags_saved
=$CFLAGS
18637 CFLAGS
="$CFLAGS -fcf-protection=none"
18638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 int main(int argc, char **argv) { return 0; }
18642 if ac_fn_c_try_link
"$LINENO"
18644 ac_cv_cflags__fcf_protection_none
=yes
18646 ac_cv_cflags__fcf_protection_none
=no
18648 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18649 conftest
$ac_exeext conftest.
$ac_ext
18650 CFLAGS
=$ac_wine_try_cflags_saved
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18653 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18654 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18656 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18659 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18660 if test ${ac_cv_cflags__fno_stack_protector+y}
18662 printf %s
"(cached) " >&6
18664 ac_wine_try_cflags_saved
=$CFLAGS
18665 CFLAGS
="$CFLAGS -fno-stack-protector"
18666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 int main(int argc, char **argv) { return 0; }
18670 if ac_fn_c_try_link
"$LINENO"
18672 ac_cv_cflags__fno_stack_protector
=yes
18674 ac_cv_cflags__fno_stack_protector
=no
18676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18677 conftest
$ac_exeext conftest.
$ac_ext
18678 CFLAGS
=$ac_wine_try_cflags_saved
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18681 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18682 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18684 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18687 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18688 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18690 printf %s
"(cached) " >&6
18692 ac_wine_try_cflags_saved
=$CFLAGS
18693 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 int main(int argc, char **argv) { return 0; }
18698 if ac_fn_c_try_link
"$LINENO"
18700 ac_cv_cflags__fno_strict_aliasing
=yes
18702 ac_cv_cflags__fno_strict_aliasing
=no
18704 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18705 conftest
$ac_exeext conftest.
$ac_ext
18706 CFLAGS
=$ac_wine_try_cflags_saved
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18709 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18710 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18712 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18715 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18716 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18718 printf %s
"(cached) " >&6
18720 ac_wine_try_cflags_saved
=$CFLAGS
18721 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 int main(int argc, char **argv) { return 0; }
18726 if ac_fn_c_try_link
"$LINENO"
18728 ac_cv_cflags__Wdeclaration_after_statement
=yes
18730 ac_cv_cflags__Wdeclaration_after_statement
=no
18732 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18733 conftest
$ac_exeext conftest.
$ac_ext
18734 CFLAGS
=$ac_wine_try_cflags_saved
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18737 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18738 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18740 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18743 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18744 if test ${ac_cv_cflags__Wempty_body+y}
18746 printf %s
"(cached) " >&6
18748 ac_wine_try_cflags_saved
=$CFLAGS
18749 CFLAGS
="$CFLAGS -Wempty-body"
18750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18752 int main(int argc, char **argv) { return 0; }
18754 if ac_fn_c_try_link
"$LINENO"
18756 ac_cv_cflags__Wempty_body
=yes
18758 ac_cv_cflags__Wempty_body
=no
18760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18761 conftest
$ac_exeext conftest.
$ac_ext
18762 CFLAGS
=$ac_wine_try_cflags_saved
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18765 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18766 if test "x$ac_cv_cflags__Wempty_body" = xyes
18768 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18771 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18772 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18774 printf %s
"(cached) " >&6
18776 ac_wine_try_cflags_saved
=$CFLAGS
18777 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 int main(int argc, char **argv) { return 0; }
18782 if ac_fn_c_try_link
"$LINENO"
18784 ac_cv_cflags__Wignored_qualifiers
=yes
18786 ac_cv_cflags__Wignored_qualifiers
=no
18788 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18789 conftest
$ac_exeext conftest.
$ac_ext
18790 CFLAGS
=$ac_wine_try_cflags_saved
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18793 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18794 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18796 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18799 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18800 if test ${ac_cv_cflags__Winit_self+y}
18802 printf %s
"(cached) " >&6
18804 ac_wine_try_cflags_saved
=$CFLAGS
18805 CFLAGS
="$CFLAGS -Winit-self"
18806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 int main(int argc, char **argv) { return 0; }
18810 if ac_fn_c_try_link
"$LINENO"
18812 ac_cv_cflags__Winit_self
=yes
18814 ac_cv_cflags__Winit_self
=no
18816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18817 conftest
$ac_exeext conftest.
$ac_ext
18818 CFLAGS
=$ac_wine_try_cflags_saved
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18821 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18822 if test "x$ac_cv_cflags__Winit_self" = xyes
18824 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18827 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18828 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18830 printf %s
"(cached) " >&6
18832 ac_wine_try_cflags_saved
=$CFLAGS
18833 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 int main(int argc, char **argv) { return 0; }
18838 if ac_fn_c_try_link
"$LINENO"
18840 ac_cv_cflags__Wpacked_not_aligned
=yes
18842 ac_cv_cflags__Wpacked_not_aligned
=no
18844 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18845 conftest
$ac_exeext conftest.
$ac_ext
18846 CFLAGS
=$ac_wine_try_cflags_saved
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18849 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18850 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18852 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18855 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18856 if test ${ac_cv_cflags__Wpragma_pack+y}
18858 printf %s
"(cached) " >&6
18860 ac_wine_try_cflags_saved
=$CFLAGS
18861 CFLAGS
="$CFLAGS -Wpragma-pack"
18862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 int main(int argc, char **argv) { return 0; }
18866 if ac_fn_c_try_link
"$LINENO"
18868 ac_cv_cflags__Wpragma_pack
=yes
18870 ac_cv_cflags__Wpragma_pack
=no
18872 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18873 conftest
$ac_exeext conftest.
$ac_ext
18874 CFLAGS
=$ac_wine_try_cflags_saved
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18877 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18878 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18880 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18883 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18884 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18886 printf %s
"(cached) " >&6
18888 ac_wine_try_cflags_saved
=$CFLAGS
18889 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 int main(int argc, char **argv) { return 0; }
18894 if ac_fn_c_try_link
"$LINENO"
18896 ac_cv_cflags__Wshift_overflow_2
=yes
18898 ac_cv_cflags__Wshift_overflow_2
=no
18900 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18901 conftest
$ac_exeext conftest.
$ac_ext
18902 CFLAGS
=$ac_wine_try_cflags_saved
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18905 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18906 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18908 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18911 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18912 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18914 printf %s
"(cached) " >&6
18916 ac_wine_try_cflags_saved
=$CFLAGS
18917 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 int main(int argc, char **argv) { return 0; }
18922 if ac_fn_c_try_link
"$LINENO"
18924 ac_cv_cflags__Wstrict_prototypes
=yes
18926 ac_cv_cflags__Wstrict_prototypes
=no
18928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18929 conftest
$ac_exeext conftest.
$ac_ext
18930 CFLAGS
=$ac_wine_try_cflags_saved
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18933 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18934 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18936 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18939 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18940 if test ${ac_cv_cflags__Wtype_limits+y}
18942 printf %s
"(cached) " >&6
18944 ac_wine_try_cflags_saved
=$CFLAGS
18945 CFLAGS
="$CFLAGS -Wtype-limits"
18946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 int main(int argc, char **argv) { return 0; }
18950 if ac_fn_c_try_link
"$LINENO"
18952 ac_cv_cflags__Wtype_limits
=yes
18954 ac_cv_cflags__Wtype_limits
=no
18956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18957 conftest
$ac_exeext conftest.
$ac_ext
18958 CFLAGS
=$ac_wine_try_cflags_saved
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18961 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18962 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18964 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18967 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18968 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18970 printf %s
"(cached) " >&6
18972 ac_wine_try_cflags_saved
=$CFLAGS
18973 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 int main(int argc, char **argv) { return 0; }
18978 if ac_fn_c_try_link
"$LINENO"
18980 ac_cv_cflags__Wunused_but_set_parameter
=yes
18982 ac_cv_cflags__Wunused_but_set_parameter
=no
18984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18985 conftest
$ac_exeext conftest.
$ac_ext
18986 CFLAGS
=$ac_wine_try_cflags_saved
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18989 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18990 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18992 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18995 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18996 if test ${ac_cv_cflags__Wvla+y}
18998 printf %s
"(cached) " >&6
19000 ac_wine_try_cflags_saved
=$CFLAGS
19001 CFLAGS
="$CFLAGS -Wvla"
19002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 int main(int argc, char **argv) { return 0; }
19006 if ac_fn_c_try_link
"$LINENO"
19008 ac_cv_cflags__Wvla
=yes
19010 ac_cv_cflags__Wvla
=no
19012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19013 conftest
$ac_exeext conftest.
$ac_ext
19014 CFLAGS
=$ac_wine_try_cflags_saved
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19017 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19018 if test "x$ac_cv_cflags__Wvla" = xyes
19020 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19023 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19024 if test ${ac_cv_cflags__Wwrite_strings+y}
19026 printf %s
"(cached) " >&6
19028 ac_wine_try_cflags_saved
=$CFLAGS
19029 CFLAGS
="$CFLAGS -Wwrite-strings"
19030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 int main(int argc, char **argv) { return 0; }
19034 if ac_fn_c_try_link
"$LINENO"
19036 ac_cv_cflags__Wwrite_strings
=yes
19038 ac_cv_cflags__Wwrite_strings
=no
19040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19041 conftest
$ac_exeext conftest.
$ac_ext
19042 CFLAGS
=$ac_wine_try_cflags_saved
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19045 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19046 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19048 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19052 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19053 if test ${ac_cv_cflags__Wpointer_arith+y}
19055 printf %s
"(cached) " >&6
19057 ac_wine_try_cflags_saved
=$CFLAGS
19058 CFLAGS
="$CFLAGS -Wpointer-arith"
19059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19063 if ac_fn_c_try_link
"$LINENO"
19065 ac_cv_cflags__Wpointer_arith
=yes
19067 ac_cv_cflags__Wpointer_arith
=no
19069 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19070 conftest
$ac_exeext conftest.
$ac_ext
19071 CFLAGS
=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19075 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19077 saved_string_h_CFLAGS
=$CFLAGS
19078 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19080 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19081 if test ${ac_cv_c_string_h_warnings+y}
19083 printf %s
"(cached) " >&6
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #include <string.h>
19096 if ac_fn_c_try_compile
"$LINENO"
19098 ac_cv_c_string_h_warnings
=no
19100 ac_cv_c_string_h_warnings
=yes
19102 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19105 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19106 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19107 CFLAGS
=$saved_string_h_CFLAGS
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19111 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19112 if test ${ac_cv_cflags__Wlogical_op+y}
19114 printf %s
"(cached) " >&6
19116 ac_wine_try_cflags_saved
=$CFLAGS
19117 CFLAGS
="$CFLAGS -Wlogical-op"
19118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 int main(int argc, char **argv) { return 0; }
19122 if ac_fn_c_try_link
"$LINENO"
19124 ac_cv_cflags__Wlogical_op
=yes
19126 ac_cv_cflags__Wlogical_op
=no
19128 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19129 conftest
$ac_exeext conftest.
$ac_ext
19130 CFLAGS
=$ac_wine_try_cflags_saved
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19133 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19134 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19136 saved_string_h_CFLAGS
=$CFLAGS
19137 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19139 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19140 if test ${ac_cv_c_logicalop_noisy+y}
19142 printf %s
"(cached) " >&6
19144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146 #include <string.h>
19147 char*f(const char *h,char n) {return strchr(h,n);}
19156 if ac_fn_c_try_compile
"$LINENO"
19158 ac_cv_c_logicalop_noisy
=no
19160 ac_cv_c_logicalop_noisy
=yes
19162 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19165 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19166 CFLAGS
=$saved_string_h_CFLAGS
19167 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19171 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19172 if test ${wine_cv_64bit_compare_swap+y}
19174 printf %s
"(cached) " >&6
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19189 if ac_fn_c_try_compile
"$LINENO"
19191 wine_cv_64bit_compare_swap
="none needed"
19194 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19195 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19196 *) wine_cv_64bit_compare_swap
="unknown" ;;
19198 if test "x$wine_cv_64bit_compare_swap" != xunknown
19200 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19214 if ac_fn_c_try_compile
"$LINENO"
19218 wine_cv_64bit_compare_swap
="unknown"
19220 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19221 CFLAGS
=$saved_CFLAGS
19224 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19227 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19228 case "$wine_cv_64bit_compare_swap" in
19229 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19231 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19234 ac_debug_format_seen
=""
19235 for ac_flag
in $CFLAGS; do
19237 -gdwarf*) ac_debug_format_seen
=yes ;;
19238 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19241 if test "x$ac_debug_format_seen" = xdefault
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19244 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19245 if test ${ac_cv_cflags__gdwarf_4+y}
19247 printf %s
"(cached) " >&6
19249 ac_wine_try_cflags_saved
=$CFLAGS
19250 CFLAGS
="$CFLAGS -gdwarf-4"
19251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 int main(int argc, char **argv) { return 0; }
19255 if ac_fn_c_try_link
"$LINENO"
19257 ac_cv_cflags__gdwarf_4
=yes
19259 ac_cv_cflags__gdwarf_4
=no
19261 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19262 conftest
$ac_exeext conftest.
$ac_ext
19263 CFLAGS
=$ac_wine_try_cflags_saved
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19266 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19267 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19269 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19276 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19277 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19278 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19280 printf %s
"(cached) " >&6
19282 ac_wine_try_cflags_saved
=$CFLAGS
19283 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19288 if ac_fn_c_try_link
"$LINENO"
19290 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19292 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19295 conftest
$ac_exeext conftest.
$ac_ext
19296 CFLAGS
=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19299 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19300 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19302 DELAYLOADFLAG
="-Wl,-delayload,"
19305 *) MSVCRTFLAGS
="-D_WIN32"
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19307 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19308 if test ${ac_cv_cflags__fno_builtin+y}
19310 printf %s
"(cached) " >&6
19312 ac_wine_try_cflags_saved
=$CFLAGS
19313 CFLAGS
="$CFLAGS -fno-builtin"
19314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 int main(int argc, char **argv) { return 0; }
19318 if ac_fn_c_try_link
"$LINENO"
19320 ac_cv_cflags__fno_builtin
=yes
19322 ac_cv_cflags__fno_builtin
=no
19324 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19325 conftest
$ac_exeext conftest.
$ac_ext
19326 CFLAGS
=$ac_wine_try_cflags_saved
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19329 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19330 if test "x$ac_cv_cflags__fno_builtin" = xyes
19332 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19335 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19336 if test ${ac_cv_cflags__fshort_wchar+y}
19338 printf %s
"(cached) " >&6
19340 ac_wine_try_cflags_saved
=$CFLAGS
19341 CFLAGS
="$CFLAGS -fshort-wchar"
19342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 int main(int argc, char **argv) { return 0; }
19346 if ac_fn_c_try_link
"$LINENO"
19348 ac_cv_cflags__fshort_wchar
=yes
19350 ac_cv_cflags__fshort_wchar
=no
19352 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19353 conftest
$ac_exeext conftest.
$ac_ext
19354 CFLAGS
=$ac_wine_try_cflags_saved
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19357 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19358 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19360 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19363 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19364 if test ${ac_cv_cflags__fvisibility_hidden+y}
19366 printf %s
"(cached) " >&6
19368 ac_wine_try_cflags_saved
=$CFLAGS
19369 CFLAGS
="$CFLAGS -fvisibility=hidden"
19370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19374 if ac_fn_c_try_link
"$LINENO"
19376 ac_cv_cflags__fvisibility_hidden
=yes
19378 ac_cv_cflags__fvisibility_hidden
=no
19380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19381 conftest
$ac_exeext conftest.
$ac_ext
19382 CFLAGS
=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19385 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19386 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19388 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19391 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19392 if test ${ac_cv_cflags__Wno_format+y}
19394 printf %s
"(cached) " >&6
19396 ac_wine_try_cflags_saved
=$CFLAGS
19397 CFLAGS
="$CFLAGS -Wno-format"
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19402 if ac_fn_c_try_link
"$LINENO"
19404 ac_cv_cflags__Wno_format
=yes
19406 ac_cv_cflags__Wno_format
=no
19408 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19409 conftest
$ac_exeext conftest.
$ac_ext
19410 CFLAGS
=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19414 if test "x$ac_cv_cflags__Wno_format" = xyes
19416 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19421 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19422 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19423 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19425 printf %s
"(cached) " >&6
19427 ac_wine_try_cflags_saved
=$CFLAGS
19428 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19433 if ac_fn_c_try_link
"$LINENO"
19435 ac_cv_cflags__fno_omit_frame_pointer
=yes
19437 ac_cv_cflags__fno_omit_frame_pointer
=no
19439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19440 conftest
$ac_exeext conftest.
$ac_ext
19441 CFLAGS
=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19444 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19445 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19447 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19451 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19452 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19453 if test ${ac_cv_cflags__Wno_format+y}
19455 printf %s
"(cached) " >&6
19457 ac_wine_try_cflags_saved
=$CFLAGS
19458 CFLAGS
="$CFLAGS -Wno-format"
19459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19463 if ac_fn_c_try_link
"$LINENO"
19465 ac_cv_cflags__Wno_format
=yes
19467 ac_cv_cflags__Wno_format
=no
19469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19470 conftest
$ac_exeext conftest.
$ac_ext
19471 CFLAGS
=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19474 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19475 if test "x$ac_cv_cflags__Wno_format" = xyes
19477 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19479 *) if test -z "$PE_ARCHS"
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19482 printf %s
"checking for working -mabi=ms... " >&6; }
19483 if test ${ac_cv_mabi_ms+y}
19485 printf %s
"(cached) " >&6
19487 CFLAGS
="$CFLAGS -mabi=ms"
19488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 #include <stdarg.h>
19491 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19500 if ac_fn_c_try_compile
"$LINENO"
19506 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19507 CFLAGS
=$saved_CFLAGS
19509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19510 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19511 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
19513 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19517 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19518 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19520 printf %s
"(cached) " >&6
19522 ac_wine_try_cflags_saved
=$CFLAGS
19523 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 int main(int argc, char **argv) { return 0; }
19528 if ac_fn_c_try_link
"$LINENO"
19530 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19532 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19535 conftest
$ac_exeext conftest.
$ac_ext
19536 CFLAGS
=$ac_wine_try_cflags_saved
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19539 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19540 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19542 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19546 CFLAGS
=$saved_CFLAGS
19548 if test "x$enable_werror" = "xyes"
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19551 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19552 if test ${ac_cv_cflags__Werror+y}
19554 printf %s
"(cached) " >&6
19556 ac_wine_try_cflags_saved
=$CFLAGS
19557 CFLAGS
="$CFLAGS -Werror"
19558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560 int main(int argc, char **argv) { return 0; }
19562 if ac_fn_c_try_link
"$LINENO"
19564 ac_cv_cflags__Werror
=yes
19566 ac_cv_cflags__Werror
=no
19568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19569 conftest
$ac_exeext conftest.
$ac_ext
19570 CFLAGS
=$ac_wine_try_cflags_saved
19572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19573 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19574 if test "x$ac_cv_cflags__Werror" = xyes
19576 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19579 if test "x$enable_build_id" = "xyes"
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19582 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19583 if test ${ac_cv_cflags__Wl___build_id+y}
19585 printf %s
"(cached) " >&6
19587 ac_wine_try_cflags_saved
=$CFLAGS
19588 CFLAGS
="$CFLAGS -Wl,--build-id"
19589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 int main(int argc, char **argv) { return 0; }
19593 if ac_fn_c_try_link
"$LINENO"
19595 ac_cv_cflags__Wl___build_id
=yes
19597 ac_cv_cflags__Wl___build_id
=no
19599 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19600 conftest
$ac_exeext conftest.
$ac_ext
19601 CFLAGS
=$ac_wine_try_cflags_saved
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19604 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19605 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19607 CFLAGS
="$CFLAGS -Wl,--build-id"
19608 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19615 printf %s
"checking for the need to disable Fortify... " >&6; }
19616 if test ${ac_cv_c_fortify_enabled+y}
19618 printf %s
"(cached) " >&6
19620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #include <string.h>
19626 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19627 #error Fortify enabled
19633 if ac_fn_c_try_compile
"$LINENO"
19635 ac_cv_c_fortify_enabled
=no
19637 ac_cv_c_fortify_enabled
=yes
19639 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19642 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19643 if test "$ac_cv_c_fortify_enabled" = yes
19645 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19650 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19651 if test ${ac_cv_c_cfi_support+y}
19653 printf %s
"(cached) " >&6
19655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19666 if ac_fn_c_try_compile
"$LINENO"
19668 ac_cv_c_cfi_support
="yes"
19670 ac_cv_c_cfi_support
="no"
19672 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19675 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19676 if test "$ac_cv_c_cfi_support" = "yes"
19678 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19679 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19680 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19681 elif test $HOST_ARCH = x86_64
19683 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19687 case "$HOST_ARCH,$PE_ARCHS" in
19688 x86_64
,*i386
*) wine_binary
="wine" ;;
19689 x86_64
,*) wine_binary
="wine64" ;;
19690 *) wine_binary
="wine" ;;
19692 WINELOADER_PROGRAMS
="$wine_binary"
19698 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19699 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19700 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19705 if test "$wine_can_build_preloader" = "yes"
19707 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19708 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19715 printf %s
"checking for library containing dlopen... " >&6; }
19716 if test ${ac_cv_search_dlopen+y}
19718 printf %s
"(cached) " >&6
19720 ac_func_search_save_LIBS
=$LIBS
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 /* Override any GCC internal prototype to avoid an error.
19725 Use char because int might match the return type of a GCC
19726 builtin and then its argument prototype would still apply. */
19736 for ac_lib
in '' dl
19738 if test -z "$ac_lib"; then
19739 ac_res
="none required"
19742 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19744 if ac_fn_c_try_link
"$LINENO"
19746 ac_cv_search_dlopen
=$ac_res
19748 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19750 if test ${ac_cv_search_dlopen+y}
19755 if test ${ac_cv_search_dlopen+y}
19759 ac_cv_search_dlopen
=no
19761 rm conftest.
$ac_ext
19762 LIBS
=$ac_func_search_save_LIBS
19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19765 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19766 ac_res
=$ac_cv_search_dlopen
19767 if test "$ac_res" != no
19769 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19775 printf %s
"checking for library containing gethostbyname... " >&6; }
19776 if test ${ac_cv_search_gethostbyname+y}
19778 printf %s
"(cached) " >&6
19780 ac_func_search_save_LIBS
=$LIBS
19781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19787 char gethostbyname ();
19791 return gethostbyname ();
19796 for ac_lib
in '' nsl
19798 if test -z "$ac_lib"; then
19799 ac_res
="none required"
19802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19804 if ac_fn_c_try_link
"$LINENO"
19806 ac_cv_search_gethostbyname
=$ac_res
19808 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19810 if test ${ac_cv_search_gethostbyname+y}
19815 if test ${ac_cv_search_gethostbyname+y}
19819 ac_cv_search_gethostbyname
=no
19821 rm conftest.
$ac_ext
19822 LIBS
=$ac_func_search_save_LIBS
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19825 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19826 ac_res
=$ac_cv_search_gethostbyname
19827 if test "$ac_res" != no
19829 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19835 printf %s
"checking for library containing connect... " >&6; }
19836 if test ${ac_cv_search_connect+y}
19838 printf %s
"(cached) " >&6
19840 ac_func_search_save_LIBS
=$LIBS
19841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19844 /* Override any GCC internal prototype to avoid an error.
19845 Use char because int might match the return type of a GCC
19846 builtin and then its argument prototype would still apply. */
19856 for ac_lib
in '' socket
19858 if test -z "$ac_lib"; then
19859 ac_res
="none required"
19862 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19864 if ac_fn_c_try_link
"$LINENO"
19866 ac_cv_search_connect
=$ac_res
19868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19870 if test ${ac_cv_search_connect+y}
19875 if test ${ac_cv_search_connect+y}
19879 ac_cv_search_connect
=no
19881 rm conftest.
$ac_ext
19882 LIBS
=$ac_func_search_save_LIBS
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19885 printf "%s\n" "$ac_cv_search_connect" >&6; }
19886 ac_res
=$ac_cv_search_connect
19887 if test "$ac_res" != no
19889 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19895 printf %s
"checking for library containing inet_aton... " >&6; }
19896 if test ${ac_cv_search_inet_aton+y}
19898 printf %s
"(cached) " >&6
19900 ac_func_search_save_LIBS
=$LIBS
19901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 /* Override any GCC internal prototype to avoid an error.
19905 Use char because int might match the return type of a GCC
19906 builtin and then its argument prototype would still apply. */
19911 return inet_aton ();
19916 for ac_lib
in '' resolv
19918 if test -z "$ac_lib"; then
19919 ac_res
="none required"
19922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19924 if ac_fn_c_try_link
"$LINENO"
19926 ac_cv_search_inet_aton
=$ac_res
19928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19930 if test ${ac_cv_search_inet_aton+y}
19935 if test ${ac_cv_search_inet_aton+y}
19939 ac_cv_search_inet_aton
=no
19941 rm conftest.
$ac_ext
19942 LIBS
=$ac_func_search_save_LIBS
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19945 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19946 ac_res
=$ac_cv_search_inet_aton
19947 if test "$ac_res" != no
19949 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19954 ac_save_CFLAGS
="$CFLAGS"
19955 CFLAGS
="$CFLAGS $BUILTINFLAG"
19956 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19957 if test "x$ac_cv_func_dladdr1" = xyes
19959 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19962 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19963 if test "x$ac_cv_func_dlinfo" = xyes
19965 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19968 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19969 if test "x$ac_cv_func_epoll_create" = xyes
19971 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19974 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19975 if test "x$ac_cv_func_fstatfs" = xyes
19977 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19980 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19981 if test "x$ac_cv_func_futimens" = xyes
19983 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19986 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19987 if test "x$ac_cv_func_futimes" = xyes
19989 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19992 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19993 if test "x$ac_cv_func_futimesat" = xyes
19995 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19998 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19999 if test "x$ac_cv_func_getaddrinfo" = xyes
20001 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20004 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20005 if test "x$ac_cv_func_getattrlist" = xyes
20007 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20010 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20011 if test "x$ac_cv_func_getauxval" = xyes
20013 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20016 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20017 if test "x$ac_cv_func_getifaddrs" = xyes
20019 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20022 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20023 if test "x$ac_cv_func_getrandom" = xyes
20025 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20028 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20029 if test "x$ac_cv_func_kqueue" = xyes
20031 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20034 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20035 if test "x$ac_cv_func_mach_continuous_time" = xyes
20037 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20040 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20041 if test "x$ac_cv_func_pipe2" = xyes
20043 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20046 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20047 if test "x$ac_cv_func_port_create" = xyes
20049 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20052 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20053 if test "x$ac_cv_func_posix_fadvise" = xyes
20055 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20058 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20059 if test "x$ac_cv_func_posix_fallocate" = xyes
20061 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20064 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20065 if test "x$ac_cv_func_prctl" = xyes
20067 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20070 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20071 if test "x$ac_cv_func_proc_pidinfo" = xyes
20073 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20076 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20077 if test "x$ac_cv_func_sched_yield" = xyes
20079 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20082 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20083 if test "x$ac_cv_func_setproctitle" = xyes
20085 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20088 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20089 if test "x$ac_cv_func_setprogname" = xyes
20091 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20094 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20095 if test "x$ac_cv_func_sigprocmask" = xyes
20097 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20100 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20101 if test "x$ac_cv_func_sysinfo" = xyes
20103 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20106 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20107 if test "x$ac_cv_func_tcdrain" = xyes
20109 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20112 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20113 if test "x$ac_cv_func_thr_kill2" = xyes
20115 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20119 CFLAGS
="$ac_save_CFLAGS"
20122 darwin
*|macosx
*) ;;
20123 *) ac_save_LIBS
=$LIBS
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20125 printf %s
"checking for library containing clock_gettime... " >&6; }
20126 if test ${ac_cv_search_clock_gettime+y}
20128 printf %s
"(cached) " >&6
20130 ac_func_search_save_LIBS
=$LIBS
20131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20134 /* Override any GCC internal prototype to avoid an error.
20135 Use char because int might match the return type of a GCC
20136 builtin and then its argument prototype would still apply. */
20137 char clock_gettime ();
20141 return clock_gettime ();
20146 for ac_lib
in '' rt
20148 if test -z "$ac_lib"; then
20149 ac_res
="none required"
20152 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20154 if ac_fn_c_try_link
"$LINENO"
20156 ac_cv_search_clock_gettime
=$ac_res
20158 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20160 if test ${ac_cv_search_clock_gettime+y}
20165 if test ${ac_cv_search_clock_gettime+y}
20169 ac_cv_search_clock_gettime
=no
20171 rm conftest.
$ac_ext
20172 LIBS
=$ac_func_search_save_LIBS
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20175 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20176 ac_res
=$ac_cv_search_clock_gettime
20177 if test "$ac_res" != no
20179 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20181 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20183 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20192 printf %s
"checking for sched_setaffinity... " >&6; }
20193 if test ${wine_cv_have_sched_setaffinity+y}
20195 printf %s
"(cached) " >&6
20197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20203 sched_setaffinity(0, 0, 0);
20208 if ac_fn_c_try_link
"$LINENO"
20210 wine_cv_have_sched_setaffinity
=yes
20212 wine_cv_have_sched_setaffinity
=no
20214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20215 conftest
$ac_exeext conftest.
$ac_ext
20217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20218 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20219 if test "$wine_cv_have_sched_setaffinity" = "yes"
20222 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20228 printf %s
"checking for inline... " >&6; }
20229 if test ${ac_cv_c_inline+y}
20231 printf %s
"(cached) " >&6
20234 for ac_kw
in inline __inline__ __inline
; do
20235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 #ifndef __cplusplus
20239 static $ac_kw foo_t static_foo (void) {return 0; }
20240 $ac_kw foo_t foo (void) {return 0; }
20244 if ac_fn_c_try_compile
"$LINENO"
20246 ac_cv_c_inline
=$ac_kw
20248 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20249 test "$ac_cv_c_inline" != no
&& break
20253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20254 printf "%s\n" "$ac_cv_c_inline" >&6; }
20256 case $ac_cv_c_inline in
20259 case $ac_cv_c_inline in
20261 *) ac_val
=$ac_cv_c_inline;;
20263 cat >>confdefs.h
<<_ACEOF
20264 #ifndef __cplusplus
20265 #define inline $ac_val
20271 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20273 if test "x$ac_cv_type_request_sense" = xyes
20276 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20282 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20283 #include <sys/socket.h>
20284 #ifdef HAVE_SYS_SOCKETVAR_H
20285 #include <sys/socketvar.h>
20287 #ifdef HAVE_NET_ROUTE_H
20288 #include <net/route.h>
20290 #ifdef HAVE_NETINET_IN_H
20291 #include <netinet/in.h>
20293 #ifdef HAVE_NETINET_IN_SYSTM_H
20294 #include <netinet/in_systm.h>
20296 #ifdef HAVE_NETINET_IP_H
20297 #include <netinet/ip.h>
20299 #ifdef HAVE_NETINET_IN_PCB_H
20300 #include <netinet/in_pcb.h>
20303 if test "x$ac_cv_type_struct_xinpgen" = xyes
20306 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20313 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20314 if test ${wine_cv_linux_gethostbyname_r_6+y}
20316 printf %s
"(cached) " >&6
20318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20327 struct hostent *result;
20334 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20335 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20341 if ac_fn_c_try_link
"$LINENO"
20343 wine_cv_linux_gethostbyname_r_6
=yes
20345 wine_cv_linux_gethostbyname_r_6
=no
20348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20349 conftest
$ac_exeext conftest.
$ac_ext
20352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20353 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20354 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20357 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20362 #include <sys/socket.h>
20363 #ifdef HAVE_SYS_UN_H
20364 # include <sys/un.h>
20367 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20370 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20374 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20375 #include <sys/socket.h>
20376 #ifdef HAVE_SYS_UN_H
20377 # include <sys/un.h>
20380 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20383 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20389 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20390 #ifdef HAVE_SCSI_SG_H
20391 #include <scsi/sg.h>
20394 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20397 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20401 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>
20402 #ifdef HAVE_SCSI_SG_H
20403 #include <scsi/sg.h>
20406 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20409 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20415 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20417 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20420 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20426 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20431 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20434 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20438 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20439 #ifdef HAVE_SYS_MTIO_H
20440 #include <sys/mtio.h>
20443 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20446 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20450 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20451 #ifdef HAVE_SYS_MTIO_H
20452 #include <sys/mtio.h>
20455 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20458 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20464 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20488 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20504 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20512 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20516 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20520 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20521 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20524 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20528 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20529 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20532 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20536 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20537 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20540 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20544 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20545 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20548 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20554 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>
20555 #ifdef HAVE_NETINET_IN_H
20556 #include <netinet/in.h>
20559 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20562 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20568 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
20569 #include <resolv.h>
20572 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20575 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20581 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20582 #include <netinet/in.h>
20585 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20588 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20594 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20595 #ifdef HAVE_SYS_SOCKETVAR_H
20596 #include <sys/socketvar.h>
20598 #ifdef HAVE_NETINET_IN_H
20599 #include <netinet/in.h>
20601 #ifdef HAVE_NETINET_IP_VAR_H
20602 #include <netinet/ip_var.h>
20605 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20608 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20614 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
20615 #include <netinet/ip_var.h>
20618 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20621 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20627 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20628 #ifdef HAVE_SYS_SOCKETVAR_H
20629 #include <sys/socketvar.h>
20631 #ifdef HAVE_NETINET_IN_H
20632 #include <netinet/in.h>
20634 #ifdef HAVE_NETINET6_IP6_VAR_H
20635 #include <netinet6/ip6_var.h>
20638 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20641 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20647 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20654 #ifdef HAVE_NETINET_IP_H
20655 #include <netinet/ip.h>
20657 #ifdef HAVE_NETINET_IP_ICMP_H
20658 #include <netinet/ip_icmp.h>
20660 #ifdef HAVE_NETINET_ICMP_VAR_H
20661 #include <netinet/icmp_var.h>
20664 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20667 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20673 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20674 #ifdef HAVE_SYS_SOCKETVAR_H
20675 #include <sys/socketvar.h>
20677 #ifdef HAVE_NETINET_IN_H
20678 #include <netinet/in.h>
20680 #ifdef HAVE_NETINET_ICMP6_H
20681 #include <netinet/icmp6.h>
20684 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20687 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20693 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20694 #ifdef HAVE_SYS_SOCKETVAR_H
20695 #include <sys/socketvar.h>
20697 #ifdef HAVE_NETINET_IN_H
20698 #include <netinet/in.h>
20700 #ifdef HAVE_NETINET_TCP_H
20701 #include <netinet/tcp.h>
20703 #ifdef HAVE_NETINET_TCP_VAR_H
20704 #include <netinet/tcp_var.h>
20707 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20710 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20716 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
20717 #include <netinet/tcp_var.h>
20720 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20723 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20729 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20733 #ifdef HAVE_NETINET_IP_VAR_H
20734 #include <netinet/ip_var.h>
20736 #ifdef HAVE_NETINET_UDP_H
20737 #include <netinet/udp.h>
20739 #ifdef HAVE_NETINET_UDP_VAR_H
20740 #include <netinet/udp_var.h>
20743 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20746 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20752 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20753 #ifdef HAVE_NET_IF_H
20754 # include <net/if.h>
20757 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20760 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20766 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20767 # include <sys/sysinfo.h>
20770 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20773 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20777 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20778 # include <sys/sysinfo.h>
20781 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20784 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20790 LIBS
="$ac_save_LIBS"
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20793 printf %s
"checking for __builtin_popcount... " >&6; }
20794 if test ${ac_cv_have___builtin_popcount+y}
20796 printf %s
"(cached) " >&6
20798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20804 return __builtin_popcount(1)
20809 if ac_fn_c_try_link
"$LINENO"
20811 ac_cv_have___builtin_popcount
="yes"
20813 ac_cv_have___builtin_popcount
="no"
20815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20816 conftest
$ac_exeext conftest.
$ac_ext
20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20819 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20820 if test "$ac_cv_have___builtin_popcount" = "yes"
20823 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20828 printf %s
"checking for __clear_cache... " >&6; }
20829 if test ${ac_cv_have___clear_cache+y}
20831 printf %s
"(cached) " >&6
20833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20839 __clear_cache((void*)0, (void*)0); return 0;
20844 if ac_fn_c_try_link
"$LINENO"
20846 ac_cv_have___clear_cache
="yes"
20848 ac_cv_have___clear_cache
="no"
20850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20851 conftest
$ac_exeext conftest.
$ac_ext
20853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20854 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20855 if test "$ac_cv_have___clear_cache" = "yes"
20858 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20864 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20865 printf %s
"checking whether we need to define __i386__... " >&6; }
20866 if test ${ac_cv_cpp_def___i386__+y}
20868 printf %s
"(cached) " >&6
20870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20877 $EGREP "yes" >/dev
/null
2>&1
20879 ac_cv_cpp_def___i386__
=yes
20881 ac_cv_cpp_def___i386__
=no
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20887 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20888 if test "x$ac_cv_cpp_def___i386__" = xyes
20890 CFLAGS
="$CFLAGS -D__i386__"
20891 LINTFLAGS
="$LINTFLAGS -D__i386__"
20893 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20894 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20895 if test ${ac_cv_cpp_def___x86_64__+y}
20897 printf %s
"(cached) " >&6
20899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev
/null
2>&1
20908 ac_cv_cpp_def___x86_64__
=yes
20910 ac_cv_cpp_def___x86_64__
=no
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20917 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20919 CFLAGS
="$CFLAGS -D__x86_64__"
20920 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20922 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20923 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20924 if test ${ac_cv_cpp_def___sparc64__+y}
20926 printf %s
"(cached) " >&6
20928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 #ifndef __sparc64__
20934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20935 $EGREP "yes" >/dev
/null
2>&1
20937 ac_cv_cpp_def___sparc64__
=yes
20939 ac_cv_cpp_def___sparc64__
=no
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20945 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20946 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20948 CFLAGS
="$CFLAGS -D__sparc64__"
20949 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20951 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20952 printf %s
"checking whether we need to define __sparc__... " >&6; }
20953 if test ${ac_cv_cpp_def___sparc__+y}
20955 printf %s
"(cached) " >&6
20957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20964 $EGREP "yes" >/dev
/null
2>&1
20966 ac_cv_cpp_def___sparc__
=yes
20968 ac_cv_cpp_def___sparc__
=no
20973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20974 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20975 if test "x$ac_cv_cpp_def___sparc__" = xyes
20977 CFLAGS
="$CFLAGS -D__sparc__"
20978 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20980 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20981 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20982 if test ${ac_cv_cpp_def___powerpc64__+y}
20984 printf %s
"(cached) " >&6
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __powerpc64__
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev
/null
2>&1
20995 ac_cv_cpp_def___powerpc64__
=yes
20997 ac_cv_cpp_def___powerpc64__
=no
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21004 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21006 CFLAGS
="$CFLAGS -D__powerpc64__"
21007 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21009 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21010 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21011 if test ${ac_cv_cpp_def___powerpc__+y}
21013 printf %s
"(cached) " >&6
21015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21017 #ifndef __powerpc__
21021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21022 $EGREP "yes" >/dev
/null
2>&1
21024 ac_cv_cpp_def___powerpc__
=yes
21026 ac_cv_cpp_def___powerpc__
=no
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21032 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21033 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21035 CFLAGS
="$CFLAGS -D__powerpc__"
21036 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21038 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21039 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21040 if test ${ac_cv_cpp_def___aarch64__+y}
21042 printf %s
"(cached) " >&6
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __aarch64__
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev
/null
2>&1
21053 ac_cv_cpp_def___aarch64__
=yes
21055 ac_cv_cpp_def___aarch64__
=no
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21062 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21064 CFLAGS
="$CFLAGS -D__aarch64__"
21065 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21067 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21068 printf %s
"checking whether we need to define __arm__... " >&6; }
21069 if test ${ac_cv_cpp_def___arm__+y}
21071 printf %s
"(cached) " >&6
21073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev
/null
2>&1
21082 ac_cv_cpp_def___arm__
=yes
21084 ac_cv_cpp_def___arm__
=no
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21091 if test "x$ac_cv_cpp_def___arm__" = xyes
21093 CFLAGS
="$CFLAGS -D__arm__"
21094 LINTFLAGS
="$LINTFLAGS -D__arm__"
21098 case $host_vendor in
21099 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21100 printf %s
"checking whether we need to define __sun__... " >&6; }
21101 if test ${ac_cv_cpp_def___sun__+y}
21103 printf %s
"(cached) " >&6
21105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21112 $EGREP "yes" >/dev
/null
2>&1
21114 ac_cv_cpp_def___sun__
=yes
21116 ac_cv_cpp_def___sun__
=no
21121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21122 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21123 if test "x$ac_cv_cpp_def___sun__" = xyes
21125 CFLAGS
="$CFLAGS -D__sun__"
21126 LINTFLAGS
="$LINTFLAGS -D__sun__"
21134 ac_config_commands
="$ac_config_commands include/stamp-h"
21136 printf %s
"creating Makefile rules..." >&6
21139 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21142 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21144 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21145 wine_fn_config_symlink wine
21146 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21147 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21148 wine_fn_config_symlink wine64
21151 wine_fn_config_makefile dlls
/acledit enable_acledit
21152 wine_fn_config_makefile dlls
/aclui enable_aclui
21153 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21154 wine_fn_config_makefile dlls
/activeds enable_activeds
21155 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21156 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21157 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21158 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21159 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21160 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21161 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21162 wine_fn_config_makefile dlls
/advpack enable_advpack
21163 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21164 wine_fn_config_makefile dlls
/amsi enable_amsi
21165 wine_fn_config_makefile dlls
/amstream enable_amstream
21166 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21167 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21168 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21169 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21170 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21171 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21172 wine_fn_config_makefile dlls
/atl enable_atl
21173 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21174 wine_fn_config_makefile dlls
/atl100 enable_atl100
21175 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21176 wine_fn_config_makefile dlls
/atl110 enable_atl110
21177 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21178 wine_fn_config_makefile dlls
/atl80 enable_atl80
21179 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21180 wine_fn_config_makefile dlls
/atl90 enable_atl90
21181 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21182 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21183 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21184 wine_fn_config_makefile dlls
/authz enable_authz
21185 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21186 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21187 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21188 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21189 wine_fn_config_makefile dlls
/avrt enable_avrt
21190 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21191 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21192 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21193 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21194 wine_fn_config_makefile dlls
/browseui enable_browseui
21195 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21196 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21197 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21198 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21199 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21200 wine_fn_config_makefile dlls
/cards enable_cards
21201 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21202 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21203 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21204 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21205 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21206 wine_fn_config_makefile dlls
/combase enable_combase
21207 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21208 wine_fn_config_makefile dlls
/comcat enable_comcat
21209 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21210 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21211 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21212 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21213 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21214 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21215 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21216 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21217 wine_fn_config_makefile dlls
/compstui enable_compstui
21218 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21219 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21220 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21221 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21222 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21223 wine_fn_config_makefile dlls
/connect enable_connect
21224 wine_fn_config_makefile dlls
/credui enable_credui
21225 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21226 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21227 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21228 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21229 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21230 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21231 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21232 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21233 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21234 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21235 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21236 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21237 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21238 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21239 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21240 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21241 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21242 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21243 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21244 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21245 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21246 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21248 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21249 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21250 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21251 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21252 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21253 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21254 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21255 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21256 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21257 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21259 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21260 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21261 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21262 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21263 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21264 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21265 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21266 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21267 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21268 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21269 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21270 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21271 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21272 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21273 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21274 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21275 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21276 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21277 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21278 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21279 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21280 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21281 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21282 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21283 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21284 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21285 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21286 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21287 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21288 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21289 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21290 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21291 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21292 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21293 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21294 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21295 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21296 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21297 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21298 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21299 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21300 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21301 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21302 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21303 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21304 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21305 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21306 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21307 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21308 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21309 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21310 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21311 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21312 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21313 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21314 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21315 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21316 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21317 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21318 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21319 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21320 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21321 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21322 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21323 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21324 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21325 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21326 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21327 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21328 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21329 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21330 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21331 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21333 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21334 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21335 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21336 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21337 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21338 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21339 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21340 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21341 wine_fn_config_makefile dlls
/devenum enable_devenum
21342 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21343 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21344 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21345 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21346 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21347 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21348 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21349 wine_fn_config_makefile dlls
/dinput enable_dinput
21350 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21351 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21352 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21353 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21355 wine_fn_config_makefile dlls
/dispex enable_dispex
21356 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21357 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21358 wine_fn_config_makefile dlls
/dmband enable_dmband
21359 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21360 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21361 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21362 wine_fn_config_makefile dlls
/dmime enable_dmime
21363 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21364 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21365 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21366 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21367 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21368 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21369 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21370 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21371 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21372 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21373 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21374 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21375 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21376 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21377 wine_fn_config_makefile dlls
/dplay enable_dplay
21378 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21379 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21380 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21381 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21382 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21383 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21384 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21385 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21386 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21387 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21388 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21389 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21390 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21391 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21392 wine_fn_config_makefile dlls
/dsound enable_dsound
21393 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21394 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21395 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21396 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21397 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21398 wine_fn_config_makefile dlls
/dswave enable_dswave
21399 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21400 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21401 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21402 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21403 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21404 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21405 wine_fn_config_makefile dlls
/dxcore enable_dxcore
21406 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21407 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21408 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21409 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21410 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21411 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21412 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21413 wine_fn_config_makefile dlls
/esent enable_esent
21414 wine_fn_config_makefile dlls
/evr enable_evr
21415 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21416 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21417 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21418 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21419 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21420 wine_fn_config_makefile dlls
/feclient enable_feclient
21421 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21422 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21423 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21424 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21425 wine_fn_config_makefile dlls
/fusion enable_fusion
21426 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21427 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21428 wine_fn_config_makefile dlls
/gameux enable_gameux
21429 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21430 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21431 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21432 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21433 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21434 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21435 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21436 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21437 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21438 wine_fn_config_makefile dlls
/glu32 enable_glu32
21439 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21440 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21441 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21442 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21443 wine_fn_config_makefile dlls
/hal enable_hal
21444 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21445 wine_fn_config_makefile dlls
/hid enable_hid
21446 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21447 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21448 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21449 wine_fn_config_makefile dlls
/hlink enable_hlink
21450 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21451 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21452 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21453 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21454 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21455 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21456 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21457 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21458 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21459 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21460 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21461 wine_fn_config_makefile dlls
/icmp enable_icmp
21462 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21463 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21464 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21465 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21466 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21467 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21468 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21469 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21470 wine_fn_config_makefile dlls
/imm32 enable_imm32
21471 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21472 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21473 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21474 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21475 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21476 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21477 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21478 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21479 wine_fn_config_makefile dlls
/initpki enable_initpki
21480 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21481 wine_fn_config_makefile dlls
/inseng enable_inseng
21482 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21483 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21484 wine_fn_config_makefile dlls
/iprop enable_iprop
21485 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21486 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21487 wine_fn_config_makefile dlls
/itircl enable_itircl
21488 wine_fn_config_makefile dlls
/itss enable_itss
21489 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21490 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21491 wine_fn_config_makefile dlls
/jscript enable_jscript
21492 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21493 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21494 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21495 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21496 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21497 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21498 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21499 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21500 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21501 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21502 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21503 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21504 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21505 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21506 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21507 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21508 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21509 wine_fn_config_makefile dlls
/localspl enable_localspl
21510 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21511 wine_fn_config_makefile dlls
/localui enable_localui
21512 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21513 wine_fn_config_makefile dlls
/lz32 enable_lz32
21514 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21515 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21516 wine_fn_config_makefile dlls
/magnification enable_magnification
21517 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21518 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21519 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21520 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21521 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21522 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21523 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21524 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21525 wine_fn_config_makefile dlls
/mf enable_mf
21526 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21527 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21528 wine_fn_config_makefile dlls
/mferror enable_mferror
21529 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21530 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21531 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21532 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21533 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21534 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21535 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21536 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21537 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21538 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21539 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21540 wine_fn_config_makefile dlls
/midimap enable_midimap
21541 wine_fn_config_makefile dlls
/mlang enable_mlang
21542 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21543 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21544 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21545 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21546 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21547 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21548 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21549 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21550 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21551 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21552 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21553 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21554 wine_fn_config_makefile dlls
/mpr enable_mpr
21555 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21556 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21557 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21558 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21559 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21560 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msado15 enable_msado15
21562 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21564 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21565 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21566 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21567 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21568 wine_fn_config_makefile dlls
/mscms enable_mscms
21569 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21570 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21571 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21572 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21573 wine_fn_config_makefile dlls
/msctf enable_msctf
21574 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21575 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21576 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21577 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21578 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21579 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21581 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21582 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21584 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21585 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21587 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21588 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21589 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21590 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21591 wine_fn_config_makefile dlls
/msi enable_msi
21592 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21593 wine_fn_config_makefile dlls
/msident enable_msident
21594 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21595 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21596 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21597 wine_fn_config_makefile dlls
/msisip enable_msisip
21598 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21599 wine_fn_config_makefile dlls
/msls31 enable_msls31
21600 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21601 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21602 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21603 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21604 wine_fn_config_makefile dlls
/msports enable_msports
21605 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21606 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21607 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21608 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21609 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21610 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21611 wine_fn_config_makefile dlls
/mstask enable_mstask
21612 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21613 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21614 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21615 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21616 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21617 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21618 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21619 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21620 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21621 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21622 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21623 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21625 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21626 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21627 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21628 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21629 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21630 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21631 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21632 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21633 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21634 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21635 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21636 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21637 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21638 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21639 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21640 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21641 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21642 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21643 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21644 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21645 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21646 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21647 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21648 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21649 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21650 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21651 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21653 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21655 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21656 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21657 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21658 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21659 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21660 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21661 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21662 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21663 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21664 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21665 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21666 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21667 wine_fn_config_makefile dlls
/msxml enable_msxml
21668 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21669 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21670 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21671 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21672 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
21673 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21674 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
21675 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21676 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21677 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21678 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21679 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21680 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21681 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21682 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21683 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21684 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21685 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21686 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21687 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21688 wine_fn_config_makefile dlls
/netutils enable_netutils
21689 wine_fn_config_makefile dlls
/newdev enable_newdev
21690 wine_fn_config_makefile dlls
/ninput enable_ninput
21691 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21692 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21693 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21694 wine_fn_config_makefile dlls
/npptools enable_npptools
21695 wine_fn_config_makefile dlls
/nsi enable_nsi
21696 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21697 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21698 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21699 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21700 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21701 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21702 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21703 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21704 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21705 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21706 wine_fn_config_makefile dlls
/objsel enable_objsel
21707 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21708 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21709 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21710 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21711 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21712 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21713 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21714 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21715 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21716 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21717 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21718 wine_fn_config_makefile dlls
/ole32 enable_ole32
21719 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21720 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21721 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21722 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21723 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21724 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21725 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21726 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21727 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21728 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21729 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21730 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21731 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21733 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21734 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21735 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21736 wine_fn_config_makefile dlls
/opencl enable_opencl
21737 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21738 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21739 wine_fn_config_makefile dlls
/packager enable_packager
21740 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21741 wine_fn_config_makefile dlls
/pdh enable_pdh
21742 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21743 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21744 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21745 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21746 wine_fn_config_makefile dlls
/printui enable_printui
21747 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21748 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21749 wine_fn_config_makefile dlls
/propsys enable_propsys
21750 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21751 wine_fn_config_makefile dlls
/psapi enable_psapi
21752 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21753 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21754 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21755 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21756 wine_fn_config_makefile dlls
/qasf enable_qasf
21757 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21758 wine_fn_config_makefile dlls
/qcap enable_qcap
21759 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21760 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21761 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21762 wine_fn_config_makefile dlls
/qedit enable_qedit
21763 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21764 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21765 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21766 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21767 wine_fn_config_makefile dlls
/quartz enable_quartz
21768 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21769 wine_fn_config_makefile dlls
/query enable_query
21770 wine_fn_config_makefile dlls
/qwave enable_qwave
21771 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21772 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21774 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21775 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21776 wine_fn_config_makefile dlls
/regapi enable_regapi
21777 wine_fn_config_makefile dlls
/resutils enable_resutils
21778 wine_fn_config_makefile dlls
/riched20 enable_riched20
21779 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21780 wine_fn_config_makefile dlls
/riched32 enable_riched32
21781 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21782 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21783 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21784 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21785 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21786 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21787 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21788 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21789 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21790 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21791 wine_fn_config_makefile dlls
/samlib enable_samlib
21792 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21793 wine_fn_config_makefile dlls
/sapi enable_sapi
21794 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21795 wine_fn_config_makefile dlls
/sas enable_sas
21796 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21797 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21798 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21799 wine_fn_config_makefile dlls
/schannel enable_schannel
21800 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21801 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21802 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21803 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21804 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21805 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21806 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21807 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21808 wine_fn_config_makefile dlls
/sechost enable_sechost
21809 wine_fn_config_makefile dlls
/secur32 enable_secur32
21810 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21811 wine_fn_config_makefile dlls
/security enable_security
21812 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21813 wine_fn_config_makefile dlls
/serialui enable_serialui
21814 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21815 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21816 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21817 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21818 wine_fn_config_makefile dlls
/sfc enable_sfc
21819 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21820 wine_fn_config_makefile dlls
/shcore enable_shcore
21821 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21822 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21823 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21824 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21825 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21826 wine_fn_config_makefile dlls
/shell32 enable_shell32
21827 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21828 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21829 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21830 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21831 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21832 wine_fn_config_makefile dlls
/slc enable_slc
21833 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21834 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21835 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21836 wine_fn_config_makefile dlls
/softpub enable_softpub
21837 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21838 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21839 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21840 wine_fn_config_makefile dlls
/sppc enable_sppc
21841 wine_fn_config_makefile dlls
/srclient enable_srclient
21842 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21843 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
21844 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21845 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21846 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21847 wine_fn_config_makefile dlls
/sti enable_sti
21848 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21849 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21850 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21851 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21852 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21853 wine_fn_config_makefile dlls
/sxs enable_sxs
21854 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21855 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21856 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21857 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21858 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21859 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21860 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21861 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21862 wine_fn_config_makefile dlls
/tbs enable_tbs
21863 wine_fn_config_makefile dlls
/tdh enable_tdh
21864 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21865 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21866 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21867 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/traffic enable_traffic
21869 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21871 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21872 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21873 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21874 wine_fn_config_makefile dlls
/tzres enable_tzres
21875 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21876 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21877 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21878 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21879 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21880 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21881 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21882 wine_fn_config_makefile dlls
/unicows enable_unicows
21883 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21884 wine_fn_config_makefile dlls
/url enable_url
21885 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21886 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21887 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21888 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21889 wine_fn_config_makefile dlls
/user32 enable_user32
21890 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21891 wine_fn_config_makefile dlls
/userenv enable_userenv
21892 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21893 wine_fn_config_makefile dlls
/usp10 enable_usp10
21894 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21895 wine_fn_config_makefile dlls
/utildll enable_utildll
21896 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21897 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21898 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21899 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21900 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21901 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21902 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21903 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21904 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21905 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21906 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21907 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21908 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21909 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21910 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21911 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21912 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21913 wine_fn_config_makefile dlls
/version enable_version
21914 wine_fn_config_makefile dlls
/version
/tests enable_tests
21915 wine_fn_config_makefile dlls
/vga enable_vga
21916 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21917 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21918 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21919 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21920 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21921 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21922 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21923 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21924 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21925 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21926 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21927 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21928 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21929 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21930 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21931 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21932 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21933 wine_fn_config_makefile dlls
/webservices enable_webservices
21934 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21935 wine_fn_config_makefile dlls
/websocket enable_websocket
21936 wine_fn_config_makefile dlls
/wer enable_wer
21937 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21938 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21939 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21940 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21941 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21942 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21943 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21944 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21945 wine_fn_config_makefile dlls
/win32u enable_win32u
21946 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21947 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21948 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21949 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21950 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
21951 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
21952 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21953 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21954 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21955 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21956 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21957 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21958 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21959 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21960 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21961 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21962 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21963 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21964 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21965 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21966 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
21967 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
21968 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21969 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21970 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21971 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21972 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21973 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21974 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21975 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21976 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21977 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
21978 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
21979 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
21980 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
21981 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21982 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21983 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21984 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21985 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21986 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21987 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21988 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21989 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21990 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21991 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21992 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21993 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21994 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21995 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21996 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21997 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21998 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21999 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22000 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22001 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22002 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22003 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22004 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22005 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22006 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22007 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22008 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22009 wine_fn_config_makefile dlls
/wing32 enable_wing32
22010 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22011 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22012 wine_fn_config_makefile dlls
/wininet enable_wininet
22013 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22014 wine_fn_config_makefile dlls
/winmm enable_winmm
22015 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22016 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22017 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22018 wine_fn_config_makefile dlls
/winprint enable_winprint
22019 wine_fn_config_makefile dlls
/winscard enable_winscard
22020 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22021 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22022 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22023 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22024 wine_fn_config_makefile dlls
/winsta enable_winsta
22025 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22026 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22027 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22028 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22029 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22031 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22032 wine_fn_config_makefile dlls
/winusb enable_winusb
22033 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22034 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22035 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22036 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22037 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22038 wine_fn_config_makefile dlls
/wldp enable_wldp
22039 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22040 wine_fn_config_makefile dlls
/wmi enable_wmi
22041 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22042 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22043 wine_fn_config_makefile dlls
/wmp enable_wmp
22044 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22045 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22046 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22047 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22048 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22049 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22050 wine_fn_config_makefile dlls
/wow32 enable_win16
22051 wine_fn_config_makefile dlls
/wow64 enable_wow64
22052 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22053 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22054 wine_fn_config_makefile dlls
/wpc enable_wpc
22055 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22056 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22057 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22058 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22059 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22060 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22061 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22062 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22063 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22064 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22065 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22066 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22067 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22068 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22069 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22070 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22071 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22072 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22073 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22074 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22075 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22076 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22077 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22078 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22079 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22080 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22081 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22082 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22083 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22084 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22085 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22086 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22087 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22088 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22089 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22090 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22091 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22092 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22093 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22094 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22095 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22096 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22097 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22098 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22099 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22100 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22101 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22102 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22103 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22104 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22105 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22106 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22107 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22108 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22109 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22110 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22111 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22112 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22113 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22114 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22115 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22116 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22117 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22118 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22119 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22120 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22121 wine_fn_config_makefile fonts enable_fonts
22122 wine_fn_config_makefile include enable_include
22123 wine_fn_config_makefile libs
/adsiid enable_adsiid
22124 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22125 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22126 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22127 wine_fn_config_makefile libs
/dxguid enable_dxguid
22128 wine_fn_config_makefile libs
/faudio enable_faudio
22129 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22130 wine_fn_config_makefile libs
/gsm enable_gsm
22131 wine_fn_config_makefile libs
/jpeg enable_jpeg
22132 wine_fn_config_makefile libs
/jxr enable_jxr
22133 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22134 wine_fn_config_makefile libs
/ldap enable_ldap
22135 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22136 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22137 wine_fn_config_makefile libs
/musl enable_musl
22138 wine_fn_config_makefile libs
/png enable_png
22139 wine_fn_config_makefile libs
/strmbase enable_strmbase
22140 wine_fn_config_makefile libs
/strmiids enable_strmiids
22141 wine_fn_config_makefile libs
/tiff enable_tiff
22142 wine_fn_config_makefile libs
/uuid enable_uuid
22143 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22144 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22145 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22146 wine_fn_config_makefile libs
/xml2 enable_xml2
22147 wine_fn_config_makefile libs
/xslt enable_xslt
22148 wine_fn_config_makefile libs
/zlib enable_zlib
22149 wine_fn_config_makefile libs
/zydis enable_zydis
22150 wine_fn_config_makefile loader enable_loader
22151 wine_fn_config_makefile nls enable_nls
22152 wine_fn_config_makefile po enable_po
22153 wine_fn_config_makefile programs
/arp enable_arp
22154 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22155 wine_fn_config_makefile programs
/attrib enable_attrib
22156 wine_fn_config_makefile programs
/cabarc enable_cabarc
22157 wine_fn_config_makefile programs
/cacls enable_cacls
22158 wine_fn_config_makefile programs
/certutil enable_certutil
22159 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22160 wine_fn_config_makefile programs
/clock enable_clock
22161 wine_fn_config_makefile programs
/cmd enable_cmd
22162 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22163 wine_fn_config_makefile programs
/conhost enable_conhost
22164 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22165 wine_fn_config_makefile programs
/control enable_control
22166 wine_fn_config_makefile programs
/cscript enable_cscript
22167 wine_fn_config_makefile programs
/dism enable_dism
22168 wine_fn_config_makefile programs
/dllhost enable_dllhost
22169 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22170 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22171 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22172 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22173 wine_fn_config_makefile programs
/eject enable_eject
22174 wine_fn_config_makefile programs
/expand enable_expand
22175 wine_fn_config_makefile programs
/explorer enable_explorer
22176 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22177 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22178 wine_fn_config_makefile programs
/fc enable_fc
22179 wine_fn_config_makefile programs
/find enable_find
22180 wine_fn_config_makefile programs
/find
/tests enable_tests
22181 wine_fn_config_makefile programs
/findstr enable_findstr
22182 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22183 wine_fn_config_makefile programs
/fsutil enable_fsutil
22184 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22185 wine_fn_config_makefile programs
/hh enable_hh
22186 wine_fn_config_makefile programs
/hostname enable_hostname
22187 wine_fn_config_makefile programs
/icacls enable_icacls
22188 wine_fn_config_makefile programs
/icinfo enable_icinfo
22189 wine_fn_config_makefile programs
/iexplore enable_iexplore
22190 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22191 wine_fn_config_makefile programs
/klist enable_klist
22192 wine_fn_config_makefile programs
/lodctr enable_lodctr
22193 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22194 wine_fn_config_makefile programs
/mshta enable_mshta
22195 wine_fn_config_makefile programs
/msidb enable_msidb
22196 wine_fn_config_makefile programs
/msiexec enable_msiexec
22197 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22198 wine_fn_config_makefile programs
/net enable_net
22199 wine_fn_config_makefile programs
/netsh enable_netsh
22200 wine_fn_config_makefile programs
/netstat enable_netstat
22201 wine_fn_config_makefile programs
/ngen enable_ngen
22202 wine_fn_config_makefile programs
/notepad enable_notepad
22203 wine_fn_config_makefile programs
/oleview enable_oleview
22204 wine_fn_config_makefile programs
/ping enable_ping
22205 wine_fn_config_makefile programs
/plugplay enable_plugplay
22206 wine_fn_config_makefile programs
/pnputil enable_pnputil
22207 wine_fn_config_makefile programs
/powershell enable_powershell
22208 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22209 wine_fn_config_makefile programs
/progman enable_progman
22210 wine_fn_config_makefile programs
/reg enable_reg
22211 wine_fn_config_makefile programs
/reg
/tests enable_tests
22212 wine_fn_config_makefile programs
/regasm enable_regasm
22213 wine_fn_config_makefile programs
/regedit enable_regedit
22214 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22215 wine_fn_config_makefile programs
/regini enable_regini
22216 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22217 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22218 wine_fn_config_makefile programs
/robocopy enable_robocopy
22219 wine_fn_config_makefile programs
/rpcss enable_rpcss
22220 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22221 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22222 wine_fn_config_makefile programs
/sc enable_sc
22223 wine_fn_config_makefile programs
/sc
/tests enable_tests
22224 wine_fn_config_makefile programs
/schtasks enable_schtasks
22225 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22226 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22227 wine_fn_config_makefile programs
/secedit enable_secedit
22228 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22229 wine_fn_config_makefile programs
/services enable_services
22230 wine_fn_config_makefile programs
/services
/tests enable_tests
22231 wine_fn_config_makefile programs
/setx enable_setx
22232 wine_fn_config_makefile programs
/shutdown enable_shutdown
22233 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22234 wine_fn_config_makefile programs
/start enable_start
22235 wine_fn_config_makefile programs
/subst enable_subst
22236 wine_fn_config_makefile programs
/svchost enable_svchost
22237 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22238 wine_fn_config_makefile programs
/taskkill enable_taskkill
22239 wine_fn_config_makefile programs
/tasklist enable_tasklist
22240 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22241 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22242 wine_fn_config_makefile programs
/termsv enable_termsv
22243 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22244 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22245 wine_fn_config_makefile programs
/view enable_view
22246 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22247 wine_fn_config_makefile programs
/where enable_where
22248 wine_fn_config_makefile programs
/whoami enable_whoami
22249 wine_fn_config_makefile programs
/wineboot enable_wineboot
22250 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22251 wine_fn_config_makefile programs
/winecfg enable_winecfg
22252 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22253 wine_fn_config_makefile programs
/winedbg enable_winedbg
22254 wine_fn_config_makefile programs
/winedevice enable_winedevice
22255 wine_fn_config_makefile programs
/winefile enable_winefile
22256 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22257 wine_fn_config_makefile programs
/winemine enable_winemine
22258 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22259 wine_fn_config_makefile programs
/winepath enable_winepath
22260 wine_fn_config_makefile programs
/winetest enable_winetest
22261 wine_fn_config_makefile programs
/winevdm enable_win16
22262 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22263 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22264 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22265 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22266 wine_fn_config_makefile programs
/winver enable_winver
22267 wine_fn_config_makefile programs
/wmic enable_wmic
22268 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22269 wine_fn_config_makefile programs
/wordpad enable_wordpad
22270 wine_fn_config_makefile programs
/write enable_write
22271 wine_fn_config_makefile programs
/wscript enable_wscript
22272 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22273 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22274 wine_fn_config_makefile programs
/wusa enable_wusa
22275 wine_fn_config_makefile programs
/xcopy enable_xcopy
22276 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22277 wine_fn_config_makefile server enable_server
22278 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22279 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22289 as_fn_append CONFIGURE_TARGETS
" TAGS"
22290 as_fn_append CONFIGURE_TARGETS
" tags"
22291 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22292 as_fn_append CONFIGURE_TARGETS
" config.log"
22293 as_fn_append CONFIGURE_TARGETS
" config.status"
22294 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22295 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22296 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22298 if test "x$enable_tools" != xno
22300 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22301 ac_config_commands
="$ac_config_commands tools/makedep"
22305 ac_config_commands
="$ac_config_commands Makefile"
22312 as_fn_append wine_rules
"
22314 @echo \"Wine build complete.\"
22318 Makefile: config.status \$(MAKEDEP)
22319 @./config.status Makefile
22320 depend: \$(MAKEDEP)
22321 \$(MAKEDEP)$makedep_flags"
22324 as_fn_append wine_rules
"
22325 config.status: ${wine_srcdir}configure
22326 @./config.status --recheck
22327 include/config.h: include/stamp-h
22328 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22329 @./config.status include/config.h include/stamp-h"
22331 if test "x$enable_maintainer_mode" = xyes
22333 as_fn_append wine_rules
"
22334 configure: configure.ac aclocal.m4
22335 autoconf --warnings=all
22336 include/config.h.in: include/stamp-h.in
22337 include/stamp-h.in: configure.ac aclocal.m4
22338 autoheader --warnings=all
22339 @echo timestamp > \$@"
22342 if test "x$enable_tools" != xno
22344 as_fn_append wine_rules
"
22345 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22346 @./config.status tools/makedep
22347 Makefile: tools/makedep$ac_exeext"
22349 as_fn_append wine_rules
"
22351 @echo \"You need to run make in $toolsdir first\" && false"
22355 if test -n "$with_wine64"
22357 case "$with_wine64" in
22361 rm -f fonts server
2>/dev
/null
22362 as_fn_append wine_rules
"
22363 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22364 loader/wine64 loader/wine64-preloader:
22365 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22366 $with_wine64/loader/wine:
22367 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22368 $with_wine64/loader/wine-preloader:
22369 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22371 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22373 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22374 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22378 programs/msidb/msidb \
22379 programs/msiexec/msiexec \
22380 programs/notepad/notepad \
22381 programs/regedit/regedit \
22382 programs/regsvr32/regsvr32 \
22383 programs/wineboot/wineboot \
22384 programs/winecfg/winecfg \
22385 programs/wineconsole/wineconsole \
22386 programs/winedbg/winedbg \
22387 programs/winefile/winefile \
22388 programs/winemine/winemine \
22389 programs/winepath/winepath \
22393 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22394 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22399 as_fn_append wine_rules
"
22401 rm -rf autom4te.cache
22403 rm -f configure include/config.h.in"
22406 as_fn_append wine_rules
"
22407 dlls/ntdll/unix/version.c: dummy
22408 @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)
22409 programs/winetest/build.rc: dummy
22410 @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)
22411 programs/winetest/build.nfo:
22413 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
22414 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22415 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22418 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22420 as_fn_append wine_rules
"
22423 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22426 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22428 .PHONY: depend dummy install-manpages"
22430 printf "%s\n" " done" >&6
22431 cat >confcache
<<\_ACEOF
22432 # This file is a shell script that caches the results of configure
22433 # tests run on this system so they can be shared between configure
22434 # scripts and configure runs, see configure's option --config-cache.
22435 # It is not useful on other systems. If it contains results you don't
22436 # want to keep, you may remove or edit it.
22438 # config.status only pays attention to the cache file if you give it
22439 # the --recheck option to rerun configure.
22441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22443 # following values.
22447 # The following way of writing the cache mishandles newlines in values,
22448 # but we know of no workaround that is simple, portable, and efficient.
22449 # So, we kill variables containing newlines.
22450 # Ultrix sh set writes to stderr and can't be redirected directly,
22451 # and sets the high bit in the cache file unless we assign to the vars.
22453 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22454 eval ac_val
=\$
$ac_var
22458 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22459 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22462 _ | IFS | as_nl
) ;; #(
22463 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22464 *) { eval $ac_var=; unset $ac_var;} ;;
22470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22471 *${as_nl}ac_space
=\
*)
22472 # `set' does not quote correctly, so add quotes: double-quote
22473 # substitution turns \\\\ into \\, and sed turns \\ into \.
22476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22479 # `set' quotes correctly as required by POSIX, so do not add quotes.
22480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22489 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22493 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22494 if test -w "$cache_file"; then
22495 if test "x$cache_file" != "x/dev/null"; then
22496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22497 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22498 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22499 cat confcache
>"$cache_file"
22501 case $cache_file in #(
22503 mv -f confcache
"$cache_file"$$
&&
22504 mv -f "$cache_file"$$
"$cache_file" ;; #(
22506 mv -f confcache
"$cache_file" ;;
22511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22512 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22517 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22518 # Let make expand exec_prefix.
22519 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22521 DEFS
=-DHAVE_CONFIG_H
22526 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22527 # 1. Remove the extension, and $U if already installed.
22528 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22529 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22531 # will be set to the directory where LIBOBJS objects are built.
22532 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22533 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22535 LIBOBJS
=$ac_libobjs
22537 LTLIBOBJS
=$ac_ltlibobjs
22541 : "${CONFIG_STATUS=./config.status}"
22543 ac_clean_files_save
=$ac_clean_files
22544 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22546 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22548 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22550 # Generated by $as_me.
22551 # Run this file to recreate the current configuration.
22552 # Compiler output produced by configure, useful for debugging
22553 # configure, is in config.log if it exists.
22556 ac_cs_recheck=false
22559 SHELL=\${CONFIG_SHELL-$SHELL}
22562 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22563 ## -------------------- ##
22564 ## M4sh Initialization. ##
22565 ## -------------------- ##
22567 # Be more Bourne compatible
22568 DUALCASE
=1; export DUALCASE
# for MKS sh
22570 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22574 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22575 # is contrary to our usage. Disable this feature.
22576 alias -g '${1+"$@"}'='"$@"'
22577 setopt NO_GLOB_SUBST
22579 case `(set -o) 2>/dev/null` in #(
22589 # Reset variables that may have inherited troublesome values from
22592 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22593 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22594 # side effect of setting IFS to empty, thus disabling word splitting.)
22595 # Quoting is to prevent editors from complaining about space-tab.
22605 # Ensure predictable behavior from utilities with locale-dependent output.
22611 # We cannot yet rely on "unset" to work, but we need these variables
22612 # to be unset--not just set to an empty or harmless value--now, to
22613 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22614 # also avoids known problems related to "unset" and subshell syntax
22615 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22616 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22617 do eval test \
${$as_var+y} \
22618 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22621 # Ensure that fds 0, 1, and 2 are open.
22622 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22623 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22624 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22626 # The user is always right.
22627 if ${PATH_SEPARATOR+false} :; then
22629 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22630 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22636 # Find who we are. Look in the path if we contain no directory separator.
22639 *[\\/]* ) as_myself
=$0 ;;
22640 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22641 for as_dir
in $PATH
22644 case $as_dir in #(((
22647 *) as_dir
=$as_dir/ ;;
22649 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22655 # We did not find ourselves, most probably we were run as `sh COMMAND'
22656 # in which case we are not to be found in the path.
22657 if test "x$as_myself" = x
; then
22660 if test ! -f "$as_myself"; then
22661 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22668 # ----------------------------------------
22669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22671 # script with STATUS, using 1 if that was 0.
22674 as_status
=$1; test $as_status -eq 0 && as_status
=1
22676 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22679 printf "%s\n" "$as_me: error: $2" >&2
22680 as_fn_exit
$as_status
22685 # as_fn_set_status STATUS
22686 # -----------------------
22687 # Set $? to STATUS, without forking.
22688 as_fn_set_status
()
22691 } # as_fn_set_status
22693 # as_fn_exit STATUS
22694 # -----------------
22695 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22699 as_fn_set_status
$1
22705 # Portably unset VAR.
22708 { eval $1=; unset $1;}
22710 as_unset
=as_fn_unset
22712 # as_fn_append VAR VALUE
22713 # ----------------------
22714 # Append the text in VALUE to the end of the definition contained in VAR. Take
22715 # advantage of any shell optimizations that allow amortized linear growth over
22716 # repeated appends, instead of the typical quadratic growth present in naive
22718 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22720 eval 'as_fn_append ()
22731 # as_fn_arith ARG...
22732 # ------------------
22733 # Perform arithmetic evaluation on the ARGs, and store the result in the
22734 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22735 # must be portable across $(()) and expr.
22736 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22738 eval 'as_fn_arith ()
22745 as_val
=`expr "$@" || test $? -eq 1`
22750 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22751 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22757 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22758 as_basename
=basename
22763 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22769 as_me
=`$as_basename -- "$0" ||
22770 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22771 X"$0" : 'X\(//\)$' \| \
22772 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22773 printf "%s\n" X/"$0" |
22774 sed '/^.*\/\([^/][^/]*\)\/*$/{
22788 # Avoid depending upon Character Ranges.
22789 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22790 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22791 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22792 as_cr_digits
='0123456789'
22793 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22796 # Determine whether it's possible to make 'echo' print without a newline.
22797 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22798 # for compatibility with existing Makefiles.
22799 ECHO_C
= ECHO_N
= ECHO_T
=
22800 case `echo -n x` in #(((((
22802 case `echo 'xy\c'` in
22803 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22805 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22812 # For backward compatibility with old third-party macros, we provide
22813 # the shell variables $as_echo and $as_echo_n. New code should use
22814 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22815 as_echo
='printf %s\n'
22816 as_echo_n
='printf %s'
22818 rm -f conf$$ conf$$.exe conf$$.
file
22819 if test -d conf$$.dir
; then
22820 rm -f conf$$.dir
/conf$$.
file
22823 mkdir conf$$.dir
2>/dev
/null
22825 if (echo >conf$$.
file) 2>/dev
/null
; then
22826 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22828 # ... but there are two gotchas:
22829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22831 # In both cases, we have to default to `cp -pR'.
22832 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22834 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22842 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22843 rmdir conf$$.dir
2>/dev
/null
22848 # Create "$as_dir" as a directory, including parents if necessary.
22853 -*) as_dir
=.
/$as_dir;;
22855 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22859 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22860 *) as_qdir
=$as_dir;;
22862 as_dirs
="'$as_qdir' $as_dirs"
22863 as_dir
=`$as_dirname -- "$as_dir" ||
22864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22865 X"$as_dir" : 'X\(//\)[^/]' \| \
22866 X"$as_dir" : 'X\(//\)$' \| \
22867 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22868 printf "%s\n" X"$as_dir" |
22869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22873 /^X\(\/\/\)[^/].*/{
22886 test -d "$as_dir" && break
22888 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22889 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22893 if mkdir
-p .
2>/dev
/null
; then
22894 as_mkdir_p
='mkdir -p "$as_dir"'
22896 test -d .
/-p && rmdir .
/-p
22901 # as_fn_executable_p FILE
22902 # -----------------------
22903 # Test if FILE is an executable regular file.
22904 as_fn_executable_p
()
22906 test -f "$1" && test -x "$1"
22907 } # as_fn_executable_p
22908 as_test_x
='test -x'
22909 as_executable_p
=as_fn_executable_p
22911 # Sed expression to map a string onto a valid CPP name.
22912 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22914 # Sed expression to map a string onto a valid variable name.
22915 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22919 ## ----------------------------------- ##
22920 ## Main body of $CONFIG_STATUS script. ##
22921 ## ----------------------------------- ##
22923 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22926 # Save the log message, to keep $0 and so on meaningful, and to
22927 # report actual input values of CONFIG_FILES etc. instead of their
22928 # values after options handling.
22930 This file was extended by Wine $as_me 8.19, which was
22931 generated by GNU Autoconf 2.71. Invocation command line was
22933 CONFIG_FILES = $CONFIG_FILES
22934 CONFIG_HEADERS = $CONFIG_HEADERS
22935 CONFIG_LINKS = $CONFIG_LINKS
22936 CONFIG_COMMANDS = $CONFIG_COMMANDS
22939 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22945 case $ac_config_headers in *"
22946 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22951 # Files that config.status was made for.
22952 config_headers="$ac_config_headers"
22953 config_links="$ac_config_links"
22954 config_commands="$ac_config_commands"
22958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22960 \`$as_me' instantiates files and other configuration actions
22961 from templates according to the current configuration. Unless the files
22962 and actions are specified as TAGs, all are instantiated by default.
22964 Usage: $0 [OPTION]... [TAG]...
22966 -h, --help print this help, then exit
22967 -V, --version print version number and configuration settings, then exit
22968 --config print configuration, then exit
22969 -q, --quiet, --silent
22970 do not print progress messages
22971 -d, --debug don't remove temporary files
22972 --recheck update $as_me by reconfiguring in the same conditions
22973 --header=FILE[:TEMPLATE]
22974 instantiate the configuration header FILE
22976 Configuration headers:
22979 Configuration links:
22982 Configuration commands:
22985 Report bugs to <wine-devel@winehq.org>.
22986 Wine home page: <https://www.winehq.org>."
22989 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22990 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22992 ac_cs_config='$ac_cs_config_escaped'
22994 Wine config.status 8.19
22995 configured by $0, generated by GNU Autoconf 2.71,
22996 with options \\"\$ac_cs_config\\"
22998 Copyright (C) 2021 Free Software Foundation, Inc.
22999 This config.status script is free software; the Free Software Foundation
23000 gives unlimited permission to copy, distribute and modify it."
23004 test -n "\$AWK" || AWK=awk
23007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23008 # The default lists apply if the user does not specify any file.
23014 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23015 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23019 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23031 # Handling of the options.
23032 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23034 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23035 printf "%s\n" "$ac_cs_version"; exit ;;
23036 --config |
--confi |
--conf |
--con |
--co |
--c )
23037 printf "%s\n" "$ac_cs_config"; exit ;;
23038 --debug |
--debu |
--deb |
--de |
--d |
-d )
23040 --header |
--heade |
--head |
--hea )
23043 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23045 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23046 ac_need_defaults
=false
;;
23048 # Conflict between --help and --header
23049 as_fn_error $?
"ambiguous option: \`$1'
23050 Try \`$0 --help' for more information.";;
23051 --help |
--hel |
-h )
23052 printf "%s\n" "$ac_cs_usage"; exit ;;
23053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23054 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23057 # This is an error.
23058 -*) as_fn_error $?
"unrecognized option: \`$1'
23059 Try \`$0 --help' for more information." ;;
23061 *) as_fn_append ac_config_targets
" $1"
23062 ac_need_defaults
=false
;;
23068 ac_configure_extra_args
=
23070 if $ac_cs_silent; then
23072 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23077 if \$ac_cs_recheck; then
23078 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23080 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23081 CONFIG_SHELL='$SHELL'
23082 export CONFIG_SHELL
23087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23092 ## Running $as_me. ##
23094 printf "%s\n" "$ac_log"
23098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23102 wine_fn_output_makedep ()
23104 as_dir=tools; as_fn_mkdir_p
23105 $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
23107 wine_fn_output_makefile ()
23109 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23110 # This Makefile understands the following targets:
23112 # all (default): build wine
23113 # clean: remove all intermediate files
23114 # distclean: also remove all files created by configure
23116 # testclean: clean test results to force running all tests again
23117 # install-lib: install libraries needed to run applications
23118 # install-dev: install development environment
23119 # install: install everything
23120 # uninstall: uninstall everything
23121 # ctags: create a tags file for vim and others.
23122 # etags: create a TAGS file for Emacs.
23125 PATH_SEPARATOR = $PATH_SEPARATOR
23126 PACKAGE_NAME = $PACKAGE_NAME
23127 PACKAGE_TARNAME = $PACKAGE_TARNAME
23128 PACKAGE_VERSION = $PACKAGE_VERSION
23129 PACKAGE_STRING = $PACKAGE_STRING
23130 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23131 PACKAGE_URL = $PACKAGE_URL
23132 exec_prefix = $exec_prefix
23134 program_transform_name = $program_transform_name
23137 libexecdir = $libexecdir
23138 datarootdir = $datarootdir
23140 sysconfdir = $sysconfdir
23141 sharedstatedir = $sharedstatedir
23142 localstatedir = $localstatedir
23143 runstatedir = $runstatedir
23144 includedir = $includedir
23145 oldincludedir = $oldincludedir
23153 localedir = $localedir
23160 build_alias = $build_alias
23161 host_alias = $host_alias
23162 target_alias = $target_alias
23163 system_dllpath = $system_dllpath
23165 build_cpu = $build_cpu
23166 build_vendor = $build_vendor
23167 build_os = $build_os
23169 host_cpu = $host_cpu
23170 host_vendor = $host_vendor
23176 SET_MAKE = $SET_MAKE
23180 CPPFLAGS = $CPPFLAGS
23181 ac_ct_CC = $ac_ct_CC
23185 CXXFLAGS = $CXXFLAGS
23186 ac_ct_CXX = $ac_ct_CXX
23189 TARGETFLAGS = $TARGETFLAGS
23190 toolsext = $toolsext
23191 HOST_ARCH = $HOST_ARCH
23192 aarch64_CC = $aarch64_CC
23193 aarch64_CFLAGS = $aarch64_CFLAGS
23194 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23195 aarch64_LDFLAGS = $aarch64_LDFLAGS
23196 aarch64_DEBUG = $aarch64_DEBUG
23197 aarch64_TARGET = $aarch64_TARGET
23198 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23199 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23201 arm_CFLAGS = $arm_CFLAGS
23202 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23203 arm_LDFLAGS = $arm_LDFLAGS
23204 arm_DEBUG = $arm_DEBUG
23205 arm_TARGET = $arm_TARGET
23206 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23207 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23209 i386_CFLAGS = $i386_CFLAGS
23210 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23211 i386_LDFLAGS = $i386_LDFLAGS
23212 i386_DEBUG = $i386_DEBUG
23213 i386_TARGET = $i386_TARGET
23214 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23215 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23216 x86_64_CC = $x86_64_CC
23217 x86_64_CFLAGS = $x86_64_CFLAGS
23218 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23219 x86_64_LDFLAGS = $x86_64_LDFLAGS
23220 x86_64_DEBUG = $x86_64_DEBUG
23221 x86_64_TARGET = $x86_64_TARGET
23222 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23223 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23224 toolsdir = $toolsdir
23226 RUNTESTFLAGS = $RUNTESTFLAGS
23231 ac_ct_AR = $ac_ct_AR
23237 LDCONFIG = $LDCONFIG
23239 PKG_CONFIG = $PKG_CONFIG
23240 FONTFORGE = $FONTFORGE
23244 I386_LIBS = $I386_LIBS
23245 OPENGL_LIBS = $OPENGL_LIBS
23246 DLLFLAGS = $DLLFLAGS
23247 LDDLLFLAGS = $LDDLLFLAGS
23248 LDEXECFLAGS = $LDEXECFLAGS
23249 EXTRACFLAGS = $EXTRACFLAGS
23250 UNIXDLLFLAGS = $UNIXDLLFLAGS
23251 UNIXLDFLAGS = $UNIXLDFLAGS
23252 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23253 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23254 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23255 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23261 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23262 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23263 CARBON_LIBS = $CARBON_LIBS
23264 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23265 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23266 IOKIT_LIBS = $IOKIT_LIBS
23267 METAL_LIBS = $METAL_LIBS
23268 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23269 CORESERVICES_LIBS = $CORESERVICES_LIBS
23270 APPKIT_LIBS = $APPKIT_LIBS
23271 SECURITY_LIBS = $SECURITY_LIBS
23272 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23273 COREAUDIO_LIBS = $COREAUDIO_LIBS
23274 OPENCL_LIBS = $OPENCL_LIBS
23276 OBJCFLAGS = $OBJCFLAGS
23277 ac_ct_OBJC = $ac_ct_OBJC
23278 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23279 PE_ARCHS = $PE_ARCHS
23280 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23281 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23282 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23283 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23284 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23285 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23286 GSM_PE_LIBS = $GSM_PE_LIBS
23287 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23288 JPEG_PE_LIBS = $JPEG_PE_LIBS
23289 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23290 JXR_PE_LIBS = $JXR_PE_LIBS
23291 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23292 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23293 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23294 LDAP_PE_LIBS = $LDAP_PE_LIBS
23295 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23296 MPG123_PE_LIBS = $MPG123_PE_LIBS
23297 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23298 MUSL_PE_LIBS = $MUSL_PE_LIBS
23299 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23300 PNG_PE_LIBS = $PNG_PE_LIBS
23301 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23302 TIFF_PE_LIBS = $TIFF_PE_LIBS
23303 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23304 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23305 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23306 XML2_PE_LIBS = $XML2_PE_LIBS
23307 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23308 XSLT_PE_LIBS = $XSLT_PE_LIBS
23309 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23310 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23311 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23312 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23313 PTHREAD_LIBS = $PTHREAD_LIBS
23316 X_CFLAGS = $X_CFLAGS
23317 X_PRE_LIBS = $X_PRE_LIBS
23319 X_EXTRA_LIBS = $X_EXTRA_LIBS
23320 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23321 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23322 WAYLAND_SCANNER = $WAYLAND_SCANNER
23323 PCAP_LIBS = $PCAP_LIBS
23324 PCSCLITE_LIBS = $PCSCLITE_LIBS
23325 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23326 INOTIFY_LIBS = $INOTIFY_LIBS
23327 DBUS_CFLAGS = $DBUS_CFLAGS
23328 DBUS_LIBS = $DBUS_LIBS
23329 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23330 GNUTLS_LIBS = $GNUTLS_LIBS
23331 SANE_CFLAGS = $SANE_CFLAGS
23332 SANE_LIBS = $SANE_LIBS
23333 USB_CFLAGS = $USB_CFLAGS
23334 USB_LIBS = $USB_LIBS
23335 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23336 GPHOTO2_LIBS = $GPHOTO2_LIBS
23337 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23338 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23339 RESOLV_LIBS = $RESOLV_LIBS
23340 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23341 FREETYPE_LIBS = $FREETYPE_LIBS
23342 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23343 PULSE_CFLAGS = $PULSE_CFLAGS
23344 PULSE_LIBS = $PULSE_LIBS
23345 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23346 GSTREAMER_LIBS = $GSTREAMER_LIBS
23347 ALSA_LIBS = $ALSA_LIBS
23348 OSS4_CFLAGS = $OSS4_CFLAGS
23349 OSS4_LIBS = $OSS4_LIBS
23350 UDEV_CFLAGS = $UDEV_CFLAGS
23351 UDEV_LIBS = $UDEV_LIBS
23352 UNWIND_CFLAGS = $UNWIND_CFLAGS
23353 UNWIND_LIBS = $UNWIND_LIBS
23354 SDL2_CFLAGS = $SDL2_CFLAGS
23355 SDL2_LIBS = $SDL2_LIBS
23356 CAPI20_CFLAGS = $CAPI20_CFLAGS
23357 CAPI20_LIBS = $CAPI20_LIBS
23358 CUPS_CFLAGS = $CUPS_CFLAGS
23359 CUPS_LIBS = $CUPS_LIBS
23360 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23361 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23362 KRB5_CFLAGS = $KRB5_CFLAGS
23363 KRB5_LIBS = $KRB5_LIBS
23364 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23365 GSSAPI_LIBS = $GSSAPI_LIBS
23366 PROCSTAT_LIBS = $PROCSTAT_LIBS
23367 NETAPI_CFLAGS = $NETAPI_CFLAGS
23368 NETAPI_LIBS = $NETAPI_LIBS
23369 MSVCRTFLAGS = $MSVCRTFLAGS
23370 DELAYLOADFLAG = $DELAYLOADFLAG
23371 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23373 TAGSFLAGS = $TAGSFLAGS
23375 LTLIBOBJS = $LTLIBOBJS
23379 as_fn_error $? "could not create Makefile" "$LINENO" 5
23384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23386 # Handling of arguments.
23387 for ac_config_target
in $ac_config_targets
23389 case $ac_config_target in
23390 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23391 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23392 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23393 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23394 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23395 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23397 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23402 # If the user did not use the arguments to specify the items to instantiate,
23403 # then the envvar interface is used. Set only those that are not.
23404 # We use the long form for the default assignment because of an extremely
23405 # bizarre bug on SunOS 4.1.3.
23406 if $ac_need_defaults; then
23407 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23408 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23409 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23412 # Have a temporary directory for convenience. Make it in the build tree
23413 # simply because there is no reason against having it here, and in addition,
23414 # creating and moving files from /tmp can sometimes cause problems.
23415 # Hook for its removal unless debugging.
23416 # Note that there is a small window in which the directory will not be cleaned:
23417 # after its creation but before its name has been assigned to `$tmp'.
23421 trap 'exit_status=$?
23422 : "${ac_tmp:=$tmp}"
23423 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23425 trap 'as_fn_exit 1' 1 2 13 15
23427 # Create a (secure) tmp directory for tmp files.
23430 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23434 tmp
=.
/conf$$
-$RANDOM
23435 (umask 077 && mkdir
"$tmp")
23436 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23439 # Set up the scripts for CONFIG_HEADERS section.
23440 # No need to generate them if there are no CONFIG_HEADERS.
23441 # This happens for instance with `./config.status Makefile'.
23442 if test -n "$CONFIG_HEADERS"; then
23443 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23447 # Transform confdefs.h into an awk script `defines.awk', embedded as
23448 # here-document in config.status, that substitutes the proper values into
23449 # config.h.in to produce config.h.
23451 # Create a delimiter string that does not exist in confdefs.h, to ease
23452 # handling of long lines.
23454 for ac_last_try
in false false
:; do
23455 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23456 if test -z "$ac_tt"; then
23458 elif $ac_last_try; then
23459 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23461 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23465 # For the awk script, D is an array of macro values keyed by name,
23466 # likewise P contains macro parameters if any. Preserve backslash
23467 # newline sequences.
23469 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23471 s/.\{148\}/&'"$ac_delim"'/g
23474 s/^[ ]*#[ ]*define[ ][ ]*/ /
23481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23483 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23488 D["\1"]=" \3\\\\\\n"\\/p
23490 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23495 s/.\{148\}/&'"$ac_delim"'/g
23500 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23503 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23505 ' <confdefs.h |
sed '
23506 s/'"$ac_delim"'/"\\\
23507 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23510 for (key in D) D_is_set[key] = 1
23513 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23515 split(line, arg, " ")
23516 if (arg[1] == "#") {
23520 defundef = substr(arg[1], 2)
23523 split(mac1, mac2, "(") #)
23525 prefix = substr(line, 1, index(line, defundef) - 1)
23526 if (D_is_set[macro]) {
23527 # Preserve the white space surrounding the "#".
23528 print prefix "define", macro P[macro] D[macro]
23531 # Replace #undef with comments. This is necessary, for example,
23532 # in the case of _POSIX_SOURCE, which is predefined and required
23533 # on some systems where configure will not decide to define it.
23534 if (defundef == "undef") {
23535 print "/*", prefix defundef, macro, "*/"
23543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23544 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23545 fi # test -n "$CONFIG_HEADERS"
23548 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23553 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23555 case $ac_mode$ac_tag in
23557 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23558 :[FH
]-) ac_tag
=-:-;;
23559 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23576 -) ac_f
="$ac_tmp/stdin";;
23577 *) # Look for the file first in the build tree, then in the source tree
23578 # (if the path is not absolute). The absolute path cannot be DOS-style,
23579 # because $ac_f cannot contain `:'.
23583 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23585 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23587 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23588 as_fn_append ac_file_inputs
" '$ac_f'"
23591 # Let's still pretend it is `configure' which instantiates (i.e., don't
23592 # use $as_me), people would be surprised to read:
23593 # /* config.h. Generated by config.status. */
23594 configure_input
='Generated from '`
23595 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23597 if test x
"$ac_file" != x-
; then
23598 configure_input
="$ac_file. $configure_input"
23599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23600 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23602 # Neutralize special characters interpreted by sed in replacement strings.
23603 case $configure_input in #(
23604 *\
&* |
*\|
* |
*\\* )
23605 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23606 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23607 *) ac_sed_conf_input
=$configure_input;;
23611 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23612 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23617 ac_dir
=`$as_dirname -- "$ac_file" ||
23618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23619 X"$ac_file" : 'X\(//\)[^/]' \| \
23620 X"$ac_file" : 'X\(//\)$' \| \
23621 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23622 printf "%s\n" X"$ac_file" |
23623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23627 /^X\(\/\/\)[^/].*/{
23640 as_dir
="$ac_dir"; as_fn_mkdir_p
23644 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23646 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23647 # A ".." for each directory in $ac_dir_suffix.
23648 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23649 case $ac_top_builddir_sub in
23650 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23651 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23654 ac_abs_top_builddir
=$ac_pwd
23655 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23656 # for backward compatibility:
23657 ac_top_builddir
=$ac_top_build_prefix
23660 .
) # We are building in place.
23662 ac_top_srcdir
=$ac_top_builddir_sub
23663 ac_abs_top_srcdir
=$ac_pwd ;;
23664 [\\/]* | ?
:[\\/]* ) # Absolute name.
23665 ac_srcdir
=$srcdir$ac_dir_suffix;
23666 ac_top_srcdir
=$srcdir
23667 ac_abs_top_srcdir
=$srcdir ;;
23668 *) # Relative name.
23669 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23670 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23671 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23673 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23682 if test x
"$ac_file" != x-
; then
23684 printf "%s\n" "/* $configure_input */" >&1 \
23685 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23686 } >"$ac_tmp/config.h" \
23687 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23688 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23690 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23693 mv "$ac_tmp/config.h" "$ac_file" \
23694 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23697 printf "%s\n" "/* $configure_input */" >&1 \
23698 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23699 || as_fn_error $?
"could not create -" "$LINENO" 5
23707 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23710 # Prefer the file from the source tree if names are identical.
23711 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23712 ac_source
=$srcdir/$ac_source
23715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23716 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23718 if test ! -r "$ac_source"; then
23719 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23723 # Try a relative symlink, then a hard link, then a copy.
23725 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23726 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23728 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23729 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23730 cp -p "$ac_source" "$ac_file" ||
23731 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23734 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23735 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23740 case $ac_file$ac_mode in
23741 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23742 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23743 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23751 ac_clean_files
=$ac_clean_files_save
23753 test $ac_write_fail = 0 ||
23754 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23757 # configure is writing to config.log, and then calls config.status.
23758 # config.status does its own redirection, appending to config.log.
23759 # Unfortunately, on DOS this fails, as config.log is still kept open
23760 # by configure, so config.status won't be able to write to it; its
23761 # output is simply discarded. So we exec the FD to /dev/null,
23762 # effectively closing config.log, so it can be properly (re)opened and
23763 # appended to by config.status. When coming back to configure, we
23764 # need to make the FD available again.
23765 if test "$no_create" != yes; then
23767 ac_config_status_args
=
23768 test "$silent" = yes &&
23769 ac_config_status_args
="$ac_config_status_args --quiet"
23771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23774 # would make configure fail if this is the last instruction.
23775 $ac_cs_success || as_fn_exit
1
23777 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23779 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23783 if test "$no_create" = "yes"
23789 if test "x$wine_notices" != x
; then
23792 for msg
in $wine_notices; do
23798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23799 printf "%s\n" "$as_me: $msg" >&6;}
23804 for msg
in $wine_warnings; do
23811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23812 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23818 $as_me: Finished. Do '${ac_make}' to compile Wine.