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
1279 enable_msvcp140_atomic_wait
1280 enable_msvcp140_codecvt_ids
1346 enable_photometadatahandler
1424 enable_threadpoolwinrt
1427 enable_twinapi_appcore
1431 enable_uiautomationcore
1451 enable_vcruntime140_1
1469 enable_windows_applicationmodel
1470 enable_windows_devices_bluetooth
1471 enable_windows_devices_enumeration
1472 enable_windows_devices_usb
1473 enable_windows_gaming_input
1474 enable_windows_gaming_ui_gamebar
1475 enable_windows_globalization
1476 enable_windows_media_devices
1477 enable_windows_media_mediacontrol
1478 enable_windows_media_speech
1479 enable_windows_media
1480 enable_windows_networking_hostname
1481 enable_windows_networking
1482 enable_windows_perception_stub
1483 enable_windows_security_credentials_ui_userconsentverifier
1484 enable_windows_storage_applicationdata
1485 enable_windows_system_profile_systemmanufacturers
1487 enable_windowscodecs
1488 enable_windowscodecsext
1490 enable_wineandroid_drv
1492 enable_winecoreaudio_drv
1495 enable_winegstreamer
1501 enable_winepulse_drv
1504 enable_winewayland_drv
1506 enable_winexinput_sys
1553 enable_xactengine2_0
1554 enable_xactengine2_4
1555 enable_xactengine2_7
1556 enable_xactengine2_9
1557 enable_xactengine3_0
1558 enable_xactengine3_1
1559 enable_xactengine3_2
1560 enable_xactengine3_3
1561 enable_xactengine3_4
1562 enable_xactengine3_5
1563 enable_xactengine3_6
1564 enable_xactengine3_7
1614 enable_wmcodecdspuuid
1623 enable_aspnet_regiis
1671 enable_presentationfontcache
1686 enable_servicemodelreg
1712 enable_winemenubuilder
1714 enable_winemsibuilder
1739 ac_precious_vars
='build_alias
1754 FLUIDSYNTH_PE_CFLAGS
1786 WAYLAND_CLIENT_CFLAGS
1828 # Initialize some variables set by options.
1830 ac_init_version
=false
1831 ac_unrecognized_opts
=
1832 ac_unrecognized_sep
=
1833 # The variables have the same names as the options, with
1834 # dashes changed to underlines.
1835 cache_file
=/dev
/null
1842 program_transform_name
=s
,x
,x
,
1850 # Installation directory options.
1851 # These are left unexpanded so users can "make install exec_prefix=/foo"
1852 # and all the variables that are supposed to be based on exec_prefix
1853 # by default will actually change.
1854 # Use braces instead of parens because sh, perl, etc. also accept them.
1855 # (The list follows the same order as the GNU Coding Standards.)
1856 bindir
='${exec_prefix}/bin'
1857 sbindir
='${exec_prefix}/sbin'
1858 libexecdir
='${exec_prefix}/libexec'
1859 datarootdir
='${prefix}/share'
1860 datadir
='${datarootdir}'
1861 sysconfdir
='${prefix}/etc'
1862 sharedstatedir
='${prefix}/com'
1863 localstatedir
='${prefix}/var'
1864 runstatedir
='${localstatedir}/run'
1865 includedir
='${prefix}/include'
1866 oldincludedir
='/usr/include'
1867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1868 infodir
='${datarootdir}/info'
1873 libdir
='${exec_prefix}/lib'
1874 localedir
='${datarootdir}/locale'
1875 mandir
='${datarootdir}/man'
1881 # If the previous option needs an argument, assign it.
1882 if test -n "$ac_prev"; then
1883 eval $ac_prev=\
$ac_option
1889 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1894 case $ac_dashdash$ac_option in
1898 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1900 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1901 bindir
=$ac_optarg ;;
1903 -build |
--build |
--buil |
--bui |
--bu)
1904 ac_prev
=build_alias
;;
1905 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1906 build_alias
=$ac_optarg ;;
1908 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1909 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1910 ac_prev
=cache_file
;;
1911 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1912 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1913 cache_file
=$ac_optarg ;;
1915 --config-cache |
-C)
1916 cache_file
=config.cache
;;
1918 -datadir |
--datadir |
--datadi |
--datad)
1920 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1921 datadir
=$ac_optarg ;;
1923 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1924 |
--dataroo |
--dataro |
--datar)
1925 ac_prev
=datarootdir
;;
1926 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1927 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1928 datarootdir
=$ac_optarg ;;
1930 -disable-* |
--disable-*)
1931 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1934 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1935 ac_useropt_orig
=$ac_useropt
1936 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "enable_
$ac_useropt"
1941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1942 ac_unrecognized_sep
=', ';;
1944 eval enable_
$ac_useropt=no
;;
1946 -docdir |
--docdir |
--docdi |
--doc |
--do)
1948 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1949 docdir
=$ac_optarg ;;
1951 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1953 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1954 dvidir
=$ac_optarg ;;
1956 -enable-* |
--enable-*)
1957 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1960 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig
=$ac_useropt
1962 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_
$ac_useropt"
1967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1968 ac_unrecognized_sep
=', ';;
1970 eval enable_
$ac_useropt=\
$ac_optarg ;;
1972 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1973 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1974 |
--exec |
--exe |
--ex)
1975 ac_prev
=exec_prefix
;;
1976 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1977 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1978 |
--exec=* |
--exe=* |
--ex=*)
1979 exec_prefix
=$ac_optarg ;;
1981 -gas |
--gas |
--ga |
--g)
1982 # Obsolete; use --with-gas.
1985 -help |
--help |
--hel |
--he |
-h)
1986 ac_init_help
=long
;;
1987 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1988 ac_init_help
=recursive
;;
1989 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1990 ac_init_help
=short
;;
1992 -host |
--host |
--hos |
--ho)
1993 ac_prev
=host_alias
;;
1994 -host=* |
--host=* |
--hos=* |
--ho=*)
1995 host_alias
=$ac_optarg ;;
1997 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1999 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2001 htmldir
=$ac_optarg ;;
2003 -includedir |
--includedir |
--includedi |
--included |
--include \
2004 |
--includ |
--inclu |
--incl |
--inc)
2005 ac_prev
=includedir
;;
2006 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2007 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2008 includedir
=$ac_optarg ;;
2010 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2012 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2013 infodir
=$ac_optarg ;;
2015 -libdir |
--libdir |
--libdi |
--libd)
2017 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2018 libdir
=$ac_optarg ;;
2020 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2021 |
--libexe |
--libex |
--libe)
2022 ac_prev
=libexecdir
;;
2023 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2024 |
--libexe=* |
--libex=* |
--libe=*)
2025 libexecdir
=$ac_optarg ;;
2027 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2028 ac_prev
=localedir
;;
2029 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2030 localedir
=$ac_optarg ;;
2032 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2033 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2034 ac_prev
=localstatedir
;;
2035 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2036 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2037 localstatedir
=$ac_optarg ;;
2039 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2041 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2042 mandir
=$ac_optarg ;;
2044 -nfp |
--nfp |
--nf)
2045 # Obsolete; use --without-fp.
2048 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2049 |
--no-cr |
--no-c |
-n)
2052 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2053 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2056 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2057 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2058 |
--oldin |
--oldi |
--old |
--ol |
--o)
2059 ac_prev
=oldincludedir
;;
2060 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2061 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2062 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2063 oldincludedir
=$ac_optarg ;;
2065 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2067 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2068 prefix
=$ac_optarg ;;
2070 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2071 |
--program-pre |
--program-pr |
--program-p)
2072 ac_prev
=program_prefix
;;
2073 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2074 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2075 program_prefix
=$ac_optarg ;;
2077 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2078 |
--program-suf |
--program-su |
--program-s)
2079 ac_prev
=program_suffix
;;
2080 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2081 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2082 program_suffix
=$ac_optarg ;;
2084 -program-transform-name |
--program-transform-name \
2085 |
--program-transform-nam |
--program-transform-na \
2086 |
--program-transform-n |
--program-transform- \
2087 |
--program-transform |
--program-transfor \
2088 |
--program-transfo |
--program-transf \
2089 |
--program-trans |
--program-tran \
2090 |
--progr-tra |
--program-tr |
--program-t)
2091 ac_prev
=program_transform_name
;;
2092 -program-transform-name=* |
--program-transform-name=* \
2093 |
--program-transform-nam=* |
--program-transform-na=* \
2094 |
--program-transform-n=* |
--program-transform-=* \
2095 |
--program-transform=* |
--program-transfor=* \
2096 |
--program-transfo=* |
--program-transf=* \
2097 |
--program-trans=* |
--program-tran=* \
2098 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2099 program_transform_name
=$ac_optarg ;;
2101 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2103 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2104 pdfdir
=$ac_optarg ;;
2106 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2108 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2112 |
-silent |
--silent |
--silen |
--sile |
--sil)
2115 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2116 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2117 |
--run |
--ru |
--r)
2118 ac_prev
=runstatedir
;;
2119 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2120 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2121 |
--run=* |
--ru=* |
--r=*)
2122 runstatedir
=$ac_optarg ;;
2124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2128 sbindir
=$ac_optarg ;;
2130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2134 ac_prev
=sharedstatedir
;;
2135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2139 sharedstatedir
=$ac_optarg ;;
2141 -site |
--site |
--sit)
2143 -site=* |
--site=* |
--sit=*)
2146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2149 srcdir
=$ac_optarg ;;
2151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2153 ac_prev
=sysconfdir
;;
2154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2156 sysconfdir
=$ac_optarg ;;
2158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2159 ac_prev
=target_alias
;;
2160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2161 target_alias
=$ac_optarg ;;
2163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2166 -version |
--version |
--versio |
--versi |
--vers |
-V)
2167 ac_init_version
=: ;;
2170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2173 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2174 ac_useropt_orig
=$ac_useropt
2175 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2181 ac_unrecognized_sep
=', ';;
2183 eval with_
$ac_useropt=\
$ac_optarg ;;
2185 -without-* |
--without-*)
2186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2189 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2190 ac_useropt_orig
=$ac_useropt
2191 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2197 ac_unrecognized_sep
=', ';;
2199 eval with_
$ac_useropt=no
;;
2202 # Obsolete; use --with-x.
2205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2207 ac_prev
=x_includes
;;
2208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2210 x_includes
=$ac_optarg ;;
2212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2214 ac_prev
=x_libraries
;;
2215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2217 x_libraries
=$ac_optarg ;;
2219 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2220 Try \`$0 --help' for more information"
2224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2225 # Reject names that are not valid shell variable names.
2226 case $ac_envvar in #(
2227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2228 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2230 eval $ac_envvar=\
$ac_optarg
2231 export $ac_envvar ;;
2234 # FIXME: should be removed in autoconf 3.0.
2235 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2237 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2244 if test -n "$ac_prev"; then
2245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2246 as_fn_error $?
"missing argument to $ac_option"
2249 if test -n "$ac_unrecognized_opts"; then
2250 case $enable_option_checking in
2252 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2253 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2257 # Check all directory arguments for consistency.
2258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2259 datadir sysconfdir sharedstatedir localstatedir includedir \
2260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2261 libdir localedir mandir runstatedir
2263 eval ac_val
=\$
$ac_var
2264 # Remove trailing slashes.
2267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2268 eval $ac_var=\
$ac_val;;
2270 # Be sure to have absolute directory names.
2272 [\\/$
]* | ?
:[\\/]* ) continue;;
2273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2275 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2278 # There might be people who depend on the old broken behavior: `$host'
2279 # used to hold the argument of --host etc.
2280 # FIXME: To remove some day.
2283 target
=$target_alias
2285 # FIXME: To remove some day.
2286 if test "x$host_alias" != x
; then
2287 if test "x$build_alias" = x
; then
2288 cross_compiling
=maybe
2289 elif test "x$build_alias" != "x$host_alias"; then
2295 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2297 test "$silent" = yes && exec 6>/dev
/null
2300 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2301 ac_ls_di
=`ls -di .` &&
2302 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2303 as_fn_error $?
"working directory cannot be determined"
2304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2305 as_fn_error $?
"pwd does not report name of working directory"
2308 # Find the source files, if location was not specified.
2309 if test -z "$srcdir"; then
2310 ac_srcdir_defaulted
=yes
2311 # Try the directory containing this script, then the parent directory.
2312 ac_confdir
=`$as_dirname -- "$as_myself" ||
2313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2314 X"$as_myself" : 'X\(//\)[^/]' \| \
2315 X"$as_myself" : 'X\(//\)$' \| \
2316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2317 printf "%s\n" X"$as_myself" |
2318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 if test ! -r "$srcdir/$ac_unique_file"; then
2340 ac_srcdir_defaulted
=no
2342 if test ! -r "$srcdir/$ac_unique_file"; then
2343 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2344 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2346 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2350 # When building in place, set srcdir=.
2351 if test "$ac_abs_confdir" = "$ac_pwd"; then
2354 # Remove unnecessary trailing slashes from srcdir.
2355 # Double slashes in file names in object file debugging info
2356 # mess up M-x gdb in Emacs.
2358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2360 for ac_var
in $ac_precious_vars; do
2361 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2362 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2363 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2364 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2368 # Report the --help message.
2370 if test "$ac_init_help" = "long"; then
2371 # Omit some internal or obsolete options to make the list less imposing.
2372 # This message is too long to be a string in the A/UX 3.1 sh.
2374 \`configure' configures Wine 8.19 to adapt to many kinds of systems.
2376 Usage: $0 [OPTION]... [VAR=VALUE]...
2378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2379 VAR=VALUE. See below for descriptions of some of the useful variables.
2381 Defaults for the options are specified in brackets.
2384 -h, --help display this help and exit
2385 --help=short display options specific to this package
2386 --help=recursive display the short help of all the included packages
2387 -V, --version display version information and exit
2388 -q, --quiet, --silent do not print \`checking ...' messages
2389 --cache-file=FILE cache test results in FILE [disabled]
2390 -C, --config-cache alias for \`--cache-file=config.cache'
2391 -n, --no-create do not create output files
2392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2394 Installation directories:
2395 --prefix=PREFIX install architecture-independent files in PREFIX
2396 [$ac_default_prefix]
2397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2400 By default, \`make install' will install all the files in
2401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2403 for instance \`--prefix=\$HOME'.
2405 For better control, use the options below.
2407 Fine tuning of the installation directories:
2408 --bindir=DIR user executables [EPREFIX/bin]
2409 --sbindir=DIR system admin executables [EPREFIX/sbin]
2410 --libexecdir=DIR program executables [EPREFIX/libexec]
2411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2414 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2415 --libdir=DIR object code libraries [EPREFIX/lib]
2416 --includedir=DIR C header files [PREFIX/include]
2417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2420 --infodir=DIR info documentation [DATAROOTDIR/info]
2421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2422 --mandir=DIR man documentation [DATAROOTDIR/man]
2423 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2424 --htmldir=DIR html documentation [DOCDIR]
2425 --dvidir=DIR dvi documentation [DOCDIR]
2426 --pdfdir=DIR pdf documentation [DOCDIR]
2427 --psdir=DIR ps documentation [DOCDIR]
2433 --x-includes=DIR X include files are
in DIR
2434 --x-libraries=DIR X library files are
in DIR
2437 --build=BUILD configure
for building on BUILD
[guessed
]
2438 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2442 if test -n "$ac_init_help"; then
2443 case $ac_init_help in
2444 short | recursive
) echo "Configuration of Wine 8.19:";;
2449 --disable-option-checking ignore unrecognized
--enable/--with options
2450 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2451 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2452 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2453 enable multiple architectures
for PE compilation
2454 --disable-win16 do not include Win16 support
2455 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2457 --disable-tests do not build the regression tests
2458 --enable-build-id include .buildid section in output objects
2459 --enable-maintainer-mode
2460 enable maintainer-specific build rules
2461 --enable-silent-rules use silent build rules (override: "make V=1")
2462 --enable-werror treat compilation warnings as errors
2463 --disable-largefile omit support for large files
2466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2468 --without-alsa do not use the Alsa sound support
2469 --without-capi do not use CAPI (ISDN support)
2470 --without-coreaudio do not use the CoreAudio sound support
2471 --without-cups do not use CUPS
2472 --without-dbus do not use DBus (dynamic device support)
2473 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2474 --without-fontconfig do not use fontconfig
2475 --without-freetype do not use the FreeType library
2476 --without-gettext do not use gettext
2477 --with-gettextpo use the GetTextPO library to rebuild po files
2478 --without-gphoto do not use gphoto (Digital Camera support)
2479 --without-gnutls do not use GnuTLS (schannel support)
2480 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2481 --without-gstreamer do not use GStreamer (codecs support)
2482 --without-inotify do not use inotify (filesystem change notifications)
2483 --without-krb5 do not use krb5 (Kerberos)
2484 --without-mingw do not use the MinGW cross-compiler
2485 --without-netapi do not use the Samba NetAPI library
2486 --without-opencl do not use OpenCL
2487 --without-opengl do not use OpenGL
2488 --without-osmesa do not use the OSMesa library
2489 --without-oss do not use the OSS sound support
2490 --without-pcap do not use the Packet Capture library
2491 --without-pcsclite do not use PCSC lite
2492 --without-pthread do not use the pthread library
2493 --without-pulse do not use PulseAudio sound support
2494 --without-sane do not use SANE (scanner support)
2495 --without-sdl do not use SDL
2496 --without-udev do not use udev (plug and play support)
2497 --without-unwind do not use the libunwind library (exception
2499 --without-usb do not use the libusb library
2500 --without-v4l2 do not use v4l2 (video capture)
2501 --without-vulkan do not use Vulkan
2502 --without-wayland do not build the Wayland driver
2503 --without-xcomposite do not use the Xcomposite extension
2504 --without-xcursor do not use the Xcursor extension
2505 --without-xfixes do not use Xfixes for clipboard change notifications
2506 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2507 --without-xinput do not use the Xinput extension
2508 --without-xinput2 do not use the Xinput 2 extension
2509 --without-xrandr do not use Xrandr (multi-monitor support)
2510 --without-xrender do not use the Xrender extension
2511 --without-xshape do not use the Xshape extension
2512 --without-xshm do not use XShm (shared memory extension)
2513 --without-xxf86vm do not use XFree video mode extension
2514 --with-system-dllpath=PATH
2515 load external PE dependencies from colon-separated
2517 --with-wine-tools=DIR use Wine tools from directory DIR
2518 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2519 --with-x use the X Window System
2521 Some influential environment variables:
2522 CC C compiler command
2523 CFLAGS C compiler flags
2524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2525 nonstandard directory <lib dir>
2526 LIBS libraries to pass to the linker, e.g. -l<library>
2527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2528 you have headers in a nonstandard directory <include dir>
2529 CXX C++ compiler command
2530 CXXFLAGS C++ compiler flags
2531 OBJC Objective C compiler command
2532 OBJCFLAGS Objective C compiler flags
2534 C compiler flags for the PE faudio, overriding the bundled
2537 Linker flags for the PE faudio, overriding the bundled version
2538 FLUIDSYNTH_PE_CFLAGS
2539 C compiler flags for the PE fluidsynth, overriding the bundled
2542 Linker flags for the PE fluidsynth, overriding the bundled
2545 C compiler flags for the PE gsm, overriding the bundled version
2546 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2548 C compiler flags for the PE jpeg, overriding the bundled version
2550 Linker flags for the PE jpeg, overriding the bundled version
2552 C compiler flags for the PE jxr, overriding the bundled version
2553 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2555 C compiler flags for the PE lcms2, overriding the bundled
2558 Linker flags for the PE lcms2, overriding the bundled version
2560 C compiler flags for the PE ldap, overriding the bundled version
2562 Linker flags for the PE ldap, overriding the bundled version
2564 C compiler flags for the PE mpg123, overriding the bundled
2567 Linker flags for the PE mpg123, overriding the bundled version
2569 C compiler flags for the PE musl, overriding the bundled version
2571 Linker flags for the PE musl, overriding the bundled version
2573 C compiler flags for the PE png, overriding the bundled version
2574 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2576 C compiler flags for the PE tiff, overriding the bundled version
2578 Linker flags for the PE tiff, overriding the bundled version
2580 C compiler flags for the PE vkd3d, overriding the bundled
2583 Linker flags for the PE vkd3d, overriding the bundled version
2585 C compiler flags for the PE xml2, overriding the bundled version
2587 Linker flags for the PE xml2, overriding the bundled version
2589 C compiler flags for the PE xslt, overriding the bundled version
2591 Linker flags for the PE xslt, overriding the bundled version
2593 C compiler flags for the PE zlib, overriding the bundled version
2595 Linker flags for the PE zlib, overriding the bundled version
2597 C compiler flags for the PE zydis, overriding the bundled
2600 Linker flags for the PE zydis, overriding the bundled version
2601 XMKMF Path to xmkmf, Makefile generator for X Window System
2603 WAYLAND_CLIENT_CFLAGS
2604 C compiler flags for wayland-client, overriding pkg-config
2606 Linker flags for wayland-client, overriding pkg-config
2608 C compiler flags for libinotify, overriding pkg-config
2610 Linker flags for libinotify, overriding pkg-config
2611 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2612 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2614 C compiler flags for gnutls, overriding pkg-config
2615 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2616 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2617 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2618 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2619 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2621 C compiler flags for libgphoto2, overriding pkg-config
2623 Linker flags for libgphoto2, overriding pkg-config
2625 C compiler flags for libgphoto2_port, overriding pkg-config
2627 Linker flags for libgphoto2_port, overriding pkg-config
2629 C compiler flags for freetype2, overriding pkg-config
2631 Linker flags for freetype2, overriding pkg-config
2633 C compiler flags for libpulse, overriding pkg-config
2634 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2636 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2637 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2639 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2640 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2641 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2642 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2644 C compiler flags for libunwind, overriding pkg-config
2645 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2646 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2647 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2649 C compiler flags for capi20, overriding pkg-config
2650 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2651 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2652 CUPS_LIBS Linker flags for cups, overriding pkg-config
2654 C compiler flags for fontconfig, overriding pkg-config
2656 Linker flags for fontconfig, overriding pkg-config
2657 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2658 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2660 C compiler flags for krb5-gssapi, overriding pkg-config
2661 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2663 C compiler flags for netapi, overriding pkg-config
2664 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to
help
2667 it to
find libraries and programs with nonstandard names
/locations.
2669 Report bugs to
<wine-devel@winehq.org
>.
2670 Wine home page
: <https
://www.winehq.org
>.
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2684 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2686 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2691 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2694 ac_abs_top_builddir
=$ac_pwd
2695 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir
=$ac_top_build_prefix
2700 .
) # We are building in place.
2702 ac_top_srcdir
=$ac_top_builddir_sub
2703 ac_abs_top_srcdir
=$ac_pwd ;;
2704 [\\/]* | ?
:[\\/]* ) # Absolute name.
2705 ac_srcdir
=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir
=$srcdir
2707 ac_abs_top_srcdir
=$srcdir ;;
2709 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2713 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2716 # Check for configure.gnu first; this name is used for a wrapper for
2717 # Metaconfig's "Configure" on case-insensitive file systems.
2718 if test -f "$ac_srcdir/configure.gnu"; then
2720 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2721 elif test -f "$ac_srcdir/configure"; then
2723 $SHELL "$ac_srcdir/configure" --help=recursive
2725 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2727 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2731 test -n "$ac_init_help" && exit $ac_status
2732 if $ac_init_version; then
2735 generated by GNU Autoconf
2.71
2737 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2738 This configure
script is free software
; the Free Software Foundation
2739 gives unlimited permission to copy
, distribute and modify it.
2744 ## ------------------------ ##
2745 ## Autoconf initialization. ##
2746 ## ------------------------ ##
2748 # ac_fn_c_try_compile LINENO
2749 # --------------------------
2750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_c_try_compile
()
2753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2754 rm -f conftest.
$ac_objext conftest.beam
2755 if { { ac_try
="$ac_compile"
2757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 printf "%s\n" "$ac_try_echo"; } >&5
2762 (eval "$ac_compile") 2>conftest.err
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest.$ac_objext
2777 printf "%s\n" "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 as_fn_set_status $ac_retval
2785 } # ac_fn_c_try_compile
2787 # ac_fn_cxx_try_compile LINENO
2788 # ----------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_cxx_try_compile ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 rm -f conftest.$ac_objext conftest.beam
2794 if { { ac_try="$ac_compile"
2796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2797 *) ac_try_echo
=$ac_try;;
2799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2803 if test -s conftest.err
; then
2804 grep -v '^ *+' conftest.err
>conftest.er1
2805 cat conftest.er1
>&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_cxx_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.
$ac_objext
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status
$ac_retval
2824 } # ac_fn_cxx_try_compile
2826 # ac_fn_c_try_link LINENO
2827 # -----------------------
2828 # Try to link conftest.$ac_ext, and return whether this succeeded.
2831 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2832 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2833 if { { ac_try
="$ac_link"
2835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_link") 2>conftest.err
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest$ac_exeext && {
2852 test "$cross_compiling" = yes ||
2853 test -x conftest$ac_exeext
2858 printf "%s\n" "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2865 # interfere with the next link command; also delete a directory that is
2866 # left behind by Apple's compiler. We do this before executing the actions.
2867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_c_try_link
2873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2874 # -------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_c_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2884 printf %s "(cached) " >&6
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"
2897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_header_compile
2906 # ac_fn_objc_try_compile LINENO
2907 # -----------------------------
2908 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_objc_try_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest.beam
2913 if { { ac_try="$ac_compile"
2915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2916 *) ac_try_echo
=$ac_try;;
2918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 printf "%s\n" "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>conftest.err
2922 if test -s conftest.err
; then
2923 grep -v '^ *+' conftest.err
>conftest.er1
2924 cat conftest.er1
>&5
2925 mv -f conftest.er1 conftest.err
2927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_objc_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest.
$ac_objext
2935 printf "%s\n" "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.
$ac_ext >&5
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 as_fn_set_status
$ac_retval
2943 } # ac_fn_objc_try_compile
2945 # ac_fn_c_check_func LINENO FUNC VAR
2946 # ----------------------------------
2947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2948 ac_fn_c_check_func
()
2950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2952 printf %s
"checking for $2... " >&6; }
2953 if eval test \
${$3+y}
2955 printf %s
"(cached) " >&6
2957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2961 #define $2 innocuous_$2
2963 /* System header to define __stub macros and hopefully few prototypes,
2964 which can conflict with char $2 (); below. */
2969 /* Override any GCC internal prototype to avoid an error.
2970 Use char because int might match the return type of a GCC
2971 builtin and then its argument prototype would still apply. */
2976 /* The GNU C library defines this for functions which it implements
2977 to always fail with ENOSYS. Some functions are actually named
2978 something starting with __ and the normal name is an alias. */
2979 #if defined __stub_$2 || defined __stub___$2
2991 if ac_fn_c_try_link
"$LINENO"
2997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2998 conftest
$ac_exeext conftest.
$ac_ext
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 printf "%s\n" "$ac_res" >&6; }
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 } # ac_fn_c_check_func
3007 # ac_fn_c_try_cpp LINENO
3008 # ----------------------
3009 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3012 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3013 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 printf "%s\n" "$ac_try_echo"; } >&5
3020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3022 if test -s conftest.err; then
3023 grep -v '^ *+' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3025 mv -f conftest.er1 conftest.err
3027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; } > conftest.i && {
3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3035 printf "%s\n" "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 as_fn_set_status $ac_retval
3045 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3046 # ----------------------------------------------------
3047 # Tries to find if the field MEMBER exists in type AGGR, after including
3048 # INCLUDES, setting cache variable VAR accordingly.
3049 ac_fn_c_check_member ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3053 printf %s "checking for $2.$3... " >&6; }
3054 if eval test \${$4+y}
3056 printf %s "(cached) " >&6
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3071 if ac_fn_c_try_compile "$LINENO"
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3082 if (sizeof ac_aggr.$3)
3088 if ac_fn_c_try_compile "$LINENO"
3094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 printf "%s\n" "$ac_res" >&6; }
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 } # ac_fn_c_check_member
3105 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3106 # -------------------------------------------
3107 # Tests whether TYPE exists after having included INCLUDES, setting cache
3108 # variable VAR accordingly.
3109 ac_fn_c_check_type ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3113 printf %s "checking for $2... " >&6; }
3114 if eval test \${$3+y}
3116 printf %s "(cached) " >&6
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3131 if ac_fn_c_try_compile "$LINENO"
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3145 if ac_fn_c_try_compile "$LINENO"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 printf "%s\n" "$ac_res" >&6; }
3158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3160 } # ac_fn_c_check_type
3161 ac_configure_args_raw=
3166 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3168 as_fn_append ac_configure_args_raw " '$ac_arg'"
3171 case $ac_configure_args_raw in
3175 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3176 ac_unsafe_a="$ac_unsafe_z#~
"
3177 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3178 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3181 cat >config.log <<_ACEOF
3182 This file contains any messages produced by compilers while
3183 running configure, to aid debugging if configure makes a mistake.
3185 It was created by Wine $as_me 8.19, which was
3186 generated by GNU Autoconf 2.71. Invocation command line was
3188 $ $0$ac_configure_args_raw
3198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 case $as_dir in #(((
3224 *) as_dir=$as_dir/ ;;
3226 printf "%s
\n" "PATH
: $as_dir"
3242 # Keep a trace of the command line.
3243 # Strip out --no-create and --no-recursion so they do not pile up.
3244 # Strip out --silent because we don't want to record it for future runs.
3245 # Also quote any args containing shell meta-characters.
3246 # Make two passes to allow for proper duplicate-argument suppression.
3250 ac_must_keep_next=false
3256 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3258 | -silent | --silent | --silen | --sile | --sil)
3261 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3264 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3266 as_fn_append ac_configure_args1 " '$ac_arg'"
3267 if test $ac_must_keep_next = true; then
3268 ac_must_keep_next=false # Got value, back to normal.
3271 *=* | --config-cache | -C | -disable-* | --disable-* \
3272 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3273 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3274 | -with-* | --with-* | -without-* | --without-* | --x)
3275 case "$ac_configure_args0 " in
3276 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3279 -* ) ac_must_keep_next=true ;;
3282 as_fn_append ac_configure_args " '$ac_arg'"
3287 { ac_configure_args0=; unset ac_configure_args0;}
3288 { ac_configure_args1=; unset ac_configure_args1;}
3290 # When interrupted or exit'd, cleanup temporary files, and complete
3291 # config.log. We remove comments because anyway the quotes in there
3292 # would cause problems or look ugly.
3293 # WARNING: Use '\'' to represent an apostrophe within the trap.
3294 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3295 trap 'exit_status=$?
3298 # Save into config.log some information that might help in debugging.
3302 printf "%s
\n" "## ---------------- ##
3303 ## Cache variables. ##
3304 ## ---------------- ##"
3306 # The following way of writing the cache mishandles newlines in values,
3308 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3309 eval ac_val
=\$
$ac_var
3313 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3314 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3317 _ | IFS | as_nl
) ;; #(
3318 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3319 *) { eval $ac_var=; unset $ac_var;} ;;
3324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3325 *${as_nl}ac_space
=\
*)
3327 "s/'\''/'\''\\\\'\'''\''/g;
3328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3338 printf "%s\n" "## ----------------- ##
3339 ## Output variables. ##
3340 ## ----------------- ##"
3342 for ac_var
in $ac_subst_vars
3344 eval ac_val
=\$
$ac_var
3346 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3348 printf "%s\n" "$ac_var='\''$ac_val'\''"
3352 if test -n "$ac_subst_files"; then
3353 printf "%s\n" "## ------------------- ##
3354 ## File substitutions. ##
3355 ## ------------------- ##"
3357 for ac_var in $ac_subst_files
3359 eval ac_val=\$$ac_var
3361 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3363 printf "%s\n" "$ac_var='\''$ac_val'\''"
3368 if test -s confdefs.h
; then
3369 printf "%s\n" "## ----------- ##
3376 test "$ac_signal" != 0 &&
3377 printf "%s\n" "$as_me: caught signal $ac_signal"
3378 printf "%s\n" "$as_me: exit $exit_status"
3380 rm -f core
*.core core.conftest.
* &&
3381 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3384 for ac_signal in 1 2 13 15; do
3385 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3390 rm -f -r conftest* confdefs.h
3392 printf "%s\n" "/* confdefs.h */" > confdefs.h
3394 # Predefined preprocessor variables.
3396 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3398 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3400 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3402 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3404 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3406 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3409 # Let the site file select an alternate cache file if it wants to.
3410 # Prefer an explicitly selected file to automatically selected ones.
3411 if test -n "$CONFIG_SITE"; then
3412 ac_site_files="$CONFIG_SITE"
3413 elif test "x$prefix" != xNONE; then
3414 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3416 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3419 for ac_site_file in $ac_site_files
3421 case $ac_site_file in #(
3425 ac_site_file=./$ac_site_file ;;
3427 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3429 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3430 sed 's
/^
/|
/' "$ac_site_file" >&5
3432 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3434 as_fn_error $? "failed to load site script $ac_site_file
3435 See \`config.log
' for more details" "$LINENO" 5; }
3439 if test -r "$cache_file"; then
3440 # Some versions of bash will fail to source /dev/null (special files
3441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3444 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3447 *) . "./$cache_file";;
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3452 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3456 # Test code for whether the C compiler supports C89 (global declarations)
3457 ac_c_conftest_c89_globals='
3458 /* Does the compiler advertise C89 conformance?
3459 Do not
test the value of __STDC__
, because some compilers
set it to
0
3460 while being otherwise adequately conformant.
*/
3461 #if !defined __STDC__
3462 # error "Compiler does not advertise C89 conformance"
3468 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3469 struct buf
{ int x
; };
3470 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3471 static char
*e
(p
, i
)
3477 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3482 s
= g
(p
, va_arg
(v
,int
));
3487 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3488 function prototypes and stuff
, but not \xHH hex character constants.
3489 These
do not provoke an error unfortunately
, instead are silently treated
3490 as an
"x". The following induces an error
, until -std is added to get
3491 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3492 array size
at least. It is necessary to
write \x00 == 0 to get something
3493 that is true only with
-std.
*/
3494 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3496 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3497 inside
strings and character constants.
*/
3498 #define FOO(x) '\''x'\''
3499 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3501 int
test (int i
, double x
);
3502 struct s1
{int
(*f
) (int a
);};
3503 struct s2
{int
(*f
) (double a
);};
3504 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3507 # Test code for whether the C compiler supports C89 (body of main).
3508 ac_c_conftest_c89_main='
3509 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3512 # Test code for whether the C compiler supports C99 (global declarations)
3513 ac_c_conftest_c99_globals='
3514 // Does the compiler advertise C99 conformance?
3515 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3516 # error "Compiler does not advertise C99 conformance"
3519 #include <stdbool.h>
3520 extern int puts
(const char
*);
3521 extern int
printf (const char
*, ...
);
3522 extern int dprintf
(int
, const char
*, ...
);
3523 extern void
*malloc
(size_t
);
3525 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3526 // dprintf is used instead of fprintf to avoid needing to
declare
3528 #define debug(...) dprintf (2, __VA_ARGS__)
3529 #define showlist(...) puts (#__VA_ARGS__)
3530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3532 test_varargs_macros
(void
)
3537 debug
("X = %d\n", x
);
3538 showlist
(The first
, second
, and third items.
);
3539 report
(x
>y
, "x is %d but y is %d", x
, y
);
3542 // Check long long types.
3543 #define BIG64 18446744073709551615ull
3544 #define BIG32 4294967295ul
3545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3547 #error "your preprocessor is broken"
3551 #error "your preprocessor is broken"
3553 static long long int bignum
= -9223372036854775807LL;
3554 static unsigned long long int ubignum
= BIG64
;
3556 struct incomplete_array
3564 const wchar_t
*name
;
3568 typedef const char
*ccp
;
3571 test_restrict
(ccp restrict text
)
3573 // See
if C
++-style comments work.
3574 // Iterate through items via the restricted pointer.
3575 // Also check
for declarations
in for loops.
3576 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3581 // Check varargs and va_copy.
3583 test_varargs
(const char
*format
, ...
)
3586 va_start
(args
, format
);
3588 va_copy
(args_copy
, args
);
3590 const char
*str
= "";
3598 case '\''s
'\'': // string
3599 str
= va_arg
(args_copy
, const char
*);
3601 case '\''d
'\'': // int
3602 number
= va_arg
(args_copy
, int
);
3604 case '\''f
'\'': // float
3605 fnumber
= va_arg
(args_copy
, double
);
3614 return *str
&& number
&& fnumber
;
3618 # Test code for whether the C compiler supports C99 (body of main).
3619 ac_c_conftest_c99_main='
3621 _Bool success
= false
;
3622 success |
= (argc
!= 0);
3625 if (test_restrict
("String literal") == 0)
3627 char
*restrict newvar
= "Another string";
3630 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3631 test_varargs_macros
();
3633 // Check flexible array members.
3634 struct incomplete_array
*ia
=
3635 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3637 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3638 ia-
>data
[i
] = i
* 1.234;
3640 // Check named initializers.
3641 struct named_init ni
= {
3643 .name
= L
"Test wide string",
3644 .average
= 543.34343,
3649 int dynamic_array
[ni.number
];
3650 dynamic_array
[0] = argv
[0][0];
3651 dynamic_array
[ni.number
- 1] = 543;
3653 // work around unused variable warnings
3654 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3655 || dynamic_array
[ni.number
- 1] != 543);
3658 # Test code for whether the C compiler supports C11 (global declarations)
3659 ac_c_conftest_c11_globals='
3660 // Does the compiler advertise C11 conformance?
3661 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3662 # error "Compiler does not advertise C11 conformance"
3666 char _Alignas
(double
) aligned_as_double
;
3667 char _Alignas
(0) no_special_alignment
;
3668 extern char aligned_as_int
;
3669 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3674 int_alignment
= _Alignof
(int
),
3675 int_array_alignment
= _Alignof
(int
[100]),
3676 char_alignment
= _Alignof
(char
)
3678 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3681 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3683 // Check _Static_assert.
3684 struct test_static_assert
3687 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3688 "_Static_assert does not work in struct");
3692 // Check UTF-8 literals.
3693 #define u8 syntax error!
3694 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3696 // Check duplicate typedefs.
3697 typedef long
*long_ptr
;
3698 typedef long int
*long_ptr
;
3699 typedef long_ptr long_ptr
;
3701 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3705 struct
{ int i
; int j
; };
3706 struct
{ int k
; long int l
; } w
;
3712 # Test code for whether the C compiler supports C11 (body of main).
3713 ac_c_conftest_c11_main='
3714 _Static_assert
((offsetof
(struct anonymous
, i
)
3715 == offsetof
(struct anonymous
, w.k
)),
3716 "Anonymous union alignment botch");
3722 # Test code for whether the C compiler supports C11 (complete).
3723 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3724 ${ac_c_conftest_c99_globals}
3725 ${ac_c_conftest_c11_globals}
3728 main (int argc, char **argv)
3731 ${ac_c_conftest_c89_main}
3732 ${ac_c_conftest_c99_main}
3733 ${ac_c_conftest_c11_main}
3738 # Test code for whether the C compiler supports C99 (complete).
3739 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3740 ${ac_c_conftest_c99_globals}
3743 main (int argc, char **argv)
3746 ${ac_c_conftest_c89_main}
3747 ${ac_c_conftest_c99_main}
3752 # Test code for whether the C compiler supports C89 (complete).
3753 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3756 main (int argc, char **argv)
3759 ${ac_c_conftest_c89_main}
3764 # Test code for whether the C++ compiler supports C++98 (global declarations)
3765 ac_cxx_conftest_cxx98_globals='
3766 // Does the compiler advertise C
++98 conformance?
3767 #if !defined __cplusplus || __cplusplus < 199711L
3768 # error "Compiler does not advertise C++98 conformance"
3771 // These inclusions are to reject old compilers that
3772 // lack the unsuffixed header files.
3774 #include <exception>
3776 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3777 extern void assert
(int
);
3779 extern int strcmp
(const char
*, const char
*);
3782 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3783 using std
::exception
;
3788 void test_exception_syntax
()
3792 } catch
(const char
*s
) {
3793 // Extra parentheses suppress a warning when building autoconf itself
,
3794 // due to lint rules shared with
more typical C programs.
3795 assert
(!(strcmp
) (s
, "test"));
3799 template
<typename T
> struct test_template
3802 explicit test_template
(T t
) : val
(t
) {}
3803 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3806 } // anonymous namespace
3809 # Test code for whether the C++ compiler supports C++98 (body of main)
3810 ac_cxx_conftest_cxx98_main='
3814 test_exception_syntax
();
3815 test_template
<double
> tt
(2.0);
3816 assert
(tt.add
(4) == 6.0);
3817 assert
(true
&& !false
);
3821 # Test code for whether the C++ compiler supports C++11 (global declarations)
3822 ac_cxx_conftest_cxx11_globals='
3823 // Does the compiler advertise C
++ 2011 conformance?
3824 #if !defined __cplusplus || __cplusplus < 201103L
3825 # error "Compiler does not advertise C++11 conformance"
3830 constexpr int get_val
() { return 20; }
3841 delegate
(int n
) : n
(n
) {}
3842 delegate
(): delegate
(2354) {}
3844 virtual int getval
() { return this-
>n
; };
3849 class overridden
: public delegate
3852 overridden
(int n
): delegate
(n
) {}
3853 virtual int getval
() override final
{ return this-
>n
* 2; }
3859 nocopy
(int i
): i
(i
) {}
3861 nocopy
(const nocopy
&) = delete
;
3862 nocopy
& operator
=(const nocopy
&) = delete
;
3867 // for testing lambda expressions
3868 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3873 // for testing variadic templates and trailing
return types
3874 template
<typename V
> auto
sum(V first
) -> V
3878 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3880 return first
+ sum(rest...
);
3885 # Test code for whether the C++ compiler supports C++11 (body of main)
3886 ac_cxx_conftest_cxx11_main='
3888 // Test auto and decltype
3890 auto a2
= 48573953.4;
3891 auto a3
= "String literal";
3894 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3896 decltype
(a2
) a4
= 34895.034;
3900 short sa
[cxx11test
::get_val
()] = { 0 };
3903 // Test initializer lists
3904 cxx11test
::testinit il
= { 4323, 435234.23544 };
3907 // Test range-based
for
3908 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3909 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3910 for (auto
&x
: array
) { x
+= 23; }
3913 // Test lambda expressions
3914 using cxx11test
::eval;
3915 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3917 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3919 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3923 // Test use of variadic templates
3924 using cxx11test
::sum;
3927 auto c
= sum(1.0, 2.0, 3.0);
3930 // Test constructor delegation
3931 cxx11test
::delegate d1
;
3932 cxx11test
::delegate d2
();
3933 cxx11test
::delegate d3
(45);
3936 // Test override and final
3937 cxx11test
::overridden o1
(55464);
3944 // Test template brackets
3945 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3949 char const
*utf8
= u8
"UTF-8 string \u2500";
3950 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3951 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3955 # Test code for whether the C compiler supports C++11 (complete).
3956 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3957 ${ac_cxx_conftest_cxx11_globals}
3960 main (int argc, char **argv)
3963 ${ac_cxx_conftest_cxx98_main}
3964 ${ac_cxx_conftest_cxx11_main}
3969 # Test code for whether the C compiler supports C++98 (complete).
3970 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3972 main (int argc, char **argv)
3975 ${ac_cxx_conftest_cxx98_main}
3980 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3981 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3982 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3983 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3984 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3985 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3986 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3987 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3988 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3990 # Auxiliary files required by this configure script.
3991 ac_aux_files="config.guess config.sub"
3993 # Locations in which to look for auxiliary files.
3994 ac_aux_dir_candidates="${srcdir}/tools"
3996 # Search for a directory containing all of the required auxiliary files,
3997 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3998 # If we don't
find one directory that contains all the files we need
,
3999 # we report the set of missing files from the *first* directory in
4000 # $ac_aux_dir_candidates and give up.
4001 ac_missing_aux_files
=""
4002 ac_first_candidate
=:
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 for as_dir
in $ac_aux_dir_candidates
4009 case $as_dir in #(((
4012 *) as_dir
=$as_dir/ ;;
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4017 ac_aux_dir_found
=yes
4019 for ac_aux
in $ac_aux_files
4021 # As a special case, if "install-sh" is required, that requirement
4022 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4023 # and $ac_install_sh is set appropriately for whichever one is found.
4024 if test x
"$ac_aux" = x
"install-sh"
4026 if test -f "${as_dir}install-sh"; then
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4028 ac_install_sh
="${as_dir}install-sh -c"
4029 elif test -f "${as_dir}install.sh"; then
4030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4031 ac_install_sh
="${as_dir}install.sh -c"
4032 elif test -f "${as_dir}shtool"; then
4033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4034 ac_install_sh
="${as_dir}shtool install -c"
4037 if $ac_first_candidate; then
4038 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4044 if test -f "${as_dir}${ac_aux}"; then
4045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4048 if $ac_first_candidate; then
4049 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4056 if test "$ac_aux_dir_found" = yes; then
4057 ac_aux_dir
="$as_dir"
4060 ac_first_candidate
=false
4069 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4073 # These three variables are undocumented and unsupported,
4074 # and are intended to be withdrawn in a future Autoconf release.
4075 # They can cause serious problems if a builder's source tree is in a directory
4076 # whose full name contains unusual characters.
4077 if test -f "${ac_aux_dir}config.guess"; then
4078 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4080 if test -f "${ac_aux_dir}config.sub"; then
4081 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4083 if test -f "$ac_aux_dir/configure"; then
4084 ac_configure
="$SHELL ${ac_aux_dir}configure"
4087 # Check that the precious variables saved in the cache have kept the same
4089 ac_cache_corrupted
=false
4090 for ac_var
in $ac_precious_vars; do
4091 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4092 eval ac_new_set
=\
$ac_env_${ac_var}_set
4093 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4094 eval ac_new_val
=\
$ac_env_${ac_var}_value
4095 case $ac_old_set,$ac_new_set in
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4098 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4099 ac_cache_corrupted
=: ;;
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4102 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4103 ac_cache_corrupted
=: ;;
4106 if test "x$ac_old_val" != "x$ac_new_val"; then
4107 # differences in whitespace do not lead to failure.
4108 ac_old_val_w
=`echo x $ac_old_val`
4109 ac_new_val_w
=`echo x $ac_new_val`
4110 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4112 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4113 ac_cache_corrupted
=:
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4116 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4117 eval $ac_var=\
$ac_old_val
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4120 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4122 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4125 # Pass precious variables to config.status.
4126 if test "$ac_new_set" = set; then
4128 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4129 *) ac_arg
=$ac_var=$ac_new_val ;;
4131 case " $ac_configure_args " in
4132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4133 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4137 if $ac_cache_corrupted; then
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4141 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4142 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4143 and start over" "$LINENO" 5
4145 ## -------------------- ##
4146 ## Main body of script. ##
4147 ## -------------------- ##
4150 ac_cpp
='$CPP $CPPFLAGS'
4151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4157 ac_config_headers
="$ac_config_headers include/config.h"
4161 libwine_version
="1.0"
4164 # Check whether --enable-archs was given.
4165 if test ${enable_archs+y}
4167 enableval
=$enable_archs;
4170 # Check whether --enable-win16 was given.
4171 if test ${enable_win16+y}
4173 enableval
=$enable_win16;
4176 # Check whether --enable-win64 was given.
4177 if test ${enable_win64+y}
4179 enableval
=$enable_win64;
4182 # Check whether --enable-tests was given.
4183 if test ${enable_tests+y}
4185 enableval
=$enable_tests;
4188 # Check whether --enable-build-id was given.
4189 if test ${enable_build_id+y}
4191 enableval
=$enable_build_id;
4194 # Check whether --enable-maintainer-mode was given.
4195 if test ${enable_maintainer_mode+y}
4197 enableval
=$enable_maintainer_mode;
4200 # Check whether --enable-silent-rules was given.
4201 if test ${enable_silent_rules+y}
4203 enableval
=$enable_silent_rules;
4206 # Check whether --enable-werror was given.
4207 if test ${enable_werror+y}
4209 enableval
=$enable_werror;
4214 # Check whether --with-alsa was given.
4215 if test ${with_alsa+y}
4221 # Check whether --with-capi was given.
4222 if test ${with_capi+y}
4228 # Check whether --with-coreaudio was given.
4229 if test ${with_coreaudio+y}
4231 withval
=$with_coreaudio;
4235 # Check whether --with-cups was given.
4236 if test ${with_cups+y}
4242 # Check whether --with-dbus was given.
4243 if test ${with_dbus+y}
4249 # Check whether --with-float-abi was given.
4250 if test ${with_float_abi+y}
4252 withval
=$with_float_abi;
4256 # Check whether --with-fontconfig was given.
4257 if test ${with_fontconfig+y}
4259 withval
=$with_fontconfig;
4263 # Check whether --with-freetype was given.
4264 if test ${with_freetype+y}
4266 withval
=$with_freetype;
4270 # Check whether --with-gettext was given.
4271 if test ${with_gettext+y}
4273 withval
=$with_gettext;
4277 # Check whether --with-gettextpo was given.
4278 if test ${with_gettextpo+y}
4280 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4284 # Check whether --with-gphoto was given.
4285 if test ${with_gphoto+y}
4287 withval
=$with_gphoto;
4291 # Check whether --with-gnutls was given.
4292 if test ${with_gnutls+y}
4294 withval
=$with_gnutls;
4298 # Check whether --with-gssapi was given.
4299 if test ${with_gssapi+y}
4301 withval
=$with_gssapi;
4305 # Check whether --with-gstreamer was given.
4306 if test ${with_gstreamer+y}
4308 withval
=$with_gstreamer;
4312 # Check whether --with-inotify was given.
4313 if test ${with_inotify+y}
4315 withval
=$with_inotify;
4319 # Check whether --with-krb5 was given.
4320 if test ${with_krb5+y}
4326 # Check whether --with-mingw was given.
4327 if test ${with_mingw+y}
4329 withval
=$with_mingw;
4333 # Check whether --with-netapi was given.
4334 if test ${with_netapi+y}
4336 withval
=$with_netapi;
4340 # Check whether --with-opencl was given.
4341 if test ${with_opencl+y}
4343 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4347 # Check whether --with-opengl was given.
4348 if test ${with_opengl+y}
4350 withval
=$with_opengl;
4354 # Check whether --with-osmesa was given.
4355 if test ${with_osmesa+y}
4357 withval
=$with_osmesa;
4361 # Check whether --with-oss was given.
4362 if test ${with_oss+y}
4368 # Check whether --with-pcap was given.
4369 if test ${with_pcap+y}
4371 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4375 # Check whether --with-pcsclite was given.
4376 if test ${with_pcsclite+y}
4378 withval
=$with_pcsclite;
4382 # Check whether --with-pthread was given.
4383 if test ${with_pthread+y}
4385 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4389 # Check whether --with-pulse was given.
4390 if test ${with_pulse+y}
4392 withval
=$with_pulse;
4396 # Check whether --with-sane was given.
4397 if test ${with_sane+y}
4403 # Check whether --with-sdl was given.
4404 if test ${with_sdl+y}
4410 # Check whether --with-udev was given.
4411 if test ${with_udev+y}
4417 # Check whether --with-unwind was given.
4418 if test ${with_unwind+y}
4420 withval
=$with_unwind;
4424 # Check whether --with-usb was given.
4425 if test ${with_usb+y}
4431 # Check whether --with-v4l2 was given.
4432 if test ${with_v4l2+y}
4438 # Check whether --with-vulkan was given.
4439 if test ${with_vulkan+y}
4441 withval
=$with_vulkan;
4445 # Check whether --with-wayland was given.
4446 if test ${with_wayland+y}
4448 withval
=$with_wayland;
4452 # Check whether --with-xcomposite was given.
4453 if test ${with_xcomposite+y}
4455 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4459 # Check whether --with-xcursor was given.
4460 if test ${with_xcursor+y}
4462 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4466 # Check whether --with-xfixes was given.
4467 if test ${with_xfixes+y}
4469 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4473 # Check whether --with-xinerama was given.
4474 if test ${with_xinerama+y}
4476 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4480 # Check whether --with-xinput was given.
4481 if test ${with_xinput+y}
4483 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4487 # Check whether --with-xinput2 was given.
4488 if test ${with_xinput2+y}
4490 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4494 # Check whether --with-xrandr was given.
4495 if test ${with_xrandr+y}
4497 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4501 # Check whether --with-xrender was given.
4502 if test ${with_xrender+y}
4504 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4508 # Check whether --with-xshape was given.
4509 if test ${with_xshape+y}
4511 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4515 # Check whether --with-xshm was given.
4516 if test ${with_xshm+y}
4518 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4522 # Check whether --with-xxf86vm was given.
4523 if test ${with_xxf86vm+y}
4525 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
4530 # Check whether --with-system-dllpath was given.
4531 if test ${with_system_dllpath+y}
4533 withval
=$with_system_dllpath; system_dllpath
=$withval
4538 # Check whether --with-wine-tools was given.
4539 if test ${with_wine_tools+y}
4541 withval
=$with_wine_tools;
4545 # Check whether --with-wine64 was given.
4546 if test ${with_wine64+y}
4548 withval
=$with_wine64;
4555 # Make sure we can run config.sub.
4556 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4557 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4560 printf %s
"checking build system type... " >&6; }
4561 if test ${ac_cv_build+y}
4563 printf %s
"(cached) " >&6
4565 ac_build_alias
=$build_alias
4566 test "x$ac_build_alias" = x
&&
4567 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4568 test "x$ac_build_alias" = x
&&
4569 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4570 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4571 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4575 printf "%s\n" "$ac_cv_build" >&6; }
4576 case $ac_cv_build in
4578 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4581 ac_save_IFS
=$IFS; IFS
='-'
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4591 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4595 printf %s
"checking host system type... " >&6; }
4596 if test ${ac_cv_host+y}
4598 printf %s
"(cached) " >&6
4600 if test "x$host_alias" = x
; then
4601 ac_cv_host
=$ac_cv_build
4603 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4604 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4609 printf "%s\n" "$ac_cv_host" >&6; }
4612 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4615 ac_save_IFS
=$IFS; IFS
='-'
4621 # Remember, the first character of IFS is used to create $*,
4622 # except with old shells:
4625 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4629 dlldir
=\
${libdir}/wine
4631 fontdir
=\
${datadir}/wine
/fonts
4633 nlsdir
=\
${datadir}/wine
/nls
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4639 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4641 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4642 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4644 printf %s
"(cached) " >&6
4646 cat >conftest.
make <<\_ACEOF
4649 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4654 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4656 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4660 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662 printf "%s\n" "yes" >&6; }
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 printf "%s\n" "no" >&6; }
4667 SET_MAKE
="MAKE=${MAKE-make}"
4680 ac_cpp
='$CPP $CPPFLAGS'
4681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4684 if test -n "$ac_tool_prefix"; then
4685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4686 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 printf %s
"checking for $ac_word... " >&6; }
4689 if test ${ac_cv_prog_CC+y}
4691 printf %s
"(cached) " >&6
4693 if test -n "$CC"; then
4694 ac_cv_prog_CC
="$CC" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 case $as_dir in #(((
4703 *) as_dir
=$as_dir/ ;;
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4718 if test -n "$CC"; then
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4720 printf "%s\n" "$CC" >&6; }
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 printf "%s\n" "no" >&6; }
4728 if test -z "$ac_cv_prog_CC"; then
4730 # Extract the first word of "gcc", so it can be a program name with args.
4731 set dummy gcc
; ac_word
=$2
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 printf %s
"checking for $ac_word... " >&6; }
4734 if test ${ac_cv_prog_ac_ct_CC+y}
4736 printf %s
"(cached) " >&6
4738 if test -n "$ac_ct_CC"; then
4739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 case $as_dir in #(((
4748 *) as_dir
=$as_dir/ ;;
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CC
="gcc"
4753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4762 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4763 if test -n "$ac_ct_CC"; then
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4765 printf "%s\n" "$ac_ct_CC" >&6; }
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 printf "%s\n" "no" >&6; }
4771 if test "x$ac_ct_CC" = x
; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned
=yes ;;
4786 if test -z "$CC"; then
4787 if test -n "$ac_tool_prefix"; then
4788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4789 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 printf %s
"checking for $ac_word... " >&6; }
4792 if test ${ac_cv_prog_CC+y}
4794 printf %s
"(cached) " >&6
4796 if test -n "$CC"; then
4797 ac_cv_prog_CC
="$CC" # Let the user override the test.
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 case $as_dir in #(((
4806 *) as_dir
=$as_dir/ ;;
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4821 if test -n "$CC"; then
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4823 printf "%s\n" "$CC" >&6; }
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 printf "%s\n" "no" >&6; }
4832 if test -z "$CC"; then
4833 # Extract the first word of "cc", so it can be a program name with args.
4834 set dummy cc
; ac_word
=$2
4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 printf %s
"checking for $ac_word... " >&6; }
4837 if test ${ac_cv_prog_CC+y}
4839 printf %s
"(cached) " >&6
4841 if test -n "$CC"; then
4842 ac_cv_prog_CC
="$CC" # Let the user override the test.
4845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4849 case $as_dir in #(((
4852 *) as_dir
=$as_dir/ ;;
4854 for ac_exec_ext
in '' $ac_executable_extensions; do
4855 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4856 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4857 ac_prog_rejected
=yes
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4868 if test $ac_prog_rejected = yes; then
4869 # We found a bogon in the path, so make sure we never use it.
4870 set dummy
$ac_cv_prog_CC
4872 if test $# != 0; then
4873 # We chose a different compiler from the bogus one.
4874 # However, it has the same basename, so the bogon will be chosen
4875 # first if we set CC to just the basename; use the full file name.
4877 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4883 if test -n "$CC"; then
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4885 printf "%s\n" "$CC" >&6; }
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 printf "%s\n" "no" >&6; }
4893 if test -z "$CC"; then
4894 if test -n "$ac_tool_prefix"; then
4895 for ac_prog
in cl.exe
4897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4898 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 printf %s
"checking for $ac_word... " >&6; }
4901 if test ${ac_cv_prog_CC+y}
4903 printf %s
"(cached) " >&6
4905 if test -n "$CC"; then
4906 ac_cv_prog_CC
="$CC" # Let the user override the test.
4908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4912 case $as_dir in #(((
4915 *) as_dir
=$as_dir/ ;;
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4930 if test -n "$CC"; then
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4932 printf "%s\n" "$CC" >&6; }
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 printf "%s\n" "no" >&6; }
4939 test -n "$CC" && break
4942 if test -z "$CC"; then
4944 for ac_prog
in cl.exe
4946 # Extract the first word of "$ac_prog", so it can be a program name with args.
4947 set dummy
$ac_prog; ac_word
=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s
"checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4952 printf %s
"(cached) " >&6
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 case $as_dir in #(((
4964 *) as_dir
=$as_dir/ ;;
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC
="$ac_prog"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4978 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4988 test -n "$ac_ct_CC" && break
4991 if test "x$ac_ct_CC" = x
; then
4994 case $cross_compiling:$ac_tool_warned in
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned
=yes ;;
5005 if test -z "$CC"; then
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5008 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 printf %s
"checking for $ac_word... " >&6; }
5011 if test ${ac_cv_prog_CC+y}
5013 printf %s
"(cached) " >&6
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC
="$CC" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 case $as_dir in #(((
5025 *) as_dir
=$as_dir/ ;;
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5040 if test -n "$CC"; then
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5042 printf "%s\n" "$CC" >&6; }
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 printf "%s\n" "no" >&6; }
5050 if test -z "$ac_cv_prog_CC"; then
5052 # Extract the first word of "clang", so it can be a program name with args.
5053 set dummy clang
; ac_word
=$2
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 printf %s
"checking for $ac_word... " >&6; }
5056 if test ${ac_cv_prog_ac_ct_CC+y}
5058 printf %s
"(cached) " >&6
5060 if test -n "$ac_ct_CC"; then
5061 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 case $as_dir in #(((
5070 *) as_dir
=$as_dir/ ;;
5072 for ac_exec_ext
in '' $ac_executable_extensions; do
5073 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_CC
="clang"
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5084 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5085 if test -n "$ac_ct_CC"; then
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5087 printf "%s\n" "$ac_ct_CC" >&6; }
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 printf "%s\n" "no" >&6; }
5093 if test "x$ac_ct_CC" = x
; then
5096 case $cross_compiling:$ac_tool_warned in
5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned
=yes ;;
5111 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5112 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5113 as_fn_error $?
"no acceptable C compiler found in \$PATH
5114 See \`config.log' for more details" "$LINENO" 5; }
5116 # Provide some information about the compiler.
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5120 for ac_option
in --version -v -V -qversion -version; do
5121 { { ac_try
="$ac_compiler $ac_option >&5"
5123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5127 printf "%s\n" "$ac_try_echo"; } >&5
5128 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5130 if test -s conftest.err; then
5132 ... rest of stderr output deleted ...
5133 10q' conftest.err >conftest.er1
5134 cat conftest.er1 >&5
5136 rm -f conftest.er1 conftest.err
5137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5138 test $ac_status = 0; }
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5152 ac_clean_files_save=$ac_clean_files
5153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5154 # Try to create an executable without -o first, disregard a.out.
5155 # It will help us diagnose broken compilers, and finding out an intuition
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5158 printf %s "checking whether the C compiler works... " >&6; }
5159 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5161 # The possible output files:
5162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5165 for ac_file in $ac_files
5168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5174 if { { ac_try="$ac_link_default"
5176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5177 *) ac_try_echo
=$ac_try;;
5179 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5180 printf "%s\n" "$ac_try_echo"; } >&5
5181 (eval "$ac_link_default") 2>&5
5183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; }
5186 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5187 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5188 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5189 # so that the user can short-circuit this test for compilers unknown to
5191 for ac_file
in $ac_files ''
5193 test -f "$ac_file" ||
continue
5195 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5198 # We found the default executable, but exeext='' is most
5202 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5204 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5206 # We set ac_cv_exeext here because the later test for it is not
5207 # safe: cross compilers may not add the suffix if given an `-o'
5208 # argument, so we may need to know it at that point already.
5209 # Even if this section looks crufty: it has the advantage of
5216 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5221 if test -z "$ac_file"
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 printf "%s\n" "no" >&6; }
5225 printf "%s\n" "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.
$ac_ext >&5
5228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5229 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5230 as_fn_error
77 "C compiler cannot create executables
5231 See \`config.log' for more details" "$LINENO" 5; }
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 printf "%s\n" "yes" >&6; }
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5237 printf %s
"checking for C compiler default output file name... " >&6; }
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5239 printf "%s\n" "$ac_file" >&6; }
5240 ac_exeext
=$ac_cv_exeext
5242 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5243 ac_clean_files
=$ac_clean_files_save
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5245 printf %s
"checking for suffix of executables... " >&6; }
5246 if { { ac_try
="$ac_link"
5248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 printf "%s\n" "$ac_try_echo"; } >&5
5253 (eval "$ac_link") 2>&5
5255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }
5258 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5259 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5260 # work properly (i.e., refer to `conftest.exe'), while it won't with
5262 for ac_file
in conftest.exe conftest conftest.
*; do
5263 test -f "$ac_file" ||
continue
5265 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5266 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5272 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5274 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5275 See \`config.log' for more details" "$LINENO" 5; }
5277 rm -f conftest conftest
$ac_cv_exeext
5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5279 printf "%s\n" "$ac_cv_exeext" >&6; }
5281 rm -f conftest.
$ac_ext
5282 EXEEXT
=$ac_cv_exeext
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5290 FILE *f = fopen ("conftest.out", "w");
5291 return ferror (f) || fclose (f) != 0;
5297 ac_clean_files
="$ac_clean_files conftest.out"
5298 # Check that the compiler produces executables we can run. If not, either
5299 # the compiler is broken, or we cross compile.
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5301 printf %s
"checking whether we are cross compiling... " >&6; }
5302 if test "$cross_compiling" != yes; then
5303 { { ac_try
="$ac_link"
5305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5306 *) ac_try_echo=$ac_try;;
5308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5309 printf "%s\n" "$ac_try_echo"; } >&5
5310 (eval "$ac_link") 2>&5
5312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313 test $ac_status = 0; }
5314 if { ac_try='./conftest$ac_cv_exeext'
5315 { { case "(($ac_try" in
5316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5317 *) ac_try_echo
=$ac_try;;
5319 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5320 printf "%s\n" "$ac_try_echo"; } >&5
5321 (eval "$ac_try") 2>&5
5323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }; }; then
5327 if test "$cross_compiling" = maybe
; then
5330 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5332 as_fn_error
77 "cannot run C compiled programs.
5333 If you meant to cross compile, use \`--host'.
5334 See \`config.log' for more details" "$LINENO" 5; }
5338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5339 printf "%s\n" "$cross_compiling" >&6; }
5341 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5342 ac_clean_files
=$ac_clean_files_save
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5344 printf %s
"checking for suffix of object files... " >&6; }
5345 if test ${ac_cv_objext+y}
5347 printf %s
"(cached) " >&6
5349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5360 rm -f conftest.o conftest.obj
5361 if { { ac_try
="$ac_compile"
5363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5367 printf "%s\n" "$ac_try_echo"; } >&5
5368 (eval "$ac_compile") 2>&5
5370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5371 test $ac_status = 0; }
5373 for ac_file in conftest.o conftest.obj conftest.*; do
5374 test -f "$ac_file" || continue;
5376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5382 printf "%s\n" "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.$ac_ext >&5
5385 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5386 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5387 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5388 See \
`config.log' for more details" "$LINENO" 5; }
5390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5393 printf "%s\n" "$ac_cv_objext" >&6; }
5394 OBJEXT=$ac_cv_objext
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5397 printf %s "checking whether the compiler supports GNU C... " >&6; }
5398 if test ${ac_cv_c_compiler_gnu+y}
5400 printf %s "(cached) " >&6
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5416 if ac_fn_c_try_compile "$LINENO"
5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5423 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5427 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5430 if test $ac_compiler_gnu = yes; then
5435 ac_test_CFLAGS=${CFLAGS+y}
5436 ac_save_CFLAGS=$CFLAGS
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5438 printf %s "checking whether $CC accepts -g... " >&6; }
5439 if test ${ac_cv_prog_cc_g+y}
5441 printf %s "(cached) " >&6
5443 ac_save_c_werror_flag=$ac_c_werror_flag
5444 ac_c_werror_flag=yes
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5458 if ac_fn_c_try_compile "$LINENO"
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5474 if ac_fn_c_try_compile "$LINENO"
5478 ac_c_werror_flag=$ac_save_c_werror_flag
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5491 if ac_fn_c_try_compile "$LINENO"
5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5500 ac_c_werror_flag=$ac_save_c_werror_flag
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5504 if test $ac_test_CFLAGS; then
5505 CFLAGS=$ac_save_CFLAGS
5506 elif test $ac_cv_prog_cc_g = yes; then
5507 if test "$GCC" = yes; then
5513 if test "$GCC" = yes; then
5520 if test x$ac_prog_cc_stdc = xno
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5523 printf %s "checking for $CC option to enable C11 features... " >&6; }
5524 if test ${ac_cv_prog_cc_c11+y}
5526 printf %s "(cached) " >&6
5528 ac_cv_prog_cc_c11=no
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5532 $ac_c_conftest_c11_program
5534 for ac_arg in '' -std=gnu11
5536 CC="$ac_save_CC $ac_arg"
5537 if ac_fn_c_try_compile "$LINENO"
5539 ac_cv_prog_cc_c11=$ac_arg
5541 rm -f core conftest.err conftest.$ac_objext conftest.beam
5542 test "x$ac_cv_prog_cc_c11" != "xno" && break
5544 rm -f conftest.$ac_ext
5548 if test "x$ac_cv_prog_cc_c11" = xno
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5551 printf "%s\n" "unsupported" >&6; }
5553 if test "x$ac_cv_prog_cc_c11" = x
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5556 printf "%s\n" "none needed" >&6; }
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5559 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5560 CC="$CC $ac_cv_prog_cc_c11"
5562 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5566 if test x$ac_prog_cc_stdc = xno
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5569 printf %s "checking for $CC option to enable C99 features... " >&6; }
5570 if test ${ac_cv_prog_cc_c99+y}
5572 printf %s "(cached) " >&6
5574 ac_cv_prog_cc_c99=no
5576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5577 /* end confdefs.h. */
5578 $ac_c_conftest_c99_program
5580 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5582 CC="$ac_save_CC $ac_arg"
5583 if ac_fn_c_try_compile "$LINENO"
5585 ac_cv_prog_cc_c99=$ac_arg
5587 rm -f core conftest.err conftest.$ac_objext conftest.beam
5588 test "x$ac_cv_prog_cc_c99" != "xno" && break
5590 rm -f conftest.$ac_ext
5594 if test "x$ac_cv_prog_cc_c99" = xno
5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5597 printf "%s\n" "unsupported" >&6; }
5599 if test "x$ac_cv_prog_cc_c99" = x
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5602 printf "%s\n" "none needed" >&6; }
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5605 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5606 CC="$CC $ac_cv_prog_cc_c99"
5608 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5612 if test x$ac_prog_cc_stdc = xno
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5615 printf %s "checking for $CC option to enable C89 features... " >&6; }
5616 if test ${ac_cv_prog_cc_c89+y}
5618 printf %s "(cached) " >&6
5620 ac_cv_prog_cc_c89=no
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 $ac_c_conftest_c89_program
5626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5628 CC="$ac_save_CC $ac_arg"
5629 if ac_fn_c_try_compile "$LINENO"
5631 ac_cv_prog_cc_c89=$ac_arg
5633 rm -f core conftest.err conftest.$ac_objext conftest.beam
5634 test "x$ac_cv_prog_cc_c89" != "xno" && break
5636 rm -f conftest.$ac_ext
5640 if test "x$ac_cv_prog_cc_c89" = xno
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5643 printf "%s\n" "unsupported" >&6; }
5645 if test "x$ac_cv_prog_cc_c89" = x
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5648 printf "%s\n" "none needed" >&6; }
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5651 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5652 CC="$CC $ac_cv_prog_cc_c89"
5654 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5672 ac_cpp='$CXXCPP $CPPFLAGS'
5673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5676 if test -z "$CXX"; then
5677 if test -n "$CCC"; then
5680 if test -n "$ac_tool_prefix"; then
5681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 printf %s "checking for $ac_word... " >&6; }
5687 if test ${ac_cv_prog_CXX+y}
5689 printf %s "(cached) " >&6
5691 if test -n "$CXX"; then
5692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 case $as_dir in #(((
5701 *) as_dir=$as_dir/ ;;
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5716 if test -n "$CXX"; then
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5718 printf "%s\n" "$CXX" >&6; }
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 printf "%s\n" "no" >&6; }
5725 test -n "$CXX" && break
5728 if test -z "$CXX"; then
5730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5732 # Extract the first word of "$ac_prog", so it can be a program name with args.
5733 set dummy $ac_prog; ac_word=$2
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 printf %s "checking for $ac_word... " >&6; }
5736 if test ${ac_cv_prog_ac_ct_CXX+y}
5738 printf %s "(cached) " >&6
5740 if test -n "$ac_ct_CXX"; then
5741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 case $as_dir in #(((
5750 *) as_dir=$as_dir/ ;;
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_ac_ct_CXX="$ac_prog"
5755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5764 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5765 if test -n "$ac_ct_CXX"; then
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5767 printf "%s\n" "$ac_ct_CXX" >&6; }
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 printf "%s\n" "no" >&6; }
5774 test -n "$ac_ct_CXX" && break
5777 if test "x$ac_ct_CXX" = x; then
5780 case $cross_compiling:$ac_tool_warned in
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned=yes ;;
5792 # Provide some information about the compiler.
5793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5796 for ac_option in --version -v -V -qversion; do
5797 { { ac_try="$ac_compiler $ac_option >&5"
5799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5800 *) ac_try_echo
=$ac_try;;
5802 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5803 printf "%s\n" "$ac_try_echo"; } >&5
5804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5806 if test -s conftest.err
; then
5808 ... rest of stderr output deleted ...
5809 10q' conftest.err
>conftest.er1
5810 cat conftest.er1
>&5
5812 rm -f conftest.er1 conftest.err
5813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5818 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5819 if test ${ac_cv_cxx_compiler_gnu+y}
5821 printf %s
"(cached) " >&6
5823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5837 if ac_fn_cxx_try_compile
"$LINENO"
5843 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5844 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5848 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5851 if test $ac_compiler_gnu = yes; then
5856 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5857 ac_save_CXXFLAGS
=$CXXFLAGS
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5859 printf %s
"checking whether $CXX accepts -g... " >&6; }
5860 if test ${ac_cv_prog_cxx_g+y}
5862 printf %s
"(cached) " >&6
5864 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5865 ac_cxx_werror_flag
=yes
5868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5879 if ac_fn_cxx_try_compile
"$LINENO"
5881 ac_cv_prog_cxx_g
=yes
5884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5895 if ac_fn_cxx_try_compile
"$LINENO"
5899 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5912 if ac_fn_cxx_try_compile
"$LINENO"
5914 ac_cv_prog_cxx_g
=yes
5916 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5918 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5920 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5921 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5925 if test $ac_test_CXXFLAGS; then
5926 CXXFLAGS
=$ac_save_CXXFLAGS
5927 elif test $ac_cv_prog_cxx_g = yes; then
5928 if test "$GXX" = yes; then
5934 if test "$GXX" = yes; then
5940 ac_prog_cxx_stdcxx
=no
5941 if test x
$ac_prog_cxx_stdcxx = xno
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5944 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5945 if test ${ac_cv_prog_cxx_cxx11+y}
5947 printf %s
"(cached) " >&6
5949 ac_cv_prog_cxx_cxx11
=no
5951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 $ac_cxx_conftest_cxx11_program
5955 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5957 CXX
="$ac_save_CXX $ac_arg"
5958 if ac_fn_cxx_try_compile
"$LINENO"
5960 ac_cv_prog_cxx_cxx11
=$ac_arg
5962 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5963 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5965 rm -f conftest.
$ac_ext
5969 if test "x$ac_cv_prog_cxx_cxx11" = xno
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5972 printf "%s\n" "unsupported" >&6; }
5974 if test "x$ac_cv_prog_cxx_cxx11" = x
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5977 printf "%s\n" "none needed" >&6; }
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5980 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5981 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5983 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5984 ac_prog_cxx_stdcxx
=cxx11
5987 if test x
$ac_prog_cxx_stdcxx = xno
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5990 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5991 if test ${ac_cv_prog_cxx_cxx98+y}
5993 printf %s
"(cached) " >&6
5995 ac_cv_prog_cxx_cxx98
=no
5997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 $ac_cxx_conftest_cxx98_program
6001 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6003 CXX
="$ac_save_CXX $ac_arg"
6004 if ac_fn_cxx_try_compile
"$LINENO"
6006 ac_cv_prog_cxx_cxx98
=$ac_arg
6008 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6009 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6011 rm -f conftest.
$ac_ext
6015 if test "x$ac_cv_prog_cxx_cxx98" = xno
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6018 printf "%s\n" "unsupported" >&6; }
6020 if test "x$ac_cv_prog_cxx_cxx98" = x
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6023 printf "%s\n" "none needed" >&6; }
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6026 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6027 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6029 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6030 ac_prog_cxx_stdcxx
=cxx98
6035 ac_cpp
='$CPP $CPPFLAGS'
6036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6040 if test -n "$ac_tool_prefix"; then
6041 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6042 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 printf %s
"checking for $ac_word... " >&6; }
6045 if test ${ac_cv_prog_CPPBIN+y}
6047 printf %s
"(cached) " >&6
6049 if test -n "$CPPBIN"; then
6050 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6056 case $as_dir in #(((
6059 *) as_dir
=$as_dir/ ;;
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6073 CPPBIN
=$ac_cv_prog_CPPBIN
6074 if test -n "$CPPBIN"; then
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6076 printf "%s\n" "$CPPBIN" >&6; }
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 printf "%s\n" "no" >&6; }
6084 if test -z "$ac_cv_prog_CPPBIN"; then
6085 ac_ct_CPPBIN
=$CPPBIN
6086 # Extract the first word of "cpp", so it can be a program name with args.
6087 set dummy cpp
; ac_word
=$2
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 printf %s
"checking for $ac_word... " >&6; }
6090 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6092 printf %s
"(cached) " >&6
6094 if test -n "$ac_ct_CPPBIN"; then
6095 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6101 case $as_dir in #(((
6104 *) as_dir
=$as_dir/ ;;
6106 for ac_exec_ext
in '' $ac_executable_extensions; do
6107 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6118 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6119 if test -n "$ac_ct_CPPBIN"; then
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6121 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 printf "%s\n" "no" >&6; }
6127 if test "x$ac_ct_CPPBIN" = x
; then
6130 case $cross_compiling:$ac_tool_warned in
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned
=yes ;;
6136 CPPBIN
=$ac_ct_CPPBIN
6139 CPPBIN
="$ac_cv_prog_CPPBIN"
6143 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6147 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 printf %s
"checking for $ac_word... " >&6; }
6150 if test ${ac_cv_prog_LD+y}
6152 printf %s
"(cached) " >&6
6154 if test -n "$LD"; then
6155 ac_cv_prog_LD
="$LD" # Let the user override the test.
6157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6161 case $as_dir in #(((
6164 *) as_dir
=$as_dir/ ;;
6166 for ac_exec_ext
in '' $ac_executable_extensions; do
6167 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6179 if test -n "$LD"; then
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6181 printf "%s\n" "$LD" >&6; }
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 printf "%s\n" "no" >&6; }
6189 if test -z "$ac_cv_prog_LD"; then
6191 # Extract the first word of "ld", so it can be a program name with args.
6192 set dummy ld
; ac_word
=$2
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 printf %s
"checking for $ac_word... " >&6; }
6195 if test ${ac_cv_prog_ac_ct_LD+y}
6197 printf %s
"(cached) " >&6
6199 if test -n "$ac_ct_LD"; then
6200 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6206 case $as_dir in #(((
6209 *) as_dir
=$as_dir/ ;;
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_LD
="ld"
6214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6223 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6224 if test -n "$ac_ct_LD"; then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6226 printf "%s\n" "$ac_ct_LD" >&6; }
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 printf "%s\n" "no" >&6; }
6232 if test "x$ac_ct_LD" = x
; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned
=yes ;;
6250 with_fontconfig
=${with_fontconfig:-no}
6252 *-mingw32*|
*-cygwin*)
6253 enable_win16
=${enable_win16:-no}
6254 with_mingw
=${with_mingw:-no}
6261 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6267 printf %s
"checking whether $CC works... " >&6; }
6268 if test ${wine_cv_cc_m32+y}
6270 printf %s
"(cached) " >&6
6272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6283 if ac_fn_c_try_link
"$LINENO"
6289 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6290 conftest
$ac_exeext conftest.
$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6293 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6294 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
6296 notice_platform
="32-bit "
6297 TARGETFLAGS
="$TARGETFLAGS -m32"
6298 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6299 export PKG_CONFIG_LIBDIR
6300 with_unwind
=${with_unwind:-no}
6305 notice_platform
="64-bit "
6306 TARGETFLAGS
="$TARGETFLAGS -m64"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6311 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6312 if test ${wine_cv_thumb2+y}
6314 printf %s
"(cached) " >&6
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6322 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6327 if ac_fn_c_try_link
"$LINENO"
6333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6334 conftest
$ac_exeext conftest.
$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6337 printf "%s\n" "$wine_cv_thumb2" >&6; }
6338 if test x
"$wine_cv_thumb2" = xyes
6340 CFLAGS
="$CFLAGS -mthumb"
6341 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6343 CFLAGS
="$CFLAGS -marm"
6344 TARGETFLAGS
="$TARGETFLAGS -marm"
6346 case $with_float_abi in
6348 float_abi
=$with_float_abi ;;
6355 saved_CFLAGS
=$CFLAGS
6356 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6358 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6359 if test ${wine_cv_float_abi+y}
6361 printf %s
"(cached) " >&6
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6369 asm("vmrs r2,fpscr");
6374 if ac_fn_c_try_link
"$LINENO"
6376 wine_cv_float_abi
=yes
6378 wine_cv_float_abi
=no
6380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6381 conftest
$ac_exeext conftest.
$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6384 printf "%s\n" "$wine_cv_float_abi" >&6; }
6385 if test $wine_cv_float_abi = no
6388 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6390 CFLAGS
=$saved_CFLAGS
6394 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6395 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6398 with_unwind
=${with_unwind:-no}
6402 enable_win16
=${enable_win16:-i386}
6403 enable_win64
=${enable_win64:-no}
6404 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6405 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6406 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6407 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64}
6409 enable_winetest
=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6413 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6418 cygwin
*|mingw32
*) toolsext
=".exe"
6426 aarch64
*) HOST_ARCH
=aarch64
;;
6427 arm
*) HOST_ARCH
=arm
;;
6428 i
[3456789]86*) HOST_ARCH
=i386
;;
6429 x86_64
) HOST_ARCH
=x86_64
;;
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6437 printf %s
"(cached) " >&6
6439 wine_cv_toolsdir
="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir
="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep
=tools
/makedep
$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6454 enable_tools
=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6457 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir
=$wine_cv_toolsdir
6461 MAKEDEP
=$wine_makedep
6463 RUNTESTFLAGS
="-q -P wine"
6465 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'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6470 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy
$ac_prog; ac_word
=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s
"checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6481 printf %s
"(cached) " >&6
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 case $as_dir in #(((
6493 *) as_dir
=$as_dir/ ;;
6495 for ac_exec_ext
in '' $ac_executable_extensions; do
6496 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX
="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6507 FLEX
=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6519 test -n "$FLEX" || FLEX
="none"
6521 if test "$FLEX" = "none"
6523 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s
"checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6529 printf %s
"(cached) " >&6
6531 cat >conftest.l
<<EOF
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l
>/dev
/null
2>&5
6539 wine_cv_recent_flex
=yes
6541 wine_cv_recent_flex
=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 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
6548 for ac_prog
in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy
$ac_prog; ac_word
=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s
"checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6556 printf %s
"(cached) " >&6
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6565 case $as_dir in #(((
6568 *) as_dir
=$as_dir/ ;;
6570 for ac_exec_ext
in '' $ac_executable_extensions; do
6571 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON
="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6582 BISON
=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6594 test -n "$BISON" || BISON
="none"
6596 if test "$BISON" = "none"
6598 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s
"checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6604 printf %s
"(cached) " >&6
6606 cat >conftest.y
<<EOF
6607 %define parse.error verbose
6611 if $BISON conftest.y
>/dev
/null
2>&5
6613 wine_cv_recent_bison
=yes
6615 wine_cv_recent_bison
=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 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
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog
in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s
"checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6631 printf %s
"(cached) " >&6
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR
="$AR" # Let the user override the test.
6636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6640 case $as_dir in #(((
6643 *) as_dir
=$as_dir/ ;;
6645 for ac_exec_ext
in '' $ac_executable_extensions; do
6646 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6670 if test -z "$AR"; then
6672 for ac_prog
in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy
$ac_prog; ac_word
=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s
"checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6680 printf %s
"(cached) " >&6
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6689 case $as_dir in #(((
6692 *) as_dir
=$as_dir/ ;;
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR
="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6719 if test "x$ac_ct_AR" = x
; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned
=yes ;;
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s
"checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6739 printf %s
"(cached) " >&6
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 case $as_dir in #(((
6751 *) as_dir
=$as_dir/ ;;
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6765 STRIP
=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip
; ac_word
=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s
"checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6784 printf %s
"(cached) " >&6
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 case $as_dir in #(((
6796 *) as_dir
=$as_dir/ ;;
6798 for ac_exec_ext
in '' $ac_executable_extensions; do
6799 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP
="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x
; then
6822 case $cross_compiling:$ac_tool_warned in
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned
=yes ;;
6831 STRIP
="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s
"checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6841 printf %s
"(cached) " >&6
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 case $as_dir in #(((
6853 *) as_dir
=$as_dir/ ;;
6855 for ac_exec_ext
in '' $ac_executable_extensions; do
6856 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6867 RANLIB
=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB
=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib
; ac_word
=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s
"checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6886 printf %s
"(cached) " >&6
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6895 case $as_dir in #(((
6898 *) as_dir
=$as_dir/ ;;
6900 for ac_exec_ext
in '' $ac_executable_extensions; do
6901 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x
; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned
=yes ;;
6930 RANLIB
=$ac_ct_RANLIB
6933 RANLIB
="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s
"checking whether ln -s works... " >&6; }
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6951 printf %s
"(cached) " >&6
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found
=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6957 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6960 case $as_dir in #(((
6963 *) as_dir
=$as_dir/ ;;
6965 for ac_prog
in grep ggrep
6967 for ac_exec_ext
in '' $ac_executable_extensions; do
6968 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p
"$ac_path_GREP" ||
continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6974 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6977 printf %s
0123456789 >"conftest.in"
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6985 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6986 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP
="$ac_path_GREP"
6990 ac_path_GREP_max
=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6995 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6998 $ac_path_GREP_found && break 3
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7007 ac_cv_path_GREP
=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP
="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s
"checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7020 printf %s
"(cached) " >&6
7022 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7023 then ac_cv_path_EGREP
="$GREP -E"
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found
=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7029 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7032 case $as_dir in #(((
7035 *) as_dir
=$as_dir/ ;;
7037 for ac_prog
in egrep
7039 for ac_exec_ext
in '' $ac_executable_extensions; do
7040 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7046 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7049 printf %s
0123456789 >"conftest.in"
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7058 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP
="$ac_path_EGREP"
7062 ac_path_EGREP_max
=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7070 $ac_path_EGREP_found && break 3
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7079 ac_cv_path_EGREP
=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP
="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig
; ac_word
=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s
"checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7095 printf %s
"(cached) " >&6
7099 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 for as_dir
in /sbin
/usr
/sbin
$PATH
7106 case $as_dir in #(((
7109 *) as_dir
=$as_dir/ ;;
7111 for ac_exec_ext
in '' $ac_executable_extensions; do
7112 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7125 LDCONFIG
=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog
in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy
$ac_prog; ac_word
=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s
"checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7143 printf %s
"(cached) " >&6
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 case $as_dir in #(((
7155 *) as_dir
=$as_dir/ ;;
7157 for ac_exec_ext
in '' $ac_executable_extensions; do
7158 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT
="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7169 MSGFMT
=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7181 test -n "$MSGFMT" || MSGFMT
="false"
7183 if test ${ac_tool_prefix+y}
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s
"checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 printf %s
"(cached) " >&6
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 case $as_dir in #(((
7203 *) as_dir
=$as_dir/ ;;
7205 for ac_exec_ext
in '' $ac_executable_extensions; do
7206 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7217 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7230 if test "x$cross_compiling" = xyes
7234 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config
; ac_word
=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s
"checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7241 printf %s
"(cached) " >&6
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 case $as_dir in #(((
7253 *) as_dir
=$as_dir/ ;;
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG
="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7279 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7289 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog
in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy
$ac_prog; ac_word
=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s
"checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7298 printf %s
"(cached) " >&6
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7307 case $as_dir in #(((
7310 *) as_dir
=$as_dir/ ;;
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE
="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7324 FONTFORGE
=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7336 test -n "$FONTFORGE" || FONTFORGE
="false"
7338 for ac_prog
in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy
$ac_prog; ac_word
=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s
"checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7346 printf %s
"(cached) " >&6
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7355 case $as_dir in #(((
7358 *) as_dir
=$as_dir/ ;;
7360 for ac_exec_ext
in '' $ac_executable_extensions; do
7361 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG
="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7372 RSVG
=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7384 test -n "$RSVG" || RSVG
="false"
7386 for ac_prog
in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy
$ac_prog; ac_word
=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s
"checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7394 printf %s
"(cached) " >&6
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 case $as_dir in #(((
7406 *) as_dir
=$as_dir/ ;;
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT
="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7420 CONVERT
=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7432 test -n "$CONVERT" || CONVERT
="false"
7434 for ac_prog
in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy
$ac_prog; ac_word
=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s
"checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7442 printf %s
"(cached) " >&6
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7451 case $as_dir in #(((
7454 *) as_dir
=$as_dir/ ;;
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL
="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7468 ICOTOOL
=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7480 test -n "$ICOTOOL" || ICOTOOL
="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7487 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s
"checking for recent enough imagemagick... " >&6; }
7491 convert_version
=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7494 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7501 if test "$CONVERT" = false
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7514 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s
"checking for recent enough icotool... " >&6; }
7518 icotool_version
=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7521 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7526 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7546 test "x$with_gettext" != xno || MSGFMT
=false
7547 if test "$MSGFMT" != "false"
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7553 printf %s
"(cached) " >&6
7555 cat >conftest.po
<<EOF
7561 if $MSGFMT -o /dev
/null conftest.po
2>&5
7563 wine_cv_msgfmt_contexts
=yes
7565 wine_cv_msgfmt_contexts
=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7572 if test "$MSGFMT" = false
7574 case "x$with_gettext" in
7575 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7577 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7580 enable_po
=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7588 printf %s
"(cached) " >&6
7590 ac_check_lib_save_LIBS
=$LIBS
7592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7602 return i386_set_ldt ();
7607 if ac_fn_c_try_link
"$LINENO"
7609 ac_cv_lib_i386_i386_set_ldt
=yes
7611 ac_cv_lib_i386_i386_set_ldt
=no
7613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7614 conftest
$ac_exeext conftest.
$ac_ext
7615 LIBS
=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7633 enableval
=$enable_largefile;
7636 if test "$enable_largefile" != no
; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7642 printf %s
"(cached) " >&6
7644 ac_cv_sys_largefile_CC
=no
7645 if test "$GCC" != yes; then
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7669 if ac_fn_c_try_compile
"$LINENO"
7673 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7675 if ac_fn_c_try_compile
"$LINENO"
7677 ac_cv_sys_largefile_CC
=' -n32'; break
7679 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7683 rm -f conftest.
$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no
; then
7689 CC
=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7696 printf %s
"(cached) " >&6
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7718 if ac_fn_c_try_compile
"$LINENO"
7720 ac_cv_sys_file_offset_bits
=no
; break
7722 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7743 if ac_fn_c_try_compile
"$LINENO"
7745 ac_cv_sys_file_offset_bits
=64; break
7747 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7748 ac_cv_sys_file_offset_bits
=unknown
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7761 if test $ac_cv_sys_file_offset_bits = unknown
; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7766 printf %s
"(cached) " >&6
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7788 if ac_fn_c_try_compile
"$LINENO"
7790 ac_cv_sys_large_files
=no
; break
7792 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7813 if ac_fn_c_try_compile
"$LINENO"
7815 ac_cv_sys_large_files
=1; break
7817 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7818 ac_cv_sys_large_files
=unknown
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7835 ac_header
= ac_cache
=
7836 for ac_item
in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7840 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header
= ac_cache
=
7844 elif test $ac_header; then
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_wireless_h" = xyes
8005 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_lwp_h" = xyes
8011 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8017 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mach_mach_h" = xyes
8023 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_cpu_h" = xyes
8029 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8035 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_mntent_h" = xyes
8041 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netdb_h" = xyes
8047 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_h" = xyes
8053 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8059 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8065 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8071 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8077 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_port_h" = xyes
8083 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pthread_h" = xyes
8089 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_pwd_h" = xyes
8095 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sched_h" = xyes
8101 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8113 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_scsi_sg_h" = xyes
8119 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_stdint_h" = xyes
8125 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_attr_h" = xyes
8131 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_auxv_h" = xyes
8137 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_cdio_h" = xyes
8143 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_epoll_h" = xyes
8149 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_event_h" = xyes
8155 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_extattr_h" = xyes
8161 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_filio_h" = xyes
8167 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_ipc_h" = xyes
8173 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_link_h" = xyes
8179 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_modem_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_mtio_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_param_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_prctl_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_queue_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_random_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_resource_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_shm_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_signal_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_sockio_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_strtio_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_syscall_h" = xyes
8275 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8281 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_times_h" = xyes
8287 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_uio_h" = xyes
8293 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_user_h" = xyes
8299 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_utsname_h" = xyes
8305 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_vnode_h" = xyes
8311 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_xattr_h" = xyes
8317 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_syscall_h" = xyes
8323 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_utime_h" = xyes
8329 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8335 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8341 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8349 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8353 if test $ac_cv_header_sys_mkdev_h = no
; then
8354 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8358 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8364 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8365 if test ${ac_cv_header_stat_broken+y}
8367 printf %s
"(cached) " >&6
8369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 #include <sys/types.h>
8372 #include <sys/stat.h>
8374 #if defined S_ISBLK && defined S_IFDIR
8375 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8378 #if defined S_ISBLK && defined S_IFCHR
8379 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8382 #if defined S_ISLNK && defined S_IFREG
8383 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8386 #if defined S_ISSOCK && defined S_IFREG
8387 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8391 if ac_fn_c_try_compile
"$LINENO"
8393 ac_cv_header_stat_broken
=no
8395 ac_cv_header_stat_broken
=yes
8397 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8400 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8401 if test $ac_cv_header_stat_broken = yes; then
8403 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8409 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8414 if test "x$ac_cv_header_sys_conf_h" = xyes
8416 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8424 if test "x$ac_cv_header_sys_mount_h" = xyes
8426 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8434 if test "x$ac_cv_header_sys_statfs_h" = xyes
8436 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8444 if test "x$ac_cv_header_sys_user_h" = xyes
8446 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8450 #ifdef HAVE_SYS_PARAM_H
8451 # include <sys/param.h>
8454 if test "x$ac_cv_header_sys_vfs_h" = xyes
8456 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8461 saved_sysctl_h_CFLAGS
=$CFLAGS
8462 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8463 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8468 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8470 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8474 CFLAGS
=$saved_sysctl_h_CFLAGS
8476 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8477 #include <sys/socket.h>
8478 #ifdef HAVE_SYS_SOCKETVAR_H
8479 # include <sys/socketvar.h>
8481 #ifdef HAVE_NET_ROUTE_H
8482 # include <net/route.h>
8484 #ifdef HAVE_NETINET_IN_H
8485 # include <netinet/in.h>
8487 #ifdef HAVE_NETINET_IN_SYSTM_H
8488 # include <netinet/in_systm.h>
8490 #ifdef HAVE_NET_IF_H
8491 # include <net/if.h>
8493 #ifdef HAVE_NETINET_IP_H
8494 # include <netinet/ip.h>
8497 if test "x$ac_cv_header_netinet_ip_h" = xyes
8499 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8502 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8503 #include <sys/socket.h>
8504 #ifdef HAVE_SYS_SOCKETVAR_H
8505 # include <sys/socketvar.h>
8507 #ifdef HAVE_NET_ROUTE_H
8508 # include <net/route.h>
8510 #ifdef HAVE_NETINET_IN_H
8511 # include <netinet/in.h>
8513 #ifdef HAVE_NETINET_IN_SYSTM_H
8514 # include <netinet/in_systm.h>
8516 #ifdef HAVE_NET_IF_H
8517 # include <net/if.h>
8519 #ifdef HAVE_NETINET_IP_H
8520 # include <netinet/ip.h>
8523 if test "x$ac_cv_header_net_if_h" = xyes
8525 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8528 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8529 #include <sys/socket.h>
8530 #ifdef HAVE_SYS_SOCKETVAR_H
8531 # include <sys/socketvar.h>
8533 #ifdef HAVE_NET_ROUTE_H
8534 # include <net/route.h>
8536 #ifdef HAVE_NETINET_IN_H
8537 # include <netinet/in.h>
8539 #ifdef HAVE_NETINET_IN_SYSTM_H
8540 # include <netinet/in_systm.h>
8542 #ifdef HAVE_NET_IF_H
8543 # include <net/if.h>
8545 #ifdef HAVE_NETINET_IP_H
8546 # include <netinet/ip.h>
8549 if test "x$ac_cv_header_net_if_arp_h" = xyes
8551 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8555 #include <sys/socket.h>
8556 #ifdef HAVE_SYS_SOCKETVAR_H
8557 # include <sys/socketvar.h>
8559 #ifdef HAVE_NET_ROUTE_H
8560 # include <net/route.h>
8562 #ifdef HAVE_NETINET_IN_H
8563 # include <netinet/in.h>
8565 #ifdef HAVE_NETINET_IN_SYSTM_H
8566 # include <netinet/in_systm.h>
8568 #ifdef HAVE_NET_IF_H
8569 # include <net/if.h>
8571 #ifdef HAVE_NETINET_IP_H
8572 # include <netinet/ip.h>
8575 if test "x$ac_cv_header_net_if_dl_h" = xyes
8577 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8580 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8581 #include <sys/socket.h>
8582 #ifdef HAVE_SYS_SOCKETVAR_H
8583 # include <sys/socketvar.h>
8585 #ifdef HAVE_NET_ROUTE_H
8586 # include <net/route.h>
8588 #ifdef HAVE_NETINET_IN_H
8589 # include <netinet/in.h>
8591 #ifdef HAVE_NETINET_IN_SYSTM_H
8592 # include <netinet/in_systm.h>
8594 #ifdef HAVE_NET_IF_H
8595 # include <net/if.h>
8597 #ifdef HAVE_NETINET_IP_H
8598 # include <netinet/ip.h>
8601 if test "x$ac_cv_header_net_if_types_h" = xyes
8603 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8606 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8607 #include <sys/socket.h>
8608 #ifdef HAVE_SYS_SOCKETVAR_H
8609 # include <sys/socketvar.h>
8611 #ifdef HAVE_NET_ROUTE_H
8612 # include <net/route.h>
8614 #ifdef HAVE_NETINET_IN_H
8615 # include <netinet/in.h>
8617 #ifdef HAVE_NETINET_IN_SYSTM_H
8618 # include <netinet/in_systm.h>
8620 #ifdef HAVE_NET_IF_H
8621 # include <net/if.h>
8623 #ifdef HAVE_NETINET_IP_H
8624 # include <netinet/ip.h>
8627 if test "x$ac_cv_header_net_route_h" = xyes
8629 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8633 #include <sys/socket.h>
8634 #ifdef HAVE_SYS_SOCKETVAR_H
8635 # include <sys/socketvar.h>
8637 #ifdef HAVE_NET_ROUTE_H
8638 # include <net/route.h>
8640 #ifdef HAVE_NETINET_IN_H
8641 # include <netinet/in.h>
8643 #ifdef HAVE_NETINET_IN_SYSTM_H
8644 # include <netinet/in_systm.h>
8646 #ifdef HAVE_NET_IF_H
8647 # include <net/if.h>
8649 #ifdef HAVE_NETINET_IP_H
8650 # include <netinet/ip.h>
8653 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8655 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8658 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8659 #include <sys/socket.h>
8660 #ifdef HAVE_SYS_SOCKETVAR_H
8661 # include <sys/socketvar.h>
8663 #ifdef HAVE_NET_ROUTE_H
8664 # include <net/route.h>
8666 #ifdef HAVE_NETINET_IN_H
8667 # include <netinet/in.h>
8669 #ifdef HAVE_NETINET_IN_SYSTM_H
8670 # include <netinet/in_systm.h>
8672 #ifdef HAVE_NET_IF_H
8673 # include <net/if.h>
8675 #ifdef HAVE_NETINET_IP_H
8676 # include <netinet/ip.h>
8679 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8681 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8684 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8685 #include <sys/socket.h>
8686 #ifdef HAVE_SYS_SOCKETVAR_H
8687 # include <sys/socketvar.h>
8689 #ifdef HAVE_NET_ROUTE_H
8690 # include <net/route.h>
8692 #ifdef HAVE_NETINET_IN_H
8693 # include <netinet/in.h>
8695 #ifdef HAVE_NETINET_IN_SYSTM_H
8696 # include <netinet/in_systm.h>
8698 #ifdef HAVE_NET_IF_H
8699 # include <net/if.h>
8701 #ifdef HAVE_NETINET_IP_H
8702 # include <netinet/ip.h>
8705 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8707 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8711 #include <sys/socket.h>
8712 #ifdef HAVE_SYS_SOCKETVAR_H
8713 # include <sys/socketvar.h>
8715 #ifdef HAVE_NET_ROUTE_H
8716 # include <net/route.h>
8718 #ifdef HAVE_NETINET_IN_H
8719 # include <netinet/in.h>
8721 #ifdef HAVE_NETINET_IN_SYSTM_H
8722 # include <netinet/in_systm.h>
8724 #ifdef HAVE_NET_IF_H
8725 # include <net/if.h>
8727 #ifdef HAVE_NETINET_IP_H
8728 # include <netinet/ip.h>
8731 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8733 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8736 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8737 #include <sys/socket.h>
8738 #ifdef HAVE_SYS_SOCKETVAR_H
8739 # include <sys/socketvar.h>
8741 #ifdef HAVE_NET_ROUTE_H
8742 # include <net/route.h>
8744 #ifdef HAVE_NETINET_IN_H
8745 # include <netinet/in.h>
8747 #ifdef HAVE_NETINET_IN_SYSTM_H
8748 # include <netinet/in_systm.h>
8750 #ifdef HAVE_NET_IF_H
8751 # include <net/if.h>
8753 #ifdef HAVE_NETINET_IP_H
8754 # include <netinet/ip.h>
8757 if test "x$ac_cv_header_netinet_udp_h" = xyes
8759 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8762 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8763 #include <sys/socket.h>
8764 #ifdef HAVE_SYS_SOCKETVAR_H
8765 # include <sys/socketvar.h>
8767 #ifdef HAVE_NET_ROUTE_H
8768 # include <net/route.h>
8770 #ifdef HAVE_NETINET_IN_H
8771 # include <netinet/in.h>
8773 #ifdef HAVE_NETINET_IN_SYSTM_H
8774 # include <netinet/in_systm.h>
8776 #ifdef HAVE_NET_IF_H
8777 # include <net/if.h>
8779 #ifdef HAVE_NETINET_IP_H
8780 # include <netinet/ip.h>
8783 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8785 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8788 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8789 #include <sys/socket.h>
8790 #ifdef HAVE_SYS_SOCKETVAR_H
8791 # include <sys/socketvar.h>
8793 #ifdef HAVE_NET_ROUTE_H
8794 # include <net/route.h>
8796 #ifdef HAVE_NETINET_IN_H
8797 # include <netinet/in.h>
8799 #ifdef HAVE_NETINET_IN_SYSTM_H
8800 # include <netinet/in_systm.h>
8802 #ifdef HAVE_NET_IF_H
8803 # include <net/if.h>
8805 #ifdef HAVE_NETINET_IP_H
8806 # include <netinet/ip.h>
8809 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8811 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8814 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8815 #include <sys/socket.h>
8816 #ifdef HAVE_SYS_SOCKETVAR_H
8817 # include <sys/socketvar.h>
8819 #ifdef HAVE_NET_ROUTE_H
8820 # include <net/route.h>
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8828 #ifdef HAVE_NET_IF_H
8829 # include <net/if.h>
8831 #ifdef HAVE_NETINET_IP_H
8832 # include <netinet/ip.h>
8835 if test "x$ac_cv_header_sys_un_h" = xyes
8837 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8856 #ifdef HAVE_NETINET_IP_VAR_H
8857 # include <netinet/ip_var.h>
8859 #ifdef HAVE_NETINET_IP_ICMP_H
8860 # include <netinet/ip_icmp.h>
8862 #ifdef HAVE_NETINET_UDP_H
8863 # include <netinet/udp.h>
8865 #ifdef HAVE_NETINET_TCP_H
8866 # include <netinet/tcp.h>
8869 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8871 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8874 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8875 #include <sys/socket.h>
8876 #ifdef HAVE_SYS_SOCKETVAR_H
8877 # include <sys/socketvar.h>
8879 #ifdef HAVE_NETINET_IN_H
8880 # include <netinet/in.h>
8882 #ifdef HAVE_NETINET_IN_SYSTM_H
8883 # include <netinet/in_systm.h>
8885 #ifdef HAVE_NETINET_IP_H
8886 # include <netinet/ip.h>
8888 #ifdef HAVE_NETINET_IP_VAR_H
8889 # include <netinet/ip_var.h>
8891 #ifdef HAVE_NETINET_IP_ICMP_H
8892 # include <netinet/ip_icmp.h>
8894 #ifdef HAVE_NETINET_UDP_H
8895 # include <netinet/udp.h>
8897 #ifdef HAVE_NETINET_TCP_H
8898 # include <netinet/tcp.h>
8901 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8903 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8906 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8907 #include <sys/socket.h>
8908 #ifdef HAVE_SYS_SOCKETVAR_H
8909 # include <sys/socketvar.h>
8911 #ifdef HAVE_NETINET_IN_H
8912 # include <netinet/in.h>
8914 #ifdef HAVE_NETINET_IN_SYSTM_H
8915 # include <netinet/in_systm.h>
8917 #ifdef HAVE_NETINET_IP_H
8918 # include <netinet/ip.h>
8920 #ifdef HAVE_NETINET_IP_VAR_H
8921 # include <netinet/ip_var.h>
8923 #ifdef HAVE_NETINET_IP_ICMP_H
8924 # include <netinet/ip_icmp.h>
8926 #ifdef HAVE_NETINET_UDP_H
8927 # include <netinet/udp.h>
8929 #ifdef HAVE_NETINET_TCP_H
8930 # include <netinet/tcp.h>
8933 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8935 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_SYS_SOCKETVAR_H
8941 # include <sys/socketvar.h>
8943 #ifdef HAVE_NETINET_IN_H
8944 # include <netinet/in.h>
8946 #ifdef HAVE_NETINET_IN_SYSTM_H
8947 # include <netinet/in_systm.h>
8949 #ifdef HAVE_NETINET_IP_H
8950 # include <netinet/ip.h>
8952 #ifdef HAVE_NETINET_IP_VAR_H
8953 # include <netinet/ip_var.h>
8955 #ifdef HAVE_NETINET_IP_ICMP_H
8956 # include <netinet/ip_icmp.h>
8958 #ifdef HAVE_NETINET_UDP_H
8959 # include <netinet/udp.h>
8961 #ifdef HAVE_NETINET_TCP_H
8962 # include <netinet/tcp.h>
8965 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8967 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_ASM_TYPES_H
8975 # include <asm/types.h>
8977 #ifdef HAVE_LINUX_TYPES_H
8978 # include <linux/types.h>
8981 if test "x$ac_cv_header_linux_ipx_h" = xyes
8983 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_ASM_TYPES_H
8989 # include <asm/types.h>
8991 #ifdef HAVE_LINUX_TYPES_H
8992 # include <linux/types.h>
8995 if test "x$ac_cv_header_linux_irda_h" = xyes
8997 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9009 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9011 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9017 #include <sys/socket.h>
9018 #ifdef HAVE_NETINET_IN_H
9019 # include <netinet/in.h>
9021 #ifdef HAVE_ARPA_NAMESER_H
9022 # include <arpa/nameser.h>
9025 if test "x$ac_cv_header_resolv_h" = xyes
9027 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9034 if test "x$ac_cv_header_ifaddrs_h" = xyes
9036 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9043 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9045 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9050 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9051 #ifdef HAVE_SYS_UCONTEXT_H
9052 #include <sys/ucontext.h>
9055 if test "x$ac_cv_header_sys_thr_h" = xyes
9057 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9062 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9063 #include <pthread.h>
9066 if test "x$ac_cv_header_pthread_np_h" = xyes
9068 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9074 #include <sys/types.h>
9075 #ifdef HAVE_ASM_TYPES_H
9076 #include <asm/types.h>
9079 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9081 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9087 #include <sys/param.h>
9089 #include <sys/socket.h>
9090 #ifdef HAVE_SYS_QUEUE_H
9091 #include <sys/queue.h>
9094 if test "x$ac_cv_header_libprocstat_h" = xyes
9096 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9101 if test "x$ac_cv_header_sys_xattr_h" = xyes
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9104 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9105 if test ${wine_cv_xattr_extra_args+y}
9107 printf %s
"(cached) " >&6
9109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 #include <sys/xattr.h>
9115 getxattr("", "", "", 0, 0, 0);
9120 if ac_fn_c_try_compile
"$LINENO"
9122 wine_cv_xattr_extra_args
=yes
9124 wine_cv_xattr_extra_args
=no
9126 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9129 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9130 test $wine_cv_xattr_extra_args != yes ||
9131 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9144 UNIXDLLFLAGS
="-fPIC"
9146 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9152 WINELOADER_LDFLAGS
=""
9154 WINEPRELOADER_LDFLAGS
=""
9159 # Extract the first word of "ldd", so it can be a program name with args.
9160 set dummy ldd
; ac_word
=$2
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9162 printf %s
"checking for $ac_word... " >&6; }
9163 if test ${ac_cv_path_LDD+y}
9165 printf %s
"(cached) " >&6
9169 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9173 as_dummy
="/sbin:/usr/sbin:$PATH"
9174 for as_dir
in $as_dummy
9177 case $as_dir in #(((
9180 *) as_dir
=$as_dir/ ;;
9182 for ac_exec_ext
in '' $ac_executable_extensions; do
9183 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9184 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9192 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9197 if test -n "$LDD"; then
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9199 printf "%s\n" "$LDD" >&6; }
9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 printf "%s\n" "no" >&6; }
9206 if test -n "$ac_tool_prefix"; then
9207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9208 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210 printf %s
"checking for $ac_word... " >&6; }
9211 if test ${ac_cv_prog_OTOOL+y}
9213 printf %s
"(cached) " >&6
9215 if test -n "$OTOOL"; then
9216 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9222 case $as_dir in #(((
9225 *) as_dir
=$as_dir/ ;;
9227 for ac_exec_ext
in '' $ac_executable_extensions; do
9228 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9229 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9239 OTOOL
=$ac_cv_prog_OTOOL
9240 if test -n "$OTOOL"; then
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9242 printf "%s\n" "$OTOOL" >&6; }
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9245 printf "%s\n" "no" >&6; }
9250 if test -z "$ac_cv_prog_OTOOL"; then
9252 # Extract the first word of "otool", so it can be a program name with args.
9253 set dummy otool
; ac_word
=$2
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 printf %s
"checking for $ac_word... " >&6; }
9256 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9258 printf %s
"(cached) " >&6
9260 if test -n "$ac_ct_OTOOL"; then
9261 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9267 case $as_dir in #(((
9270 *) as_dir
=$as_dir/ ;;
9272 for ac_exec_ext
in '' $ac_executable_extensions; do
9273 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_ac_ct_OTOOL
="otool"
9275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9284 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9285 if test -n "$ac_ct_OTOOL"; then
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9287 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 printf "%s\n" "no" >&6; }
9293 if test "x$ac_ct_OTOOL" = x
; then
9296 case $cross_compiling:$ac_tool_warned in
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9300 ac_tool_warned
=yes ;;
9305 OTOOL
="$ac_cv_prog_OTOOL"
9308 if test -n "$ac_tool_prefix"; then
9309 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9310 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9312 printf %s
"checking for $ac_word... " >&6; }
9313 if test ${ac_cv_prog_READELF+y}
9315 printf %s
"(cached) " >&6
9317 if test -n "$READELF"; then
9318 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9324 case $as_dir in #(((
9327 *) as_dir
=$as_dir/ ;;
9329 for ac_exec_ext
in '' $ac_executable_extensions; do
9330 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9331 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9341 READELF
=$ac_cv_prog_READELF
9342 if test -n "$READELF"; then
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9344 printf "%s\n" "$READELF" >&6; }
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 printf "%s\n" "no" >&6; }
9352 if test -z "$ac_cv_prog_READELF"; then
9353 ac_ct_READELF
=$READELF
9354 # Extract the first word of "readelf", so it can be a program name with args.
9355 set dummy readelf
; ac_word
=$2
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9357 printf %s
"checking for $ac_word... " >&6; }
9358 if test ${ac_cv_prog_ac_ct_READELF+y}
9360 printf %s
"(cached) " >&6
9362 if test -n "$ac_ct_READELF"; then
9363 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9369 case $as_dir in #(((
9372 *) as_dir
=$as_dir/ ;;
9374 for ac_exec_ext
in '' $ac_executable_extensions; do
9375 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9376 ac_cv_prog_ac_ct_READELF
="readelf"
9377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9386 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9387 if test -n "$ac_ct_READELF"; then
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9389 printf "%s\n" "$ac_ct_READELF" >&6; }
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 printf "%s\n" "no" >&6; }
9395 if test "x$ac_ct_READELF" = x
; then
9398 case $cross_compiling:$ac_tool_warned in
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9401 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9402 ac_tool_warned
=yes ;;
9404 READELF
=$ac_ct_READELF
9407 READELF
="$ac_cv_prog_READELF"
9415 CONFIGURE_TARGETS
=""
9418 wine_fn_config_makefile
()
9420 as_fn_append SUBDIRS
" \\$as_nl $1"
9423 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9424 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9425 if test -n "$PE_ARCHS"
9429 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9432 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9437 wine_fn_config_symlink
()
9440 as_fn_append wine_rules
"
9442 @./config.status \$@"
9443 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9450 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9452 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9453 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9454 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9456 printf %s
"(cached) " >&6
9458 ac_wine_try_cflags_saved
=$CFLAGS
9459 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9462 int main(int argc, char **argv) { return 0; }
9464 if ac_fn_c_try_link
"$LINENO"
9466 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9468 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 CFLAGS
=$ac_wine_try_cflags_saved
9474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9475 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9476 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9478 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9481 enable_loader
=${enable_loader:-no}
9482 enable_server
=${enable_server:-no}
9483 with_x
=${with_x:-no}
9484 with_pthread
=${with_pthread:-no}
9489 DLLFLAGS
="$DLLFLAGS -fPIC"
9491 enable_winemac_drv
=${enable_winemac_drv:-yes}
9492 CARBON_LIBS
="-framework Carbon"
9494 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9496 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9498 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9500 METAL_LIBS
="-framework Metal"
9502 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9504 CORESERVICES_LIBS
="-framework CoreServices"
9506 APPKIT_LIBS
="-framework AppKit"
9508 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9510 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9513 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9516 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9517 *) wine_can_build_preloader
=no
;;
9520 if test "$wine_can_build_preloader" = "yes"
9522 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"
9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9524 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9525 if test ${ac_cv_cflags__Wl__no_pie+y}
9527 printf %s
"(cached) " >&6
9529 ac_wine_try_cflags_saved
=$CFLAGS
9530 CFLAGS
="$CFLAGS -Wl,-no_pie"
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9535 if ac_fn_c_try_link
"$LINENO"
9537 ac_cv_cflags__Wl__no_pie
=yes
9539 ac_cv_cflags__Wl__no_pie
=no
9541 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 CFLAGS
=$ac_wine_try_cflags_saved
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9546 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9547 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9549 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9553 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9556 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9559 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9561 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9564 if test "x$with_coreaudio" != "xno";
9566 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9568 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9570 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9572 OPENCL_LIBS
="-framework OpenCL"
9574 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9578 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9580 ac_cpp
='$OBJCPP $CPPFLAGS'
9581 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9582 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9583 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9586 ac_cpp
='$OBJCPP $CPPFLAGS'
9587 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9588 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9589 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9590 if test -n "$ac_tool_prefix"; then
9591 for ac_prog
in gcc objcc objc cc CC clang
9593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9594 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9596 printf %s
"checking for $ac_word... " >&6; }
9597 if test ${ac_cv_prog_OBJC+y}
9599 printf %s
"(cached) " >&6
9601 if test -n "$OBJC"; then
9602 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9608 case $as_dir in #(((
9611 *) as_dir
=$as_dir/ ;;
9613 for ac_exec_ext
in '' $ac_executable_extensions; do
9614 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9615 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9625 OBJC
=$ac_cv_prog_OBJC
9626 if test -n "$OBJC"; then
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9628 printf "%s\n" "$OBJC" >&6; }
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9631 printf "%s\n" "no" >&6; }
9635 test -n "$OBJC" && break
9638 if test -z "$OBJC"; then
9640 for ac_prog
in gcc objcc objc cc CC clang
9642 # Extract the first word of "$ac_prog", so it can be a program name with args.
9643 set dummy
$ac_prog; ac_word
=$2
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 printf %s
"checking for $ac_word... " >&6; }
9646 if test ${ac_cv_prog_ac_ct_OBJC+y}
9648 printf %s
"(cached) " >&6
9650 if test -n "$ac_ct_OBJC"; then
9651 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9657 case $as_dir in #(((
9660 *) as_dir
=$as_dir/ ;;
9662 for ac_exec_ext
in '' $ac_executable_extensions; do
9663 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9664 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9674 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9675 if test -n "$ac_ct_OBJC"; then
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9677 printf "%s\n" "$ac_ct_OBJC" >&6; }
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9680 printf "%s\n" "no" >&6; }
9684 test -n "$ac_ct_OBJC" && break
9687 if test "x$ac_ct_OBJC" = x
; then
9690 case $cross_compiling:$ac_tool_warned in
9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9694 ac_tool_warned
=yes ;;
9700 # Provide some information about the compiler.
9701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9704 for ac_option
in --version -v -V -qversion; do
9705 { { ac_try
="$ac_compiler $ac_option >&5"
9707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9708 *) ac_try_echo=$ac_try;;
9710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9711 printf "%s\n" "$ac_try_echo"; } >&5
9712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9714 if test -s conftest.err; then
9716 ... rest of stderr output deleted ...
9717 10q' conftest.err >conftest.er1
9718 cat conftest.er1 >&5
9720 rm -f conftest.er1 conftest.err
9721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9722 test $ac_status = 0; }
9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9726 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9727 if test ${ac_cv_objc_compiler_gnu+y}
9729 printf %s "(cached) " >&6
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9745 if ac_fn_objc_try_compile "$LINENO"
9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9756 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9757 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9759 if test $ac_compiler_gnu = yes; then
9764 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9765 ac_save_OBJCFLAGS=$OBJCFLAGS
9766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9767 printf %s "checking whether $OBJC accepts -g... " >&6; }
9768 if test ${ac_cv_prog_objc_g+y}
9770 printf %s "(cached) " >&6
9772 ac_save_objc_werror_flag=$ac_objc_werror_flag
9773 ac_objc_werror_flag=yes
9774 ac_cv_prog_objc_g=no
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9787 if ac_fn_objc_try_compile "$LINENO"
9789 ac_cv_prog_objc_g=yes
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9803 if ac_fn_objc_try_compile "$LINENO"
9807 ac_objc_werror_flag=$ac_save_objc_werror_flag
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9820 if ac_fn_objc_try_compile "$LINENO"
9822 ac_cv_prog_objc_g=yes
9824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9829 ac_objc_werror_flag=$ac_save_objc_werror_flag
9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9832 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9833 if test $ac_test_OBJCFLAGS; then
9834 OBJCFLAGS=$ac_save_OBJCFLAGS
9835 elif test $ac_cv_prog_objc_g = yes; then
9836 if test "$GOBJC" = yes; then
9842 if test "$GOBJC" = yes; then
9849 ac_cpp='$OBJCPP $CPPFLAGS'
9850 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9851 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9852 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9857 #include <Metal/Metal.h>
9861 id<MTLDevice> device; device.registryID;
9866 if ac_fn_objc_try_compile "$LINENO"
9868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9869 printf "%s\n" "yes" >&6; }
9871 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 printf "%s\n" "no" >&6; }
9877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9879 ac_cpp='$CPP $CPPFLAGS'
9880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9885 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9886 WINELOADER_DEPENDS="wine_info.plist"
9892 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9894 DLLFLAGS="$DLLFLAGS -fPIC"
9896 LDEXECFLAGS="-Wl,-pie"
9897 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9899 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9900 if test ${ac_cv_cflags__Wl__z_defs+y}
9902 printf %s "(cached) " >&6
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 CFLAGS="$CFLAGS -Wl,-z,defs"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9910 if ac_fn_c_try_link "$LINENO"
9912 ac_cv_cflags__Wl__z_defs=yes
9914 ac_cv_cflags__Wl__z_defs=no
9916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9921 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9922 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9924 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9927 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9928 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9930 printf %s "(cached) " >&6
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int main(int argc, char **argv) { return 0; }
9938 if ac_fn_c_try_link "$LINENO"
9940 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9942 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9949 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9950 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9952 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9954 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9957 printf %s "checking for -lEGL... " >&6; }
9958 if test ${ac_cv_lib_soname_EGL+y}
9960 printf %s "(cached) " >&6
9962 ac_check_soname_save_LIBS=$LIBS
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9967 /* Override any GCC internal prototype to avoid an error.
9968 Use char because int might match the return type of a GCC
9969 builtin and then its argument prototype would still apply. */
9970 char eglGetProcAddress ();
9974 return eglGetProcAddress ();
9979 if ac_fn_c_try_link "$LINENO"
9982 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_EGL:+false} :
9987 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 ac_cv_lib_soname_EGL=
9993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_soname_save_LIBS
9997 if ${ac_cv_lib_soname_EGL:+false} :
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 printf "%s\n" "not found" >&6; }
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10004 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10006 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10011 printf %s "checking for -lGLESv2... " >&6; }
10012 if test ${ac_cv_lib_soname_GLESv2+y}
10014 printf %s "(cached) " >&6
10016 ac_check_soname_save_LIBS=$LIBS
10017 LIBS="-lGLESv2 $LIBS"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10021 /* Override any GCC internal prototype to avoid an error.
10022 Use char because int might match the return type of a GCC
10023 builtin and then its argument prototype would still apply. */
10033 if ac_fn_c_try_link "$LINENO"
10036 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10039 if ${ac_cv_lib_soname_GLESv2:+false} :
10041 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10045 ac_cv_lib_soname_GLESv2=
10047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_soname_save_LIBS
10051 if ${ac_cv_lib_soname_GLESv2:+false} :
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10054 printf "%s\n" "not found" >&6; }
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10058 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10060 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10065 if test "x$exec_prefix" = xNONE
10068 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10069 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10070 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10071 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10078 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10080 test "$ac_cv_sys_file_offset_bits" = 64 &&
10081 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10085 DLLFLAGS="$DLLFLAGS -fno-PIC"
10086 LDDLLFLAGS="-fno-PIC"
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10088 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10089 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10091 printf %s "(cached) " >&6
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int main(int argc, char **argv) { return 0; }
10099 if ac_fn_c_try_link "$LINENO"
10101 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10103 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10110 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10111 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10113 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10117 DLLFLAGS="$DLLFLAGS -fPIC"
10118 LDDLLFLAGS="-fPIC" ;;
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10122 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10123 if test ${ac_cv_wl_z_defs+y}
10125 printf %s "(cached) " >&6
10127 ac_save_CFLAGS="$CFLAGS"
10128 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10133 if ac_fn_c_try_link "$LINENO"
10135 ac_cv_wl_z_defs=yes
10139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_save_CFLAGS
10143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10144 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10145 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10148 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10149 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10151 printf %s "(cached) " >&6
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10159 if ac_fn_c_try_link "$LINENO"
10161 ac_cv_cflags__Wl___export_dynamic=yes
10163 ac_cv_cflags__Wl___export_dynamic=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10171 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10173 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10175 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10179 as_fn_append WINELOADER_LDFLAGS " -pie"
10182 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10185 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10186 if test ${ac_cv_cflags__static_pie+y}
10188 printf %s "(cached) " >&6
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 CFLAGS="$CFLAGS -static-pie"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10196 if ac_fn_c_try_link "$LINENO"
10198 ac_cv_cflags__static_pie=yes
10200 ac_cv_cflags__static_pie=no
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10207 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10208 if test "x$ac_cv_cflags__static_pie" = xyes
10210 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10212 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10221 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10222 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10224 printf %s "(cached) " >&6
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10232 if ac_fn_c_try_link "$LINENO"
10234 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10236 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10244 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10246 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10249 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10250 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10252 printf %s "(cached) " >&6
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10260 if ac_fn_c_try_link "$LINENO"
10262 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10264 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10272 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10274 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10279 as_fn_append WINELOADER_LDFLAGS " -pie"
10287 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10288 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10289 enable_winemac_drv=${enable_winemac_drv:-no}
10294 if test ${enable_archs+y}
10296 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10299 set x $enable_archs
10305 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10306 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10310 if test "x$with_mingw" != xno
10312 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10316 for wine_arch in $cross_archs
10318 case "x$with_mingw" in
10319 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10321 if eval \${${wine_arch}_CC:+false} :
10325 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10327 # Extract the first word of "$ac_prog", so it can be a program name with args.
10328 set dummy $ac_prog; ac_word=$2
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10330 printf %s "checking for $ac_word... " >&6; }
10331 if test ${ac_cv_prog_aarch64_CC+y}
10333 printf %s "(cached) " >&6
10335 if test -n "$aarch64_CC"; then
10336 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339 for as_dir in $PATH
10342 case $as_dir in #(((
10345 *) as_dir=$as_dir/ ;;
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10349 ac_cv_prog_aarch64_CC="$ac_prog"
10350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10359 aarch64_CC=$ac_cv_prog_aarch64_CC
10360 if test -n "$aarch64_CC"; then
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10362 printf "%s\n" "$aarch64_CC" >&6; }
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 printf "%s\n" "no" >&6; }
10369 test -n "$aarch64_CC" && break
10371 test -n "$aarch64_CC" || aarch64_CC="false"
10375 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10377 # Extract the first word of "$ac_prog", so it can be a program name with args.
10378 set dummy $ac_prog; ac_word=$2
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 printf %s "checking for $ac_word... " >&6; }
10381 if test ${ac_cv_prog_arm_CC+y}
10383 printf %s "(cached) " >&6
10385 if test -n "$arm_CC"; then
10386 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10389 for as_dir in $PATH
10392 case $as_dir in #(((
10395 *) as_dir=$as_dir/ ;;
10397 for ac_exec_ext in '' $ac_executable_extensions; do
10398 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10399 ac_cv_prog_arm_CC="$ac_prog"
10400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10409 arm_CC=$ac_cv_prog_arm_CC
10410 if test -n "$arm_CC"; then
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10412 printf "%s\n" "$arm_CC" >&6; }
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 printf "%s\n" "no" >&6; }
10419 test -n "$arm_CC" && break
10421 test -n "$arm_CC" || arm_CC="false"
10425 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 "
10426 for ac_prog in $ac_prefix_list clang
10428 # Extract the first word of "$ac_prog", so it can be a program name with args.
10429 set dummy $ac_prog; ac_word=$2
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431 printf %s "checking for $ac_word... " >&6; }
10432 if test ${ac_cv_prog_i386_CC+y}
10434 printf %s "(cached) " >&6
10436 if test -n "$i386_CC"; then
10437 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10443 case $as_dir in #(((
10446 *) as_dir=$as_dir/ ;;
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_i386_CC="$ac_prog"
10451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10460 i386_CC=$ac_cv_prog_i386_CC
10461 if test -n "$i386_CC"; then
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10463 printf "%s\n" "$i386_CC" >&6; }
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 printf "%s\n" "no" >&6; }
10470 test -n "$i386_CC" && break
10472 test -n "$i386_CC" || i386_CC="false"
10476 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10477 for ac_prog in $ac_prefix_list clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_x86_64_CC+y}
10485 printf %s "(cached) " >&6
10487 if test -n "$x86_64_CC"; then
10488 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10494 case $as_dir in #(((
10497 *) as_dir=$as_dir/ ;;
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_x86_64_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10511 x86_64_CC=$ac_cv_prog_x86_64_CC
10512 if test -n "$x86_64_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10514 printf "%s\n" "$x86_64_CC" >&6; }
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$x86_64_CC" && break
10523 test -n "$x86_64_CC" || x86_64_CC="false"
10530 saved_CFLAGS=$CFLAGS
10531 saved_LDFLAGS=$LDFLAGS
10533 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10534 LDFLAGS=$CROSSLDFLAGS
10535 eval CC=\$${wine_arch}_CC
10536 eval ${wine_arch}_CFLAGS=\$CFLAGS
10537 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10538 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10541 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10543 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10548 printf %s "checking whether $CC works... " >&6; }
10549 if eval test \${$as_wine_cv_crosscc+y}
10551 printf %s "(cached) " >&6
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10564 if ac_fn_c_try_compile "$LINENO"
10566 eval "$as_wine_cv_crosscc=yes"
10568 eval "$as_wine_cv_crosscc=no"
10570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10572 eval ac_res=\$$as_wine_cv_crosscc
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10574 printf "%s\n" "$ac_res" >&6; }
10576 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10580 while test $# -ge 1
10583 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10584 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10589 llvm_target=$target
10590 if test -z "$llvm_target"
10593 i386) llvm_target=i686-windows ;;
10594 arm) llvm_target=armv7-windows ;;
10595 *) llvm_target=$wine_arch-windows ;;
10598 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10599 case $llvm_target in
10600 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10602 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10604 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10605 if eval test \${$as_ac_var+y}
10607 printf %s "(cached) " >&6
10609 ac_wine_try_cflags_saved=$CFLAGS
10610 ac_wine_try_cflags_saved_exeext=$ac_exeext
10611 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 int __cdecl mainCRTStartup(void) { return 0; }
10617 if ac_fn_c_try_link "$LINENO"
10619 eval "$as_ac_var=yes"
10621 eval "$as_ac_var=no"
10623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10624 conftest$ac_exeext conftest.$ac_ext
10625 CFLAGS=$ac_wine_try_cflags_saved
10626 ac_exeext=$ac_wine_try_cflags_saved_exeext
10628 eval ac_res=\$$as_ac_var
10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10630 printf "%s\n" "$ac_res" >&6; }
10631 if eval test \"x\$"$as_ac_var"\" = x"yes"
10633 target=$llvm_target
10634 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10635 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10636 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10638 eval "${wine_arch}_TARGET=\$target"
10642 if test -z "$target"
10644 if test ${enable_archs+y}
10646 as_fn_error $? "MinGW $wine_arch compiler not found.
10647 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10650 CFLAGS=$saved_CFLAGS
10651 LDFLAGS=$saved_LDFLAGS
10655 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10658 printf %s "checking for $CC option to enable C99 features... " >&6; }
10659 if eval test \${$as_wine_cv_crosscc_c99+y}
10661 printf %s "(cached) " >&6
10663 eval "$as_wine_cv_crosscc_c99=no"
10664 for arg in '' '-std=gnu99' '-D__STDC__'
10666 test -z "$arg" || CC="$CC $arg"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 $ac_c_conftest_c99_program
10671 if ac_fn_c_try_compile "$LINENO"
10673 eval "$as_wine_cv_crosscc_c99=\$arg"
10675 eval "$as_wine_cv_crosscc_c99=no"
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10678 eval CC=\$${wine_arch}_CC
10679 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10688 eval res=\$$as_wine_cv_crosscc_c99
10691 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10692 printf "%s\n" "none needed" >&6; } ;;
10693 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10694 printf "%s\n" "unsupported" >&6; }
10696 CFLAGS=$saved_CFLAGS
10697 LDFLAGS=$saved_LDFLAGS
10698 if test ${enable_archs+y}
10700 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10701 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10705 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10706 printf "%s\n" "$res" >&6; }
10707 as_fn_append ${wine_arch}_CC " $res" ;;
10710 as_fn_append PE_ARCHS " $wine_arch"
10711 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10713 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10714 if eval test \${$as_ac_var+y}
10716 printf %s "(cached) " >&6
10718 ac_wine_try_cflags_saved=$CFLAGS
10719 ac_wine_try_cflags_saved_exeext=$ac_exeext
10720 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 int __cdecl mainCRTStartup(void) { return 0; }
10726 if ac_fn_c_try_link "$LINENO"
10728 eval "$as_ac_var=yes"
10730 eval "$as_ac_var=no"
10732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10733 conftest$ac_exeext conftest.$ac_ext
10734 CFLAGS=$ac_wine_try_cflags_saved
10735 ac_exeext=$ac_wine_try_cflags_saved_exeext
10737 eval ac_res=\$$as_ac_var
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10739 printf "%s\n" "$ac_res" >&6; }
10740 if eval test \"x\$"$as_ac_var"\" = x"yes"
10742 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10744 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10746 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10747 if eval test \${$as_ac_var+y}
10749 printf %s "(cached) " >&6
10751 ac_wine_try_cflags_saved=$CFLAGS
10752 ac_wine_try_cflags_saved_exeext=$ac_exeext
10753 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 int __cdecl mainCRTStartup(void) { return 0; }
10759 if ac_fn_c_try_link "$LINENO"
10761 eval "$as_ac_var=yes"
10763 eval "$as_ac_var=no"
10765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10766 conftest$ac_exeext conftest.$ac_ext
10767 CFLAGS=$ac_wine_try_cflags_saved
10768 ac_exeext=$ac_wine_try_cflags_saved_exeext
10770 eval ac_res=\$$as_ac_var
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10772 printf "%s\n" "$ac_res" >&6; }
10773 if eval test \"x\$"$as_ac_var"\" = x"yes"
10775 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10777 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10779 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10780 if eval test \${$as_ac_var+y}
10782 printf %s "(cached) " >&6
10784 ac_wine_try_cflags_saved=$CFLAGS
10785 ac_wine_try_cflags_saved_exeext=$ac_exeext
10786 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 int __cdecl mainCRTStartup(void) { return 0; }
10792 if ac_fn_c_try_link "$LINENO"
10794 eval "$as_ac_var=yes"
10796 eval "$as_ac_var=no"
10798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10799 conftest$ac_exeext conftest.$ac_ext
10800 CFLAGS=$ac_wine_try_cflags_saved
10801 ac_exeext=$ac_wine_try_cflags_saved_exeext
10803 eval ac_res=\$$as_ac_var
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10805 printf "%s\n" "$ac_res" >&6; }
10806 if eval test \"x\$"$as_ac_var"\" = x"yes"
10808 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10810 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10812 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10813 if eval test \${$as_ac_var+y}
10815 printf %s "(cached) " >&6
10817 ac_wine_try_cflags_saved=$CFLAGS
10818 ac_wine_try_cflags_saved_exeext=$ac_exeext
10819 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10823 int __cdecl mainCRTStartup(void) { return 0; }
10825 if ac_fn_c_try_link "$LINENO"
10827 eval "$as_ac_var=yes"
10829 eval "$as_ac_var=no"
10831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10832 conftest$ac_exeext conftest.$ac_ext
10833 CFLAGS=$ac_wine_try_cflags_saved
10834 ac_exeext=$ac_wine_try_cflags_saved_exeext
10836 eval ac_res=\$$as_ac_var
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10838 printf "%s\n" "$ac_res" >&6; }
10839 if eval test \"x\$"$as_ac_var"\" = x"yes"
10841 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10843 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10845 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10846 if eval test \${$as_ac_var+y}
10848 printf %s "(cached) " >&6
10850 ac_wine_try_cflags_saved=$CFLAGS
10851 ac_wine_try_cflags_saved_exeext=$ac_exeext
10852 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 int __cdecl mainCRTStartup(void) { return 0; }
10858 if ac_fn_c_try_link "$LINENO"
10860 eval "$as_ac_var=yes"
10862 eval "$as_ac_var=no"
10864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10865 conftest$ac_exeext conftest.$ac_ext
10866 CFLAGS=$ac_wine_try_cflags_saved
10867 ac_exeext=$ac_wine_try_cflags_saved_exeext
10869 eval ac_res=\$$as_ac_var
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10871 printf "%s\n" "$ac_res" >&6; }
10872 if eval test \"x\$"$as_ac_var"\" = x"yes"
10874 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10876 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10878 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10879 if eval test \${$as_ac_var+y}
10881 printf %s "(cached) " >&6
10883 ac_wine_try_cflags_saved=$CFLAGS
10884 ac_wine_try_cflags_saved_exeext=$ac_exeext
10885 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 int __cdecl mainCRTStartup(void) { return 0; }
10891 if ac_fn_c_try_link "$LINENO"
10893 eval "$as_ac_var=yes"
10895 eval "$as_ac_var=no"
10897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10898 conftest$ac_exeext conftest.$ac_ext
10899 CFLAGS=$ac_wine_try_cflags_saved
10900 ac_exeext=$ac_wine_try_cflags_saved_exeext
10902 eval ac_res=\$$as_ac_var
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10904 printf "%s\n" "$ac_res" >&6; }
10905 if eval test \"x\$"$as_ac_var"\" = x"yes"
10907 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10909 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10911 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10912 if eval test \${$as_ac_var+y}
10914 printf %s "(cached) " >&6
10916 ac_wine_try_cflags_saved=$CFLAGS
10917 ac_wine_try_cflags_saved_exeext=$ac_exeext
10918 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10922 int __cdecl mainCRTStartup(void) { return 0; }
10924 if ac_fn_c_try_link "$LINENO"
10926 eval "$as_ac_var=yes"
10928 eval "$as_ac_var=no"
10930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10931 conftest$ac_exeext conftest.$ac_ext
10932 CFLAGS=$ac_wine_try_cflags_saved
10933 ac_exeext=$ac_wine_try_cflags_saved_exeext
10935 eval ac_res=\$$as_ac_var
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10937 printf "%s\n" "$ac_res" >&6; }
10938 if eval test \"x\$"$as_ac_var"\" = x"yes"
10940 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10942 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10944 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10945 if eval test \${$as_ac_var+y}
10947 printf %s "(cached) " >&6
10949 ac_wine_try_cflags_saved=$CFLAGS
10950 ac_wine_try_cflags_saved_exeext=$ac_exeext
10951 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 int __cdecl mainCRTStartup(void) { return 0; }
10957 if ac_fn_c_try_link "$LINENO"
10959 eval "$as_ac_var=yes"
10961 eval "$as_ac_var=no"
10963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10964 conftest$ac_exeext conftest.$ac_ext
10965 CFLAGS=$ac_wine_try_cflags_saved
10966 ac_exeext=$ac_wine_try_cflags_saved_exeext
10968 eval ac_res=\$$as_ac_var
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10970 printf "%s\n" "$ac_res" >&6; }
10971 if eval test \"x\$"$as_ac_var"\" = x"yes"
10973 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10975 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10977 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10978 if eval test \${$as_ac_var+y}
10980 printf %s "(cached) " >&6
10982 ac_wine_try_cflags_saved=$CFLAGS
10983 ac_wine_try_cflags_saved_exeext=$ac_exeext
10984 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10988 int __cdecl mainCRTStartup(void) { return 0; }
10990 if ac_fn_c_try_link "$LINENO"
10992 eval "$as_ac_var=yes"
10994 eval "$as_ac_var=no"
10996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10997 conftest$ac_exeext conftest.$ac_ext
10998 CFLAGS=$ac_wine_try_cflags_saved
10999 ac_exeext=$ac_wine_try_cflags_saved_exeext
11001 eval ac_res=\$$as_ac_var
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11003 printf "%s\n" "$ac_res" >&6; }
11004 if eval test \"x\$"$as_ac_var"\" = x"yes"
11006 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11008 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11010 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11011 if eval test \${$as_ac_var+y}
11013 printf %s "(cached) " >&6
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 int __cdecl mainCRTStartup(void) { return 0; }
11023 if ac_fn_c_try_link "$LINENO"
11025 eval "$as_ac_var=yes"
11027 eval "$as_ac_var=no"
11029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11030 conftest$ac_exeext conftest.$ac_ext
11031 CFLAGS=$ac_wine_try_cflags_saved
11032 ac_exeext=$ac_wine_try_cflags_saved_exeext
11034 eval ac_res=\$$as_ac_var
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11036 printf "%s\n" "$ac_res" >&6; }
11037 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11041 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11043 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11044 if eval test \${$as_ac_var+y}
11046 printf %s "(cached) " >&6
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_exeext=$ac_exeext
11050 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 int __cdecl mainCRTStartup(void) { return 0; }
11056 if ac_fn_c_try_link "$LINENO"
11058 eval "$as_ac_var=yes"
11060 eval "$as_ac_var=no"
11062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11063 conftest$ac_exeext conftest.$ac_ext
11064 CFLAGS=$ac_wine_try_cflags_saved
11065 ac_exeext=$ac_wine_try_cflags_saved_exeext
11067 eval ac_res=\$$as_ac_var
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11069 printf "%s\n" "$ac_res" >&6; }
11070 if eval test \"x\$"$as_ac_var"\" = x"yes"
11072 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11074 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11076 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11077 if eval test \${$as_ac_var+y}
11079 printf %s "(cached) " >&6
11081 ac_wine_try_cflags_saved=$CFLAGS
11082 ac_wine_try_cflags_saved_exeext=$ac_exeext
11083 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11087 int __cdecl mainCRTStartup(void) { return 0; }
11089 if ac_fn_c_try_link "$LINENO"
11091 eval "$as_ac_var=yes"
11093 eval "$as_ac_var=no"
11095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11096 conftest$ac_exeext conftest.$ac_ext
11097 CFLAGS=$ac_wine_try_cflags_saved
11098 ac_exeext=$ac_wine_try_cflags_saved_exeext
11100 eval ac_res=\$$as_ac_var
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11102 printf "%s\n" "$ac_res" >&6; }
11103 if eval test \"x\$"$as_ac_var"\" = x"yes"
11105 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11107 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11109 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11110 if eval test \${$as_ac_var+y}
11112 printf %s "(cached) " >&6
11114 ac_wine_try_cflags_saved=$CFLAGS
11115 ac_wine_try_cflags_saved_exeext=$ac_exeext
11116 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11120 int __cdecl mainCRTStartup(void) { return 0; }
11122 if ac_fn_c_try_link "$LINENO"
11124 eval "$as_ac_var=yes"
11126 eval "$as_ac_var=no"
11128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11129 conftest$ac_exeext conftest.$ac_ext
11130 CFLAGS=$ac_wine_try_cflags_saved
11131 ac_exeext=$ac_wine_try_cflags_saved_exeext
11133 eval ac_res=\$$as_ac_var
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11135 printf "%s\n" "$ac_res" >&6; }
11136 if eval test \"x\$"$as_ac_var"\" = x"yes"
11138 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11140 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11142 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11143 if eval test \${$as_ac_var+y}
11145 printf %s "(cached) " >&6
11147 ac_wine_try_cflags_saved=$CFLAGS
11148 ac_wine_try_cflags_saved_exeext=$ac_exeext
11149 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11153 int __cdecl mainCRTStartup(void) { return 0; }
11155 if ac_fn_c_try_link "$LINENO"
11157 eval "$as_ac_var=yes"
11159 eval "$as_ac_var=no"
11161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11162 conftest$ac_exeext conftest.$ac_ext
11163 CFLAGS=$ac_wine_try_cflags_saved
11164 ac_exeext=$ac_wine_try_cflags_saved_exeext
11166 eval ac_res=\$$as_ac_var
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11168 printf "%s\n" "$ac_res" >&6; }
11169 if eval test \"x\$"$as_ac_var"\" = x"yes"
11171 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11173 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11175 printf %s "checking whether $CC supports -Wvla... " >&6; }
11176 if eval test \${$as_ac_var+y}
11178 printf %s "(cached) " >&6
11180 ac_wine_try_cflags_saved=$CFLAGS
11181 ac_wine_try_cflags_saved_exeext=$ac_exeext
11182 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11186 int __cdecl mainCRTStartup(void) { return 0; }
11188 if ac_fn_c_try_link "$LINENO"
11190 eval "$as_ac_var=yes"
11192 eval "$as_ac_var=no"
11194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11195 conftest$ac_exeext conftest.$ac_ext
11196 CFLAGS=$ac_wine_try_cflags_saved
11197 ac_exeext=$ac_wine_try_cflags_saved_exeext
11199 eval ac_res=\$$as_ac_var
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11201 printf "%s\n" "$ac_res" >&6; }
11202 if eval test \"x\$"$as_ac_var"\" = x"yes"
11204 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11206 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11208 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11209 if eval test \${$as_ac_var+y}
11211 printf %s "(cached) " >&6
11213 ac_wine_try_cflags_saved=$CFLAGS
11214 ac_wine_try_cflags_saved_exeext=$ac_exeext
11215 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11218 /* end confdefs.h. */
11219 int __cdecl mainCRTStartup(void) { return 0; }
11221 if ac_fn_c_try_link "$LINENO"
11223 eval "$as_ac_var=yes"
11225 eval "$as_ac_var=no"
11227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11228 conftest$ac_exeext conftest.$ac_ext
11229 CFLAGS=$ac_wine_try_cflags_saved
11230 ac_exeext=$ac_wine_try_cflags_saved_exeext
11232 eval ac_res=\$$as_ac_var
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11234 printf "%s\n" "$ac_res" >&6; }
11235 if eval test \"x\$"$as_ac_var"\" = x"yes"
11237 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11239 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11241 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11242 if eval test \${$as_ac_var+y}
11244 printf %s "(cached) " >&6
11246 ac_wine_try_cflags_saved=$CFLAGS
11247 ac_wine_try_cflags_saved_exeext=$ac_exeext
11248 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 int __cdecl mainCRTStartup(void) { return 0; }
11254 if ac_fn_c_try_link "$LINENO"
11256 eval "$as_ac_var=yes"
11258 eval "$as_ac_var=no"
11260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11261 conftest$ac_exeext conftest.$ac_ext
11262 CFLAGS=$ac_wine_try_cflags_saved
11263 ac_exeext=$ac_wine_try_cflags_saved_exeext
11265 eval ac_res=\$$as_ac_var
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11267 printf "%s\n" "$ac_res" >&6; }
11268 if eval test \"x\$"$as_ac_var"\" = x"yes"
11270 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11272 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11274 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11275 if eval test \${$as_ac_var+y}
11277 printf %s "(cached) " >&6
11279 ac_wine_try_cflags_saved=$CFLAGS
11280 ac_wine_try_cflags_saved_exeext=$ac_exeext
11281 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285 int __cdecl mainCRTStartup(void) { return 0; }
11287 if ac_fn_c_try_link "$LINENO"
11289 eval "$as_ac_var=yes"
11291 eval "$as_ac_var=no"
11293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11294 conftest$ac_exeext conftest.$ac_ext
11295 CFLAGS=$ac_wine_try_cflags_saved
11296 ac_exeext=$ac_wine_try_cflags_saved_exeext
11298 eval ac_res=\$$as_ac_var
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11300 printf "%s\n" "$ac_res" >&6; }
11301 if eval test \"x\$"$as_ac_var"\" = x"yes"
11303 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11305 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11307 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11308 if eval test \${$as_ac_var+y}
11310 printf %s "(cached) " >&6
11312 ac_wine_try_cflags_saved=$CFLAGS
11313 ac_wine_try_cflags_saved_exeext=$ac_exeext
11314 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11318 int __cdecl mainCRTStartup(void) { return 0; }
11320 if ac_fn_c_try_link "$LINENO"
11322 eval "$as_ac_var=yes"
11324 eval "$as_ac_var=no"
11326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11327 conftest$ac_exeext conftest.$ac_ext
11328 CFLAGS=$ac_wine_try_cflags_saved
11329 ac_exeext=$ac_wine_try_cflags_saved_exeext
11331 eval ac_res=\$$as_ac_var
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11333 printf "%s\n" "$ac_res" >&6; }
11334 if eval test \"x\$"$as_ac_var"\" = x"yes"
11336 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11340 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11342 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11343 if eval test \${$as_ac_var+y}
11345 printf %s "(cached) " >&6
11347 ac_wine_try_cflags_saved=$CFLAGS
11348 ac_wine_try_cflags_saved_exeext=$ac_exeext
11349 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 int __cdecl mainCRTStartup(void) { return 0; }
11355 if ac_fn_c_try_link "$LINENO"
11357 eval "$as_ac_var=yes"
11359 eval "$as_ac_var=no"
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 ac_exeext=$ac_wine_try_cflags_saved_exeext
11366 eval ac_res=\$$as_ac_var
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11368 printf "%s\n" "$ac_res" >&6; }
11369 if eval test \"x\$"$as_ac_var"\" = x"yes"
11371 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11373 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11375 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11376 if eval test \${$as_ac_var+y}
11378 printf %s "(cached) " >&6
11380 ac_wine_try_cflags_saved=$CFLAGS
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 int __cdecl mainCRTStartup(void) { return 0; }
11388 if ac_fn_c_try_link "$LINENO"
11390 eval "$as_ac_var=yes"
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11406 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11408 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11409 if eval test \${$as_ac_var+y}
11411 printf %s "(cached) " >&6
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 int __cdecl mainCRTStartup(void) { return 0; }
11421 if ac_fn_c_try_link "$LINENO"
11423 eval "$as_ac_var=yes"
11425 eval "$as_ac_var=no"
11427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11428 conftest$ac_exeext conftest.$ac_ext
11429 CFLAGS=$ac_wine_try_cflags_saved
11430 ac_exeext=$ac_wine_try_cflags_saved_exeext
11432 eval ac_res=\$$as_ac_var
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11434 printf "%s\n" "$ac_res" >&6; }
11435 if eval test \"x\$"$as_ac_var"\" = x"yes"
11437 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11439 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11441 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11442 if eval test \${$as_ac_var+y}
11444 printf %s "(cached) " >&6
11446 ac_wine_try_cflags_saved=$CFLAGS
11447 ac_wine_try_cflags_saved_exeext=$ac_exeext
11448 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11452 int __cdecl mainCRTStartup(void) { return 0; }
11454 if ac_fn_c_try_link "$LINENO"
11456 eval "$as_ac_var=yes"
11458 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11461 conftest$ac_exeext conftest.$ac_ext
11462 CFLAGS=$ac_wine_try_cflags_saved
11463 ac_exeext=$ac_wine_try_cflags_saved_exeext
11465 eval ac_res=\$$as_ac_var
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11467 printf "%s\n" "$ac_res" >&6; }
11468 if eval test \"x\$"$as_ac_var"\" = x"yes"
11470 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11472 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11474 printf %s "checking whether $CC supports -mcx16... " >&6; }
11475 if eval test \${$as_ac_var+y}
11477 printf %s "(cached) " >&6
11479 ac_wine_try_cflags_saved=$CFLAGS
11480 ac_wine_try_cflags_saved_exeext=$ac_exeext
11481 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485 int __cdecl mainCRTStartup(void) { return 0; }
11487 if ac_fn_c_try_link "$LINENO"
11489 eval "$as_ac_var=yes"
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11507 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11508 if eval test \${$as_ac_var+y}
11510 printf %s "(cached) " >&6
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 int __cdecl mainCRTStartup(void) { return 0; }
11520 if ac_fn_c_try_link "$LINENO"
11522 eval "$as_ac_var=yes"
11524 eval "$as_ac_var=no"
11526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11527 conftest$ac_exeext conftest.$ac_ext
11528 CFLAGS=$ac_wine_try_cflags_saved
11529 ac_exeext=$ac_wine_try_cflags_saved_exeext
11531 eval ac_res=\$$as_ac_var
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11533 printf "%s\n" "$ac_res" >&6; }
11534 if eval test \"x\$"$as_ac_var"\" = x"yes"
11536 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11540 wine_crossdebug=$CROSSDEBUG
11541 if test -z "$wine_crossdebug"
11543 for ac_flag in $CFLAGS; do
11545 -gdwarf*) wine_crossdebug=dwarf ;;
11546 -gcodeview) wine_crossdebug=pdb ;;
11547 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11552 ac_debug_format_seen=""
11553 for ac_flag in $CFLAGS; do
11555 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11558 if test "x$ac_debug_format_seen" = x
11560 case $wine_crossdebug in
11561 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11563 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11564 if eval test \${$as_ac_var+y}
11566 printf %s "(cached) " >&6
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_exeext=$ac_exeext
11570 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 int __cdecl mainCRTStartup(void) { return 0; }
11576 if ac_fn_c_try_link "$LINENO"
11578 eval "$as_ac_var=yes"
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11592 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11594 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11596 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11597 if eval test \${$as_ac_var+y}
11599 printf %s "(cached) " >&6
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_exeext=$ac_exeext
11603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 int __cdecl mainCRTStartup(void) { return 0; }
11609 if ac_fn_c_try_link "$LINENO"
11611 eval "$as_ac_var=yes"
11613 eval "$as_ac_var=no"
11615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11616 conftest$ac_exeext conftest.$ac_ext
11617 CFLAGS=$ac_wine_try_cflags_saved
11618 ac_exeext=$ac_wine_try_cflags_saved_exeext
11620 eval ac_res=\$$as_ac_var
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11622 printf "%s\n" "$ac_res" >&6; }
11623 if eval test \"x\$"$as_ac_var"\" = x"yes"
11625 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11629 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11631 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11633 printf %s "checking whether $CC supports -Werror... " >&6; }
11634 if eval test \${$as_ac_var+y}
11636 printf %s "(cached) " >&6
11638 ac_wine_try_cflags_saved=$CFLAGS
11639 ac_wine_try_cflags_saved_exeext=$ac_exeext
11640 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11644 int __cdecl mainCRTStartup(void) { return 0; }
11646 if ac_fn_c_try_link "$LINENO"
11648 eval "$as_ac_var=yes"
11650 eval "$as_ac_var=no"
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 eval ac_res=\$$as_ac_var
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11659 printf "%s\n" "$ac_res" >&6; }
11660 if eval test \"x\$"$as_ac_var"\" = x"yes"
11662 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11664 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11666 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11667 if eval test \${$as_ac_var+y}
11669 printf %s "(cached) " >&6
11671 ac_wine_try_cflags_saved=$CFLAGS
11672 ac_wine_try_cflags_saved_exeext=$ac_exeext
11673 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 int __cdecl mainCRTStartup(void) { return 0; }
11679 if ac_fn_c_try_link "$LINENO"
11681 eval "$as_ac_var=yes"
11683 eval "$as_ac_var=no"
11685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11686 conftest$ac_exeext conftest.$ac_ext
11687 CFLAGS=$ac_wine_try_cflags_saved
11688 ac_exeext=$ac_wine_try_cflags_saved_exeext
11690 eval ac_res=\$$as_ac_var
11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11692 printf "%s\n" "$ac_res" >&6; }
11693 if eval test \"x\$"$as_ac_var"\" = x"yes"
11695 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11696 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11700 CFLAGS=$saved_CFLAGS
11701 LDFLAGS=$saved_LDFLAGS
11704 if test $HOST_ARCH = aarch64
11706 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
11711 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11713 case "$host_cpu" in
11715 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11717 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11719 for ac_prog in $ac_prefix_list
11721 # Extract the first word of "$ac_prog", so it can be a program name with args.
11722 set dummy $ac_prog; ac_word=$2
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11724 printf %s "checking for $ac_word... " >&6; }
11725 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11727 printf %s "(cached) " >&6
11729 if test -n "$MINGW_PKG_CONFIG"; then
11730 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 case $as_dir in #(((
11739 *) as_dir=$as_dir/ ;;
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11743 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11753 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11754 if test -n "$MINGW_PKG_CONFIG"; then
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11756 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 printf "%s\n" "no" >&6; }
11763 test -n "$MINGW_PKG_CONFIG" && break
11765 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11767 if ${FAUDIO_PE_CFLAGS:+false} :
11769 if test ${MINGW_PKG_CONFIG+y}
11771 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11774 if ${FAUDIO_PE_LIBS:+false} :
11776 if test ${MINGW_PKG_CONFIG+y}
11778 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11781 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11782 ac_save_CPPFLAGS=$CPPFLAGS
11783 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11785 printf %s "checking for MinGW FAudio.h... " >&6; }
11786 if test ${ac_cv_mingw_header_FAudio_h+y}
11788 printf %s "(cached) " >&6
11790 ac_wine_check_headers_saved_cc=$CC
11791 ac_wine_check_headers_saved_exeext=$ac_exeext
11792 eval CC=\$${wine_arch}_CC
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 #include <FAudio.h>
11806 if ac_fn_c_try_compile "$LINENO"
11808 ac_cv_mingw_header_FAudio_h=yes
11810 ac_cv_mingw_header_FAudio_h=no
11812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11813 CC=$ac_wine_check_headers_saved_cc
11814 ac_exeext=$ac_wine_check_headers_saved_exeext
11816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11817 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11818 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11821 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11822 if test ${ac_cv_mingw_lib_FAudio+y}
11824 printf %s "(cached) " >&6
11826 ac_wine_check_headers_saved_cc=$CC
11827 ac_wine_check_headers_saved_exeext=$ac_exeext
11828 ac_wine_check_headers_saved_libs=$LIBS
11829 eval CC=\$${wine_arch}_CC
11831 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 char FAudio_CommitOperationSet ();
11842 return FAudio_CommitOperationSet ();
11847 if ac_fn_c_try_link "$LINENO"
11849 ac_cv_mingw_lib_FAudio=yes
11851 ac_cv_mingw_lib_FAudio=no
11853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11854 conftest$ac_exeext conftest.$ac_ext
11855 CC=$ac_wine_check_headers_saved_cc
11856 ac_exeext=$ac_wine_check_headers_saved_exeext
11857 LIBS=$ac_wine_check_headers_saved_libs
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11860 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11861 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11865 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11868 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11870 CPPFLAGS=$ac_save_CPPFLAGS
11872 if test "x$FAUDIO_PE_LIBS" = "x"
11874 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11877 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11879 if test ${MINGW_PKG_CONFIG+y}
11881 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
11884 if ${FLUIDSYNTH_PE_LIBS:+false} :
11886 if test ${MINGW_PKG_CONFIG+y}
11888 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
11891 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11892 ac_save_CPPFLAGS=$CPPFLAGS
11893 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11895 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11896 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11898 printf %s "(cached) " >&6
11900 ac_wine_check_headers_saved_cc=$CC
11901 ac_wine_check_headers_saved_exeext=$ac_exeext
11902 eval CC=\$${wine_arch}_CC
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 #include <fluidsynth.h>
11916 if ac_fn_c_try_compile "$LINENO"
11918 ac_cv_mingw_header_fluidsynth_h=yes
11920 ac_cv_mingw_header_fluidsynth_h=no
11922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11923 CC=$ac_wine_check_headers_saved_cc
11924 ac_exeext=$ac_wine_check_headers_saved_exeext
11926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11927 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11928 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11931 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11932 if test ${ac_cv_mingw_lib_fluidsynth+y}
11934 printf %s "(cached) " >&6
11936 ac_wine_check_headers_saved_cc=$CC
11937 ac_wine_check_headers_saved_exeext=$ac_exeext
11938 ac_wine_check_headers_saved_libs=$LIBS
11939 eval CC=\$${wine_arch}_CC
11941 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 char new_fluid_synth ();
11952 return new_fluid_synth ();
11957 if ac_fn_c_try_link "$LINENO"
11959 ac_cv_mingw_lib_fluidsynth=yes
11961 ac_cv_mingw_lib_fluidsynth=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11964 conftest$ac_exeext conftest.$ac_ext
11965 CC=$ac_wine_check_headers_saved_cc
11966 ac_exeext=$ac_wine_check_headers_saved_exeext
11967 LIBS=$ac_wine_check_headers_saved_libs
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11970 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11971 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11975 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11978 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11980 CPPFLAGS=$ac_save_CPPFLAGS
11982 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11984 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11987 if ${JPEG_PE_CFLAGS:+false} :
11989 if test ${MINGW_PKG_CONFIG+y}
11991 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11994 if ${JPEG_PE_LIBS:+false} :
11996 if test ${MINGW_PKG_CONFIG+y}
11998 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12002 ac_save_CPPFLAGS=$CPPFLAGS
12003 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12005 printf %s "checking for MinGW jpeglib.h... " >&6; }
12006 if test ${ac_cv_mingw_header_jpeglib_h+y}
12008 printf %s "(cached) " >&6
12010 ac_wine_check_headers_saved_cc=$CC
12011 ac_wine_check_headers_saved_exeext=$ac_exeext
12012 eval CC=\$${wine_arch}_CC
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12016 #include <stddef.h>
12018 #include <jpeglib.h>
12027 if ac_fn_c_try_compile "$LINENO"
12029 ac_cv_mingw_header_jpeglib_h=yes
12031 ac_cv_mingw_header_jpeglib_h=no
12033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12034 CC=$ac_wine_check_headers_saved_cc
12035 ac_exeext=$ac_wine_check_headers_saved_exeext
12037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12038 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12039 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12042 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12043 if test ${ac_cv_mingw_lib_jpeg+y}
12045 printf %s "(cached) " >&6
12047 ac_wine_check_headers_saved_cc=$CC
12048 ac_wine_check_headers_saved_exeext=$ac_exeext
12049 ac_wine_check_headers_saved_libs=$LIBS
12050 eval CC=\$${wine_arch}_CC
12052 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 char jpeg_start_decompress ();
12063 return jpeg_start_decompress ();
12068 if ac_fn_c_try_link "$LINENO"
12070 ac_cv_mingw_lib_jpeg=yes
12072 ac_cv_mingw_lib_jpeg=no
12074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12075 conftest$ac_exeext conftest.$ac_ext
12076 CC=$ac_wine_check_headers_saved_cc
12077 ac_exeext=$ac_wine_check_headers_saved_exeext
12078 LIBS=$ac_wine_check_headers_saved_libs
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12081 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12082 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12086 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12089 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12091 CPPFLAGS=$ac_save_CPPFLAGS
12093 if test "x$JPEG_PE_LIBS" = "x"
12095 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12098 if ${LCMS2_PE_CFLAGS:+false} :
12100 if test ${MINGW_PKG_CONFIG+y}
12102 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12105 if ${LCMS2_PE_LIBS:+false} :
12107 if test ${MINGW_PKG_CONFIG+y}
12109 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12112 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12113 ac_save_CPPFLAGS=$CPPFLAGS
12114 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12116 printf %s "checking for MinGW lcms2.h... " >&6; }
12117 if test ${ac_cv_mingw_header_lcms2_h+y}
12119 printf %s "(cached) " >&6
12121 ac_wine_check_headers_saved_cc=$CC
12122 ac_wine_check_headers_saved_exeext=$ac_exeext
12123 eval CC=\$${wine_arch}_CC
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12137 if ac_fn_c_try_compile "$LINENO"
12139 ac_cv_mingw_header_lcms2_h=yes
12141 ac_cv_mingw_header_lcms2_h=no
12143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12144 CC=$ac_wine_check_headers_saved_cc
12145 ac_exeext=$ac_wine_check_headers_saved_exeext
12147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12148 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12149 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12152 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12153 if test ${ac_cv_mingw_lib_lcms2+y}
12155 printf %s "(cached) " >&6
12157 ac_wine_check_headers_saved_cc=$CC
12158 ac_wine_check_headers_saved_exeext=$ac_exeext
12159 ac_wine_check_headers_saved_libs=$LIBS
12160 eval CC=\$${wine_arch}_CC
12162 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 char cmsOpenProfileFromFile ();
12173 return cmsOpenProfileFromFile ();
12178 if ac_fn_c_try_link "$LINENO"
12180 ac_cv_mingw_lib_lcms2=yes
12182 ac_cv_mingw_lib_lcms2=no
12184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12185 conftest$ac_exeext conftest.$ac_ext
12186 CC=$ac_wine_check_headers_saved_cc
12187 ac_exeext=$ac_wine_check_headers_saved_exeext
12188 LIBS=$ac_wine_check_headers_saved_libs
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12191 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12192 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12196 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12199 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12201 CPPFLAGS=$ac_save_CPPFLAGS
12203 if test "x$LCMS2_PE_LIBS" = "x"
12205 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12208 if ${MPG123_PE_CFLAGS:+false} :
12210 if test ${MINGW_PKG_CONFIG+y}
12212 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12215 if ${MPG123_PE_LIBS:+false} :
12217 if test ${MINGW_PKG_CONFIG+y}
12219 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12222 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12223 ac_save_CPPFLAGS=$CPPFLAGS
12224 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12226 printf %s "checking for MinGW mpg123.h... " >&6; }
12227 if test ${ac_cv_mingw_header_mpg123_h+y}
12229 printf %s "(cached) " >&6
12231 ac_wine_check_headers_saved_cc=$CC
12232 ac_wine_check_headers_saved_exeext=$ac_exeext
12233 eval CC=\$${wine_arch}_CC
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 #include <mpg123.h>
12247 if ac_fn_c_try_compile "$LINENO"
12249 ac_cv_mingw_header_mpg123_h=yes
12251 ac_cv_mingw_header_mpg123_h=no
12253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12254 CC=$ac_wine_check_headers_saved_cc
12255 ac_exeext=$ac_wine_check_headers_saved_exeext
12257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12258 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12259 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12262 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12263 if test ${ac_cv_mingw_lib_mpg123+y}
12265 printf %s "(cached) " >&6
12267 ac_wine_check_headers_saved_cc=$CC
12268 ac_wine_check_headers_saved_exeext=$ac_exeext
12269 ac_wine_check_headers_saved_libs=$LIBS
12270 eval CC=\$${wine_arch}_CC
12272 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12279 char mpg123_feed ();
12283 return mpg123_feed ();
12288 if ac_fn_c_try_link "$LINENO"
12290 ac_cv_mingw_lib_mpg123=yes
12292 ac_cv_mingw_lib_mpg123=no
12294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12295 conftest$ac_exeext conftest.$ac_ext
12296 CC=$ac_wine_check_headers_saved_cc
12297 ac_exeext=$ac_wine_check_headers_saved_exeext
12298 LIBS=$ac_wine_check_headers_saved_libs
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12301 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12302 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12306 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12309 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12311 CPPFLAGS=$ac_save_CPPFLAGS
12313 if test "x$MPG123_PE_LIBS" = "x"
12315 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12318 if ${PNG_PE_CFLAGS:+false} :
12320 if test ${MINGW_PKG_CONFIG+y}
12322 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12325 if ${PNG_PE_LIBS:+false} :
12327 if test ${MINGW_PKG_CONFIG+y}
12329 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12333 ac_save_CPPFLAGS=$CPPFLAGS
12334 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12336 printf %s "checking for MinGW png.h... " >&6; }
12337 if test ${ac_cv_mingw_header_png_h+y}
12339 printf %s "(cached) " >&6
12341 ac_wine_check_headers_saved_cc=$CC
12342 ac_wine_check_headers_saved_exeext=$ac_exeext
12343 eval CC=\$${wine_arch}_CC
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12357 if ac_fn_c_try_compile "$LINENO"
12359 ac_cv_mingw_header_png_h=yes
12361 ac_cv_mingw_header_png_h=no
12363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12364 CC=$ac_wine_check_headers_saved_cc
12365 ac_exeext=$ac_wine_check_headers_saved_exeext
12367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12368 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12369 if test "x$ac_cv_mingw_header_png_h" = xyes
12371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12372 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12373 if test ${ac_cv_mingw_lib_png+y}
12375 printf %s "(cached) " >&6
12377 ac_wine_check_headers_saved_cc=$CC
12378 ac_wine_check_headers_saved_exeext=$ac_exeext
12379 ac_wine_check_headers_saved_libs=$LIBS
12380 eval CC=\$${wine_arch}_CC
12382 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 char png_create_read_struct ();
12393 return png_create_read_struct ();
12398 if ac_fn_c_try_link "$LINENO"
12400 ac_cv_mingw_lib_png=yes
12402 ac_cv_mingw_lib_png=no
12404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12405 conftest$ac_exeext conftest.$ac_ext
12406 CC=$ac_wine_check_headers_saved_cc
12407 ac_exeext=$ac_wine_check_headers_saved_exeext
12408 LIBS=$ac_wine_check_headers_saved_libs
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12411 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12412 if test "x$ac_cv_mingw_lib_png" = xyes
12416 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12419 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12421 CPPFLAGS=$ac_save_CPPFLAGS
12423 if test "x$PNG_PE_LIBS" = "x"
12425 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12428 if ${TIFF_PE_CFLAGS:+false} :
12430 if test ${MINGW_PKG_CONFIG+y}
12432 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12435 if ${TIFF_PE_LIBS:+false} :
12437 if test ${MINGW_PKG_CONFIG+y}
12439 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12443 ac_save_CPPFLAGS=$CPPFLAGS
12444 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12446 printf %s "checking for MinGW tiffio.h... " >&6; }
12447 if test ${ac_cv_mingw_header_tiffio_h+y}
12449 printf %s "(cached) " >&6
12451 ac_wine_check_headers_saved_cc=$CC
12452 ac_wine_check_headers_saved_exeext=$ac_exeext
12453 eval CC=\$${wine_arch}_CC
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 #include <tiffio.h>
12467 if ac_fn_c_try_compile "$LINENO"
12469 ac_cv_mingw_header_tiffio_h=yes
12471 ac_cv_mingw_header_tiffio_h=no
12473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12474 CC=$ac_wine_check_headers_saved_cc
12475 ac_exeext=$ac_wine_check_headers_saved_exeext
12477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12478 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12479 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12482 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12483 if test ${ac_cv_mingw_lib_tiff+y}
12485 printf %s "(cached) " >&6
12487 ac_wine_check_headers_saved_cc=$CC
12488 ac_wine_check_headers_saved_exeext=$ac_exeext
12489 ac_wine_check_headers_saved_libs=$LIBS
12490 eval CC=\$${wine_arch}_CC
12492 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 char TIFFClientOpen ();
12503 return TIFFClientOpen ();
12508 if ac_fn_c_try_link "$LINENO"
12510 ac_cv_mingw_lib_tiff=yes
12512 ac_cv_mingw_lib_tiff=no
12514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12515 conftest$ac_exeext conftest.$ac_ext
12516 CC=$ac_wine_check_headers_saved_cc
12517 ac_exeext=$ac_wine_check_headers_saved_exeext
12518 LIBS=$ac_wine_check_headers_saved_libs
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12521 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12522 if test "x$ac_cv_mingw_lib_tiff" = xyes
12526 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12529 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12531 CPPFLAGS=$ac_save_CPPFLAGS
12533 if test "x$TIFF_PE_LIBS" = "x"
12535 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12538 if ${XML2_PE_CFLAGS:+false} :
12540 if test ${MINGW_PKG_CONFIG+y}
12542 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12545 if ${XML2_PE_LIBS:+false} :
12547 if test ${MINGW_PKG_CONFIG+y}
12549 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12552 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12553 ac_save_CPPFLAGS=$CPPFLAGS
12554 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12556 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12557 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12559 printf %s "(cached) " >&6
12561 ac_wine_check_headers_saved_cc=$CC
12562 ac_wine_check_headers_saved_exeext=$ac_exeext
12563 eval CC=\$${wine_arch}_CC
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 #include <libxml/parser.h>
12577 if ac_fn_c_try_compile "$LINENO"
12579 ac_cv_mingw_header_libxml_parser_h=yes
12581 ac_cv_mingw_header_libxml_parser_h=no
12583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12584 CC=$ac_wine_check_headers_saved_cc
12585 ac_exeext=$ac_wine_check_headers_saved_exeext
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12588 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12589 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12594 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12595 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12597 printf %s "(cached) " >&6
12599 ac_wine_check_headers_saved_cc=$CC
12600 ac_wine_check_headers_saved_exeext=$ac_exeext
12601 eval CC=\$${wine_arch}_CC
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 #include <libxml/xmlsave.h>
12615 if ac_fn_c_try_compile "$LINENO"
12617 ac_cv_mingw_header_libxml_xmlsave_h=yes
12619 ac_cv_mingw_header_libxml_xmlsave_h=no
12621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12622 CC=$ac_wine_check_headers_saved_cc
12623 ac_exeext=$ac_wine_check_headers_saved_exeext
12625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12626 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12627 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12632 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12633 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12635 printf %s "(cached) " >&6
12637 ac_wine_check_headers_saved_cc=$CC
12638 ac_wine_check_headers_saved_exeext=$ac_exeext
12639 eval CC=\$${wine_arch}_CC
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 #include <libxml/SAX2.h>
12653 if ac_fn_c_try_compile "$LINENO"
12655 ac_cv_mingw_header_libxml_SAX2_h=yes
12657 ac_cv_mingw_header_libxml_SAX2_h=no
12659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12660 CC=$ac_wine_check_headers_saved_cc
12661 ac_exeext=$ac_wine_check_headers_saved_exeext
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12664 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12665 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12669 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"
12671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12672 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12673 if test ${ac_cv_mingw_lib_xml2+y}
12675 printf %s "(cached) " >&6
12677 ac_wine_check_headers_saved_cc=$CC
12678 ac_wine_check_headers_saved_exeext=$ac_exeext
12679 ac_wine_check_headers_saved_libs=$LIBS
12680 eval CC=\$${wine_arch}_CC
12682 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 char xmlFirstElementChild ();
12693 return xmlFirstElementChild ();
12698 if ac_fn_c_try_link "$LINENO"
12700 ac_cv_mingw_lib_xml2=yes
12702 ac_cv_mingw_lib_xml2=no
12704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12705 conftest$ac_exeext conftest.$ac_ext
12706 CC=$ac_wine_check_headers_saved_cc
12707 ac_exeext=$ac_wine_check_headers_saved_exeext
12708 LIBS=$ac_wine_check_headers_saved_libs
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12711 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12712 if test "x$ac_cv_mingw_lib_xml2" = xyes
12716 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12722 CPPFLAGS=$ac_save_CPPFLAGS
12724 if test "x$XML2_PE_LIBS" = "x"
12726 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12729 if ${XSLT_PE_CFLAGS:+false} :
12731 if test ${MINGW_PKG_CONFIG+y}
12733 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12736 if ${XSLT_PE_LIBS:+false} :
12738 if test ${MINGW_PKG_CONFIG+y}
12740 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12743 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12744 ac_save_CPPFLAGS=$CPPFLAGS
12745 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12747 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12748 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12750 printf %s "(cached) " >&6
12752 ac_wine_check_headers_saved_cc=$CC
12753 ac_wine_check_headers_saved_exeext=$ac_exeext
12754 eval CC=\$${wine_arch}_CC
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 #include <libxslt/pattern.h>
12768 if ac_fn_c_try_compile "$LINENO"
12770 ac_cv_mingw_header_libxslt_pattern_h=yes
12772 ac_cv_mingw_header_libxslt_pattern_h=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12775 CC=$ac_wine_check_headers_saved_cc
12776 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12779 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12780 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12785 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12786 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12788 printf %s "(cached) " >&6
12790 ac_wine_check_headers_saved_cc=$CC
12791 ac_wine_check_headers_saved_exeext=$ac_exeext
12792 eval CC=\$${wine_arch}_CC
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 #include <libxslt/transform.h>
12806 if ac_fn_c_try_compile "$LINENO"
12808 ac_cv_mingw_header_libxslt_transform_h=yes
12810 ac_cv_mingw_header_libxslt_transform_h=no
12812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12813 CC=$ac_wine_check_headers_saved_cc
12814 ac_exeext=$ac_wine_check_headers_saved_exeext
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12817 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12818 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12822 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12825 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12826 if test ${ac_cv_mingw_lib_xslt+y}
12828 printf %s "(cached) " >&6
12830 ac_wine_check_headers_saved_cc=$CC
12831 ac_wine_check_headers_saved_exeext=$ac_exeext
12832 ac_wine_check_headers_saved_libs=$LIBS
12833 eval CC=\$${wine_arch}_CC
12835 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 char xsltCompilePattern ();
12846 return xsltCompilePattern ();
12851 if ac_fn_c_try_link "$LINENO"
12853 ac_cv_mingw_lib_xslt=yes
12855 ac_cv_mingw_lib_xslt=no
12857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12858 conftest$ac_exeext conftest.$ac_ext
12859 CC=$ac_wine_check_headers_saved_cc
12860 ac_exeext=$ac_wine_check_headers_saved_exeext
12861 LIBS=$ac_wine_check_headers_saved_libs
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12864 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12865 if test "x$ac_cv_mingw_lib_xslt" = xyes
12869 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12875 CPPFLAGS=$ac_save_CPPFLAGS
12877 if test "x$XSLT_PE_LIBS" = "x"
12879 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12882 if ${VKD3D_PE_CFLAGS:+false} :
12884 if test ${MINGW_PKG_CONFIG+y}
12886 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12889 if ${VKD3D_PE_LIBS:+false} :
12891 if test ${MINGW_PKG_CONFIG+y}
12893 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12896 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12897 ac_save_CPPFLAGS=$CPPFLAGS
12898 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12900 printf %s "checking for MinGW vkd3d.h... " >&6; }
12901 if test ${ac_cv_mingw_header_vkd3d_h+y}
12903 printf %s "(cached) " >&6
12905 ac_wine_check_headers_saved_cc=$CC
12906 ac_wine_check_headers_saved_exeext=$ac_exeext
12907 eval CC=\$${wine_arch}_CC
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12921 if ac_fn_c_try_compile "$LINENO"
12923 ac_cv_mingw_header_vkd3d_h=yes
12925 ac_cv_mingw_header_vkd3d_h=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12928 CC=$ac_wine_check_headers_saved_cc
12929 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12932 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12933 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12938 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12939 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12941 printf %s "(cached) " >&6
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 eval CC=\$${wine_arch}_CC
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 #include <vkd3d_shader.h>
12959 if ac_fn_c_try_compile "$LINENO"
12961 ac_cv_mingw_header_vkd3d_shader_h=yes
12963 ac_cv_mingw_header_vkd3d_shader_h=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12970 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12971 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12975 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12978 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12979 if test ${ac_cv_mingw_lib_vkd3d+y}
12981 printf %s "(cached) " >&6
12983 ac_wine_check_headers_saved_cc=$CC
12984 ac_wine_check_headers_saved_exeext=$ac_exeext
12985 ac_wine_check_headers_saved_libs=$LIBS
12986 eval CC=\$${wine_arch}_CC
12988 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 char vkd3d_set_log_callback ();
12999 return vkd3d_set_log_callback ();
13004 if ac_fn_c_try_link "$LINENO"
13006 ac_cv_mingw_lib_vkd3d=yes
13008 ac_cv_mingw_lib_vkd3d=no
13010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13011 conftest$ac_exeext conftest.$ac_ext
13012 CC=$ac_wine_check_headers_saved_cc
13013 ac_exeext=$ac_wine_check_headers_saved_exeext
13014 LIBS=$ac_wine_check_headers_saved_libs
13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13017 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13018 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13025 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13026 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13028 printf %s "(cached) " >&6
13030 ac_wine_check_headers_saved_cc=$CC
13031 ac_wine_check_headers_saved_exeext=$ac_exeext
13032 ac_wine_check_headers_saved_libs=$LIBS
13033 eval CC=\$${wine_arch}_CC
13035 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13039 /* Override any GCC internal prototype to avoid an error.
13040 Use char because int might match the return type of a GCC
13041 builtin and then its argument prototype would still apply. */
13042 char vkd3d_shader_serialize_dxbc ();
13046 return vkd3d_shader_serialize_dxbc ();
13051 if ac_fn_c_try_link "$LINENO"
13053 ac_cv_mingw_lib_vkd3d_shader=yes
13055 ac_cv_mingw_lib_vkd3d_shader=no
13057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13058 conftest$ac_exeext conftest.$ac_ext
13059 CC=$ac_wine_check_headers_saved_cc
13060 ac_exeext=$ac_wine_check_headers_saved_exeext
13061 LIBS=$ac_wine_check_headers_saved_libs
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13064 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13065 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13071 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13080 CPPFLAGS=$ac_save_CPPFLAGS
13082 if test "x$VKD3D_PE_LIBS" = "x"
13084 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13087 if ${ZLIB_PE_CFLAGS:+false} :
13089 if test ${MINGW_PKG_CONFIG+y}
13091 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13094 if ${ZLIB_PE_LIBS:+false} :
13096 if test ${MINGW_PKG_CONFIG+y}
13098 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13101 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13102 ac_save_CPPFLAGS=$CPPFLAGS
13103 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13105 printf %s "checking for MinGW zlib.h... " >&6; }
13106 if test ${ac_cv_mingw_header_zlib_h+y}
13108 printf %s "(cached) " >&6
13110 ac_wine_check_headers_saved_cc=$CC
13111 ac_wine_check_headers_saved_exeext=$ac_exeext
13112 eval CC=\$${wine_arch}_CC
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13126 if ac_fn_c_try_compile "$LINENO"
13128 ac_cv_mingw_header_zlib_h=yes
13130 ac_cv_mingw_header_zlib_h=no
13132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13133 CC=$ac_wine_check_headers_saved_cc
13134 ac_exeext=$ac_wine_check_headers_saved_exeext
13136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13137 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13138 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13141 printf %s "checking for inflate in MinGW -lz... " >&6; }
13142 if test ${ac_cv_mingw_lib_z+y}
13144 printf %s "(cached) " >&6
13146 ac_wine_check_headers_saved_cc=$CC
13147 ac_wine_check_headers_saved_exeext=$ac_exeext
13148 ac_wine_check_headers_saved_libs=$LIBS
13149 eval CC=\$${wine_arch}_CC
13151 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13167 if ac_fn_c_try_link "$LINENO"
13169 ac_cv_mingw_lib_z=yes
13171 ac_cv_mingw_lib_z=no
13173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13174 conftest$ac_exeext conftest.$ac_ext
13175 CC=$ac_wine_check_headers_saved_cc
13176 ac_exeext=$ac_wine_check_headers_saved_exeext
13177 LIBS=$ac_wine_check_headers_saved_libs
13179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13180 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13181 if test "x$ac_cv_mingw_lib_z" = xyes
13185 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13188 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13190 CPPFLAGS=$ac_save_CPPFLAGS
13192 if test "x$ZLIB_PE_LIBS" = "x"
13194 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13198 if ${FAUDIO_PE_LIBS:+false} :
13200 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13201 if ${FAUDIO_PE_CFLAGS:+false} :
13203 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13213 if ${FLUIDSYNTH_PE_LIBS:+false} :
13215 FLUIDSYNTH_PE_LIBS="fluidsynth"
13216 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13218 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13220 enable_fluidsynth=no
13223 enable_fluidsynth=no
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13228 if ${GSM_PE_LIBS:+false} :
13231 if ${GSM_PE_CFLAGS:+false} :
13233 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13243 if ${JPEG_PE_LIBS:+false} :
13246 if ${JPEG_PE_CFLAGS:+false} :
13248 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13258 if ${JXR_PE_LIBS:+false} :
13261 if ${JXR_PE_CFLAGS:+false} :
13263 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13273 if ${LCMS2_PE_LIBS:+false} :
13275 LCMS2_PE_LIBS=lcms2
13276 if ${LCMS2_PE_CFLAGS:+false} :
13278 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13288 if ${LDAP_PE_LIBS:+false} :
13291 if ${LDAP_PE_CFLAGS:+false} :
13293 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13303 if ${MPG123_PE_LIBS:+false} :
13305 MPG123_PE_LIBS=mpg123
13306 if ${MPG123_PE_CFLAGS:+false} :
13308 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13318 if ${MUSL_PE_LIBS:+false} :
13321 if ${MUSL_PE_CFLAGS:+false} :
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13333 if ${PNG_PE_LIBS:+false} :
13335 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13336 if ${PNG_PE_CFLAGS:+false} :
13338 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13348 if ${TIFF_PE_LIBS:+false} :
13350 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13351 if ${TIFF_PE_CFLAGS:+false} :
13353 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13363 if ${VKD3D_PE_LIBS:+false} :
13365 VKD3D_PE_LIBS=vkd3d
13366 if ${VKD3D_PE_CFLAGS:+false} :
13368 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13378 if ${XML2_PE_LIBS:+false} :
13381 if ${XML2_PE_CFLAGS:+false} :
13383 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13393 if ${XSLT_PE_LIBS:+false} :
13396 if ${XSLT_PE_CFLAGS:+false} :
13398 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13408 if ${ZLIB_PE_LIBS:+false} :
13411 if ${ZLIB_PE_CFLAGS:+false} :
13413 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13423 if ${ZYDIS_PE_LIBS:+false} :
13425 ZYDIS_PE_LIBS=zydis
13426 if ${ZYDIS_PE_CFLAGS:+false} :
13428 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13440 if test "$ac_cv_header_pthread_h" = "yes"
13442 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13443 if test "x$ac_cv_func_pthread_create" = xyes
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13448 printf %s "checking for pthread_create in -lpthread... " >&6; }
13449 if test ${ac_cv_lib_pthread_pthread_create+y}
13451 printf %s "(cached) " >&6
13453 ac_check_lib_save_LIBS=$LIBS
13454 LIBS="-lpthread $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 char pthread_create ();
13465 return pthread_create ();
13470 if ac_fn_c_try_link "$LINENO"
13472 ac_cv_lib_pthread_pthread_create=yes
13474 ac_cv_lib_pthread_pthread_create=no
13476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_lib_save_LIBS
13480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13481 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13482 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13484 PTHREAD_LIBS="-lpthread"
13491 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13493 case "x$with_pthread" in
13495 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13496 Wine cannot support threads without libpthread.
13497 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13504 ac_cpp='$CPP $CPPFLAGS'
13505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13509 printf %s "checking how to run the C preprocessor... " >&6; }
13510 # On Suns, sometimes $CPP names a directory.
13511 if test -n "$CPP" && test -d "$CPP"; then
13514 if test -z "$CPP"; then
13515 if test ${ac_cv_prog_CPP+y}
13517 printf %s "(cached) " >&6
13519 # Double quotes because $CC needs to be expanded
13520 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13522 ac_preproc_ok=false
13523 for ac_c_preproc_warn_flag in '' yes
13525 # Use a header file that comes with gcc, so configuring glibc
13526 # with a fresh cross-compiler works.
13527 # On the NeXT, cc -E runs the code through the compiler's parser,
13528 # not just through cpp. "Syntax error" is here to catch this case.
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 #include <limits.h>
13534 if ac_fn_c_try_cpp "$LINENO"
13538 # Broken: fails on valid input.
13541 rm -f conftest.err conftest.i conftest.$ac_ext
13543 # OK, works on sane cases. Now check whether nonexistent headers
13544 # can be detected and how.
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 #include <ac_nonexistent.h>
13549 if ac_fn_c_try_cpp "$LINENO"
13551 # Broken: success on invalid input.
13554 # Passes both tests.
13558 rm -f conftest.err conftest.i conftest.$ac_ext
13561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13562 rm -f conftest.i conftest.err conftest.
$ac_ext
13569 ac_cv_prog_CPP
=$CPP
13572 CPP
=$ac_cv_prog_CPP
13574 ac_cv_prog_CPP
=$CPP
13576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13577 printf "%s\n" "$CPP" >&6; }
13578 ac_preproc_ok
=false
13579 for ac_c_preproc_warn_flag
in '' yes
13581 # Use a header file that comes with gcc, so configuring glibc
13582 # with a fresh cross-compiler works.
13583 # On the NeXT, cc -E runs the code through the compiler's parser,
13584 # not just through cpp. "Syntax error" is here to catch this case.
13585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 #include <limits.h>
13590 if ac_fn_c_try_cpp
"$LINENO"
13594 # Broken: fails on valid input.
13597 rm -f conftest.err conftest.i conftest.
$ac_ext
13599 # OK, works on sane cases. Now check whether nonexistent headers
13600 # can be detected and how.
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <ac_nonexistent.h>
13605 if ac_fn_c_try_cpp
"$LINENO"
13607 # Broken: success on invalid input.
13610 # Passes both tests.
13614 rm -f conftest.err conftest.i conftest.
$ac_ext
13617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13618 rm -f conftest.i conftest.err conftest.
$ac_ext
13623 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13624 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13625 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13626 See \`config.log' for more details" "$LINENO" 5; }
13630 ac_cpp
='$CPP $CPPFLAGS'
13631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13637 printf %s
"checking for X... " >&6; }
13640 # Check whether --with-x was given.
13641 if test ${with_x+y}
13646 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13647 if test "x$with_x" = xno
; then
13648 # The user explicitly disabled X.
13651 case $x_includes,$x_libraries in #(
13652 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13653 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13655 printf %s
"(cached) " >&6
13657 # One or both of the vars are not set, and there is no cached value.
13660 # Do we need to do anything special at all?
13663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13665 #include <X11/Xlib.h>
13674 if ac_fn_c_try_link
"$LINENO"
13676 # We can compile and link X programs with no special options.
13680 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 LIBS
="$ac_save_LIBS"
13683 # If that didn't work, only try xmkmf and file system searches
13684 # for native compilation.
13685 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13687 rm -f -r conftest.dir
13688 if mkdir conftest.dir
; then
13690 cat >Imakefile
<<'_ACEOF'
13692 @echo incroot='${INCROOT}'
13694 @echo usrlibdir='${USRLIBDIR}'
13696 @echo libdir='${LIBDIR}'
13698 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13699 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13700 for ac_var
in incroot usrlibdir libdir
; do
13701 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13703 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13704 for ac_extension
in a so sl dylib la dll
; do
13705 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13706 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13707 ac_im_usrlibdir
=$ac_im_libdir; break
13710 # Screen out bogus values from the imake configuration. They are
13711 # bogus both because they are the default anyway, and because
13712 # using them would break gcc on systems where it needs fixed includes.
13713 case $ac_im_incroot in
13714 /usr
/include
) ac_x_includes
= ;;
13715 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13717 case $ac_im_usrlibdir in
13718 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13719 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13723 rm -f -r conftest.dir
13726 # Standard set of common directories for X headers.
13727 # Check X11 before X11Rn because it is often a symlink to the current release.
13741 /usr/local/X11/include
13742 /usr/local/X11R7/include
13743 /usr/local/X11R6/include
13744 /usr/local/X11R5/include
13745 /usr/local/X11R4/include
13747 /usr/local/include/X11
13748 /usr/local/include/X11R7
13749 /usr/local/include/X11R6
13750 /usr/local/include/X11R5
13751 /usr/local/include/X11R4
13757 /usr/XFree86/include/X11
13761 /usr/unsupported/include
13762 /usr/athena/include
13763 /usr/local/x11r5/include
13764 /usr/lpp/Xamples/include
13766 /usr/openwin/include
13767 /usr/openwin/share/include'
13769 if test "$ac_x_includes" = no
; then
13770 # Guess where to find include files, by looking for Xlib.h.
13771 # First, try using that file with no special directory specified.
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 #include <X11/Xlib.h>
13776 if ac_fn_c_try_cpp
"$LINENO"
13778 # We can compile using X headers with no special include directory.
13781 for ac_dir
in $ac_x_header_dirs; do
13782 if test -r "$ac_dir/X11/Xlib.h"; then
13783 ac_x_includes
=$ac_dir
13788 rm -f conftest.err conftest.i conftest.
$ac_ext
13789 fi # $ac_x_includes = no
13791 if test "$ac_x_libraries" = no
; then
13792 # Check for the libraries.
13793 # See if we find them without any special options.
13794 # Don't add to $LIBS permanently.
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 #include <X11/Xlib.h>
13808 if ac_fn_c_try_link
"$LINENO"
13811 # We can link X programs with no special library path.
13815 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13817 # Don't even attempt the hair of trying to link an X program!
13818 for ac_extension
in a so sl dylib la dll
; do
13819 if test -r "$ac_dir/libX11.$ac_extension"; then
13820 ac_x_libraries
=$ac_dir
13826 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13827 conftest
$ac_exeext conftest.
$ac_ext
13828 fi # $ac_x_libraries = no
13831 # Record the results.
13832 case $ac_x_includes,$ac_x_libraries in #(
13833 no
,* |
*,no |
*\'*) :
13834 # Didn't find X, or a directory has "'" in its name.
13835 ac_cv_have_x
="have_x=no" ;; #(
13837 # Record where we found X for the cache.
13838 ac_cv_have_x
="have_x=yes\
13839 ac_x_includes='$ac_x_includes'\
13840 ac_x_libraries='$ac_x_libraries'" ;;
13846 eval "$ac_cv_have_x"
13849 if test "$have_x" != yes; then
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13851 printf "%s\n" "$have_x" >&6; }
13854 # If each of the values was on the command line, it overrides each guess.
13855 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13856 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13857 # Update the cache value to reflect the command line values.
13858 ac_cv_have_x
="have_x=yes\
13859 ac_x_includes='$x_includes'\
13860 ac_x_libraries='$x_libraries'"
13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13862 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13865 if test "$no_x" = yes; then
13866 # Not all programs may use this symbol, but it does not hurt to define it.
13868 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13870 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13872 if test -n "$x_includes"; then
13873 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13876 # It would also be nice to do this for all -L options, not just this one.
13877 if test -n "$x_libraries"; then
13878 X_LIBS
="$X_LIBS -L$x_libraries"
13879 # For Solaris; some versions of Sun CC require a space after -R and
13880 # others require no space. Words are not sufficient . . . .
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13882 printf %s
"checking whether -R must be followed by a space... " >&6; }
13883 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13884 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13885 ac_c_werror_flag
=yes
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13897 if ac_fn_c_try_link
"$LINENO"
13899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13900 printf "%s\n" "no" >&6; }
13901 X_LIBS
="$X_LIBS -R$x_libraries"
13903 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13915 if ac_fn_c_try_link
"$LINENO"
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13918 printf "%s\n" "yes" >&6; }
13919 X_LIBS
="$X_LIBS -R $x_libraries"
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13922 printf "%s\n" "neither works" >&6; }
13924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13925 conftest
$ac_exeext conftest.
$ac_ext
13927 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13928 conftest
$ac_exeext conftest.
$ac_ext
13929 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13930 LIBS
=$ac_xsave_LIBS
13933 # Check for system-dependent libraries X programs must link with.
13934 # Do this before checking for the system-independent R6 libraries
13935 # (-lICE), since we may need -lsocket or whatever for X linking.
13937 if test "$ISC" = yes; then
13938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13940 # Martyn Johnson says this is needed for Ultrix, if the X
13941 # libraries were built with DECnet support. And Karl Berry says
13942 # the Alpha needs dnet_stub (dnet does not exist).
13943 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 char XOpenDisplay ();
13954 return XOpenDisplay ();
13959 if ac_fn_c_try_link
"$LINENO"
13963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13964 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13965 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13967 printf %s
"(cached) " >&6
13969 ac_check_lib_save_LIBS
=$LIBS
13970 LIBS
="-ldnet $LIBS"
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13974 /* Override any GCC internal prototype to avoid an error.
13975 Use char because int might match the return type of a GCC
13976 builtin and then its argument prototype would still apply. */
13981 return dnet_ntoa ();
13986 if ac_fn_c_try_link
"$LINENO"
13988 ac_cv_lib_dnet_dnet_ntoa
=yes
13990 ac_cv_lib_dnet_dnet_ntoa
=no
13992 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13993 conftest
$ac_exeext conftest.
$ac_ext
13994 LIBS
=$ac_check_lib_save_LIBS
13996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13997 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13998 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14003 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14005 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14006 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14008 printf %s
"(cached) " >&6
14010 ac_check_lib_save_LIBS
=$LIBS
14011 LIBS
="-ldnet_stub $LIBS"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14015 /* Override any GCC internal prototype to avoid an error.
14016 Use char because int might match the return type of a GCC
14017 builtin and then its argument prototype would still apply. */
14022 return dnet_ntoa ();
14027 if ac_fn_c_try_link
"$LINENO"
14029 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14031 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14034 conftest
$ac_exeext conftest.
$ac_ext
14035 LIBS
=$ac_check_lib_save_LIBS
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14038 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14039 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14041 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14046 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14047 conftest
$ac_exeext conftest.
$ac_ext
14048 LIBS
="$ac_xsave_LIBS"
14050 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14051 # to get the SysV transport functions.
14052 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14054 # The nsl library prevents programs from opening the X display
14055 # on Irix 5.2, according to T.E. Dickey.
14056 # The functions gethostbyname, getservbyname, and inet_addr are
14057 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14058 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14059 if test "x$ac_cv_func_gethostbyname" = xyes
14064 if test $ac_cv_func_gethostbyname = no
; then
14065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14066 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14067 if test ${ac_cv_lib_nsl_gethostbyname+y}
14069 printf %s
"(cached) " >&6
14071 ac_check_lib_save_LIBS
=$LIBS
14073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14076 /* Override any GCC internal prototype to avoid an error.
14077 Use char because int might match the return type of a GCC
14078 builtin and then its argument prototype would still apply. */
14079 char gethostbyname ();
14083 return gethostbyname ();
14088 if ac_fn_c_try_link
"$LINENO"
14090 ac_cv_lib_nsl_gethostbyname
=yes
14092 ac_cv_lib_nsl_gethostbyname
=no
14094 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 LIBS
=$ac_check_lib_save_LIBS
14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14099 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14100 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14105 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14107 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14108 if test ${ac_cv_lib_bsd_gethostbyname+y}
14110 printf %s
"(cached) " >&6
14112 ac_check_lib_save_LIBS
=$LIBS
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14120 char gethostbyname ();
14124 return gethostbyname ();
14129 if ac_fn_c_try_link
"$LINENO"
14131 ac_cv_lib_bsd_gethostbyname
=yes
14133 ac_cv_lib_bsd_gethostbyname
=no
14135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14136 conftest
$ac_exeext conftest.
$ac_ext
14137 LIBS
=$ac_check_lib_save_LIBS
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14140 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14141 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14149 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14150 # socket/setsockopt and other routines are undefined under SCO ODT
14151 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14152 # on later versions), says Simon Leinen: it contains gethostby*
14153 # variants that don't use the name server (or something). -lsocket
14154 # must be given before -lnsl if both are needed. We assume that
14155 # if connect needs -lnsl, so does gethostbyname.
14156 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14157 if test "x$ac_cv_func_connect" = xyes
14162 if test $ac_cv_func_connect = no
; then
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14164 printf %s
"checking for connect in -lsocket... " >&6; }
14165 if test ${ac_cv_lib_socket_connect+y}
14167 printf %s
"(cached) " >&6
14169 ac_check_lib_save_LIBS
=$LIBS
14170 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14186 if ac_fn_c_try_link
"$LINENO"
14188 ac_cv_lib_socket_connect
=yes
14190 ac_cv_lib_socket_connect
=no
14192 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 LIBS
=$ac_check_lib_save_LIBS
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14197 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14198 if test "x$ac_cv_lib_socket_connect" = xyes
14200 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14205 # Guillermo Gomez says -lposix is necessary on A/UX.
14206 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14207 if test "x$ac_cv_func_remove" = xyes
14212 if test $ac_cv_func_remove = no
; then
14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14214 printf %s
"checking for remove in -lposix... " >&6; }
14215 if test ${ac_cv_lib_posix_remove+y}
14217 printf %s
"(cached) " >&6
14219 ac_check_lib_save_LIBS
=$LIBS
14220 LIBS
="-lposix $LIBS"
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14236 if ac_fn_c_try_link
"$LINENO"
14238 ac_cv_lib_posix_remove
=yes
14240 ac_cv_lib_posix_remove
=no
14242 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 LIBS
=$ac_check_lib_save_LIBS
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14247 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14248 if test "x$ac_cv_lib_posix_remove" = xyes
14250 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14255 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14256 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14257 if test "x$ac_cv_func_shmat" = xyes
14262 if test $ac_cv_func_shmat = no
; then
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14264 printf %s
"checking for shmat in -lipc... " >&6; }
14265 if test ${ac_cv_lib_ipc_shmat+y}
14267 printf %s
"(cached) " >&6
14269 ac_check_lib_save_LIBS
=$LIBS
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14286 if ac_fn_c_try_link
"$LINENO"
14288 ac_cv_lib_ipc_shmat
=yes
14290 ac_cv_lib_ipc_shmat
=no
14292 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 LIBS
=$ac_check_lib_save_LIBS
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14297 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14298 if test "x$ac_cv_lib_ipc_shmat" = xyes
14300 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14306 # Check for libraries that X11R6 Xt/Xaw programs need.
14307 ac_save_LDFLAGS
=$LDFLAGS
14308 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14309 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14310 # check for ICE first), but we must link in the order -lSM -lICE or
14311 # we get undefined symbols. So assume we have SM if we have ICE.
14312 # These have to be linked with before -lX11, unlike the other
14313 # libraries we check for below, so use a different variable.
14314 # John Interrante, Karl Berry
14315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14316 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14317 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14319 printf %s
"(cached) " >&6
14321 ac_check_lib_save_LIBS
=$LIBS
14322 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14326 /* Override any GCC internal prototype to avoid an error.
14327 Use char because int might match the return type of a GCC
14328 builtin and then its argument prototype would still apply. */
14329 char IceConnectionNumber ();
14333 return IceConnectionNumber ();
14338 if ac_fn_c_try_link
"$LINENO"
14340 ac_cv_lib_ICE_IceConnectionNumber
=yes
14342 ac_cv_lib_ICE_IceConnectionNumber
=no
14344 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14345 conftest
$ac_exeext conftest.
$ac_ext
14346 LIBS
=$ac_check_lib_save_LIBS
14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14349 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14350 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14352 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14355 LDFLAGS
=$ac_save_LDFLAGS
14360 if test "$have_x" = "yes"
14362 ac_save_CPPFLAGS
="$CPPFLAGS"
14363 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14366 printf %s
"checking for -lX11... " >&6; }
14367 if test ${ac_cv_lib_soname_X11+y}
14369 printf %s
"(cached) " >&6
14371 ac_check_soname_save_LIBS
=$LIBS
14372 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 char XCreateWindow ();
14383 return XCreateWindow ();
14388 if ac_fn_c_try_link
"$LINENO"
14391 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14392 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'` ;;
14393 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14394 if ${ac_cv_lib_soname_X11:+false} :
14396 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14400 ac_cv_lib_soname_X11
=
14402 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14403 conftest
$ac_exeext conftest.
$ac_ext
14404 LIBS
=$ac_check_soname_save_LIBS
14406 if ${ac_cv_lib_soname_X11:+false} :
14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14409 printf "%s\n" "not found" >&6; }
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14413 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14415 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14420 printf %s
"checking for -lXext... " >&6; }
14421 if test ${ac_cv_lib_soname_Xext+y}
14423 printf %s
"(cached) " >&6
14425 ac_check_soname_save_LIBS
=$LIBS
14426 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14430 /* Override any GCC internal prototype to avoid an error.
14431 Use char because int might match the return type of a GCC
14432 builtin and then its argument prototype would still apply. */
14433 char XextCreateExtension ();
14437 return XextCreateExtension ();
14442 if ac_fn_c_try_link
"$LINENO"
14445 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14446 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'` ;;
14447 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14448 if ${ac_cv_lib_soname_Xext:+false} :
14450 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14454 ac_cv_lib_soname_Xext
=
14456 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 LIBS
=$ac_check_soname_save_LIBS
14460 if ${ac_cv_lib_soname_Xext:+false} :
14462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14463 printf "%s\n" "not found" >&6; }
14466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14467 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14469 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14471 X_LIBS
="$X_LIBS -lXext"
14473 X_LIBS
="$X_LIBS -lX11"
14475 xlib_includes
="#include <X11/Xlib.h>
14476 #include <X11/Xutil.h>"
14478 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14480 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14487 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14494 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14496 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14501 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14508 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14510 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14513 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14515 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14522 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14527 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14529 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14531 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14534 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14536 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14543 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14545 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14548 printf %s
"checking for -lXcursor... " >&6; }
14549 if test ${ac_cv_lib_soname_Xcursor+y}
14551 printf %s
"(cached) " >&6
14553 ac_check_soname_save_LIBS
=$LIBS
14554 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14558 /* Override any GCC internal prototype to avoid an error.
14559 Use char because int might match the return type of a GCC
14560 builtin and then its argument prototype would still apply. */
14561 char XcursorImageLoadCursor ();
14565 return XcursorImageLoadCursor ();
14570 if ac_fn_c_try_link
"$LINENO"
14573 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14574 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'` ;;
14575 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14576 if ${ac_cv_lib_soname_Xcursor:+false} :
14578 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14582 ac_cv_lib_soname_Xcursor
=
14584 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14585 conftest
$ac_exeext conftest.
$ac_ext
14586 LIBS
=$ac_check_soname_save_LIBS
14588 if ${ac_cv_lib_soname_Xcursor:+false} :
14590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14591 printf "%s\n" "not found" >&6; }
14594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14595 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14597 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14605 case "x$with_xcursor" in
14606 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14608 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14609 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14614 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14616 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14619 printf %s
"checking for -lXi... " >&6; }
14620 if test ${ac_cv_lib_soname_Xi+y}
14622 printf %s
"(cached) " >&6
14624 ac_check_soname_save_LIBS
=$LIBS
14625 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 char XOpenDevice ();
14636 return XOpenDevice ();
14641 if ac_fn_c_try_link
"$LINENO"
14644 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14645 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'` ;;
14646 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14647 if ${ac_cv_lib_soname_Xi:+false} :
14649 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14653 ac_cv_lib_soname_Xi
=
14655 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14656 conftest
$ac_exeext conftest.
$ac_ext
14657 LIBS
=$ac_check_soname_save_LIBS
14659 if ${ac_cv_lib_soname_Xi:+false} :
14661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14662 printf "%s\n" "not found" >&6; }
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14666 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14668 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14674 if test "x$ac_cv_lib_soname_Xi" = "x"
14676 case "x$with_xinput" in
14677 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14679 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14680 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14685 if test "x$ac_cv_lib_soname_Xi" != x
14687 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14689 case "x$with_xinput2" in
14690 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14692 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14693 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14699 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14702 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14703 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14705 printf %s
"(cached) " >&6
14707 ac_check_lib_save_LIBS
=$LIBS
14708 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 char XShmQueryExtension ();
14719 return XShmQueryExtension ();
14724 if ac_fn_c_try_link
"$LINENO"
14726 ac_cv_lib_Xext_XShmQueryExtension
=yes
14728 ac_cv_lib_Xext_XShmQueryExtension
=no
14730 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14731 conftest
$ac_exeext conftest.
$ac_ext
14732 LIBS
=$ac_check_lib_save_LIBS
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14735 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14736 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14739 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14744 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14746 case "x$with_xshm" in
14747 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14749 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14750 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14755 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14758 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14759 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14761 printf %s
"(cached) " >&6
14763 ac_check_lib_save_LIBS
=$LIBS
14764 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 char XShapeQueryExtension ();
14775 return XShapeQueryExtension ();
14780 if ac_fn_c_try_link
"$LINENO"
14782 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14784 ac_cv_lib_Xext_XShapeQueryExtension
=no
14786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 LIBS
=$ac_check_lib_save_LIBS
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14791 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14792 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14795 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14800 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14802 case "x$with_xshape" in
14803 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14805 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14806 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14811 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14814 printf %s
"checking for -lXxf86vm... " >&6; }
14815 if test ${ac_cv_lib_soname_Xxf86vm+y}
14817 printf %s
"(cached) " >&6
14819 ac_check_soname_save_LIBS
=$LIBS
14820 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 /* Override any GCC internal prototype to avoid an error.
14825 Use char because int might match the return type of a GCC
14826 builtin and then its argument prototype would still apply. */
14827 char XF86VidModeQueryExtension ();
14831 return XF86VidModeQueryExtension ();
14836 if ac_fn_c_try_link
"$LINENO"
14839 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14840 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'` ;;
14841 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14842 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14844 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14848 ac_cv_lib_soname_Xxf86vm
=
14850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 LIBS
=$ac_check_soname_save_LIBS
14854 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14857 printf "%s\n" "not found" >&6; }
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14861 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14863 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14868 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14870 case "x$with_xxf86vm" in
14871 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14873 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14874 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14879 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14882 printf %s
"checking for -lXrender... " >&6; }
14883 if test ${ac_cv_lib_soname_Xrender+y}
14885 printf %s
"(cached) " >&6
14887 ac_check_soname_save_LIBS
=$LIBS
14888 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14895 char XRenderQueryExtension ();
14899 return XRenderQueryExtension ();
14904 if ac_fn_c_try_link
"$LINENO"
14907 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14908 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'` ;;
14909 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14910 if ${ac_cv_lib_soname_Xrender:+false} :
14912 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14916 ac_cv_lib_soname_Xrender
=
14918 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14919 conftest
$ac_exeext conftest.
$ac_ext
14920 LIBS
=$ac_check_soname_save_LIBS
14922 if ${ac_cv_lib_soname_Xrender:+false} :
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14925 printf "%s\n" "not found" >&6; }
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14929 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14931 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14934 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14935 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14937 printf %s
"(cached) " >&6
14939 ac_check_lib_save_LIBS
=$LIBS
14940 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14947 char XRenderSetPictureTransform ();
14951 return XRenderSetPictureTransform ();
14956 if ac_fn_c_try_link
"$LINENO"
14958 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14960 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14962 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14963 conftest
$ac_exeext conftest.
$ac_ext
14964 LIBS
=$ac_check_lib_save_LIBS
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14967 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14968 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14971 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14976 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14977 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14979 printf %s
"(cached) " >&6
14981 ac_check_lib_save_LIBS
=$LIBS
14982 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14989 char XRenderCreateLinearGradient ();
14993 return XRenderCreateLinearGradient ();
14998 if ac_fn_c_try_link
"$LINENO"
15000 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15002 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15004 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15005 conftest
$ac_exeext conftest.
$ac_ext
15006 LIBS
=$ac_check_lib_save_LIBS
15008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15009 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15010 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15013 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15020 if test "x$ac_cv_lib_soname_Xrender" = "x"
15022 case "x$with_xrender" in
15023 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15025 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15026 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15031 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 #include <X11/Xlib.h>
15036 #include <X11/extensions/Xrandr.h>
15040 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15045 if ac_fn_c_try_compile
"$LINENO"
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15048 printf %s
"checking for -lXrandr... " >&6; }
15049 if test ${ac_cv_lib_soname_Xrandr+y}
15051 printf %s
"(cached) " >&6
15053 ac_check_soname_save_LIBS
=$LIBS
15054 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15058 /* Override any GCC internal prototype to avoid an error.
15059 Use char because int might match the return type of a GCC
15060 builtin and then its argument prototype would still apply. */
15061 char XRRQueryExtension ();
15065 return XRRQueryExtension ();
15070 if ac_fn_c_try_link
"$LINENO"
15073 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15074 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'` ;;
15075 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15076 if ${ac_cv_lib_soname_Xrandr:+false} :
15078 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15082 ac_cv_lib_soname_Xrandr
=
15084 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15085 conftest
$ac_exeext conftest.
$ac_ext
15086 LIBS
=$ac_check_soname_save_LIBS
15088 if ${ac_cv_lib_soname_Xrandr:+false} :
15090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15091 printf "%s\n" "not found" >&6; }
15094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15095 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15097 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15101 #include <X11/Xlib.h>
15102 #include <X11/extensions/Xrandr.h>
15106 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15111 if ac_fn_c_try_compile
"$LINENO"
15114 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15117 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15119 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15122 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15124 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15126 case "x$with_xrandr" in
15127 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15129 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15130 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15135 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #include <X11/Xlib.h>
15140 #include <X11/extensions/Xfixes.h>
15144 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15149 if ac_fn_c_try_compile
"$LINENO"
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15152 printf %s
"checking for -lXfixes... " >&6; }
15153 if test ${ac_cv_lib_soname_Xfixes+y}
15155 printf %s
"(cached) " >&6
15157 ac_check_soname_save_LIBS
=$LIBS
15158 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 char XFixesQueryVersion ();
15169 return XFixesQueryVersion ();
15174 if ac_fn_c_try_link
"$LINENO"
15177 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15178 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'` ;;
15179 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15180 if ${ac_cv_lib_soname_Xfixes:+false} :
15182 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15186 ac_cv_lib_soname_Xfixes
=
15188 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15189 conftest
$ac_exeext conftest.
$ac_ext
15190 LIBS
=$ac_check_soname_save_LIBS
15192 if ${ac_cv_lib_soname_Xfixes:+false} :
15194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15195 printf "%s\n" "not found" >&6; }
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15199 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15201 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15206 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15208 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15210 case "x$with_xfixes" in
15211 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15213 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15214 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15219 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #include <X11/Xlib.h>
15224 #include <X11/extensions/Xinerama.h>
15228 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15233 if ac_fn_c_try_compile
"$LINENO"
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15236 printf %s
"checking for -lXinerama... " >&6; }
15237 if test ${ac_cv_lib_soname_Xinerama+y}
15239 printf %s
"(cached) " >&6
15241 ac_check_soname_save_LIBS
=$LIBS
15242 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15246 /* Override any GCC internal prototype to avoid an error.
15247 Use char because int might match the return type of a GCC
15248 builtin and then its argument prototype would still apply. */
15249 char XineramaQueryScreens ();
15253 return XineramaQueryScreens ();
15258 if ac_fn_c_try_link
"$LINENO"
15261 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15262 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'` ;;
15263 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15264 if ${ac_cv_lib_soname_Xinerama:+false} :
15266 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15270 ac_cv_lib_soname_Xinerama
=
15272 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15273 conftest
$ac_exeext conftest.
$ac_ext
15274 LIBS
=$ac_check_soname_save_LIBS
15276 if ${ac_cv_lib_soname_Xinerama:+false} :
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15279 printf "%s\n" "not found" >&6; }
15282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15283 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15285 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15290 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15292 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15294 case "x$with_xinerama" in
15295 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15297 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15298 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15303 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15305 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15308 printf %s
"checking for -lXcomposite... " >&6; }
15309 if test ${ac_cv_lib_soname_Xcomposite+y}
15311 printf %s
"(cached) " >&6
15313 ac_check_soname_save_LIBS
=$LIBS
15314 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15321 char XCompositeRedirectWindow ();
15325 return XCompositeRedirectWindow ();
15330 if ac_fn_c_try_link
"$LINENO"
15333 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15334 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'` ;;
15335 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15336 if ${ac_cv_lib_soname_Xcomposite:+false} :
15338 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15342 ac_cv_lib_soname_Xcomposite
=
15344 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15345 conftest
$ac_exeext conftest.
$ac_ext
15346 LIBS
=$ac_check_soname_save_LIBS
15348 if ${ac_cv_lib_soname_Xcomposite:+false} :
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15351 printf "%s\n" "not found" >&6; }
15354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15355 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15357 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15363 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15365 case "x$with_xcomposite" in
15366 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15368 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15369 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15374 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15376 if test "x$ac_cv_member_XICCallback_callback" = xyes
15379 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15383 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15385 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15388 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15396 if test "x$with_opengl" != "xno"
15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15399 printf %s
"checking for -lGL... " >&6; }
15400 if test ${ac_cv_lib_soname_GL+y}
15402 printf %s
"(cached) " >&6
15404 ac_check_soname_save_LIBS
=$LIBS
15405 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 char glXCreateContext ();
15416 return glXCreateContext ();
15421 if ac_fn_c_try_link
"$LINENO"
15424 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15425 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'` ;;
15426 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15427 if ${ac_cv_lib_soname_GL:+false} :
15429 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 ac_cv_lib_soname_GL
=
15435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15436 conftest
$ac_exeext conftest.
$ac_ext
15437 LIBS
=$ac_check_soname_save_LIBS
15439 if ${ac_cv_lib_soname_GL:+false} :
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15442 printf "%s\n" "not found" >&6; }
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15444 printf %s
"checking for -lGL... " >&6; }
15445 if test ${ac_cv_lib_soname_GL+y}
15447 printf %s
"(cached) " >&6
15449 ac_check_soname_save_LIBS
=$LIBS
15450 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"
15451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 char glXCreateContext ();
15461 return glXCreateContext ();
15466 if ac_fn_c_try_link
"$LINENO"
15469 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15470 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'` ;;
15471 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15472 if ${ac_cv_lib_soname_GL:+false} :
15474 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15478 ac_cv_lib_soname_GL
=
15480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15481 conftest
$ac_exeext conftest.
$ac_ext
15482 LIBS
=$ac_check_soname_save_LIBS
15484 if ${ac_cv_lib_soname_GL:+false} :
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15487 printf "%s\n" "not found" >&6; }
15488 if test -f /usr
/X11R
6/lib
/libGL.a
15490 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15491 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15493 opengl_msg
="No OpenGL library found on this system."
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15499 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15501 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"
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15505 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15507 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15511 if test "x$with_osmesa" != "xno"
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15514 printf %s
"checking for -lOSMesa... " >&6; }
15515 if test ${ac_cv_lib_soname_OSMesa+y}
15517 printf %s
"(cached) " >&6
15519 ac_check_soname_save_LIBS
=$LIBS
15520 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 char OSMesaGetProcAddress ();
15531 return OSMesaGetProcAddress ();
15536 if ac_fn_c_try_link
"$LINENO"
15539 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15542 if ${ac_cv_lib_soname_OSMesa:+false} :
15544 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15548 ac_cv_lib_soname_OSMesa
=
15550 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15551 conftest
$ac_exeext conftest.
$ac_ext
15552 LIBS
=$ac_check_soname_save_LIBS
15554 if ${ac_cv_lib_soname_OSMesa:+false} :
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15557 printf "%s\n" "not found" >&6; }
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15561 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15563 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15567 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15569 case "x$with_osmesa" in
15570 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15572 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15573 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15579 if test -n "$opengl_msg"
15581 case "x$with_opengl" in
15582 x
) as_fn_append wine_warnings
"|$opengl_msg
15583 OpenGL and Direct3D won't be supported." ;;
15585 *) as_fn_error $?
"$opengl_msg
15586 OpenGL and Direct3D won't be supported.
15587 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15592 CPPFLAGS
="$ac_save_CPPFLAGS"
15598 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15600 if test "x$X_LIBS" = "x"
15604 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15605 without X support, which probably isn't what you want. You will need
15606 to install ${notice_platform}development packages of Xlib at the very least.
15607 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15609 enable_winex11_drv
=${enable_winex11_drv:-no}
15612 if test "x$X_LIBS" = "x"
15615 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15617 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15618 This is an error since --with-x was requested." "$LINENO" 5 ;;
15620 enable_winex11_drv
=${enable_winex11_drv:-no}
15624 if test "x$with_wayland" != "xno"
15627 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15629 if test ${PKG_CONFIG+y}
15631 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15635 if ${WAYLAND_CLIENT_LIBS:+false} :
15637 if test ${PKG_CONFIG+y}
15639 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15646 if test -s conftest.err
; then
15647 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15648 cat conftest.err
>&5
15651 ac_save_CPPFLAGS
=$CPPFLAGS
15652 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15653 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15654 if test "x$ac_cv_header_wayland_client_h" = xyes
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15657 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15658 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15660 printf %s
"(cached) " >&6
15662 ac_check_lib_save_LIBS
=$LIBS
15663 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char wl_display_connect ();
15674 return wl_display_connect ();
15679 if ac_fn_c_try_link
"$LINENO"
15681 ac_cv_lib_wayland_client_wl_display_connect
=yes
15683 ac_cv_lib_wayland_client_wl_display_connect
=no
15685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15686 conftest
$ac_exeext conftest.
$ac_ext
15687 LIBS
=$ac_check_lib_save_LIBS
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15690 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15691 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15693 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15694 set dummy wayland-scanner
; ac_word
=$2
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15696 printf %s
"checking for $ac_word... " >&6; }
15697 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15699 printf %s
"(cached) " >&6
15701 case $WAYLAND_SCANNER in
15703 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15707 for as_dir
in $PATH
15710 case $as_dir in #(((
15713 *) as_dir
=$as_dir/ ;;
15715 for ac_exec_ext
in '' $ac_executable_extensions; do
15716 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15717 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15725 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`"
15729 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15730 if test -n "$WAYLAND_SCANNER"; then
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15732 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15735 printf "%s\n" "no" >&6; }
15740 WAYLAND_CLIENT_LIBS
=""
15745 CPPFLAGS
=$ac_save_CPPFLAGS
15748 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
15750 case "x$with_wayland" in
15751 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15753 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15754 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15756 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15759 if test "$ac_cv_header_CL_cl_h" = "yes"
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15762 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15763 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15765 printf %s
"(cached) " >&6
15767 ac_check_lib_save_LIBS
=$LIBS
15768 LIBS
="-lOpenCL $LIBS"
15769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 char clGetPlatformInfo ();
15779 return clGetPlatformInfo ();
15784 if ac_fn_c_try_link
"$LINENO"
15786 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15788 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15790 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15791 conftest
$ac_exeext conftest.
$ac_ext
15792 LIBS
=$ac_check_lib_save_LIBS
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15795 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15796 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15798 OPENCL_LIBS
="-lOpenCL"
15803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15805 case "x$with_opencl" in
15806 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15808 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15809 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15811 enable_opencl
=${enable_opencl:-no}
15814 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15817 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15818 if test ${ac_cv_lib_pcap_pcap_init+y}
15820 printf %s
"(cached) " >&6
15822 ac_check_lib_save_LIBS
=$LIBS
15823 LIBS
="-lpcap $LIBS"
15824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15834 return pcap_init ();
15839 if ac_fn_c_try_link
"$LINENO"
15841 ac_cv_lib_pcap_pcap_init
=yes
15843 ac_cv_lib_pcap_pcap_init
=no
15845 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15846 conftest
$ac_exeext conftest.
$ac_ext
15847 LIBS
=$ac_check_lib_save_LIBS
15849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15850 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15851 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15858 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15860 case "x$with_pcap" in
15861 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15863 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15864 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15866 enable_wpcap
=${enable_wpcap:-no}
15869 if test "x$with_pcsclite" != "xno"
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15872 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15873 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15875 printf %s
"(cached) " >&6
15877 ac_check_lib_save_LIBS
=$LIBS
15878 LIBS
="-lpcsclite $LIBS"
15879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15882 /* Override any GCC internal prototype to avoid an error.
15883 Use char because int might match the return type of a GCC
15884 builtin and then its argument prototype would still apply. */
15885 char SCardEstablishContext ();
15889 return SCardEstablishContext ();
15894 if ac_fn_c_try_link
"$LINENO"
15896 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15898 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15900 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15901 conftest
$ac_exeext conftest.
$ac_ext
15902 LIBS
=$ac_check_lib_save_LIBS
15904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15905 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15906 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15908 PCSCLITE_LIBS
="-lpcsclite"
15912 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
15918 if test "x$PCSCLITE_LIBS" = x
15920 case "x$with_pcsclite" in
15921 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15923 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15924 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15926 enable_winscard
=${enable_winscard:-no}
15929 if test "x$with_inotify" != "xno"
15932 if ${INOTIFY_CFLAGS:+false} :
15934 if test ${PKG_CONFIG+y}
15936 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15940 if ${INOTIFY_LIBS:+false} :
15942 if test ${PKG_CONFIG+y}
15944 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15951 if test -s conftest.err
; then
15952 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15953 cat conftest.err
>&5
15956 ac_save_CPPFLAGS
=$CPPFLAGS
15957 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15958 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15959 if test "x$ac_cv_header_sys_inotify_h" = xyes
15961 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15966 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15967 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15969 printf %s
"(cached) " >&6
15971 ac_check_lib_save_LIBS
=$LIBS
15972 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15979 char inotify_add_watch ();
15983 return inotify_add_watch ();
15988 if ac_fn_c_try_link
"$LINENO"
15990 ac_cv_lib_inotify_inotify_add_watch
=yes
15992 ac_cv_lib_inotify_inotify_add_watch
=no
15994 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15995 conftest
$ac_exeext conftest.
$ac_ext
15996 LIBS
=$ac_check_lib_save_LIBS
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15999 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16000 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16007 CPPFLAGS
=$ac_save_CPPFLAGS
16010 if test "$ac_cv_header_sys_inotify_h" != "yes"
16012 case "x$with_inotify" in
16013 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16015 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16016 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16021 if test "x$with_dbus" != "xno"
16024 if ${DBUS_CFLAGS:+false} :
16026 if test ${PKG_CONFIG+y}
16028 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16032 if ${DBUS_LIBS:+false} :
16034 if test ${PKG_CONFIG+y}
16036 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16043 if test -s conftest.err
; then
16044 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16045 cat conftest.err
>&5
16048 ac_save_CPPFLAGS
=$CPPFLAGS
16049 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16050 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16051 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16054 printf %s
"checking for -ldbus-1... " >&6; }
16055 if test ${ac_cv_lib_soname_dbus_1+y}
16057 printf %s
"(cached) " >&6
16059 ac_check_soname_save_LIBS
=$LIBS
16060 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 char dbus_connection_close ();
16071 return dbus_connection_close ();
16076 if ac_fn_c_try_link
"$LINENO"
16079 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16080 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'` ;;
16081 *) 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'`
16082 if ${ac_cv_lib_soname_dbus_1:+false} :
16084 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16088 ac_cv_lib_soname_dbus_1
=
16090 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16091 conftest
$ac_exeext conftest.
$ac_ext
16092 LIBS
=$ac_check_soname_save_LIBS
16094 if ${ac_cv_lib_soname_dbus_1:+false} :
16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16097 printf "%s\n" "not found" >&6; }
16100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16101 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16103 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16111 CPPFLAGS
=$ac_save_CPPFLAGS
16115 darwin
*|macosx
*) ;;
16116 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16118 case "x$with_dbus" in
16119 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16121 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16122 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16128 if test "x$with_gnutls" != "xno"
16131 if ${GNUTLS_CFLAGS:+false} :
16133 if test ${PKG_CONFIG+y}
16135 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16139 if ${GNUTLS_LIBS:+false} :
16141 if test ${PKG_CONFIG+y}
16143 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16147 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16150 if test -s conftest.err
; then
16151 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16152 cat conftest.err
>&5
16155 ac_save_CPPFLAGS
=$CPPFLAGS
16156 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16157 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16158 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16162 #include <gnutls/gnutls.h>
16163 #include <gnutls/crypto.h>
16167 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16172 if ac_fn_c_try_compile
"$LINENO"
16174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16175 printf %s
"checking for -lgnutls... " >&6; }
16176 if test ${ac_cv_lib_soname_gnutls+y}
16178 printf %s
"(cached) " >&6
16180 ac_check_soname_save_LIBS
=$LIBS
16181 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16185 /* Override any GCC internal prototype to avoid an error.
16186 Use char because int might match the return type of a GCC
16187 builtin and then its argument prototype would still apply. */
16188 char gnutls_global_init ();
16192 return gnutls_global_init ();
16197 if ac_fn_c_try_link
"$LINENO"
16200 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16201 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'` ;;
16202 *) 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'`
16203 if ${ac_cv_lib_soname_gnutls:+false} :
16205 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'`
16209 ac_cv_lib_soname_gnutls
=
16211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16212 conftest
$ac_exeext conftest.
$ac_ext
16213 LIBS
=$ac_check_soname_save_LIBS
16215 if ${ac_cv_lib_soname_gnutls:+false} :
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16218 printf "%s\n" "not found" >&6; }
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16222 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16224 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16228 ac_wine_check_funcs_save_LIBS
="$LIBS"
16229 LIBS
="$LIBS $GNUTLS_LIBS"
16231 for ac_func
in gnutls_cipher_init
16233 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16234 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16236 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16239 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16243 LIBS
="$ac_wine_check_funcs_save_LIBS"
16245 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16250 CPPFLAGS
=$ac_save_CPPFLAGS
16253 if test "x$ac_cv_lib_soname_gnutls" = "x"
16255 case "x$with_gnutls" in
16256 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16258 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16259 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16264 if test "x$with_sane" != "xno"
16267 if ${SANE_CFLAGS:+false} :
16269 if test ${PKG_CONFIG+y}
16271 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16274 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16275 if ${SANE_LIBS:+false} :
16277 if test ${PKG_CONFIG+y}
16279 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16282 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16286 if test -s conftest.err
; then
16287 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16288 cat conftest.err
>&5
16291 ac_save_CPPFLAGS
=$CPPFLAGS
16292 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16293 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16294 if test "x$ac_cv_header_sane_sane_h" = xyes
16296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16297 printf %s
"checking for sane_init in -lsane... " >&6; }
16298 if test ${ac_cv_lib_sane_sane_init+y}
16300 printf %s
"(cached) " >&6
16302 ac_check_lib_save_LIBS
=$LIBS
16303 LIBS
="-lsane $SANE_LIBS $LIBS"
16304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16307 /* Override any GCC internal prototype to avoid an error.
16308 Use char because int might match the return type of a GCC
16309 builtin and then its argument prototype would still apply. */
16314 return sane_init ();
16319 if ac_fn_c_try_link
"$LINENO"
16321 ac_cv_lib_sane_sane_init
=yes
16323 ac_cv_lib_sane_sane_init
=no
16325 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16326 conftest
$ac_exeext conftest.
$ac_ext
16327 LIBS
=$ac_check_lib_save_LIBS
16329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16330 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16331 if test "x$ac_cv_lib_sane_sane_init" = xyes
16338 CPPFLAGS
=$ac_save_CPPFLAGS
16341 if test "$ac_cv_lib_sane_sane_init" != "yes"
16343 case "x$with_sane" in
16344 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16346 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16347 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16349 enable_sane_ds
=${enable_sane_ds:-no}
16352 if test "x$with_usb" != "xno"
16355 if ${USB_CFLAGS:+false} :
16357 if test ${PKG_CONFIG+y}
16359 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16363 if ${USB_LIBS:+false} :
16365 if test ${PKG_CONFIG+y}
16367 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16371 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16374 if test -s conftest.err
; then
16375 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16376 cat conftest.err
>&5
16379 ac_save_CPPFLAGS
=$CPPFLAGS
16380 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16381 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_libusb_h" = xyes
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16385 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16386 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16388 printf %s
"(cached) " >&6
16390 ac_check_lib_save_LIBS
=$LIBS
16391 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 char libusb_interrupt_event_handler ();
16402 return libusb_interrupt_event_handler ();
16407 if ac_fn_c_try_link
"$LINENO"
16409 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16411 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16413 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16414 conftest
$ac_exeext conftest.
$ac_ext
16415 LIBS
=$ac_check_lib_save_LIBS
16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16418 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16419 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16430 CPPFLAGS
=$ac_save_CPPFLAGS
16433 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16435 case "x$with_usb" in
16436 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16438 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16439 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16441 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16444 if test "x$with_v4l2" != "xno"
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16447 printf %s
"checking for -lv4l2... " >&6; }
16448 if test ${ac_cv_lib_soname_v4l2+y}
16450 printf %s
"(cached) " >&6
16452 ac_check_soname_save_LIBS
=$LIBS
16453 LIBS
="-lv4l2 $LIBS"
16454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16464 return v4l2_open ();
16469 if ac_fn_c_try_link
"$LINENO"
16472 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16473 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'` ;;
16474 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16475 if ${ac_cv_lib_soname_v4l2:+false} :
16477 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16481 ac_cv_lib_soname_v4l2
=
16483 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16484 conftest
$ac_exeext conftest.
$ac_ext
16485 LIBS
=$ac_check_soname_save_LIBS
16487 if ${ac_cv_lib_soname_v4l2:+false} :
16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16490 printf "%s\n" "not found" >&6; }
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16494 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16496 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16501 if test "x$ac_cv_lib_soname_v4l2" = "x"
16503 case "x$with_v4l2" in
16504 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16506 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16507 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16512 if test "x$with_gphoto" != "xno"
16515 if ${GPHOTO2_CFLAGS:+false} :
16517 if test ${PKG_CONFIG+y}
16519 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16522 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16523 if ${GPHOTO2_LIBS:+false} :
16525 if test ${PKG_CONFIG+y}
16527 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16530 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16531 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16534 if test -s conftest.err
; then
16535 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16536 cat conftest.err
>&5
16539 ac_save_CPPFLAGS
=$CPPFLAGS
16540 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16541 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16542 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16545 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16546 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16548 printf %s
"(cached) " >&6
16550 ac_check_lib_save_LIBS
=$LIBS
16551 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16558 char gp_camera_new ();
16562 return gp_camera_new ();
16567 if ac_fn_c_try_link
"$LINENO"
16569 ac_cv_lib_gphoto2_gp_camera_new
=yes
16571 ac_cv_lib_gphoto2_gp_camera_new
=no
16573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16574 conftest
$ac_exeext conftest.
$ac_ext
16575 LIBS
=$ac_check_lib_save_LIBS
16577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16578 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16579 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16586 CPPFLAGS
=$ac_save_CPPFLAGS
16589 if ${GPHOTO2_PORT_CFLAGS:+false} :
16591 if test ${PKG_CONFIG+y}
16593 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16596 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16597 if ${GPHOTO2_PORT_LIBS:+false} :
16599 if test ${PKG_CONFIG+y}
16601 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16605 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16608 if test -s conftest.err
; then
16609 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16610 cat conftest.err
>&5
16613 ac_save_CPPFLAGS
=$CPPFLAGS
16614 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16615 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16616 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16619 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16620 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16622 printf %s
"(cached) " >&6
16624 ac_check_lib_save_LIBS
=$LIBS
16625 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16629 /* Override any GCC internal prototype to avoid an error.
16630 Use char because int might match the return type of a GCC
16631 builtin and then its argument prototype would still apply. */
16632 char gp_port_info_list_new ();
16636 return gp_port_info_list_new ();
16641 if ac_fn_c_try_link
"$LINENO"
16643 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16645 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16648 conftest
$ac_exeext conftest.
$ac_ext
16649 LIBS
=$ac_check_lib_save_LIBS
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16652 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16653 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16656 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16659 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16663 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16666 CPPFLAGS
=$ac_save_CPPFLAGS
16669 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16671 case "x$with_gphoto" in
16672 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16674 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16675 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16677 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16679 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16681 case "x$with_gphoto" in
16682 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16684 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16685 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16691 if test "$ac_cv_header_resolv_h" = "yes"
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16694 printf %s
"checking for resolver library... " >&6; }
16695 if test ${ac_cv_have_resolv+y}
16697 printf %s
"(cached) " >&6
16699 ac_save_LIBS
="$LIBS"
16700 for lib
in '' -lresolv
16702 LIBS
="$lib $ac_save_LIBS"
16703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #ifdef HAVE_NETINET_IN_H
16706 #include <netinet/in.h>
16708 #include <resolv.h>
16712 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16717 if ac_fn_c_try_link
"$LINENO"
16719 ac_cv_have_resolv
=${lib:-"none required"}
16721 ac_cv_have_resolv
="not found"
16723 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16724 conftest
$ac_exeext conftest.
$ac_ext
16725 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16727 LIBS
="$ac_save_LIBS"
16729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16730 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16732 case "$ac_cv_have_resolv" in
16736 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16739 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16741 RESOLV_LIBS
=$ac_cv_have_resolv
16745 if test "x$ac_cv_have_resolv" != "xnot found"
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16748 printf %s
"checking for res_getservers... " >&6; }
16749 if test ${ac_cv_have_res_getservers+y}
16751 printf %s
"(cached) " >&6
16753 ac_save_LIBS
="$LIBS"
16754 LIBS
="$RESOLV_LIBS $LIBS"
16755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <resolv.h>
16761 res_getservers(NULL, NULL, 0);
16766 if ac_fn_c_try_link
"$LINENO"
16768 ac_cv_have_res_getservers
=yes
16770 ac_cv_have_res_getservers
=no
16772 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16773 conftest
$ac_exeext conftest.
$ac_ext
16774 LIBS
="$ac_save_LIBS"
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16777 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16778 if test "$ac_cv_have_res_getservers" = "yes"
16781 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16787 if test "x$with_freetype" != "xno"
16790 if ${FREETYPE_CFLAGS:+false} :
16792 if test ${PKG_CONFIG+y}
16794 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16797 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16798 if ${FREETYPE_LIBS:+false} :
16800 if test ${PKG_CONFIG+y}
16802 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16805 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16806 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16809 if test -s conftest.err
; then
16810 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16811 cat conftest.err
>&5
16814 ac_save_CPPFLAGS
=$CPPFLAGS
16815 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16816 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16817 if test "x$ac_cv_header_ft2build_h" = xyes
16819 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16823 if test "$ac_cv_header_ft2build_h" = "yes"
16825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16826 printf %s
"checking for -lfreetype... " >&6; }
16827 if test ${ac_cv_lib_soname_freetype+y}
16829 printf %s
"(cached) " >&6
16831 ac_check_soname_save_LIBS
=$LIBS
16832 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16836 /* Override any GCC internal prototype to avoid an error.
16837 Use char because int might match the return type of a GCC
16838 builtin and then its argument prototype would still apply. */
16839 char FT_Init_FreeType ();
16843 return FT_Init_FreeType ();
16848 if ac_fn_c_try_link
"$LINENO"
16851 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16852 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'` ;;
16853 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16854 if ${ac_cv_lib_soname_freetype:+false} :
16856 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16860 ac_cv_lib_soname_freetype
=
16862 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16863 conftest
$ac_exeext conftest.
$ac_ext
16864 LIBS
=$ac_check_soname_save_LIBS
16866 if ${ac_cv_lib_soname_freetype:+false} :
16868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16869 printf "%s\n" "not found" >&6; }
16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16873 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16875 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16878 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16880 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16881 #include FT_MODULE_H
16883 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16886 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16896 CPPFLAGS
=$ac_save_CPPFLAGS
16899 if test "x$ac_cv_lib_soname_freetype" = x
16901 case "x$with_freetype" in
16903 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16904 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16906 enable_fonts
=${enable_fonts:-no}
16909 ac_wine_check_funcs_save_LIBS
="$LIBS"
16910 LIBS
="$LIBS $PTHREAD_LIBS"
16911 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16912 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16914 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16918 LIBS
="$ac_wine_check_funcs_save_LIBS"
16920 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16922 if test "$ac_cv_header_gettext_po_h" = "yes"
16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16925 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16926 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16928 printf %s
"(cached) " >&6
16930 ac_check_lib_save_LIBS
=$LIBS
16931 LIBS
="-lgettextpo $LIBS"
16932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16935 /* Override any GCC internal prototype to avoid an error.
16936 Use char because int might match the return type of a GCC
16937 builtin and then its argument prototype would still apply. */
16938 char po_message_msgctxt ();
16942 return po_message_msgctxt ();
16947 if ac_fn_c_try_link
"$LINENO"
16949 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16951 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16954 conftest
$ac_exeext conftest.
$ac_ext
16955 LIBS
=$ac_check_lib_save_LIBS
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16958 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16959 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16962 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16964 GETTEXTPO_LIBS
="-lgettextpo"
16969 if test "x$GETTEXTPO_LIBS" = "x"
16971 case "x$with_gettextpo" in
16972 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16974 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16975 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16979 if test "$srcdir" != .
16981 case "x$with_gettextpo" in
16982 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16984 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16985 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16991 if test "x$with_pulse" != "xno";
16994 if ${PULSE_CFLAGS:+false} :
16996 if test ${PKG_CONFIG+y}
16998 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17002 if ${PULSE_LIBS:+false} :
17004 if test ${PKG_CONFIG+y}
17006 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17013 if test -s conftest.err
; then
17014 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17015 cat conftest.err
>&5
17018 ac_save_CPPFLAGS
=$CPPFLAGS
17019 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17020 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17021 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17024 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17025 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17027 printf %s
"(cached) " >&6
17029 ac_check_lib_save_LIBS
=$LIBS
17030 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char pa_stream_is_corked ();
17041 return pa_stream_is_corked ();
17046 if ac_fn_c_try_link
"$LINENO"
17048 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17050 ac_cv_lib_pulse_pa_stream_is_corked
=no
17052 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17053 conftest
$ac_exeext conftest.
$ac_ext
17054 LIBS
=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17057 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17058 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17069 CPPFLAGS
=$ac_save_CPPFLAGS
17072 if test -z "$PULSE_LIBS"
17074 case "x$with_pulse" in
17075 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17077 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17078 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17080 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17083 if test "x$with_gstreamer" != "xno"
17086 if ${GSTREAMER_CFLAGS:+false} :
17088 if test ${PKG_CONFIG+y}
17090 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17094 if ${GSTREAMER_LIBS:+false} :
17096 if test ${PKG_CONFIG+y}
17098 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17103 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
17104 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
17105 if test -s conftest.err
; then
17106 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17107 cat conftest.err
>&5
17110 ac_save_CPPFLAGS
=$CPPFLAGS
17111 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17112 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17113 if test "x$ac_cv_header_gst_gst_h" = xyes
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17116 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <gst/gst.h>
17123 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17128 if ac_fn_c_try_compile
"$LINENO"
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17131 printf "%s\n" "yes" >&6; }
17132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17133 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17134 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17136 printf %s
"(cached) " >&6
17138 ac_check_lib_save_LIBS
=$LIBS
17139 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17143 /* Override any GCC internal prototype to avoid an error.
17144 Use char because int might match the return type of a GCC
17145 builtin and then its argument prototype would still apply. */
17146 char gst_pad_new ();
17150 return gst_pad_new ();
17155 if ac_fn_c_try_link
"$LINENO"
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17159 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17162 conftest
$ac_exeext conftest.
$ac_ext
17163 LIBS
=$ac_check_lib_save_LIBS
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17166 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17167 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17174 printf "%s\n" "no" >&6; }
17175 ac_glib2_broken
=yes
17176 enable_winegstreamer
=${enable_winegstreamer:-no}
17177 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17179 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17182 CPPFLAGS
=$ac_save_CPPFLAGS
17185 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17187 case "x$with_gstreamer" in
17188 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17190 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17191 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17193 enable_winegstreamer
=${enable_winegstreamer:-no}
17198 if test "x$with_alsa" != "xno"
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17201 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17202 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17204 printf %s
"(cached) " >&6
17206 ac_check_lib_save_LIBS
=$LIBS
17207 LIBS
="-lasound $LIBS"
17208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 char snd_pcm_hw_params_get_access_mask ();
17218 return snd_pcm_hw_params_get_access_mask ();
17223 if ac_fn_c_try_link
"$LINENO"
17225 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17227 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17229 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17230 conftest
$ac_exeext conftest.
$ac_ext
17231 LIBS
=$ac_check_lib_save_LIBS
17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17234 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17235 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <alsa/asoundlib.h>
17243 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17248 if ac_fn_c_try_compile
"$LINENO"
17250 ALSA_LIBS
="-lasound"
17252 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17256 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17258 if test "x$with_oss" != xno
17260 ac_save_CPPFLAGS
="$CPPFLAGS"
17261 if test -f /etc
/oss.conf
17265 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17266 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17267 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17268 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17270 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17272 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17275 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17277 OSS4_CFLAGS
="$ac_oss_incl"
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17280 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17281 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17283 printf %s
"(cached) " >&6
17285 ac_check_lib_save_LIBS
=$LIBS
17286 LIBS
="-lossaudio $LIBS"
17287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 /* Override any GCC internal prototype to avoid an error.
17291 Use char because int might match the return type of a GCC
17292 builtin and then its argument prototype would still apply. */
17293 char _oss_ioctl ();
17297 return _oss_ioctl ();
17302 if ac_fn_c_try_link
"$LINENO"
17304 ac_cv_lib_ossaudio__oss_ioctl
=yes
17306 ac_cv_lib_ossaudio__oss_ioctl
=no
17308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17309 conftest
$ac_exeext conftest.
$ac_ext
17310 LIBS
=$ac_check_lib_save_LIBS
17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17313 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17314 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17316 OSS4_LIBS
="-lossaudio"
17324 CPPFLAGS
="$ac_save_CPPFLAGS"
17326 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17328 case "x$with_oss" in
17329 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17331 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17332 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17334 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17337 if test "x$with_udev" != "xno"
17340 if ${UDEV_CFLAGS:+false} :
17342 if test ${PKG_CONFIG+y}
17344 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17348 if ${UDEV_LIBS:+false} :
17350 if test ${PKG_CONFIG+y}
17352 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17356 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17359 if test -s conftest.err
; then
17360 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17361 cat conftest.err
>&5
17364 ac_save_CPPFLAGS
=$CPPFLAGS
17365 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17366 for ac_header
in libudev.h
17368 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_libudev_h" = xyes
17371 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17373 printf %s
"checking for udev_new in -ludev... " >&6; }
17374 if test ${ac_cv_lib_udev_udev_new+y}
17376 printf %s
"(cached) " >&6
17378 ac_check_lib_save_LIBS
=$LIBS
17379 LIBS
="-ludev $UDEV_LIBS $LIBS"
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17390 return udev_new ();
17395 if ac_fn_c_try_link
"$LINENO"
17397 ac_cv_lib_udev_udev_new
=yes
17399 ac_cv_lib_udev_udev_new
=no
17401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17402 conftest
$ac_exeext conftest.
$ac_ext
17403 LIBS
=$ac_check_lib_save_LIBS
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17406 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17407 if test "x$ac_cv_lib_udev_udev_new" = xyes
17410 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17421 CPPFLAGS
=$ac_save_CPPFLAGS
17424 if test "x$UDEV_LIBS" = "x"
17426 case "x$with_udev" in
17427 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17429 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17430 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17435 if test "x$with_unwind" != xno
17438 if ${UNWIND_CFLAGS:+false} :
17440 if test ${PKG_CONFIG+y}
17442 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17446 if ${UNWIND_LIBS:+false} :
17448 if test ${PKG_CONFIG+y}
17450 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17454 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17457 if test -s conftest.err
; then
17458 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17459 cat conftest.err
>&5
17462 ac_save_CPPFLAGS
=$CPPFLAGS
17463 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17465 printf %s
"checking for unw_step... " >&6; }
17466 if test ${wine_cv_have_unw_step+y}
17468 printf %s
"(cached) " >&6
17470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 #define UNW_LOCAL_ONLY
17473 #include <libunwind.h>
17477 unw_cursor_t cursor; unw_step( &cursor );
17482 if ac_fn_c_try_link
"$LINENO"
17484 wine_cv_have_unw_step
="yes"
17486 wine_cv_have_unw_step
="no"
17488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17489 conftest
$ac_exeext conftest.
$ac_ext
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17492 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17493 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17496 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17497 LIBS
="$UNWIND_LIBS $LIBS"
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17499 printf %s
"checking for unw_step in libunwind... " >&6; }
17500 if test ${wine_cv_have_libunwind_unw_step+y}
17502 printf %s
"(cached) " >&6
17504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #define UNW_LOCAL_ONLY
17507 #include <libunwind.h>
17511 unw_cursor_t cursor; unw_step( &cursor );
17516 if ac_fn_c_try_link
"$LINENO"
17518 wine_cv_have_libunwind_unw_step
="yes"
17520 wine_cv_have_libunwind_unw_step
="no"
17522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17523 conftest
$ac_exeext conftest.
$ac_ext
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17526 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17529 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17530 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17533 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17536 CPPFLAGS
=$ac_save_CPPFLAGS
17540 aarch64
*|
*-darwin*)
17541 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17543 case "x$with_unwind" in
17544 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17546 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17547 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17553 if test "x$with_sdl" != "xno"
17556 if ${SDL2_CFLAGS:+false} :
17558 if test ${PKG_CONFIG+y}
17560 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17564 if ${SDL2_LIBS:+false} :
17566 if test ${PKG_CONFIG+y}
17568 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17572 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17575 if test -s conftest.err
; then
17576 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17577 cat conftest.err
>&5
17580 ac_save_CPPFLAGS
=$CPPFLAGS
17581 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17582 for ac_header
in SDL.h
17584 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17585 if test "x$ac_cv_header_SDL_h" = xyes
17587 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17589 printf %s
"checking for -lSDL2... " >&6; }
17590 if test ${ac_cv_lib_soname_SDL2+y}
17592 printf %s
"(cached) " >&6
17594 ac_check_soname_save_LIBS
=$LIBS
17595 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17606 return SDL_Init ();
17611 if ac_fn_c_try_link
"$LINENO"
17614 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17615 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'` ;;
17616 *) 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'`
17617 if ${ac_cv_lib_soname_SDL2:+false} :
17619 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17623 ac_cv_lib_soname_SDL2
=
17625 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17626 conftest
$ac_exeext conftest.
$ac_ext
17627 LIBS
=$ac_check_soname_save_LIBS
17629 if ${ac_cv_lib_soname_SDL2:+false} :
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17632 printf "%s\n" "not found" >&6; }
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17636 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17638 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17645 CPPFLAGS
=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_SDL2" = "x"
17650 case "x$with_sdl" in
17651 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17653 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17654 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17659 if test "x$with_capi" != "xno"
17662 if ${CAPI20_CFLAGS:+false} :
17664 if test ${PKG_CONFIG+y}
17666 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17670 if ${CAPI20_LIBS:+false} :
17672 if test ${PKG_CONFIG+y}
17674 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17681 if test -s conftest.err
; then
17682 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17683 cat conftest.err
>&5
17686 ac_save_CPPFLAGS
=$CPPFLAGS
17687 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17688 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17690 if test "x$ac_cv_header_capi20_h" = xyes
17692 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17695 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17697 if test "x$ac_cv_header_linux_capi_h" = xyes
17699 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17703 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17706 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17707 if test ${ac_cv_lib_capi20_capi20_register+y}
17709 printf %s
"(cached) " >&6
17711 ac_check_lib_save_LIBS
=$LIBS
17712 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17719 char capi20_register ();
17723 return capi20_register ();
17728 if ac_fn_c_try_link
"$LINENO"
17730 ac_cv_lib_capi20_capi20_register
=yes
17732 ac_cv_lib_capi20_capi20_register
=no
17734 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17735 conftest
$ac_exeext conftest.
$ac_ext
17736 LIBS
=$ac_check_lib_save_LIBS
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17739 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17740 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17748 CPPFLAGS
=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17753 case "x$with_capi" in
17754 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17756 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17757 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17759 enable_capi2032
=${enable_capi2032:-no}
17762 if test "x$with_cups" != "xno"
17765 if ${CUPS_CFLAGS:+false} :
17767 if test ${PKG_CONFIG+y}
17769 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17772 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17773 if ${CUPS_LIBS:+false} :
17775 if test ${PKG_CONFIG+y}
17777 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17780 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17781 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17784 if test -s conftest.err
; then
17785 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17786 cat conftest.err
>&5
17789 ac_save_CPPFLAGS
=$CPPFLAGS
17790 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17791 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_cups_h" = xyes
17794 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17797 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17798 if test "x$ac_cv_header_cups_ppd_h" = xyes
17800 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17804 if test "$ac_cv_header_cups_cups_h" = "yes"
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17807 printf %s
"checking for -lcups... " >&6; }
17808 if test ${ac_cv_lib_soname_cups+y}
17810 printf %s
"(cached) " >&6
17812 ac_check_soname_save_LIBS
=$LIBS
17813 LIBS
="-lcups $CUPS_LIBS $LIBS"
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17817 /* Override any GCC internal prototype to avoid an error.
17818 Use char because int might match the return type of a GCC
17819 builtin and then its argument prototype would still apply. */
17820 char cupsGetDefault ();
17824 return cupsGetDefault ();
17829 if ac_fn_c_try_link
"$LINENO"
17832 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17833 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'` ;;
17834 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17835 if ${ac_cv_lib_soname_cups:+false} :
17837 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17841 ac_cv_lib_soname_cups
=
17843 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17844 conftest
$ac_exeext conftest.
$ac_ext
17845 LIBS
=$ac_check_soname_save_LIBS
17847 if ${ac_cv_lib_soname_cups:+false} :
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17850 printf "%s\n" "not found" >&6; }
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17854 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17856 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17864 CPPFLAGS
=$ac_save_CPPFLAGS
17867 if test "x$ac_cv_lib_soname_cups" = "x"
17869 case "x$with_cups" in
17870 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17872 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17873 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17878 if test "x$with_fontconfig" != "xno"
17881 if ${FONTCONFIG_CFLAGS:+false} :
17883 if test ${PKG_CONFIG+y}
17885 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17888 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17889 if ${FONTCONFIG_LIBS:+false} :
17891 if test ${PKG_CONFIG+y}
17893 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17896 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17900 if test -s conftest.err
; then
17901 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17902 cat conftest.err
>&5
17905 ac_save_CPPFLAGS
=$CPPFLAGS
17906 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17907 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17908 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17911 printf %s
"checking for -lfontconfig... " >&6; }
17912 if test ${ac_cv_lib_soname_fontconfig+y}
17914 printf %s
"(cached) " >&6
17916 ac_check_soname_save_LIBS
=$LIBS
17917 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17933 if ac_fn_c_try_link
"$LINENO"
17936 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17937 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'` ;;
17938 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17939 if ${ac_cv_lib_soname_fontconfig:+false} :
17941 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17945 ac_cv_lib_soname_fontconfig
=
17947 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17948 conftest
$ac_exeext conftest.
$ac_ext
17949 LIBS
=$ac_check_soname_save_LIBS
17951 if ${ac_cv_lib_soname_fontconfig:+false} :
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17954 printf "%s\n" "not found" >&6; }
17955 FONTCONFIG_CFLAGS
=""
17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17958 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17960 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17965 FONTCONFIG_CFLAGS
=""
17968 CPPFLAGS
=$ac_save_CPPFLAGS
17971 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17973 case "x$with_fontconfig" in
17974 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17976 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17977 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17982 if test "x$with_krb5" != "xno"
17985 if ${KRB5_CFLAGS:+false} :
17987 if test ${PKG_CONFIG+y}
17989 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17992 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17993 if ${KRB5_LIBS:+false} :
17995 if test ${PKG_CONFIG+y}
17997 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18000 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18004 if test -s conftest.err
; then
18005 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18006 cat conftest.err
>&5
18009 ac_save_CPPFLAGS
=$CPPFLAGS
18010 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18011 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18012 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18014 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18018 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18021 printf %s
"checking for -lkrb5... " >&6; }
18022 if test ${ac_cv_lib_soname_krb5+y}
18024 printf %s
"(cached) " >&6
18026 ac_check_soname_save_LIBS
=$LIBS
18027 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18031 /* Override any GCC internal prototype to avoid an error.
18032 Use char because int might match the return type of a GCC
18033 builtin and then its argument prototype would still apply. */
18034 char krb5_is_config_principal ();
18038 return krb5_is_config_principal ();
18043 if ac_fn_c_try_link
"$LINENO"
18046 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18047 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'` ;;
18048 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18049 if ${ac_cv_lib_soname_krb5:+false} :
18051 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18055 ac_cv_lib_soname_krb5
=
18057 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18058 conftest
$ac_exeext conftest.
$ac_ext
18059 LIBS
=$ac_check_soname_save_LIBS
18061 if ${ac_cv_lib_soname_krb5:+false} :
18063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18064 printf "%s\n" "not found" >&6; }
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18068 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18070 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18077 CPPFLAGS
=$ac_save_CPPFLAGS
18080 if test "x$ac_cv_lib_soname_krb5" = "x"
18082 case "x$with_krb5" in
18083 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18085 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18086 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18090 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18092 if test "x$with_gssapi" != "xno"
18095 if ${GSSAPI_CFLAGS:+false} :
18097 if test ${PKG_CONFIG+y}
18099 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18102 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18103 if ${GSSAPI_LIBS:+false} :
18105 if test ${PKG_CONFIG+y}
18107 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18110 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18114 if test -s conftest.err
; then
18115 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18116 cat conftest.err
>&5
18119 ac_save_CPPFLAGS
=$CPPFLAGS
18120 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18121 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18122 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18124 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18127 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18128 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18130 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18134 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18137 printf %s
"checking for -lgssapi_krb5... " >&6; }
18138 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18140 printf %s
"(cached) " >&6
18142 ac_check_soname_save_LIBS
=$LIBS
18143 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18150 char gss_init_sec_context ();
18154 return gss_init_sec_context ();
18159 if ac_fn_c_try_link
"$LINENO"
18162 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18163 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'` ;;
18164 *) 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'`
18165 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18167 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18171 ac_cv_lib_soname_gssapi_krb5
=
18173 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18174 conftest
$ac_exeext conftest.
$ac_ext
18175 LIBS
=$ac_check_soname_save_LIBS
18177 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18180 printf "%s\n" "not found" >&6; }
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18184 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18186 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18193 CPPFLAGS
=$ac_save_CPPFLAGS
18196 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18198 case "x$with_gssapi" in
18199 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18201 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18202 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18207 if test "$ac_cv_header_libprocstat_h" = "yes"
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18210 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18211 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18213 printf %s
"(cached) " >&6
18215 ac_check_lib_save_LIBS
=$LIBS
18216 LIBS
="-lprocstat $LIBS"
18217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18223 char procstat_open_sysctl ();
18227 return procstat_open_sysctl ();
18232 if ac_fn_c_try_link
"$LINENO"
18234 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18236 ac_cv_lib_procstat_procstat_open_sysctl
=no
18238 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18239 conftest
$ac_exeext conftest.
$ac_ext
18240 LIBS
=$ac_check_lib_save_LIBS
18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18243 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18244 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18247 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18249 PROCSTAT_LIBS
="-lprocstat"
18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18256 printf %s
"checking for -lodbc... " >&6; }
18257 if test ${ac_cv_lib_soname_odbc+y}
18259 printf %s
"(cached) " >&6
18261 ac_check_soname_save_LIBS
=$LIBS
18262 LIBS
="-lodbc $LIBS"
18263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h. */
18266 /* Override any GCC internal prototype to avoid an error.
18267 Use char because int might match the return type of a GCC
18268 builtin and then its argument prototype would still apply. */
18269 char SQLConnect ();
18273 return SQLConnect ();
18278 if ac_fn_c_try_link
"$LINENO"
18281 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18282 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'` ;;
18283 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18284 if ${ac_cv_lib_soname_odbc:+false} :
18286 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18290 ac_cv_lib_soname_odbc
=
18292 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18293 conftest
$ac_exeext conftest.
$ac_ext
18294 LIBS
=$ac_check_soname_save_LIBS
18296 if ${ac_cv_lib_soname_odbc:+false} :
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18299 printf "%s\n" "not found" >&6; }
18300 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18304 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18306 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18311 if test "x$with_netapi" != "xno"
18314 if ${NETAPI_CFLAGS:+false} :
18316 if test ${PKG_CONFIG+y}
18318 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18322 if ${NETAPI_LIBS:+false} :
18324 if test ${PKG_CONFIG+y}
18326 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18333 if test -s conftest.err
; then
18334 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18335 cat conftest.err
>&5
18338 ac_save_CPPFLAGS
=$CPPFLAGS
18339 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18341 printf %s
"checking for -lnetapi... " >&6; }
18342 if test ${ac_cv_lib_soname_netapi+y}
18344 printf %s
"(cached) " >&6
18346 ac_check_soname_save_LIBS
=$LIBS
18347 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18351 /* Override any GCC internal prototype to avoid an error.
18352 Use char because int might match the return type of a GCC
18353 builtin and then its argument prototype would still apply. */
18354 char libnetapi_init ();
18358 return libnetapi_init ();
18363 if ac_fn_c_try_link
"$LINENO"
18366 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18367 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'` ;;
18368 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18369 if ${ac_cv_lib_soname_netapi:+false} :
18371 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18375 ac_cv_lib_soname_netapi
=
18377 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18378 conftest
$ac_exeext conftest.
$ac_ext
18379 LIBS
=$ac_check_soname_save_LIBS
18381 if ${ac_cv_lib_soname_netapi:+false} :
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18384 printf "%s\n" "not found" >&6; }
18385 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18389 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18391 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18395 CPPFLAGS
=$ac_save_CPPFLAGS
18398 if test "x$ac_cv_lib_soname_netapi" = "x"
18400 case "x$with_netapi" in
18401 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18403 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18404 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18406 enable_netapi
=${enable_netapi:-no}
18410 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18411 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18413 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18416 if test "x$with_vulkan" != "xno"
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18419 printf %s
"checking for -lvulkan... " >&6; }
18420 if test ${ac_cv_lib_soname_vulkan+y}
18422 printf %s
"(cached) " >&6
18424 ac_check_soname_save_LIBS
=$LIBS
18425 LIBS
="-lvulkan $LIBS"
18426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 /* Override any GCC internal prototype to avoid an error.
18430 Use char because int might match the return type of a GCC
18431 builtin and then its argument prototype would still apply. */
18432 char vkGetInstanceProcAddr ();
18436 return vkGetInstanceProcAddr ();
18441 if ac_fn_c_try_link
"$LINENO"
18444 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18445 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'` ;;
18446 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18447 if ${ac_cv_lib_soname_vulkan:+false} :
18449 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18453 ac_cv_lib_soname_vulkan
=
18455 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18456 conftest
$ac_exeext conftest.
$ac_ext
18457 LIBS
=$ac_check_soname_save_LIBS
18459 if ${ac_cv_lib_soname_vulkan:+false} :
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18462 printf "%s\n" "not found" >&6; }
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18466 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18468 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18472 if test "x$ac_cv_lib_soname_vulkan" = "x"
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18475 printf %s
"checking for -lMoltenVK... " >&6; }
18476 if test ${ac_cv_lib_soname_MoltenVK+y}
18478 printf %s
"(cached) " >&6
18480 ac_check_soname_save_LIBS
=$LIBS
18481 LIBS
="-lMoltenVK $LIBS"
18482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18485 /* Override any GCC internal prototype to avoid an error.
18486 Use char because int might match the return type of a GCC
18487 builtin and then its argument prototype would still apply. */
18488 char vkGetInstanceProcAddr ();
18492 return vkGetInstanceProcAddr ();
18497 if ac_fn_c_try_link
"$LINENO"
18500 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18501 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'` ;;
18502 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18503 if ${ac_cv_lib_soname_MoltenVK:+false} :
18505 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18509 ac_cv_lib_soname_MoltenVK
=
18511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18512 conftest
$ac_exeext conftest.
$ac_ext
18513 LIBS
=$ac_check_soname_save_LIBS
18515 if ${ac_cv_lib_soname_MoltenVK:+false} :
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18518 printf "%s\n" "not found" >&6; }
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18522 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18524 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18530 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18532 case "x$with_vulkan" in
18533 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18535 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18536 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18542 if test "x${GCC}" = "xyes"
18544 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18546 saved_CFLAGS
=$CFLAGS
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18548 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18549 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18551 printf %s
"(cached) " >&6
18553 ac_wine_try_cflags_saved
=$CFLAGS
18554 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18559 if ac_fn_c_try_link
"$LINENO"
18561 ac_cv_cflags__Werror_unknown_warning_option
=yes
18563 ac_cv_cflags__Werror_unknown_warning_option
=no
18565 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18566 conftest
$ac_exeext conftest.
$ac_ext
18567 CFLAGS
=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18570 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18571 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18573 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18576 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18577 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18579 printf %s
"(cached) " >&6
18581 ac_wine_try_cflags_saved
=$CFLAGS
18582 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18587 if ac_fn_c_try_link
"$LINENO"
18589 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18591 ac_cv_cflags__Werror_unused_command_line_argument
=no
18593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18594 conftest
$ac_exeext conftest.
$ac_ext
18595 CFLAGS
=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18598 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18599 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18601 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18604 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18605 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18607 printf %s
"(cached) " >&6
18609 ac_wine_try_cflags_saved
=$CFLAGS
18610 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18615 if ac_fn_c_try_link
"$LINENO"
18617 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18619 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18622 conftest
$ac_exeext conftest.
$ac_ext
18623 CFLAGS
=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18626 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18627 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18629 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18632 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18633 if test ${ac_cv_cflags__fcf_protection_none+y}
18635 printf %s
"(cached) " >&6
18637 ac_wine_try_cflags_saved
=$CFLAGS
18638 CFLAGS
="$CFLAGS -fcf-protection=none"
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18643 if ac_fn_c_try_link
"$LINENO"
18645 ac_cv_cflags__fcf_protection_none
=yes
18647 ac_cv_cflags__fcf_protection_none
=no
18649 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18650 conftest
$ac_exeext conftest.
$ac_ext
18651 CFLAGS
=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18654 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18655 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18657 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18660 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
18661 if test ${ac_cv_cflags__fvisibility_hidden+y}
18663 printf %s
"(cached) " >&6
18665 ac_wine_try_cflags_saved
=$CFLAGS
18666 CFLAGS
="$CFLAGS -fvisibility=hidden"
18667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18671 if ac_fn_c_try_link
"$LINENO"
18673 ac_cv_cflags__fvisibility_hidden
=yes
18675 ac_cv_cflags__fvisibility_hidden
=no
18677 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18678 conftest
$ac_exeext conftest.
$ac_ext
18679 CFLAGS
=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18682 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18683 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18685 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18688 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18689 if test ${ac_cv_cflags__fno_stack_protector+y}
18691 printf %s
"(cached) " >&6
18693 ac_wine_try_cflags_saved
=$CFLAGS
18694 CFLAGS
="$CFLAGS -fno-stack-protector"
18695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18699 if ac_fn_c_try_link
"$LINENO"
18701 ac_cv_cflags__fno_stack_protector
=yes
18703 ac_cv_cflags__fno_stack_protector
=no
18705 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18706 conftest
$ac_exeext conftest.
$ac_ext
18707 CFLAGS
=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18710 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18711 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18713 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18716 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18717 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18719 printf %s
"(cached) " >&6
18721 ac_wine_try_cflags_saved
=$CFLAGS
18722 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18727 if ac_fn_c_try_link
"$LINENO"
18729 ac_cv_cflags__fno_strict_aliasing
=yes
18731 ac_cv_cflags__fno_strict_aliasing
=no
18733 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18734 conftest
$ac_exeext conftest.
$ac_ext
18735 CFLAGS
=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18738 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18739 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18741 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18744 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18745 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18747 printf %s
"(cached) " >&6
18749 ac_wine_try_cflags_saved
=$CFLAGS
18750 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18755 if ac_fn_c_try_link
"$LINENO"
18757 ac_cv_cflags__Wdeclaration_after_statement
=yes
18759 ac_cv_cflags__Wdeclaration_after_statement
=no
18761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18762 conftest
$ac_exeext conftest.
$ac_ext
18763 CFLAGS
=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18767 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18769 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18772 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18773 if test ${ac_cv_cflags__Wempty_body+y}
18775 printf %s
"(cached) " >&6
18777 ac_wine_try_cflags_saved
=$CFLAGS
18778 CFLAGS
="$CFLAGS -Wempty-body"
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18783 if ac_fn_c_try_link
"$LINENO"
18785 ac_cv_cflags__Wempty_body
=yes
18787 ac_cv_cflags__Wempty_body
=no
18789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18790 conftest
$ac_exeext conftest.
$ac_ext
18791 CFLAGS
=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18795 if test "x$ac_cv_cflags__Wempty_body" = xyes
18797 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18800 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18801 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18803 printf %s
"(cached) " >&6
18805 ac_wine_try_cflags_saved
=$CFLAGS
18806 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18811 if ac_fn_c_try_link
"$LINENO"
18813 ac_cv_cflags__Wignored_qualifiers
=yes
18815 ac_cv_cflags__Wignored_qualifiers
=no
18817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18818 conftest
$ac_exeext conftest.
$ac_ext
18819 CFLAGS
=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18823 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18825 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18828 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18829 if test ${ac_cv_cflags__Winit_self+y}
18831 printf %s
"(cached) " >&6
18833 ac_wine_try_cflags_saved
=$CFLAGS
18834 CFLAGS
="$CFLAGS -Winit-self"
18835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18839 if ac_fn_c_try_link
"$LINENO"
18841 ac_cv_cflags__Winit_self
=yes
18843 ac_cv_cflags__Winit_self
=no
18845 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18846 conftest
$ac_exeext conftest.
$ac_ext
18847 CFLAGS
=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18850 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18851 if test "x$ac_cv_cflags__Winit_self" = xyes
18853 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18856 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18857 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18859 printf %s
"(cached) " >&6
18861 ac_wine_try_cflags_saved
=$CFLAGS
18862 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18867 if ac_fn_c_try_link
"$LINENO"
18869 ac_cv_cflags__Wpacked_not_aligned
=yes
18871 ac_cv_cflags__Wpacked_not_aligned
=no
18873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18874 conftest
$ac_exeext conftest.
$ac_ext
18875 CFLAGS
=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18879 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18881 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18884 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18885 if test ${ac_cv_cflags__Wpragma_pack+y}
18887 printf %s
"(cached) " >&6
18889 ac_wine_try_cflags_saved
=$CFLAGS
18890 CFLAGS
="$CFLAGS -Wpragma-pack"
18891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18895 if ac_fn_c_try_link
"$LINENO"
18897 ac_cv_cflags__Wpragma_pack
=yes
18899 ac_cv_cflags__Wpragma_pack
=no
18901 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18902 conftest
$ac_exeext conftest.
$ac_ext
18903 CFLAGS
=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18907 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18909 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18912 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18913 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18915 printf %s
"(cached) " >&6
18917 ac_wine_try_cflags_saved
=$CFLAGS
18918 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18923 if ac_fn_c_try_link
"$LINENO"
18925 ac_cv_cflags__Wshift_overflow_2
=yes
18927 ac_cv_cflags__Wshift_overflow_2
=no
18929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18930 conftest
$ac_exeext conftest.
$ac_ext
18931 CFLAGS
=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18935 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18937 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18940 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18941 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18943 printf %s
"(cached) " >&6
18945 ac_wine_try_cflags_saved
=$CFLAGS
18946 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18951 if ac_fn_c_try_link
"$LINENO"
18953 ac_cv_cflags__Wstrict_prototypes
=yes
18955 ac_cv_cflags__Wstrict_prototypes
=no
18957 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18958 conftest
$ac_exeext conftest.
$ac_ext
18959 CFLAGS
=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18963 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18965 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18968 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18969 if test ${ac_cv_cflags__Wtype_limits+y}
18971 printf %s
"(cached) " >&6
18973 ac_wine_try_cflags_saved
=$CFLAGS
18974 CFLAGS
="$CFLAGS -Wtype-limits"
18975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18979 if ac_fn_c_try_link
"$LINENO"
18981 ac_cv_cflags__Wtype_limits
=yes
18983 ac_cv_cflags__Wtype_limits
=no
18985 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18986 conftest
$ac_exeext conftest.
$ac_ext
18987 CFLAGS
=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18991 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18993 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18996 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18997 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18999 printf %s
"(cached) " >&6
19001 ac_wine_try_cflags_saved
=$CFLAGS
19002 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19007 if ac_fn_c_try_link
"$LINENO"
19009 ac_cv_cflags__Wunused_but_set_parameter
=yes
19011 ac_cv_cflags__Wunused_but_set_parameter
=no
19013 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19014 conftest
$ac_exeext conftest.
$ac_ext
19015 CFLAGS
=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19018 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19019 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19021 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19024 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19025 if test ${ac_cv_cflags__Wvla+y}
19027 printf %s
"(cached) " >&6
19029 ac_wine_try_cflags_saved
=$CFLAGS
19030 CFLAGS
="$CFLAGS -Wvla"
19031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 int main(int argc, char **argv) { return 0; }
19035 if ac_fn_c_try_link
"$LINENO"
19037 ac_cv_cflags__Wvla
=yes
19039 ac_cv_cflags__Wvla
=no
19041 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19042 conftest
$ac_exeext conftest.
$ac_ext
19043 CFLAGS
=$ac_wine_try_cflags_saved
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19046 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19047 if test "x$ac_cv_cflags__Wvla" = xyes
19049 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19052 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19053 if test ${ac_cv_cflags__Wwrite_strings+y}
19055 printf %s
"(cached) " >&6
19057 ac_wine_try_cflags_saved
=$CFLAGS
19058 CFLAGS
="$CFLAGS -Wwrite-strings"
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__Wwrite_strings
=yes
19067 ac_cv_cflags__Wwrite_strings
=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__Wwrite_strings" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19075 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19077 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19081 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19082 if test ${ac_cv_cflags__Wpointer_arith+y}
19084 printf %s
"(cached) " >&6
19086 ac_wine_try_cflags_saved
=$CFLAGS
19087 CFLAGS
="$CFLAGS -Wpointer-arith"
19088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 int main(int argc, char **argv) { return 0; }
19092 if ac_fn_c_try_link
"$LINENO"
19094 ac_cv_cflags__Wpointer_arith
=yes
19096 ac_cv_cflags__Wpointer_arith
=no
19098 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19099 conftest
$ac_exeext conftest.
$ac_ext
19100 CFLAGS
=$ac_wine_try_cflags_saved
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19103 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19104 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19106 saved_string_h_CFLAGS
=$CFLAGS
19107 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19109 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19110 if test ${ac_cv_c_string_h_warnings+y}
19112 printf %s
"(cached) " >&6
19114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 #include <string.h>
19125 if ac_fn_c_try_compile
"$LINENO"
19127 ac_cv_c_string_h_warnings
=no
19129 ac_cv_c_string_h_warnings
=yes
19131 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19134 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19135 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19136 CFLAGS
=$saved_string_h_CFLAGS
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19140 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19141 if test ${ac_cv_cflags__Wlogical_op+y}
19143 printf %s
"(cached) " >&6
19145 ac_wine_try_cflags_saved
=$CFLAGS
19146 CFLAGS
="$CFLAGS -Wlogical-op"
19147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 int main(int argc, char **argv) { return 0; }
19151 if ac_fn_c_try_link
"$LINENO"
19153 ac_cv_cflags__Wlogical_op
=yes
19155 ac_cv_cflags__Wlogical_op
=no
19157 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19158 conftest
$ac_exeext conftest.
$ac_ext
19159 CFLAGS
=$ac_wine_try_cflags_saved
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19162 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19163 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19165 saved_string_h_CFLAGS
=$CFLAGS
19166 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19168 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19169 if test ${ac_cv_c_logicalop_noisy+y}
19171 printf %s
"(cached) " >&6
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19175 #include <string.h>
19176 char*f(const char *h,char n) {return strchr(h,n);}
19185 if ac_fn_c_try_compile
"$LINENO"
19187 ac_cv_c_logicalop_noisy
=no
19189 ac_cv_c_logicalop_noisy
=yes
19191 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19194 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19195 CFLAGS
=$saved_string_h_CFLAGS
19196 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19200 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19201 if test ${wine_cv_64bit_compare_swap+y}
19203 printf %s
"(cached) " >&6
19205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19218 if ac_fn_c_try_compile
"$LINENO"
19220 wine_cv_64bit_compare_swap
="none needed"
19223 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19224 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19225 *) wine_cv_64bit_compare_swap
="unknown" ;;
19227 if test "x$wine_cv_64bit_compare_swap" != xunknown
19229 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19243 if ac_fn_c_try_compile
"$LINENO"
19247 wine_cv_64bit_compare_swap
="unknown"
19249 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19250 CFLAGS
=$saved_CFLAGS
19253 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19256 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19257 case "$wine_cv_64bit_compare_swap" in
19258 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19260 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19263 ac_debug_format_seen
=""
19264 for ac_flag
in $CFLAGS; do
19266 -gdwarf*) ac_debug_format_seen
=yes ;;
19267 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19270 if test "x$ac_debug_format_seen" = xdefault
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19273 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19274 if test ${ac_cv_cflags__gdwarf_4+y}
19276 printf %s
"(cached) " >&6
19278 ac_wine_try_cflags_saved
=$CFLAGS
19279 CFLAGS
="$CFLAGS -gdwarf-4"
19280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19284 if ac_fn_c_try_link
"$LINENO"
19286 ac_cv_cflags__gdwarf_4
=yes
19288 ac_cv_cflags__gdwarf_4
=no
19290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19291 conftest
$ac_exeext conftest.
$ac_ext
19292 CFLAGS
=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19295 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19296 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19298 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19305 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19306 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19307 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19309 printf %s
"(cached) " >&6
19311 ac_wine_try_cflags_saved
=$CFLAGS
19312 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19315 int main(int argc, char **argv) { return 0; }
19317 if ac_fn_c_try_link
"$LINENO"
19319 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19321 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19323 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19324 conftest
$ac_exeext conftest.
$ac_ext
19325 CFLAGS
=$ac_wine_try_cflags_saved
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19328 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19329 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19331 DELAYLOADFLAG
="-Wl,-delayload,"
19334 *) MSVCRTFLAGS
="-D_WIN32"
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19336 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19337 if test ${ac_cv_cflags__fno_builtin+y}
19339 printf %s
"(cached) " >&6
19341 ac_wine_try_cflags_saved
=$CFLAGS
19342 CFLAGS
="$CFLAGS -fno-builtin"
19343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19347 if ac_fn_c_try_link
"$LINENO"
19349 ac_cv_cflags__fno_builtin
=yes
19351 ac_cv_cflags__fno_builtin
=no
19353 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19354 conftest
$ac_exeext conftest.
$ac_ext
19355 CFLAGS
=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19358 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19359 if test "x$ac_cv_cflags__fno_builtin" = xyes
19361 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19364 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19365 if test ${ac_cv_cflags__fshort_wchar+y}
19367 printf %s
"(cached) " >&6
19369 ac_wine_try_cflags_saved
=$CFLAGS
19370 CFLAGS
="$CFLAGS -fshort-wchar"
19371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19375 if ac_fn_c_try_link
"$LINENO"
19377 ac_cv_cflags__fshort_wchar
=yes
19379 ac_cv_cflags__fshort_wchar
=no
19381 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19382 conftest
$ac_exeext conftest.
$ac_ext
19383 CFLAGS
=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19386 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19387 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19389 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19392 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19393 if test ${ac_cv_cflags__Wno_format+y}
19395 printf %s
"(cached) " >&6
19397 ac_wine_try_cflags_saved
=$CFLAGS
19398 CFLAGS
="$CFLAGS -Wno-format"
19399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 int main(int argc, char **argv) { return 0; }
19403 if ac_fn_c_try_link
"$LINENO"
19405 ac_cv_cflags__Wno_format
=yes
19407 ac_cv_cflags__Wno_format
=no
19409 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19410 conftest
$ac_exeext conftest.
$ac_ext
19411 CFLAGS
=$ac_wine_try_cflags_saved
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19414 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19415 if test "x$ac_cv_cflags__Wno_format" = xyes
19417 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19422 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19423 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19424 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19426 printf %s
"(cached) " >&6
19428 ac_wine_try_cflags_saved
=$CFLAGS
19429 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 int main(int argc, char **argv) { return 0; }
19434 if ac_fn_c_try_link
"$LINENO"
19436 ac_cv_cflags__fno_omit_frame_pointer
=yes
19438 ac_cv_cflags__fno_omit_frame_pointer
=no
19440 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19441 conftest
$ac_exeext conftest.
$ac_ext
19442 CFLAGS
=$ac_wine_try_cflags_saved
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19445 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19446 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19448 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19452 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19453 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19454 if test ${ac_cv_cflags__Wno_format+y}
19456 printf %s
"(cached) " >&6
19458 ac_wine_try_cflags_saved
=$CFLAGS
19459 CFLAGS
="$CFLAGS -Wno-format"
19460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19464 if ac_fn_c_try_link
"$LINENO"
19466 ac_cv_cflags__Wno_format
=yes
19468 ac_cv_cflags__Wno_format
=no
19470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19471 conftest
$ac_exeext conftest.
$ac_ext
19472 CFLAGS
=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19476 if test "x$ac_cv_cflags__Wno_format" = xyes
19478 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19480 *) if test -z "$PE_ARCHS"
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19483 printf %s
"checking for working -mabi=ms... " >&6; }
19484 if test ${ac_cv_mabi_ms+y}
19486 printf %s
"(cached) " >&6
19488 CFLAGS
="$CFLAGS -mabi=ms"
19489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #include <stdarg.h>
19492 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19501 if ac_fn_c_try_compile
"$LINENO"
19507 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19508 CFLAGS
=$saved_CFLAGS
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19511 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19512 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
19514 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19518 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19519 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19521 printf %s
"(cached) " >&6
19523 ac_wine_try_cflags_saved
=$CFLAGS
19524 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19529 if ac_fn_c_try_link
"$LINENO"
19531 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19533 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19536 conftest
$ac_exeext conftest.
$ac_ext
19537 CFLAGS
=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19541 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19543 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19547 CFLAGS
=$saved_CFLAGS
19549 if test "x$enable_werror" = "xyes"
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19552 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19553 if test ${ac_cv_cflags__Werror+y}
19555 printf %s
"(cached) " >&6
19557 ac_wine_try_cflags_saved
=$CFLAGS
19558 CFLAGS
="$CFLAGS -Werror"
19559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 int main(int argc, char **argv) { return 0; }
19563 if ac_fn_c_try_link
"$LINENO"
19565 ac_cv_cflags__Werror
=yes
19567 ac_cv_cflags__Werror
=no
19569 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19570 conftest
$ac_exeext conftest.
$ac_ext
19571 CFLAGS
=$ac_wine_try_cflags_saved
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19574 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19575 if test "x$ac_cv_cflags__Werror" = xyes
19577 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19580 if test "x$enable_build_id" = "xyes"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19583 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19584 if test ${ac_cv_cflags__Wl___build_id+y}
19586 printf %s
"(cached) " >&6
19588 ac_wine_try_cflags_saved
=$CFLAGS
19589 CFLAGS
="$CFLAGS -Wl,--build-id"
19590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 int main(int argc, char **argv) { return 0; }
19594 if ac_fn_c_try_link
"$LINENO"
19596 ac_cv_cflags__Wl___build_id
=yes
19598 ac_cv_cflags__Wl___build_id
=no
19600 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19601 conftest
$ac_exeext conftest.
$ac_ext
19602 CFLAGS
=$ac_wine_try_cflags_saved
19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19605 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19606 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19608 CFLAGS
="$CFLAGS -Wl,--build-id"
19609 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19616 printf %s
"checking for the need to disable Fortify... " >&6; }
19617 if test ${ac_cv_c_fortify_enabled+y}
19619 printf %s
"(cached) " >&6
19621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 #include <string.h>
19627 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19628 #error Fortify enabled
19634 if ac_fn_c_try_compile
"$LINENO"
19636 ac_cv_c_fortify_enabled
=no
19638 ac_cv_c_fortify_enabled
=yes
19640 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19643 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19644 if test "$ac_cv_c_fortify_enabled" = yes
19646 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19651 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19652 if test ${ac_cv_c_cfi_support+y}
19654 printf %s
"(cached) " >&6
19656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19667 if ac_fn_c_try_compile
"$LINENO"
19669 ac_cv_c_cfi_support
="yes"
19671 ac_cv_c_cfi_support
="no"
19673 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19676 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19677 if test "$ac_cv_c_cfi_support" = "yes"
19679 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19680 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19681 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19682 elif test $HOST_ARCH = x86_64
19684 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19688 case "$HOST_ARCH,$PE_ARCHS" in
19689 x86_64
,*i386
*) wine_binary
="wine" ;;
19690 x86_64
,*) wine_binary
="wine64" ;;
19691 *) wine_binary
="wine" ;;
19693 WINELOADER_PROGRAMS
="$wine_binary"
19699 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19700 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19701 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19706 if test "$wine_can_build_preloader" = "yes"
19708 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19709 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19716 printf %s
"checking for library containing dlopen... " >&6; }
19717 if test ${ac_cv_search_dlopen+y}
19719 printf %s
"(cached) " >&6
19721 ac_func_search_save_LIBS
=$LIBS
19722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19737 for ac_lib
in '' dl
19739 if test -z "$ac_lib"; then
19740 ac_res
="none required"
19743 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19745 if ac_fn_c_try_link
"$LINENO"
19747 ac_cv_search_dlopen
=$ac_res
19749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19751 if test ${ac_cv_search_dlopen+y}
19756 if test ${ac_cv_search_dlopen+y}
19760 ac_cv_search_dlopen
=no
19762 rm conftest.
$ac_ext
19763 LIBS
=$ac_func_search_save_LIBS
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19766 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19767 ac_res
=$ac_cv_search_dlopen
19768 if test "$ac_res" != no
19770 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19776 printf %s
"checking for library containing gethostbyname... " >&6; }
19777 if test ${ac_cv_search_gethostbyname+y}
19779 printf %s
"(cached) " >&6
19781 ac_func_search_save_LIBS
=$LIBS
19782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 /* Override any GCC internal prototype to avoid an error.
19786 Use char because int might match the return type of a GCC
19787 builtin and then its argument prototype would still apply. */
19788 char gethostbyname ();
19792 return gethostbyname ();
19797 for ac_lib
in '' nsl
19799 if test -z "$ac_lib"; then
19800 ac_res
="none required"
19803 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19805 if ac_fn_c_try_link
"$LINENO"
19807 ac_cv_search_gethostbyname
=$ac_res
19809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19811 if test ${ac_cv_search_gethostbyname+y}
19816 if test ${ac_cv_search_gethostbyname+y}
19820 ac_cv_search_gethostbyname
=no
19822 rm conftest.
$ac_ext
19823 LIBS
=$ac_func_search_save_LIBS
19825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19826 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19827 ac_res
=$ac_cv_search_gethostbyname
19828 if test "$ac_res" != no
19830 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19836 printf %s
"checking for library containing connect... " >&6; }
19837 if test ${ac_cv_search_connect+y}
19839 printf %s
"(cached) " >&6
19841 ac_func_search_save_LIBS
=$LIBS
19842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19845 /* Override any GCC internal prototype to avoid an error.
19846 Use char because int might match the return type of a GCC
19847 builtin and then its argument prototype would still apply. */
19857 for ac_lib
in '' socket
19859 if test -z "$ac_lib"; then
19860 ac_res
="none required"
19863 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19865 if ac_fn_c_try_link
"$LINENO"
19867 ac_cv_search_connect
=$ac_res
19869 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19871 if test ${ac_cv_search_connect+y}
19876 if test ${ac_cv_search_connect+y}
19880 ac_cv_search_connect
=no
19882 rm conftest.
$ac_ext
19883 LIBS
=$ac_func_search_save_LIBS
19885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19886 printf "%s\n" "$ac_cv_search_connect" >&6; }
19887 ac_res
=$ac_cv_search_connect
19888 if test "$ac_res" != no
19890 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19896 printf %s
"checking for library containing inet_aton... " >&6; }
19897 if test ${ac_cv_search_inet_aton+y}
19899 printf %s
"(cached) " >&6
19901 ac_func_search_save_LIBS
=$LIBS
19902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19905 /* Override any GCC internal prototype to avoid an error.
19906 Use char because int might match the return type of a GCC
19907 builtin and then its argument prototype would still apply. */
19912 return inet_aton ();
19917 for ac_lib
in '' resolv
19919 if test -z "$ac_lib"; then
19920 ac_res
="none required"
19923 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19925 if ac_fn_c_try_link
"$LINENO"
19927 ac_cv_search_inet_aton
=$ac_res
19929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19931 if test ${ac_cv_search_inet_aton+y}
19936 if test ${ac_cv_search_inet_aton+y}
19940 ac_cv_search_inet_aton
=no
19942 rm conftest.
$ac_ext
19943 LIBS
=$ac_func_search_save_LIBS
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19946 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19947 ac_res
=$ac_cv_search_inet_aton
19948 if test "$ac_res" != no
19950 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19955 ac_save_CFLAGS
="$CFLAGS"
19956 CFLAGS
="$CFLAGS $BUILTINFLAG"
19957 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19958 if test "x$ac_cv_func_dladdr1" = xyes
19960 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19963 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19964 if test "x$ac_cv_func_dlinfo" = xyes
19966 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19969 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19970 if test "x$ac_cv_func_epoll_create" = xyes
19972 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19975 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19976 if test "x$ac_cv_func_fstatfs" = xyes
19978 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19981 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19982 if test "x$ac_cv_func_futimens" = xyes
19984 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19987 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19988 if test "x$ac_cv_func_futimes" = xyes
19990 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19993 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19994 if test "x$ac_cv_func_futimesat" = xyes
19996 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19999 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20000 if test "x$ac_cv_func_getaddrinfo" = xyes
20002 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20005 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20006 if test "x$ac_cv_func_getattrlist" = xyes
20008 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20011 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20012 if test "x$ac_cv_func_getauxval" = xyes
20014 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20017 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20018 if test "x$ac_cv_func_getifaddrs" = xyes
20020 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20023 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20024 if test "x$ac_cv_func_getrandom" = xyes
20026 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20029 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20030 if test "x$ac_cv_func_kqueue" = xyes
20032 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20035 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20036 if test "x$ac_cv_func_mach_continuous_time" = xyes
20038 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20041 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20042 if test "x$ac_cv_func_pipe2" = xyes
20044 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20047 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20048 if test "x$ac_cv_func_port_create" = xyes
20050 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20053 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20054 if test "x$ac_cv_func_posix_fadvise" = xyes
20056 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20059 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20060 if test "x$ac_cv_func_posix_fallocate" = xyes
20062 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20065 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20066 if test "x$ac_cv_func_prctl" = xyes
20068 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20071 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20072 if test "x$ac_cv_func_proc_pidinfo" = xyes
20074 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20077 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20078 if test "x$ac_cv_func_sched_yield" = xyes
20080 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20083 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20084 if test "x$ac_cv_func_setproctitle" = xyes
20086 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20089 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20090 if test "x$ac_cv_func_setprogname" = xyes
20092 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20095 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20096 if test "x$ac_cv_func_sigprocmask" = xyes
20098 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20101 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20102 if test "x$ac_cv_func_sysinfo" = xyes
20104 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20107 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20108 if test "x$ac_cv_func_tcdrain" = xyes
20110 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20113 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20114 if test "x$ac_cv_func_thr_kill2" = xyes
20116 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20120 CFLAGS
="$ac_save_CFLAGS"
20123 darwin
*|macosx
*) ;;
20124 *) ac_save_LIBS
=$LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20126 printf %s
"checking for library containing clock_gettime... " >&6; }
20127 if test ${ac_cv_search_clock_gettime+y}
20129 printf %s
"(cached) " >&6
20131 ac_func_search_save_LIBS
=$LIBS
20132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20135 /* Override any GCC internal prototype to avoid an error.
20136 Use char because int might match the return type of a GCC
20137 builtin and then its argument prototype would still apply. */
20138 char clock_gettime ();
20142 return clock_gettime ();
20147 for ac_lib
in '' rt
20149 if test -z "$ac_lib"; then
20150 ac_res
="none required"
20153 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20155 if ac_fn_c_try_link
"$LINENO"
20157 ac_cv_search_clock_gettime
=$ac_res
20159 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20161 if test ${ac_cv_search_clock_gettime+y}
20166 if test ${ac_cv_search_clock_gettime+y}
20170 ac_cv_search_clock_gettime
=no
20172 rm conftest.
$ac_ext
20173 LIBS
=$ac_func_search_save_LIBS
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20176 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20177 ac_res
=$ac_cv_search_clock_gettime
20178 if test "$ac_res" != no
20180 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20182 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20184 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20193 printf %s
"checking for sched_setaffinity... " >&6; }
20194 if test ${wine_cv_have_sched_setaffinity+y}
20196 printf %s
"(cached) " >&6
20198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h. */
20204 sched_setaffinity(0, 0, 0);
20209 if ac_fn_c_try_link
"$LINENO"
20211 wine_cv_have_sched_setaffinity
=yes
20213 wine_cv_have_sched_setaffinity
=no
20215 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20216 conftest
$ac_exeext conftest.
$ac_ext
20218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20219 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20220 if test "$wine_cv_have_sched_setaffinity" = "yes"
20223 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20229 printf %s
"checking for inline... " >&6; }
20230 if test ${ac_cv_c_inline+y}
20232 printf %s
"(cached) " >&6
20235 for ac_kw
in inline __inline__ __inline
; do
20236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20238 #ifndef __cplusplus
20240 static $ac_kw foo_t static_foo (void) {return 0; }
20241 $ac_kw foo_t foo (void) {return 0; }
20245 if ac_fn_c_try_compile
"$LINENO"
20247 ac_cv_c_inline
=$ac_kw
20249 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20250 test "$ac_cv_c_inline" != no
&& break
20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20255 printf "%s\n" "$ac_cv_c_inline" >&6; }
20257 case $ac_cv_c_inline in
20260 case $ac_cv_c_inline in
20262 *) ac_val
=$ac_cv_c_inline;;
20264 cat >>confdefs.h
<<_ACEOF
20265 #ifndef __cplusplus
20266 #define inline $ac_val
20272 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20274 if test "x$ac_cv_type_request_sense" = xyes
20277 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20283 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20284 #include <sys/socket.h>
20285 #ifdef HAVE_SYS_SOCKETVAR_H
20286 #include <sys/socketvar.h>
20288 #ifdef HAVE_NET_ROUTE_H
20289 #include <net/route.h>
20291 #ifdef HAVE_NETINET_IN_H
20292 #include <netinet/in.h>
20294 #ifdef HAVE_NETINET_IN_SYSTM_H
20295 #include <netinet/in_systm.h>
20297 #ifdef HAVE_NETINET_IP_H
20298 #include <netinet/ip.h>
20300 #ifdef HAVE_NETINET_IN_PCB_H
20301 #include <netinet/in_pcb.h>
20304 if test "x$ac_cv_type_struct_xinpgen" = xyes
20307 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20314 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20315 if test ${wine_cv_linux_gethostbyname_r_6+y}
20317 printf %s
"(cached) " >&6
20319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20328 struct hostent *result;
20335 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20336 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20342 if ac_fn_c_try_link
"$LINENO"
20344 wine_cv_linux_gethostbyname_r_6
=yes
20346 wine_cv_linux_gethostbyname_r_6
=no
20349 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20350 conftest
$ac_exeext conftest.
$ac_ext
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20354 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20355 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20358 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20362 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20363 #include <sys/socket.h>
20364 #ifdef HAVE_SYS_UN_H
20365 # include <sys/un.h>
20368 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20371 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20375 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20376 #include <sys/socket.h>
20377 #ifdef HAVE_SYS_UN_H
20378 # include <sys/un.h>
20381 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20384 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20390 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20391 #ifdef HAVE_SCSI_SG_H
20392 #include <scsi/sg.h>
20395 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20398 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20402 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>
20403 #ifdef HAVE_SCSI_SG_H
20404 #include <scsi/sg.h>
20407 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20410 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20416 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20418 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20421 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20427 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20428 #ifdef HAVE_SYS_MTIO_H
20429 #include <sys/mtio.h>
20432 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20435 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20439 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20440 #ifdef HAVE_SYS_MTIO_H
20441 #include <sys/mtio.h>
20444 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20447 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20451 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20452 #ifdef HAVE_SYS_MTIO_H
20453 #include <sys/mtio.h>
20456 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20459 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20465 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20473 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20481 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20485 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20489 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20493 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20497 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20498 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20501 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20505 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20506 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20509 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20513 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20514 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20517 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20521 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20522 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20525 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20529 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20530 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20533 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20537 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20538 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20541 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20545 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20546 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20549 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20555 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>
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20560 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20563 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20569 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
20570 #include <resolv.h>
20573 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20576 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20582 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20586 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20589 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20595 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20596 #ifdef HAVE_SYS_SOCKETVAR_H
20597 #include <sys/socketvar.h>
20599 #ifdef HAVE_NETINET_IN_H
20600 #include <netinet/in.h>
20602 #ifdef HAVE_NETINET_IP_VAR_H
20603 #include <netinet/ip_var.h>
20606 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20609 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20615 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
20616 #include <netinet/ip_var.h>
20619 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20622 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20628 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20629 #ifdef HAVE_SYS_SOCKETVAR_H
20630 #include <sys/socketvar.h>
20632 #ifdef HAVE_NETINET_IN_H
20633 #include <netinet/in.h>
20635 #ifdef HAVE_NETINET6_IP6_VAR_H
20636 #include <netinet6/ip6_var.h>
20639 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20642 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20648 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20649 #ifdef HAVE_SYS_SOCKETVAR_H
20650 #include <sys/socketvar.h>
20652 #ifdef HAVE_NETINET_IN_H
20653 #include <netinet/in.h>
20655 #ifdef HAVE_NETINET_IP_H
20656 #include <netinet/ip.h>
20658 #ifdef HAVE_NETINET_IP_ICMP_H
20659 #include <netinet/ip_icmp.h>
20661 #ifdef HAVE_NETINET_ICMP_VAR_H
20662 #include <netinet/icmp_var.h>
20665 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20668 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20674 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20675 #ifdef HAVE_SYS_SOCKETVAR_H
20676 #include <sys/socketvar.h>
20678 #ifdef HAVE_NETINET_IN_H
20679 #include <netinet/in.h>
20681 #ifdef HAVE_NETINET_ICMP6_H
20682 #include <netinet/icmp6.h>
20685 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20688 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20694 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20695 #ifdef HAVE_SYS_SOCKETVAR_H
20696 #include <sys/socketvar.h>
20698 #ifdef HAVE_NETINET_IN_H
20699 #include <netinet/in.h>
20701 #ifdef HAVE_NETINET_TCP_H
20702 #include <netinet/tcp.h>
20704 #ifdef HAVE_NETINET_TCP_VAR_H
20705 #include <netinet/tcp_var.h>
20708 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20711 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20717 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
20718 #include <netinet/tcp_var.h>
20721 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20724 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20730 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20731 #ifdef HAVE_NETINET_IN_H
20732 #include <netinet/in.h>
20734 #ifdef HAVE_NETINET_IP_VAR_H
20735 #include <netinet/ip_var.h>
20737 #ifdef HAVE_NETINET_UDP_H
20738 #include <netinet/udp.h>
20740 #ifdef HAVE_NETINET_UDP_VAR_H
20741 #include <netinet/udp_var.h>
20744 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20747 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20753 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20754 #ifdef HAVE_NET_IF_H
20755 # include <net/if.h>
20758 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20761 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20767 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20768 # include <sys/sysinfo.h>
20771 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20774 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20778 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20779 # include <sys/sysinfo.h>
20782 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20785 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20791 LIBS
="$ac_save_LIBS"
20793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20794 printf %s
"checking for __builtin_popcount... " >&6; }
20795 if test ${ac_cv_have___builtin_popcount+y}
20797 printf %s
"(cached) " >&6
20799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20805 return __builtin_popcount(1)
20810 if ac_fn_c_try_link
"$LINENO"
20812 ac_cv_have___builtin_popcount
="yes"
20814 ac_cv_have___builtin_popcount
="no"
20816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20817 conftest
$ac_exeext conftest.
$ac_ext
20819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20820 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20821 if test "$ac_cv_have___builtin_popcount" = "yes"
20824 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20829 printf %s
"checking for __clear_cache... " >&6; }
20830 if test ${ac_cv_have___clear_cache+y}
20832 printf %s
"(cached) " >&6
20834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20840 __clear_cache((void*)0, (void*)0); return 0;
20845 if ac_fn_c_try_link
"$LINENO"
20847 ac_cv_have___clear_cache
="yes"
20849 ac_cv_have___clear_cache
="no"
20851 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20852 conftest
$ac_exeext conftest.
$ac_ext
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20855 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20856 if test "$ac_cv_have___clear_cache" = "yes"
20859 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20865 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20866 printf %s
"checking whether we need to define __i386__... " >&6; }
20867 if test ${ac_cv_cpp_def___i386__+y}
20869 printf %s
"(cached) " >&6
20871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev
/null
2>&1
20880 ac_cv_cpp_def___i386__
=yes
20882 ac_cv_cpp_def___i386__
=no
20887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20888 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20889 if test "x$ac_cv_cpp_def___i386__" = xyes
20891 CFLAGS
="$CFLAGS -D__i386__"
20892 LINTFLAGS
="$LINTFLAGS -D__i386__"
20894 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20895 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20896 if test ${ac_cv_cpp_def___x86_64__+y}
20898 printf %s
"(cached) " >&6
20900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev
/null
2>&1
20909 ac_cv_cpp_def___x86_64__
=yes
20911 ac_cv_cpp_def___x86_64__
=no
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20918 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20920 CFLAGS
="$CFLAGS -D__x86_64__"
20921 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20923 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20924 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20925 if test ${ac_cv_cpp_def___sparc64__+y}
20927 printf %s
"(cached) " >&6
20929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #ifndef __sparc64__
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev
/null
2>&1
20938 ac_cv_cpp_def___sparc64__
=yes
20940 ac_cv_cpp_def___sparc64__
=no
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20947 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20949 CFLAGS
="$CFLAGS -D__sparc64__"
20950 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20952 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20953 printf %s
"checking whether we need to define __sparc__... " >&6; }
20954 if test ${ac_cv_cpp_def___sparc__+y}
20956 printf %s
"(cached) " >&6
20958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20965 $EGREP "yes" >/dev
/null
2>&1
20967 ac_cv_cpp_def___sparc__
=yes
20969 ac_cv_cpp_def___sparc__
=no
20974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20975 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20976 if test "x$ac_cv_cpp_def___sparc__" = xyes
20978 CFLAGS
="$CFLAGS -D__sparc__"
20979 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20981 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20982 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20983 if test ${ac_cv_cpp_def___powerpc64__+y}
20985 printf %s
"(cached) " >&6
20987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #ifndef __powerpc64__
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev
/null
2>&1
20996 ac_cv_cpp_def___powerpc64__
=yes
20998 ac_cv_cpp_def___powerpc64__
=no
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21004 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21005 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21007 CFLAGS
="$CFLAGS -D__powerpc64__"
21008 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21010 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21011 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21012 if test ${ac_cv_cpp_def___powerpc__+y}
21014 printf %s
"(cached) " >&6
21016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #ifndef __powerpc__
21022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21023 $EGREP "yes" >/dev
/null
2>&1
21025 ac_cv_cpp_def___powerpc__
=yes
21027 ac_cv_cpp_def___powerpc__
=no
21032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21033 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21034 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21036 CFLAGS
="$CFLAGS -D__powerpc__"
21037 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21039 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21040 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21041 if test ${ac_cv_cpp_def___aarch64__+y}
21043 printf %s
"(cached) " >&6
21045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047 #ifndef __aarch64__
21051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21052 $EGREP "yes" >/dev
/null
2>&1
21054 ac_cv_cpp_def___aarch64__
=yes
21056 ac_cv_cpp_def___aarch64__
=no
21061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21062 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21063 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21065 CFLAGS
="$CFLAGS -D__aarch64__"
21066 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21068 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21069 printf %s
"checking whether we need to define __arm__... " >&6; }
21070 if test ${ac_cv_cpp_def___arm__+y}
21072 printf %s
"(cached) " >&6
21074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21081 $EGREP "yes" >/dev
/null
2>&1
21083 ac_cv_cpp_def___arm__
=yes
21085 ac_cv_cpp_def___arm__
=no
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21091 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21092 if test "x$ac_cv_cpp_def___arm__" = xyes
21094 CFLAGS
="$CFLAGS -D__arm__"
21095 LINTFLAGS
="$LINTFLAGS -D__arm__"
21099 case $host_vendor in
21100 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21101 printf %s
"checking whether we need to define __sun__... " >&6; }
21102 if test ${ac_cv_cpp_def___sun__+y}
21104 printf %s
"(cached) " >&6
21106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21113 $EGREP "yes" >/dev
/null
2>&1
21115 ac_cv_cpp_def___sun__
=yes
21117 ac_cv_cpp_def___sun__
=no
21122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21123 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21124 if test "x$ac_cv_cpp_def___sun__" = xyes
21126 CFLAGS
="$CFLAGS -D__sun__"
21127 LINTFLAGS
="$LINTFLAGS -D__sun__"
21135 ac_config_commands
="$ac_config_commands include/stamp-h"
21137 printf %s
"creating Makefile rules..." >&6
21140 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21143 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21145 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21146 wine_fn_config_symlink wine
21147 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21148 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21149 wine_fn_config_symlink wine64
21152 wine_fn_config_makefile dlls
/acledit enable_acledit
21153 wine_fn_config_makefile dlls
/aclui enable_aclui
21154 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21155 wine_fn_config_makefile dlls
/activeds enable_activeds
21156 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21157 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21158 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21159 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21160 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21161 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21162 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21163 wine_fn_config_makefile dlls
/advpack enable_advpack
21164 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21165 wine_fn_config_makefile dlls
/amsi enable_amsi
21166 wine_fn_config_makefile dlls
/amstream enable_amstream
21167 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21168 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21169 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21170 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21171 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21172 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21173 wine_fn_config_makefile dlls
/atl enable_atl
21174 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21175 wine_fn_config_makefile dlls
/atl100 enable_atl100
21176 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21177 wine_fn_config_makefile dlls
/atl110 enable_atl110
21178 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21179 wine_fn_config_makefile dlls
/atl80 enable_atl80
21180 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21181 wine_fn_config_makefile dlls
/atl90 enable_atl90
21182 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21183 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21184 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21185 wine_fn_config_makefile dlls
/authz enable_authz
21186 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21187 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21188 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21189 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21190 wine_fn_config_makefile dlls
/avrt enable_avrt
21191 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21192 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21193 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21194 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21195 wine_fn_config_makefile dlls
/browseui enable_browseui
21196 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21197 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21198 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21199 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21200 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21201 wine_fn_config_makefile dlls
/cards enable_cards
21202 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21203 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21204 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21205 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21206 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21207 wine_fn_config_makefile dlls
/combase enable_combase
21208 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21209 wine_fn_config_makefile dlls
/comcat enable_comcat
21210 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21211 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21212 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21213 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21214 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21215 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21216 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21217 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21218 wine_fn_config_makefile dlls
/compstui enable_compstui
21219 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21220 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21221 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21222 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21223 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21224 wine_fn_config_makefile dlls
/connect enable_connect
21225 wine_fn_config_makefile dlls
/credui enable_credui
21226 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21227 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21228 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21229 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21230 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21231 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21232 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21233 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21234 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21235 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21236 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21237 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21238 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21239 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21240 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21241 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21242 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21243 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21244 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21245 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21246 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21247 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21248 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21249 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21251 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21253 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21255 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21257 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21258 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21259 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21260 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21261 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21262 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21263 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21264 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21265 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21266 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21267 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21268 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21269 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21270 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21271 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21272 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21273 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21274 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21275 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21276 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21277 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21278 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21279 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21280 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21281 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21282 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21283 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21284 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21285 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21286 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21287 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21288 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21289 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21290 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21291 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21292 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21293 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21294 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21295 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21296 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21297 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21298 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21299 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21300 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21301 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21302 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21303 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21304 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21305 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21306 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21307 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21308 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21309 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21310 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21311 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21312 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21313 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21314 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21315 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21316 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21317 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21318 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21319 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21320 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21321 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21322 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21323 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21324 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21325 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21326 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21327 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21328 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21329 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21330 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21331 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21332 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21333 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21334 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21335 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21336 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21337 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21338 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21339 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21340 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21341 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21342 wine_fn_config_makefile dlls
/devenum enable_devenum
21343 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21344 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21345 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21346 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21347 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21348 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21349 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21350 wine_fn_config_makefile dlls
/dinput enable_dinput
21351 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21353 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21354 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21355 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21356 wine_fn_config_makefile dlls
/dispex enable_dispex
21357 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21358 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21359 wine_fn_config_makefile dlls
/dmband enable_dmband
21360 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21361 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21362 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21363 wine_fn_config_makefile dlls
/dmime enable_dmime
21364 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21365 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21366 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21367 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21368 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21369 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21370 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21371 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21372 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21373 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21374 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21375 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21376 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21377 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21378 wine_fn_config_makefile dlls
/dplay enable_dplay
21379 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21380 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21381 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21382 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21383 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21384 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21385 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21386 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21387 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21388 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21389 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21390 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21391 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21392 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21393 wine_fn_config_makefile dlls
/dsound enable_dsound
21394 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21395 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21396 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21397 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21398 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21399 wine_fn_config_makefile dlls
/dswave enable_dswave
21400 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21401 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21402 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21403 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21404 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21405 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21406 wine_fn_config_makefile dlls
/dxcore enable_dxcore
21407 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21408 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21409 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21410 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21412 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21413 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21414 wine_fn_config_makefile dlls
/esent enable_esent
21415 wine_fn_config_makefile dlls
/evr enable_evr
21416 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21417 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21418 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21419 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21420 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21421 wine_fn_config_makefile dlls
/feclient enable_feclient
21422 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21423 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21424 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21425 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21426 wine_fn_config_makefile dlls
/fusion enable_fusion
21427 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21428 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21429 wine_fn_config_makefile dlls
/gameux enable_gameux
21430 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21431 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21432 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21433 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21434 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21435 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21436 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21437 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21438 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21439 wine_fn_config_makefile dlls
/glu32 enable_glu32
21440 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21441 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21442 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21443 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21444 wine_fn_config_makefile dlls
/hal enable_hal
21445 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21446 wine_fn_config_makefile dlls
/hid enable_hid
21447 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21448 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21449 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21450 wine_fn_config_makefile dlls
/hlink enable_hlink
21451 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21452 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21453 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21454 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21455 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21456 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21457 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21458 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21459 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21460 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21461 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21462 wine_fn_config_makefile dlls
/icmp enable_icmp
21463 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21464 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21465 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21466 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21467 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21468 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21469 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21470 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21471 wine_fn_config_makefile dlls
/imm32 enable_imm32
21472 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21473 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21474 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21475 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21476 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21477 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21478 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21479 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21480 wine_fn_config_makefile dlls
/initpki enable_initpki
21481 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21482 wine_fn_config_makefile dlls
/inseng enable_inseng
21483 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21484 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21485 wine_fn_config_makefile dlls
/iprop enable_iprop
21486 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21487 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21488 wine_fn_config_makefile dlls
/itircl enable_itircl
21489 wine_fn_config_makefile dlls
/itss enable_itss
21490 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21491 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21492 wine_fn_config_makefile dlls
/jscript enable_jscript
21493 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21494 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21495 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21496 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21497 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21498 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21499 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21500 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21501 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21502 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21503 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21504 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21505 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21506 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21507 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21508 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21509 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21510 wine_fn_config_makefile dlls
/localspl enable_localspl
21511 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21512 wine_fn_config_makefile dlls
/localui enable_localui
21513 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21514 wine_fn_config_makefile dlls
/lz32 enable_lz32
21515 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21516 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21517 wine_fn_config_makefile dlls
/magnification enable_magnification
21518 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21519 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21520 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21521 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21522 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21523 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21524 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21525 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21526 wine_fn_config_makefile dlls
/mf enable_mf
21527 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21528 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21529 wine_fn_config_makefile dlls
/mferror enable_mferror
21530 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21531 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21532 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21533 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21534 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21535 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21536 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21537 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21538 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21539 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21540 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21541 wine_fn_config_makefile dlls
/midimap enable_midimap
21542 wine_fn_config_makefile dlls
/mlang enable_mlang
21543 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21544 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21545 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21546 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21547 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21548 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21549 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21550 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21551 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21552 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21553 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21554 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21555 wine_fn_config_makefile dlls
/mpr enable_mpr
21556 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21557 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21558 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21559 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21560 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21561 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21562 wine_fn_config_makefile dlls
/msado15 enable_msado15
21563 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21564 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21565 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21566 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21567 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21568 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21569 wine_fn_config_makefile dlls
/mscms enable_mscms
21570 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21571 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21572 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21573 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21574 wine_fn_config_makefile dlls
/msctf enable_msctf
21575 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21576 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21577 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21578 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21579 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21580 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21581 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21582 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21583 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21584 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21585 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21586 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21587 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21588 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21589 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21590 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21591 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msi enable_msi
21593 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21594 wine_fn_config_makefile dlls
/msident enable_msident
21595 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21596 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21597 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21598 wine_fn_config_makefile dlls
/msisip enable_msisip
21599 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21600 wine_fn_config_makefile dlls
/msls31 enable_msls31
21601 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21602 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21603 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21604 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21605 wine_fn_config_makefile dlls
/msports enable_msports
21606 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21607 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21608 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21609 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21610 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21611 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21612 wine_fn_config_makefile dlls
/mstask enable_mstask
21613 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21614 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
21615 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21616 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21617 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21618 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21619 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21620 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21621 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21622 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21623 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21625 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21626 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21627 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21628 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21629 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21630 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21631 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21632 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21633 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21634 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21635 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21636 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21637 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21638 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21639 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21640 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21641 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21642 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21643 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21644 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21645 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21646 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21647 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21648 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21650 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21651 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21653 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21655 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21656 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21657 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21658 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21659 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21660 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21661 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21662 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21663 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21664 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21665 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21666 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21667 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21668 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21669 wine_fn_config_makefile dlls
/msxml enable_msxml
21670 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21671 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21672 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21673 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21674 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
21675 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21676 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
21677 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21678 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21679 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21680 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21681 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21682 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21683 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21684 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21685 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21686 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21687 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21688 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21689 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21690 wine_fn_config_makefile dlls
/netutils enable_netutils
21691 wine_fn_config_makefile dlls
/newdev enable_newdev
21692 wine_fn_config_makefile dlls
/ninput enable_ninput
21693 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21694 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21695 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21696 wine_fn_config_makefile dlls
/npptools enable_npptools
21697 wine_fn_config_makefile dlls
/nsi enable_nsi
21698 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21699 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21700 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21701 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21702 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21703 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21704 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21705 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21706 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21707 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21708 wine_fn_config_makefile dlls
/objsel enable_objsel
21709 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21710 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21711 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21712 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21713 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21714 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21715 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21716 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21717 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21718 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21719 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21720 wine_fn_config_makefile dlls
/ole32 enable_ole32
21721 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21722 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21723 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21724 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21725 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21726 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21727 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21728 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21729 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21730 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21731 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21732 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21733 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21734 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21735 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21736 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21737 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21738 wine_fn_config_makefile dlls
/opencl enable_opencl
21739 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21740 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21741 wine_fn_config_makefile dlls
/packager enable_packager
21742 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21743 wine_fn_config_makefile dlls
/pdh enable_pdh
21744 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21745 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21746 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21747 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21748 wine_fn_config_makefile dlls
/printui enable_printui
21749 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21750 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21751 wine_fn_config_makefile dlls
/propsys enable_propsys
21752 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21753 wine_fn_config_makefile dlls
/psapi enable_psapi
21754 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21755 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21756 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21757 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21758 wine_fn_config_makefile dlls
/qasf enable_qasf
21759 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21760 wine_fn_config_makefile dlls
/qcap enable_qcap
21761 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21762 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21763 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21764 wine_fn_config_makefile dlls
/qedit enable_qedit
21765 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21766 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21767 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21768 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21769 wine_fn_config_makefile dlls
/quartz enable_quartz
21770 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21771 wine_fn_config_makefile dlls
/query enable_query
21772 wine_fn_config_makefile dlls
/qwave enable_qwave
21773 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21774 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21776 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21777 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21778 wine_fn_config_makefile dlls
/regapi enable_regapi
21779 wine_fn_config_makefile dlls
/resutils enable_resutils
21780 wine_fn_config_makefile dlls
/riched20 enable_riched20
21781 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21782 wine_fn_config_makefile dlls
/riched32 enable_riched32
21783 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21784 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21785 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21786 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21787 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21788 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21789 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21790 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21791 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21792 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21793 wine_fn_config_makefile dlls
/samlib enable_samlib
21794 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21795 wine_fn_config_makefile dlls
/sapi enable_sapi
21796 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21797 wine_fn_config_makefile dlls
/sas enable_sas
21798 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21799 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21800 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21801 wine_fn_config_makefile dlls
/schannel enable_schannel
21802 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21803 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21804 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21805 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21806 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21807 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21808 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21809 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21810 wine_fn_config_makefile dlls
/sechost enable_sechost
21811 wine_fn_config_makefile dlls
/secur32 enable_secur32
21812 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21813 wine_fn_config_makefile dlls
/security enable_security
21814 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21815 wine_fn_config_makefile dlls
/serialui enable_serialui
21816 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21817 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21818 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21819 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21820 wine_fn_config_makefile dlls
/sfc enable_sfc
21821 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21822 wine_fn_config_makefile dlls
/shcore enable_shcore
21823 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21824 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21825 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21826 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21827 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21828 wine_fn_config_makefile dlls
/shell32 enable_shell32
21829 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21830 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21831 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21832 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21833 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21834 wine_fn_config_makefile dlls
/slc enable_slc
21835 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21836 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21837 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21838 wine_fn_config_makefile dlls
/softpub enable_softpub
21839 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21840 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21841 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21842 wine_fn_config_makefile dlls
/sppc enable_sppc
21843 wine_fn_config_makefile dlls
/srclient enable_srclient
21844 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21845 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
21846 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21847 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21848 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21849 wine_fn_config_makefile dlls
/sti enable_sti
21850 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21851 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21852 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21853 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21854 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21855 wine_fn_config_makefile dlls
/sxs enable_sxs
21856 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21857 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21858 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21859 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21860 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21861 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21862 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21863 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21864 wine_fn_config_makefile dlls
/tbs enable_tbs
21865 wine_fn_config_makefile dlls
/tdh enable_tdh
21866 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21867 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21868 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21869 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/traffic enable_traffic
21871 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21873 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21874 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21875 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21876 wine_fn_config_makefile dlls
/tzres enable_tzres
21877 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21878 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21879 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21880 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21881 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21882 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21883 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21884 wine_fn_config_makefile dlls
/unicows enable_unicows
21885 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21886 wine_fn_config_makefile dlls
/url enable_url
21887 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21888 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21889 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21890 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21891 wine_fn_config_makefile dlls
/user32 enable_user32
21892 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21893 wine_fn_config_makefile dlls
/userenv enable_userenv
21894 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21895 wine_fn_config_makefile dlls
/usp10 enable_usp10
21896 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21897 wine_fn_config_makefile dlls
/utildll enable_utildll
21898 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21899 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21900 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21901 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21902 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21903 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21904 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21905 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21906 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21907 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21908 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21909 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21910 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21911 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21912 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21913 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21914 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21915 wine_fn_config_makefile dlls
/version enable_version
21916 wine_fn_config_makefile dlls
/version
/tests enable_tests
21917 wine_fn_config_makefile dlls
/vga enable_vga
21918 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21919 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21920 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21921 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21922 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21923 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21924 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21925 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21926 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21927 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21928 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21929 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21930 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21931 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21932 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21933 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21934 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21935 wine_fn_config_makefile dlls
/webservices enable_webservices
21936 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21937 wine_fn_config_makefile dlls
/websocket enable_websocket
21938 wine_fn_config_makefile dlls
/wer enable_wer
21939 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21940 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21941 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21942 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21943 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21944 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21945 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21946 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21947 wine_fn_config_makefile dlls
/win32u enable_win32u
21948 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21949 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21950 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21951 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21952 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
21953 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
21954 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21955 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21956 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21957 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21958 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21959 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21960 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21961 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21962 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21963 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21964 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21965 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21966 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21967 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21968 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
21969 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
21970 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21971 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21972 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21973 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21974 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21975 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21976 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21977 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21978 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21979 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
21980 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
21981 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
21982 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
21983 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21984 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21985 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21986 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21987 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21988 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21989 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21990 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21991 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21992 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21993 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21994 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21995 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21996 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21997 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21998 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21999 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22000 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22001 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22002 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22003 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22004 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22005 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22006 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22007 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22008 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22009 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22010 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22011 wine_fn_config_makefile dlls
/wing32 enable_wing32
22012 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22013 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22014 wine_fn_config_makefile dlls
/wininet enable_wininet
22015 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22016 wine_fn_config_makefile dlls
/winmm enable_winmm
22017 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22018 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22019 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22020 wine_fn_config_makefile dlls
/winprint enable_winprint
22021 wine_fn_config_makefile dlls
/winscard enable_winscard
22022 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22023 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22024 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22025 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22026 wine_fn_config_makefile dlls
/winsta enable_winsta
22027 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22028 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22029 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22031 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22032 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22033 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22034 wine_fn_config_makefile dlls
/winusb enable_winusb
22035 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22036 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22037 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22038 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22039 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22040 wine_fn_config_makefile dlls
/wldp enable_wldp
22041 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22042 wine_fn_config_makefile dlls
/wmi enable_wmi
22043 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22044 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22045 wine_fn_config_makefile dlls
/wmp enable_wmp
22046 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22047 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22048 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22049 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22050 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22051 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22052 wine_fn_config_makefile dlls
/wow32 enable_win16
22053 wine_fn_config_makefile dlls
/wow64 enable_wow64
22054 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22055 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22056 wine_fn_config_makefile dlls
/wpc enable_wpc
22057 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22058 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22059 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22060 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22061 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22062 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22063 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22064 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22065 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22066 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22067 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22068 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22069 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22070 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22071 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22072 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22073 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22074 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22075 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22076 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22077 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22078 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22079 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22080 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22081 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22082 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22083 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22084 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22085 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22086 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22087 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22088 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22089 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22090 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22091 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22092 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22093 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22094 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22095 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22096 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22097 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22098 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22099 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22100 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22101 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22102 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22103 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22104 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22105 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22106 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22107 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22108 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22109 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22110 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22111 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22112 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22113 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22114 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22115 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22116 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22117 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22118 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22119 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22120 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22121 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22122 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22123 wine_fn_config_makefile fonts enable_fonts
22124 wine_fn_config_makefile include enable_include
22125 wine_fn_config_makefile libs
/adsiid enable_adsiid
22126 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22127 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22128 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22129 wine_fn_config_makefile libs
/dxguid enable_dxguid
22130 wine_fn_config_makefile libs
/faudio enable_faudio
22131 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22132 wine_fn_config_makefile libs
/gsm enable_gsm
22133 wine_fn_config_makefile libs
/jpeg enable_jpeg
22134 wine_fn_config_makefile libs
/jxr enable_jxr
22135 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22136 wine_fn_config_makefile libs
/ldap enable_ldap
22137 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22138 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22139 wine_fn_config_makefile libs
/musl enable_musl
22140 wine_fn_config_makefile libs
/png enable_png
22141 wine_fn_config_makefile libs
/strmbase enable_strmbase
22142 wine_fn_config_makefile libs
/strmiids enable_strmiids
22143 wine_fn_config_makefile libs
/tiff enable_tiff
22144 wine_fn_config_makefile libs
/uuid enable_uuid
22145 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22146 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22147 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22148 wine_fn_config_makefile libs
/xml2 enable_xml2
22149 wine_fn_config_makefile libs
/xslt enable_xslt
22150 wine_fn_config_makefile libs
/zlib enable_zlib
22151 wine_fn_config_makefile libs
/zydis enable_zydis
22152 wine_fn_config_makefile loader enable_loader
22153 wine_fn_config_makefile nls enable_nls
22154 wine_fn_config_makefile po enable_po
22155 wine_fn_config_makefile programs
/arp enable_arp
22156 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22157 wine_fn_config_makefile programs
/attrib enable_attrib
22158 wine_fn_config_makefile programs
/cabarc enable_cabarc
22159 wine_fn_config_makefile programs
/cacls enable_cacls
22160 wine_fn_config_makefile programs
/certutil enable_certutil
22161 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22162 wine_fn_config_makefile programs
/clock enable_clock
22163 wine_fn_config_makefile programs
/cmd enable_cmd
22164 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22165 wine_fn_config_makefile programs
/conhost enable_conhost
22166 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22167 wine_fn_config_makefile programs
/control enable_control
22168 wine_fn_config_makefile programs
/cscript enable_cscript
22169 wine_fn_config_makefile programs
/dism enable_dism
22170 wine_fn_config_makefile programs
/dllhost enable_dllhost
22171 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22172 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22173 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22174 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22175 wine_fn_config_makefile programs
/eject enable_eject
22176 wine_fn_config_makefile programs
/expand enable_expand
22177 wine_fn_config_makefile programs
/explorer enable_explorer
22178 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22179 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22180 wine_fn_config_makefile programs
/fc enable_fc
22181 wine_fn_config_makefile programs
/find enable_find
22182 wine_fn_config_makefile programs
/find
/tests enable_tests
22183 wine_fn_config_makefile programs
/findstr enable_findstr
22184 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22185 wine_fn_config_makefile programs
/fsutil enable_fsutil
22186 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22187 wine_fn_config_makefile programs
/hh enable_hh
22188 wine_fn_config_makefile programs
/hostname enable_hostname
22189 wine_fn_config_makefile programs
/icacls enable_icacls
22190 wine_fn_config_makefile programs
/icinfo enable_icinfo
22191 wine_fn_config_makefile programs
/iexplore enable_iexplore
22192 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22193 wine_fn_config_makefile programs
/klist enable_klist
22194 wine_fn_config_makefile programs
/lodctr enable_lodctr
22195 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22196 wine_fn_config_makefile programs
/mshta enable_mshta
22197 wine_fn_config_makefile programs
/msidb enable_msidb
22198 wine_fn_config_makefile programs
/msiexec enable_msiexec
22199 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22200 wine_fn_config_makefile programs
/net enable_net
22201 wine_fn_config_makefile programs
/netsh enable_netsh
22202 wine_fn_config_makefile programs
/netstat enable_netstat
22203 wine_fn_config_makefile programs
/ngen enable_ngen
22204 wine_fn_config_makefile programs
/notepad enable_notepad
22205 wine_fn_config_makefile programs
/oleview enable_oleview
22206 wine_fn_config_makefile programs
/ping enable_ping
22207 wine_fn_config_makefile programs
/plugplay enable_plugplay
22208 wine_fn_config_makefile programs
/pnputil enable_pnputil
22209 wine_fn_config_makefile programs
/powershell enable_powershell
22210 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22211 wine_fn_config_makefile programs
/progman enable_progman
22212 wine_fn_config_makefile programs
/reg enable_reg
22213 wine_fn_config_makefile programs
/reg
/tests enable_tests
22214 wine_fn_config_makefile programs
/regasm enable_regasm
22215 wine_fn_config_makefile programs
/regedit enable_regedit
22216 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22217 wine_fn_config_makefile programs
/regini enable_regini
22218 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22219 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22220 wine_fn_config_makefile programs
/robocopy enable_robocopy
22221 wine_fn_config_makefile programs
/rpcss enable_rpcss
22222 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22223 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22224 wine_fn_config_makefile programs
/sc enable_sc
22225 wine_fn_config_makefile programs
/sc
/tests enable_tests
22226 wine_fn_config_makefile programs
/schtasks enable_schtasks
22227 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22228 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22229 wine_fn_config_makefile programs
/secedit enable_secedit
22230 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22231 wine_fn_config_makefile programs
/services enable_services
22232 wine_fn_config_makefile programs
/services
/tests enable_tests
22233 wine_fn_config_makefile programs
/setx enable_setx
22234 wine_fn_config_makefile programs
/shutdown enable_shutdown
22235 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22236 wine_fn_config_makefile programs
/start enable_start
22237 wine_fn_config_makefile programs
/subst enable_subst
22238 wine_fn_config_makefile programs
/svchost enable_svchost
22239 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22240 wine_fn_config_makefile programs
/taskkill enable_taskkill
22241 wine_fn_config_makefile programs
/tasklist enable_tasklist
22242 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22243 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22244 wine_fn_config_makefile programs
/termsv enable_termsv
22245 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22246 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22247 wine_fn_config_makefile programs
/view enable_view
22248 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22249 wine_fn_config_makefile programs
/where enable_where
22250 wine_fn_config_makefile programs
/whoami enable_whoami
22251 wine_fn_config_makefile programs
/wineboot enable_wineboot
22252 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22253 wine_fn_config_makefile programs
/winecfg enable_winecfg
22254 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22255 wine_fn_config_makefile programs
/winedbg enable_winedbg
22256 wine_fn_config_makefile programs
/winedevice enable_winedevice
22257 wine_fn_config_makefile programs
/winefile enable_winefile
22258 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22259 wine_fn_config_makefile programs
/winemine enable_winemine
22260 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22261 wine_fn_config_makefile programs
/winepath enable_winepath
22262 wine_fn_config_makefile programs
/winetest enable_winetest
22263 wine_fn_config_makefile programs
/winevdm enable_win16
22264 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22265 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22266 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22267 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22268 wine_fn_config_makefile programs
/winver enable_winver
22269 wine_fn_config_makefile programs
/wmic enable_wmic
22270 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22271 wine_fn_config_makefile programs
/wordpad enable_wordpad
22272 wine_fn_config_makefile programs
/write enable_write
22273 wine_fn_config_makefile programs
/wscript enable_wscript
22274 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22275 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22276 wine_fn_config_makefile programs
/wusa enable_wusa
22277 wine_fn_config_makefile programs
/xcopy enable_xcopy
22278 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22279 wine_fn_config_makefile server enable_server
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22287 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22288 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22291 as_fn_append CONFIGURE_TARGETS
" TAGS"
22292 as_fn_append CONFIGURE_TARGETS
" tags"
22293 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22294 as_fn_append CONFIGURE_TARGETS
" config.log"
22295 as_fn_append CONFIGURE_TARGETS
" config.status"
22296 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22297 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22298 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22300 if test "x$enable_tools" != xno
22302 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22303 ac_config_commands
="$ac_config_commands tools/makedep"
22307 ac_config_commands
="$ac_config_commands Makefile"
22314 as_fn_append wine_rules
"
22316 @echo \"Wine build complete.\"
22320 Makefile: config.status \$(MAKEDEP)
22321 @./config.status Makefile
22322 depend: \$(MAKEDEP)
22323 \$(MAKEDEP)$makedep_flags"
22326 as_fn_append wine_rules
"
22327 config.status: ${wine_srcdir}configure
22328 @./config.status --recheck
22329 include/config.h: include/stamp-h
22330 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22331 @./config.status include/config.h include/stamp-h"
22333 if test "x$enable_maintainer_mode" = xyes
22335 as_fn_append wine_rules
"
22336 configure: configure.ac aclocal.m4
22337 autoconf --warnings=all
22338 include/config.h.in: include/stamp-h.in
22339 include/stamp-h.in: configure.ac aclocal.m4
22340 autoheader --warnings=all
22341 @echo timestamp > \$@"
22344 if test "x$enable_tools" != xno
22346 as_fn_append wine_rules
"
22347 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22348 @./config.status tools/makedep
22349 Makefile: tools/makedep$ac_exeext"
22351 as_fn_append wine_rules
"
22353 @echo \"You need to run make in $toolsdir first\" && false"
22357 if test -n "$with_wine64"
22359 case "$with_wine64" in
22363 rm -f fonts server
2>/dev
/null
22364 as_fn_append wine_rules
"
22365 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22366 loader/wine64 loader/wine64-preloader:
22367 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22368 $with_wine64/loader/wine:
22369 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22370 $with_wine64/loader/wine-preloader:
22371 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22373 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22375 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22376 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22380 programs/msidb/msidb \
22381 programs/msiexec/msiexec \
22382 programs/notepad/notepad \
22383 programs/regedit/regedit \
22384 programs/regsvr32/regsvr32 \
22385 programs/wineboot/wineboot \
22386 programs/winecfg/winecfg \
22387 programs/wineconsole/wineconsole \
22388 programs/winedbg/winedbg \
22389 programs/winefile/winefile \
22390 programs/winemine/winemine \
22391 programs/winepath/winepath \
22395 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22396 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22401 as_fn_append wine_rules
"
22403 rm -rf autom4te.cache
22405 rm -f configure include/config.h.in"
22408 as_fn_append wine_rules
"
22409 dlls/ntdll/unix/version.c: dummy
22410 @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)
22411 programs/winetest/build.rc: dummy
22412 @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)
22413 programs/winetest/build.nfo:
22415 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
22416 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22417 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22420 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22422 as_fn_append wine_rules
"
22425 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22428 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22430 .PHONY: depend dummy install-manpages"
22432 printf "%s\n" " done" >&6
22433 cat >confcache
<<\_ACEOF
22434 # This file is a shell script that caches the results of configure
22435 # tests run on this system so they can be shared between configure
22436 # scripts and configure runs, see configure's option --config-cache.
22437 # It is not useful on other systems. If it contains results you don't
22438 # want to keep, you may remove or edit it.
22440 # config.status only pays attention to the cache file if you give it
22441 # the --recheck option to rerun configure.
22443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22445 # following values.
22449 # The following way of writing the cache mishandles newlines in values,
22450 # but we know of no workaround that is simple, portable, and efficient.
22451 # So, we kill variables containing newlines.
22452 # Ultrix sh set writes to stderr and can't be redirected directly,
22453 # and sets the high bit in the cache file unless we assign to the vars.
22455 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22456 eval ac_val
=\$
$ac_var
22460 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22461 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22464 _ | IFS | as_nl
) ;; #(
22465 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22466 *) { eval $ac_var=; unset $ac_var;} ;;
22472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22473 *${as_nl}ac_space
=\
*)
22474 # `set' does not quote correctly, so add quotes: double-quote
22475 # substitution turns \\\\ into \\, and sed turns \\ into \.
22478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22481 # `set' quotes correctly as required by POSIX, so do not add quotes.
22482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22491 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22495 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22496 if test -w "$cache_file"; then
22497 if test "x$cache_file" != "x/dev/null"; then
22498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22499 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22500 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22501 cat confcache
>"$cache_file"
22503 case $cache_file in #(
22505 mv -f confcache
"$cache_file"$$
&&
22506 mv -f "$cache_file"$$
"$cache_file" ;; #(
22508 mv -f confcache
"$cache_file" ;;
22513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22514 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22519 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22520 # Let make expand exec_prefix.
22521 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22523 DEFS
=-DHAVE_CONFIG_H
22528 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22529 # 1. Remove the extension, and $U if already installed.
22530 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22531 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22533 # will be set to the directory where LIBOBJS objects are built.
22534 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22535 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22537 LIBOBJS
=$ac_libobjs
22539 LTLIBOBJS
=$ac_ltlibobjs
22543 : "${CONFIG_STATUS=./config.status}"
22545 ac_clean_files_save
=$ac_clean_files
22546 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22548 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22552 # Generated by $as_me.
22553 # Run this file to recreate the current configuration.
22554 # Compiler output produced by configure, useful for debugging
22555 # configure, is in config.log if it exists.
22558 ac_cs_recheck=false
22561 SHELL=\${CONFIG_SHELL-$SHELL}
22564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22565 ## -------------------- ##
22566 ## M4sh Initialization. ##
22567 ## -------------------- ##
22569 # Be more Bourne compatible
22570 DUALCASE
=1; export DUALCASE
# for MKS sh
22572 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22576 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22577 # is contrary to our usage. Disable this feature.
22578 alias -g '${1+"$@"}'='"$@"'
22579 setopt NO_GLOB_SUBST
22581 case `(set -o) 2>/dev/null` in #(
22591 # Reset variables that may have inherited troublesome values from
22594 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22595 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22596 # side effect of setting IFS to empty, thus disabling word splitting.)
22597 # Quoting is to prevent editors from complaining about space-tab.
22607 # Ensure predictable behavior from utilities with locale-dependent output.
22613 # We cannot yet rely on "unset" to work, but we need these variables
22614 # to be unset--not just set to an empty or harmless value--now, to
22615 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22616 # also avoids known problems related to "unset" and subshell syntax
22617 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22618 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22619 do eval test \
${$as_var+y} \
22620 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22623 # Ensure that fds 0, 1, and 2 are open.
22624 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22625 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22626 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22628 # The user is always right.
22629 if ${PATH_SEPARATOR+false} :; then
22631 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22632 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22638 # Find who we are. Look in the path if we contain no directory separator.
22641 *[\\/]* ) as_myself
=$0 ;;
22642 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22643 for as_dir
in $PATH
22646 case $as_dir in #(((
22649 *) as_dir
=$as_dir/ ;;
22651 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22657 # We did not find ourselves, most probably we were run as `sh COMMAND'
22658 # in which case we are not to be found in the path.
22659 if test "x$as_myself" = x
; then
22662 if test ! -f "$as_myself"; then
22663 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22669 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22670 # ----------------------------------------
22671 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22672 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22673 # script with STATUS, using 1 if that was 0.
22676 as_status
=$1; test $as_status -eq 0 && as_status
=1
22678 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22681 printf "%s\n" "$as_me: error: $2" >&2
22682 as_fn_exit
$as_status
22687 # as_fn_set_status STATUS
22688 # -----------------------
22689 # Set $? to STATUS, without forking.
22690 as_fn_set_status
()
22693 } # as_fn_set_status
22695 # as_fn_exit STATUS
22696 # -----------------
22697 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22701 as_fn_set_status
$1
22707 # Portably unset VAR.
22710 { eval $1=; unset $1;}
22712 as_unset
=as_fn_unset
22714 # as_fn_append VAR VALUE
22715 # ----------------------
22716 # Append the text in VALUE to the end of the definition contained in VAR. Take
22717 # advantage of any shell optimizations that allow amortized linear growth over
22718 # repeated appends, instead of the typical quadratic growth present in naive
22720 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22722 eval 'as_fn_append ()
22733 # as_fn_arith ARG...
22734 # ------------------
22735 # Perform arithmetic evaluation on the ARGs, and store the result in the
22736 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22737 # must be portable across $(()) and expr.
22738 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22740 eval 'as_fn_arith ()
22747 as_val
=`expr "$@" || test $? -eq 1`
22752 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22753 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22759 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22760 as_basename
=basename
22765 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22771 as_me
=`$as_basename -- "$0" ||
22772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22773 X"$0" : 'X\(//\)$' \| \
22774 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22775 printf "%s\n" X/"$0" |
22776 sed '/^.*\/\([^/][^/]*\)\/*$/{
22790 # Avoid depending upon Character Ranges.
22791 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22792 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22793 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22794 as_cr_digits
='0123456789'
22795 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22798 # Determine whether it's possible to make 'echo' print without a newline.
22799 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22800 # for compatibility with existing Makefiles.
22801 ECHO_C
= ECHO_N
= ECHO_T
=
22802 case `echo -n x` in #(((((
22804 case `echo 'xy\c'` in
22805 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22807 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22814 # For backward compatibility with old third-party macros, we provide
22815 # the shell variables $as_echo and $as_echo_n. New code should use
22816 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22817 as_echo
='printf %s\n'
22818 as_echo_n
='printf %s'
22820 rm -f conf$$ conf$$.exe conf$$.
file
22821 if test -d conf$$.dir
; then
22822 rm -f conf$$.dir
/conf$$.
file
22825 mkdir conf$$.dir
2>/dev
/null
22827 if (echo >conf$$.
file) 2>/dev
/null
; then
22828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22830 # ... but there are two gotchas:
22831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22833 # In both cases, we have to default to `cp -pR'.
22834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22845 rmdir conf$$.dir
2>/dev
/null
22850 # Create "$as_dir" as a directory, including parents if necessary.
22855 -*) as_dir
=.
/$as_dir;;
22857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22861 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22862 *) as_qdir
=$as_dir;;
22864 as_dirs
="'$as_qdir' $as_dirs"
22865 as_dir
=`$as_dirname -- "$as_dir" ||
22866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22867 X"$as_dir" : 'X\(//\)[^/]' \| \
22868 X"$as_dir" : 'X\(//\)$' \| \
22869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22870 printf "%s\n" X"$as_dir" |
22871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22875 /^X\(\/\/\)[^/].*/{
22888 test -d "$as_dir" && break
22890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22891 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22895 if mkdir
-p .
2>/dev
/null
; then
22896 as_mkdir_p
='mkdir -p "$as_dir"'
22898 test -d .
/-p && rmdir .
/-p
22903 # as_fn_executable_p FILE
22904 # -----------------------
22905 # Test if FILE is an executable regular file.
22906 as_fn_executable_p
()
22908 test -f "$1" && test -x "$1"
22909 } # as_fn_executable_p
22910 as_test_x
='test -x'
22911 as_executable_p
=as_fn_executable_p
22913 # Sed expression to map a string onto a valid CPP name.
22914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22916 # Sed expression to map a string onto a valid variable name.
22917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22921 ## ----------------------------------- ##
22922 ## Main body of $CONFIG_STATUS script. ##
22923 ## ----------------------------------- ##
22925 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22928 # Save the log message, to keep $0 and so on meaningful, and to
22929 # report actual input values of CONFIG_FILES etc. instead of their
22930 # values after options handling.
22932 This file was extended by Wine $as_me 8.19, which was
22933 generated by GNU Autoconf 2.71. Invocation command line was
22935 CONFIG_FILES = $CONFIG_FILES
22936 CONFIG_HEADERS = $CONFIG_HEADERS
22937 CONFIG_LINKS = $CONFIG_LINKS
22938 CONFIG_COMMANDS = $CONFIG_COMMANDS
22941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22947 case $ac_config_headers in *"
22948 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22953 # Files that config.status was made for.
22954 config_headers="$ac_config_headers"
22955 config_links="$ac_config_links"
22956 config_commands="$ac_config_commands"
22960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22962 \`$as_me' instantiates files and other configuration actions
22963 from templates according to the current configuration. Unless the files
22964 and actions are specified as TAGs, all are instantiated by default.
22966 Usage: $0 [OPTION]... [TAG]...
22968 -h, --help print this help, then exit
22969 -V, --version print version number and configuration settings, then exit
22970 --config print configuration, then exit
22971 -q, --quiet, --silent
22972 do not print progress messages
22973 -d, --debug don't remove temporary files
22974 --recheck update $as_me by reconfiguring in the same conditions
22975 --header=FILE[:TEMPLATE]
22976 instantiate the configuration header FILE
22978 Configuration headers:
22981 Configuration links:
22984 Configuration commands:
22987 Report bugs to <wine-devel@winehq.org>.
22988 Wine home page: <https://www.winehq.org>."
22991 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22992 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22994 ac_cs_config='$ac_cs_config_escaped'
22996 Wine config.status 8.19
22997 configured by $0, generated by GNU Autoconf 2.71,
22998 with options \\"\$ac_cs_config\\"
23000 Copyright (C) 2021 Free Software Foundation, Inc.
23001 This config.status script is free software; the Free Software Foundation
23002 gives unlimited permission to copy, distribute and modify it."
23006 test -n "\$AWK" || AWK=awk
23009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23010 # The default lists apply if the user does not specify any file.
23016 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23017 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23021 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23033 # Handling of the options.
23034 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23036 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23037 printf "%s\n" "$ac_cs_version"; exit ;;
23038 --config |
--confi |
--conf |
--con |
--co |
--c )
23039 printf "%s\n" "$ac_cs_config"; exit ;;
23040 --debug |
--debu |
--deb |
--de |
--d |
-d )
23042 --header |
--heade |
--head |
--hea )
23045 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23047 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23048 ac_need_defaults
=false
;;
23050 # Conflict between --help and --header
23051 as_fn_error $?
"ambiguous option: \`$1'
23052 Try \`$0 --help' for more information.";;
23053 --help |
--hel |
-h )
23054 printf "%s\n" "$ac_cs_usage"; exit ;;
23055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23056 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23059 # This is an error.
23060 -*) as_fn_error $?
"unrecognized option: \`$1'
23061 Try \`$0 --help' for more information." ;;
23063 *) as_fn_append ac_config_targets
" $1"
23064 ac_need_defaults
=false
;;
23070 ac_configure_extra_args
=
23072 if $ac_cs_silent; then
23074 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23079 if \$ac_cs_recheck; then
23080 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23082 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23083 CONFIG_SHELL='$SHELL'
23084 export CONFIG_SHELL
23089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23093 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23094 ## Running $as_me. ##
23096 printf "%s\n" "$ac_log"
23100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23104 wine_fn_output_makedep ()
23106 as_dir=tools; as_fn_mkdir_p
23107 $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
23109 wine_fn_output_makefile ()
23111 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23112 # This Makefile understands the following targets:
23114 # all (default): build wine
23115 # clean: remove all intermediate files
23116 # distclean: also remove all files created by configure
23118 # testclean: clean test results to force running all tests again
23119 # install-lib: install libraries needed to run applications
23120 # install-dev: install development environment
23121 # install: install everything
23122 # uninstall: uninstall everything
23123 # ctags: create a tags file for vim and others.
23124 # etags: create a TAGS file for Emacs.
23127 PATH_SEPARATOR = $PATH_SEPARATOR
23128 PACKAGE_NAME = $PACKAGE_NAME
23129 PACKAGE_TARNAME = $PACKAGE_TARNAME
23130 PACKAGE_VERSION = $PACKAGE_VERSION
23131 PACKAGE_STRING = $PACKAGE_STRING
23132 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23133 PACKAGE_URL = $PACKAGE_URL
23134 exec_prefix = $exec_prefix
23136 program_transform_name = $program_transform_name
23139 libexecdir = $libexecdir
23140 datarootdir = $datarootdir
23142 sysconfdir = $sysconfdir
23143 sharedstatedir = $sharedstatedir
23144 localstatedir = $localstatedir
23145 runstatedir = $runstatedir
23146 includedir = $includedir
23147 oldincludedir = $oldincludedir
23155 localedir = $localedir
23162 build_alias = $build_alias
23163 host_alias = $host_alias
23164 target_alias = $target_alias
23165 system_dllpath = $system_dllpath
23167 build_cpu = $build_cpu
23168 build_vendor = $build_vendor
23169 build_os = $build_os
23171 host_cpu = $host_cpu
23172 host_vendor = $host_vendor
23178 SET_MAKE = $SET_MAKE
23182 CPPFLAGS = $CPPFLAGS
23183 ac_ct_CC = $ac_ct_CC
23187 CXXFLAGS = $CXXFLAGS
23188 ac_ct_CXX = $ac_ct_CXX
23191 TARGETFLAGS = $TARGETFLAGS
23192 toolsext = $toolsext
23193 HOST_ARCH = $HOST_ARCH
23194 aarch64_CC = $aarch64_CC
23195 aarch64_CFLAGS = $aarch64_CFLAGS
23196 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23197 aarch64_LDFLAGS = $aarch64_LDFLAGS
23198 aarch64_DEBUG = $aarch64_DEBUG
23199 aarch64_TARGET = $aarch64_TARGET
23200 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23201 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23203 arm_CFLAGS = $arm_CFLAGS
23204 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23205 arm_LDFLAGS = $arm_LDFLAGS
23206 arm_DEBUG = $arm_DEBUG
23207 arm_TARGET = $arm_TARGET
23208 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23209 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23211 i386_CFLAGS = $i386_CFLAGS
23212 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23213 i386_LDFLAGS = $i386_LDFLAGS
23214 i386_DEBUG = $i386_DEBUG
23215 i386_TARGET = $i386_TARGET
23216 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23217 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23218 x86_64_CC = $x86_64_CC
23219 x86_64_CFLAGS = $x86_64_CFLAGS
23220 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23221 x86_64_LDFLAGS = $x86_64_LDFLAGS
23222 x86_64_DEBUG = $x86_64_DEBUG
23223 x86_64_TARGET = $x86_64_TARGET
23224 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23225 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23226 toolsdir = $toolsdir
23228 RUNTESTFLAGS = $RUNTESTFLAGS
23233 ac_ct_AR = $ac_ct_AR
23239 LDCONFIG = $LDCONFIG
23241 PKG_CONFIG = $PKG_CONFIG
23242 FONTFORGE = $FONTFORGE
23246 I386_LIBS = $I386_LIBS
23247 OPENGL_LIBS = $OPENGL_LIBS
23248 DLLFLAGS = $DLLFLAGS
23249 LDDLLFLAGS = $LDDLLFLAGS
23250 LDEXECFLAGS = $LDEXECFLAGS
23251 EXTRACFLAGS = $EXTRACFLAGS
23252 UNIXDLLFLAGS = $UNIXDLLFLAGS
23253 UNIXLDFLAGS = $UNIXLDFLAGS
23254 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23255 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23256 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23257 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23263 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23264 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23265 CARBON_LIBS = $CARBON_LIBS
23266 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23267 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23268 IOKIT_LIBS = $IOKIT_LIBS
23269 METAL_LIBS = $METAL_LIBS
23270 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23271 CORESERVICES_LIBS = $CORESERVICES_LIBS
23272 APPKIT_LIBS = $APPKIT_LIBS
23273 SECURITY_LIBS = $SECURITY_LIBS
23274 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23275 COREAUDIO_LIBS = $COREAUDIO_LIBS
23276 OPENCL_LIBS = $OPENCL_LIBS
23278 OBJCFLAGS = $OBJCFLAGS
23279 ac_ct_OBJC = $ac_ct_OBJC
23280 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23281 PE_ARCHS = $PE_ARCHS
23282 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23283 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23284 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23285 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23286 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23287 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23288 GSM_PE_LIBS = $GSM_PE_LIBS
23289 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23290 JPEG_PE_LIBS = $JPEG_PE_LIBS
23291 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23292 JXR_PE_LIBS = $JXR_PE_LIBS
23293 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23294 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23295 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23296 LDAP_PE_LIBS = $LDAP_PE_LIBS
23297 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23298 MPG123_PE_LIBS = $MPG123_PE_LIBS
23299 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23300 MUSL_PE_LIBS = $MUSL_PE_LIBS
23301 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23302 PNG_PE_LIBS = $PNG_PE_LIBS
23303 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23304 TIFF_PE_LIBS = $TIFF_PE_LIBS
23305 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23306 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23307 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23308 XML2_PE_LIBS = $XML2_PE_LIBS
23309 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23310 XSLT_PE_LIBS = $XSLT_PE_LIBS
23311 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23312 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23313 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23314 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23315 PTHREAD_LIBS = $PTHREAD_LIBS
23318 X_CFLAGS = $X_CFLAGS
23319 X_PRE_LIBS = $X_PRE_LIBS
23321 X_EXTRA_LIBS = $X_EXTRA_LIBS
23322 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23323 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23324 WAYLAND_SCANNER = $WAYLAND_SCANNER
23325 PCAP_LIBS = $PCAP_LIBS
23326 PCSCLITE_LIBS = $PCSCLITE_LIBS
23327 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23328 INOTIFY_LIBS = $INOTIFY_LIBS
23329 DBUS_CFLAGS = $DBUS_CFLAGS
23330 DBUS_LIBS = $DBUS_LIBS
23331 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23332 GNUTLS_LIBS = $GNUTLS_LIBS
23333 SANE_CFLAGS = $SANE_CFLAGS
23334 SANE_LIBS = $SANE_LIBS
23335 USB_CFLAGS = $USB_CFLAGS
23336 USB_LIBS = $USB_LIBS
23337 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23338 GPHOTO2_LIBS = $GPHOTO2_LIBS
23339 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23340 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23341 RESOLV_LIBS = $RESOLV_LIBS
23342 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23343 FREETYPE_LIBS = $FREETYPE_LIBS
23344 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23345 PULSE_CFLAGS = $PULSE_CFLAGS
23346 PULSE_LIBS = $PULSE_LIBS
23347 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23348 GSTREAMER_LIBS = $GSTREAMER_LIBS
23349 ALSA_LIBS = $ALSA_LIBS
23350 OSS4_CFLAGS = $OSS4_CFLAGS
23351 OSS4_LIBS = $OSS4_LIBS
23352 UDEV_CFLAGS = $UDEV_CFLAGS
23353 UDEV_LIBS = $UDEV_LIBS
23354 UNWIND_CFLAGS = $UNWIND_CFLAGS
23355 UNWIND_LIBS = $UNWIND_LIBS
23356 SDL2_CFLAGS = $SDL2_CFLAGS
23357 SDL2_LIBS = $SDL2_LIBS
23358 CAPI20_CFLAGS = $CAPI20_CFLAGS
23359 CAPI20_LIBS = $CAPI20_LIBS
23360 CUPS_CFLAGS = $CUPS_CFLAGS
23361 CUPS_LIBS = $CUPS_LIBS
23362 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23363 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23364 KRB5_CFLAGS = $KRB5_CFLAGS
23365 KRB5_LIBS = $KRB5_LIBS
23366 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23367 GSSAPI_LIBS = $GSSAPI_LIBS
23368 PROCSTAT_LIBS = $PROCSTAT_LIBS
23369 NETAPI_CFLAGS = $NETAPI_CFLAGS
23370 NETAPI_LIBS = $NETAPI_LIBS
23371 MSVCRTFLAGS = $MSVCRTFLAGS
23372 DELAYLOADFLAG = $DELAYLOADFLAG
23373 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23375 TAGSFLAGS = $TAGSFLAGS
23377 LTLIBOBJS = $LTLIBOBJS
23381 as_fn_error $? "could not create Makefile" "$LINENO" 5
23386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23388 # Handling of arguments.
23389 for ac_config_target
in $ac_config_targets
23391 case $ac_config_target in
23392 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23393 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23394 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23395 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23396 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23397 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23399 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23404 # If the user did not use the arguments to specify the items to instantiate,
23405 # then the envvar interface is used. Set only those that are not.
23406 # We use the long form for the default assignment because of an extremely
23407 # bizarre bug on SunOS 4.1.3.
23408 if $ac_need_defaults; then
23409 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23410 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23411 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23414 # Have a temporary directory for convenience. Make it in the build tree
23415 # simply because there is no reason against having it here, and in addition,
23416 # creating and moving files from /tmp can sometimes cause problems.
23417 # Hook for its removal unless debugging.
23418 # Note that there is a small window in which the directory will not be cleaned:
23419 # after its creation but before its name has been assigned to `$tmp'.
23423 trap 'exit_status=$?
23424 : "${ac_tmp:=$tmp}"
23425 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23427 trap 'as_fn_exit 1' 1 2 13 15
23429 # Create a (secure) tmp directory for tmp files.
23432 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23436 tmp
=.
/conf$$
-$RANDOM
23437 (umask 077 && mkdir
"$tmp")
23438 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23441 # Set up the scripts for CONFIG_HEADERS section.
23442 # No need to generate them if there are no CONFIG_HEADERS.
23443 # This happens for instance with `./config.status Makefile'.
23444 if test -n "$CONFIG_HEADERS"; then
23445 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23449 # Transform confdefs.h into an awk script `defines.awk', embedded as
23450 # here-document in config.status, that substitutes the proper values into
23451 # config.h.in to produce config.h.
23453 # Create a delimiter string that does not exist in confdefs.h, to ease
23454 # handling of long lines.
23456 for ac_last_try
in false false
:; do
23457 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23458 if test -z "$ac_tt"; then
23460 elif $ac_last_try; then
23461 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23463 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23467 # For the awk script, D is an array of macro values keyed by name,
23468 # likewise P contains macro parameters if any. Preserve backslash
23469 # newline sequences.
23471 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23473 s/.\{148\}/&'"$ac_delim"'/g
23476 s/^[ ]*#[ ]*define[ ][ ]*/ /
23483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23490 D["\1"]=" \3\\\\\\n"\\/p
23492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23497 s/.\{148\}/&'"$ac_delim"'/g
23502 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23505 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23507 ' <confdefs.h |
sed '
23508 s/'"$ac_delim"'/"\\\
23509 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23512 for (key in D) D_is_set[key] = 1
23515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23517 split(line, arg, " ")
23518 if (arg[1] == "#") {
23522 defundef = substr(arg[1], 2)
23525 split(mac1, mac2, "(") #)
23527 prefix = substr(line, 1, index(line, defundef) - 1)
23528 if (D_is_set[macro]) {
23529 # Preserve the white space surrounding the "#".
23530 print prefix "define", macro P[macro] D[macro]
23533 # Replace #undef with comments. This is necessary, for example,
23534 # in the case of _POSIX_SOURCE, which is predefined and required
23535 # on some systems where configure will not decide to define it.
23536 if (defundef == "undef") {
23537 print "/*", prefix defundef, macro, "*/"
23545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23546 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23547 fi # test -n "$CONFIG_HEADERS"
23550 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23555 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23557 case $ac_mode$ac_tag in
23559 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23560 :[FH
]-) ac_tag
=-:-;;
23561 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23578 -) ac_f
="$ac_tmp/stdin";;
23579 *) # Look for the file first in the build tree, then in the source tree
23580 # (if the path is not absolute). The absolute path cannot be DOS-style,
23581 # because $ac_f cannot contain `:'.
23585 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23587 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23589 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23590 as_fn_append ac_file_inputs
" '$ac_f'"
23593 # Let's still pretend it is `configure' which instantiates (i.e., don't
23594 # use $as_me), people would be surprised to read:
23595 # /* config.h. Generated by config.status. */
23596 configure_input
='Generated from '`
23597 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23599 if test x
"$ac_file" != x-
; then
23600 configure_input
="$ac_file. $configure_input"
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23602 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23604 # Neutralize special characters interpreted by sed in replacement strings.
23605 case $configure_input in #(
23606 *\
&* |
*\|
* |
*\\* )
23607 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23608 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23609 *) ac_sed_conf_input
=$configure_input;;
23613 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23614 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23619 ac_dir
=`$as_dirname -- "$ac_file" ||
23620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23621 X"$ac_file" : 'X\(//\)[^/]' \| \
23622 X"$ac_file" : 'X\(//\)$' \| \
23623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23624 printf "%s\n" X"$ac_file" |
23625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23629 /^X\(\/\/\)[^/].*/{
23642 as_dir
="$ac_dir"; as_fn_mkdir_p
23646 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23648 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23649 # A ".." for each directory in $ac_dir_suffix.
23650 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23651 case $ac_top_builddir_sub in
23652 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23653 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23656 ac_abs_top_builddir
=$ac_pwd
23657 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23658 # for backward compatibility:
23659 ac_top_builddir
=$ac_top_build_prefix
23662 .
) # We are building in place.
23664 ac_top_srcdir
=$ac_top_builddir_sub
23665 ac_abs_top_srcdir
=$ac_pwd ;;
23666 [\\/]* | ?
:[\\/]* ) # Absolute name.
23667 ac_srcdir
=$srcdir$ac_dir_suffix;
23668 ac_top_srcdir
=$srcdir
23669 ac_abs_top_srcdir
=$srcdir ;;
23670 *) # Relative name.
23671 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23672 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23673 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23675 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23684 if test x
"$ac_file" != x-
; then
23686 printf "%s\n" "/* $configure_input */" >&1 \
23687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23688 } >"$ac_tmp/config.h" \
23689 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23690 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23692 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23695 mv "$ac_tmp/config.h" "$ac_file" \
23696 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23699 printf "%s\n" "/* $configure_input */" >&1 \
23700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23701 || as_fn_error $?
"could not create -" "$LINENO" 5
23709 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23712 # Prefer the file from the source tree if names are identical.
23713 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23714 ac_source
=$srcdir/$ac_source
23717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23718 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23720 if test ! -r "$ac_source"; then
23721 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23725 # Try a relative symlink, then a hard link, then a copy.
23727 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23728 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23730 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23731 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23732 cp -p "$ac_source" "$ac_file" ||
23733 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23736 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23737 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23742 case $ac_file$ac_mode in
23743 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23744 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23745 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23753 ac_clean_files
=$ac_clean_files_save
23755 test $ac_write_fail = 0 ||
23756 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23759 # configure is writing to config.log, and then calls config.status.
23760 # config.status does its own redirection, appending to config.log.
23761 # Unfortunately, on DOS this fails, as config.log is still kept open
23762 # by configure, so config.status won't be able to write to it; its
23763 # output is simply discarded. So we exec the FD to /dev/null,
23764 # effectively closing config.log, so it can be properly (re)opened and
23765 # appended to by config.status. When coming back to configure, we
23766 # need to make the FD available again.
23767 if test "$no_create" != yes; then
23769 ac_config_status_args
=
23770 test "$silent" = yes &&
23771 ac_config_status_args
="$ac_config_status_args --quiet"
23773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23776 # would make configure fail if this is the last instruction.
23777 $ac_cs_success || as_fn_exit
1
23779 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23781 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23785 if test "$no_create" = "yes"
23791 if test "x$wine_notices" != x
; then
23794 for msg
in $wine_notices; do
23800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23801 printf "%s\n" "$as_me: $msg" >&6;}
23806 for msg
in $wine_warnings; do
23813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23814 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23820 $as_me: Finished. Do '${ac_make}' to compile Wine.