2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.17.
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.17'
615 PACKAGE_STRING
='Wine 8.17'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
755 SYSTEMCONFIGURATION_LIBS
759 APPLICATIONSERVICES_LIBS
772 WINEPRELOADER_LDFLAGS
804 x86_64_DISABLED_SUBDIRS
812 i386_DISABLED_SUBDIRS
828 aarch64_DISABLED_SUBDIRS
829 aarch64_DELAYLOADFLAG
893 program_transform_name
906 enable_option_checking
912 enable_maintainer_mode
979 enable_appxdeploymentclient
992 enable_bcryptprimitives
1033 enable_d3dcompiler_33
1034 enable_d3dcompiler_34
1035 enable_d3dcompiler_35
1036 enable_d3dcompiler_36
1037 enable_d3dcompiler_37
1038 enable_d3dcompiler_38
1039 enable_d3dcompiler_39
1040 enable_d3dcompiler_40
1041 enable_d3dcompiler_41
1042 enable_d3dcompiler_42
1043 enable_d3dcompiler_43
1044 enable_d3dcompiler_46
1045 enable_d3dcompiler_47
1098 enable_directmanipulation
1136 enable_explorerframe
1153 enable_graphicscapture
1164 enable_hvsimanagementapi
1197 enable_light_msstyles
1202 enable_magnification
1213 enable_mfmediaengine
1278 enable_msvcp140_atomic_wait
1279 enable_msvcp140_codecvt_ids
1345 enable_photometadatahandler
1423 enable_threadpoolwinrt
1426 enable_twinapi_appcore
1430 enable_uiautomationcore
1450 enable_vcruntime140_1
1468 enable_windows_applicationmodel
1469 enable_windows_devices_bluetooth
1470 enable_windows_devices_enumeration
1471 enable_windows_devices_usb
1472 enable_windows_gaming_input
1473 enable_windows_gaming_ui_gamebar
1474 enable_windows_globalization
1475 enable_windows_media_devices
1476 enable_windows_media_mediacontrol
1477 enable_windows_media_speech
1478 enable_windows_media
1479 enable_windows_networking_hostname
1480 enable_windows_networking
1481 enable_windows_perception_stub
1482 enable_windows_security_credentials_ui_userconsentverifier
1483 enable_windows_storage_applicationdata
1484 enable_windows_system_profile_systemmanufacturers
1486 enable_windowscodecs
1487 enable_windowscodecsext
1489 enable_wineandroid_drv
1491 enable_winecoreaudio_drv
1494 enable_winegstreamer
1500 enable_winepulse_drv
1503 enable_winewayland_drv
1505 enable_winexinput_sys
1552 enable_xactengine2_0
1553 enable_xactengine2_4
1554 enable_xactengine2_7
1555 enable_xactengine2_9
1556 enable_xactengine3_0
1557 enable_xactengine3_1
1558 enable_xactengine3_2
1559 enable_xactengine3_3
1560 enable_xactengine3_4
1561 enable_xactengine3_5
1562 enable_xactengine3_6
1563 enable_xactengine3_7
1613 enable_wmcodecdspuuid
1622 enable_aspnet_regiis
1670 enable_presentationfontcache
1685 enable_servicemodelreg
1711 enable_winemenubuilder
1713 enable_winemsibuilder
1738 ac_precious_vars
='build_alias
1753 FLUIDSYNTH_PE_CFLAGS
1785 WAYLAND_CLIENT_CFLAGS
1827 # Initialize some variables set by options.
1829 ac_init_version
=false
1830 ac_unrecognized_opts
=
1831 ac_unrecognized_sep
=
1832 # The variables have the same names as the options, with
1833 # dashes changed to underlines.
1834 cache_file
=/dev
/null
1841 program_transform_name
=s
,x
,x
,
1849 # Installation directory options.
1850 # These are left unexpanded so users can "make install exec_prefix=/foo"
1851 # and all the variables that are supposed to be based on exec_prefix
1852 # by default will actually change.
1853 # Use braces instead of parens because sh, perl, etc. also accept them.
1854 # (The list follows the same order as the GNU Coding Standards.)
1855 bindir
='${exec_prefix}/bin'
1856 sbindir
='${exec_prefix}/sbin'
1857 libexecdir
='${exec_prefix}/libexec'
1858 datarootdir
='${prefix}/share'
1859 datadir
='${datarootdir}'
1860 sysconfdir
='${prefix}/etc'
1861 sharedstatedir
='${prefix}/com'
1862 localstatedir
='${prefix}/var'
1863 runstatedir
='${localstatedir}/run'
1864 includedir
='${prefix}/include'
1865 oldincludedir
='/usr/include'
1866 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1867 infodir
='${datarootdir}/info'
1872 libdir
='${exec_prefix}/lib'
1873 localedir
='${datarootdir}/locale'
1874 mandir
='${datarootdir}/man'
1880 # If the previous option needs an argument, assign it.
1881 if test -n "$ac_prev"; then
1882 eval $ac_prev=\
$ac_option
1888 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1893 case $ac_dashdash$ac_option in
1897 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1899 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1900 bindir
=$ac_optarg ;;
1902 -build |
--build |
--buil |
--bui |
--bu)
1903 ac_prev
=build_alias
;;
1904 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1905 build_alias
=$ac_optarg ;;
1907 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1908 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1909 ac_prev
=cache_file
;;
1910 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1911 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1912 cache_file
=$ac_optarg ;;
1914 --config-cache |
-C)
1915 cache_file
=config.cache
;;
1917 -datadir |
--datadir |
--datadi |
--datad)
1919 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1920 datadir
=$ac_optarg ;;
1922 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1923 |
--dataroo |
--dataro |
--datar)
1924 ac_prev
=datarootdir
;;
1925 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1926 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1927 datarootdir
=$ac_optarg ;;
1929 -disable-* |
--disable-*)
1930 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1931 # Reject names that are not valid shell variable names.
1932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1933 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1934 ac_useropt_orig
=$ac_useropt
1935 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1936 case $ac_user_opts in
1938 "enable_
$ac_useropt"
1940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1941 ac_unrecognized_sep
=', ';;
1943 eval enable_
$ac_useropt=no
;;
1945 -docdir |
--docdir |
--docdi |
--doc |
--do)
1947 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1948 docdir
=$ac_optarg ;;
1950 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1952 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1953 dvidir
=$ac_optarg ;;
1955 -enable-* |
--enable-*)
1956 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1957 # Reject names that are not valid shell variable names.
1958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1959 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1960 ac_useropt_orig
=$ac_useropt
1961 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1962 case $ac_user_opts in
1964 "enable_
$ac_useropt"
1966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1967 ac_unrecognized_sep
=', ';;
1969 eval enable_
$ac_useropt=\
$ac_optarg ;;
1971 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1972 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1973 |
--exec |
--exe |
--ex)
1974 ac_prev
=exec_prefix
;;
1975 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1976 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1977 |
--exec=* |
--exe=* |
--ex=*)
1978 exec_prefix
=$ac_optarg ;;
1980 -gas |
--gas |
--ga |
--g)
1981 # Obsolete; use --with-gas.
1984 -help |
--help |
--hel |
--he |
-h)
1985 ac_init_help
=long
;;
1986 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1987 ac_init_help
=recursive
;;
1988 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1989 ac_init_help
=short
;;
1991 -host |
--host |
--hos |
--ho)
1992 ac_prev
=host_alias
;;
1993 -host=* |
--host=* |
--hos=* |
--ho=*)
1994 host_alias
=$ac_optarg ;;
1996 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1998 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2000 htmldir
=$ac_optarg ;;
2002 -includedir |
--includedir |
--includedi |
--included |
--include \
2003 |
--includ |
--inclu |
--incl |
--inc)
2004 ac_prev
=includedir
;;
2005 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2006 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2007 includedir
=$ac_optarg ;;
2009 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2011 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2012 infodir
=$ac_optarg ;;
2014 -libdir |
--libdir |
--libdi |
--libd)
2016 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2017 libdir
=$ac_optarg ;;
2019 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2020 |
--libexe |
--libex |
--libe)
2021 ac_prev
=libexecdir
;;
2022 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2023 |
--libexe=* |
--libex=* |
--libe=*)
2024 libexecdir
=$ac_optarg ;;
2026 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2027 ac_prev
=localedir
;;
2028 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2029 localedir
=$ac_optarg ;;
2031 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2032 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2033 ac_prev
=localstatedir
;;
2034 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2035 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2036 localstatedir
=$ac_optarg ;;
2038 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2040 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2041 mandir
=$ac_optarg ;;
2043 -nfp |
--nfp |
--nf)
2044 # Obsolete; use --without-fp.
2047 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2048 |
--no-cr |
--no-c |
-n)
2051 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2052 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2055 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2056 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2057 |
--oldin |
--oldi |
--old |
--ol |
--o)
2058 ac_prev
=oldincludedir
;;
2059 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2060 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2061 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2062 oldincludedir
=$ac_optarg ;;
2064 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2066 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2067 prefix
=$ac_optarg ;;
2069 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2070 |
--program-pre |
--program-pr |
--program-p)
2071 ac_prev
=program_prefix
;;
2072 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2073 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2074 program_prefix
=$ac_optarg ;;
2076 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2077 |
--program-suf |
--program-su |
--program-s)
2078 ac_prev
=program_suffix
;;
2079 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2080 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2081 program_suffix
=$ac_optarg ;;
2083 -program-transform-name |
--program-transform-name \
2084 |
--program-transform-nam |
--program-transform-na \
2085 |
--program-transform-n |
--program-transform- \
2086 |
--program-transform |
--program-transfor \
2087 |
--program-transfo |
--program-transf \
2088 |
--program-trans |
--program-tran \
2089 |
--progr-tra |
--program-tr |
--program-t)
2090 ac_prev
=program_transform_name
;;
2091 -program-transform-name=* |
--program-transform-name=* \
2092 |
--program-transform-nam=* |
--program-transform-na=* \
2093 |
--program-transform-n=* |
--program-transform-=* \
2094 |
--program-transform=* |
--program-transfor=* \
2095 |
--program-transfo=* |
--program-transf=* \
2096 |
--program-trans=* |
--program-tran=* \
2097 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2098 program_transform_name
=$ac_optarg ;;
2100 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2102 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2103 pdfdir
=$ac_optarg ;;
2105 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2107 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2110 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2111 |
-silent |
--silent |
--silen |
--sile |
--sil)
2114 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2115 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2116 |
--run |
--ru |
--r)
2117 ac_prev
=runstatedir
;;
2118 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2119 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2120 |
--run=* |
--ru=* |
--r=*)
2121 runstatedir
=$ac_optarg ;;
2123 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2125 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2127 sbindir
=$ac_optarg ;;
2129 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2130 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2131 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2133 ac_prev
=sharedstatedir
;;
2134 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2135 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2136 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2138 sharedstatedir
=$ac_optarg ;;
2140 -site |
--site |
--sit)
2142 -site=* |
--site=* |
--sit=*)
2145 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2147 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2148 srcdir
=$ac_optarg ;;
2150 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2151 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2152 ac_prev
=sysconfdir
;;
2153 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2154 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2155 sysconfdir
=$ac_optarg ;;
2157 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2158 ac_prev
=target_alias
;;
2159 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2160 target_alias
=$ac_optarg ;;
2162 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2165 -version |
--version |
--versio |
--versi |
--vers |
-V)
2166 ac_init_version
=: ;;
2169 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2172 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig
=$ac_useropt
2174 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2180 ac_unrecognized_sep
=', ';;
2182 eval with_
$ac_useropt=\
$ac_optarg ;;
2184 -without-* |
--without-*)
2185 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2186 # Reject names that are not valid shell variable names.
2187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2188 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2189 ac_useropt_orig
=$ac_useropt
2190 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2191 case $ac_user_opts in
2195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2196 ac_unrecognized_sep
=', ';;
2198 eval with_
$ac_useropt=no
;;
2201 # Obsolete; use --with-x.
2204 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2205 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2206 ac_prev
=x_includes
;;
2207 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2208 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2209 x_includes
=$ac_optarg ;;
2211 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2212 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2213 ac_prev
=x_libraries
;;
2214 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2215 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2216 x_libraries
=$ac_optarg ;;
2218 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2219 Try \`$0 --help' for more information"
2223 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2224 # Reject names that are not valid shell variable names.
2225 case $ac_envvar in #(
2226 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2227 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2229 eval $ac_envvar=\
$ac_optarg
2230 export $ac_envvar ;;
2233 # FIXME: should be removed in autoconf 3.0.
2234 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2236 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2243 if test -n "$ac_prev"; then
2244 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2245 as_fn_error $?
"missing argument to $ac_option"
2248 if test -n "$ac_unrecognized_opts"; then
2249 case $enable_option_checking in
2251 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2252 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2256 # Check all directory arguments for consistency.
2257 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2258 datadir sysconfdir sharedstatedir localstatedir includedir \
2259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2260 libdir localedir mandir runstatedir
2262 eval ac_val
=\$
$ac_var
2263 # Remove trailing slashes.
2266 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2267 eval $ac_var=\
$ac_val;;
2269 # Be sure to have absolute directory names.
2271 [\\/$
]* | ?
:[\\/]* ) continue;;
2272 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2274 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2277 # There might be people who depend on the old broken behavior: `$host'
2278 # used to hold the argument of --host etc.
2279 # FIXME: To remove some day.
2282 target
=$target_alias
2284 # FIXME: To remove some day.
2285 if test "x$host_alias" != x
; then
2286 if test "x$build_alias" = x
; then
2287 cross_compiling
=maybe
2288 elif test "x$build_alias" != "x$host_alias"; then
2294 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2296 test "$silent" = yes && exec 6>/dev
/null
2299 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2300 ac_ls_di
=`ls -di .` &&
2301 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2302 as_fn_error $?
"working directory cannot be determined"
2303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2304 as_fn_error $?
"pwd does not report name of working directory"
2307 # Find the source files, if location was not specified.
2308 if test -z "$srcdir"; then
2309 ac_srcdir_defaulted
=yes
2310 # Try the directory containing this script, then the parent directory.
2311 ac_confdir
=`$as_dirname -- "$as_myself" ||
2312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2313 X"$as_myself" : 'X\(//\)[^/]' \| \
2314 X"$as_myself" : 'X\(//\)$' \| \
2315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2316 printf "%s\n" X"$as_myself" |
2317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2335 if test ! -r "$srcdir/$ac_unique_file"; then
2339 ac_srcdir_defaulted
=no
2341 if test ! -r "$srcdir/$ac_unique_file"; then
2342 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2343 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2345 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2349 # When building in place, set srcdir=.
2350 if test "$ac_abs_confdir" = "$ac_pwd"; then
2353 # Remove unnecessary trailing slashes from srcdir.
2354 # Double slashes in file names in object file debugging info
2355 # mess up M-x gdb in Emacs.
2357 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2359 for ac_var
in $ac_precious_vars; do
2360 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2361 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2362 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2363 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2367 # Report the --help message.
2369 if test "$ac_init_help" = "long"; then
2370 # Omit some internal or obsolete options to make the list less imposing.
2371 # This message is too long to be a string in the A/UX 3.1 sh.
2373 \`configure' configures Wine 8.17 to adapt to many kinds of systems.
2375 Usage: $0 [OPTION]... [VAR=VALUE]...
2377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2378 VAR=VALUE. See below for descriptions of some of the useful variables.
2380 Defaults for the options are specified in brackets.
2383 -h, --help display this help and exit
2384 --help=short display options specific to this package
2385 --help=recursive display the short help of all the included packages
2386 -V, --version display version information and exit
2387 -q, --quiet, --silent do not print \`checking ...' messages
2388 --cache-file=FILE cache test results in FILE [disabled]
2389 -C, --config-cache alias for \`--cache-file=config.cache'
2390 -n, --no-create do not create output files
2391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2393 Installation directories:
2394 --prefix=PREFIX install architecture-independent files in PREFIX
2395 [$ac_default_prefix]
2396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2399 By default, \`make install' will install all the files in
2400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2402 for instance \`--prefix=\$HOME'.
2404 For better control, use the options below.
2406 Fine tuning of the installation directories:
2407 --bindir=DIR user executables [EPREFIX/bin]
2408 --sbindir=DIR system admin executables [EPREFIX/sbin]
2409 --libexecdir=DIR program executables [EPREFIX/libexec]
2410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2413 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2414 --libdir=DIR object code libraries [EPREFIX/lib]
2415 --includedir=DIR C header files [PREFIX/include]
2416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2419 --infodir=DIR info documentation [DATAROOTDIR/info]
2420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2421 --mandir=DIR man documentation [DATAROOTDIR/man]
2422 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2423 --htmldir=DIR html documentation [DOCDIR]
2424 --dvidir=DIR dvi documentation [DOCDIR]
2425 --pdfdir=DIR pdf documentation [DOCDIR]
2426 --psdir=DIR ps documentation [DOCDIR]
2432 --x-includes=DIR X include files are
in DIR
2433 --x-libraries=DIR X library files are
in DIR
2436 --build=BUILD configure
for building on BUILD
[guessed
]
2437 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2441 if test -n "$ac_init_help"; then
2442 case $ac_init_help in
2443 short | recursive
) echo "Configuration of Wine 8.17:";;
2448 --disable-option-checking ignore unrecognized
--enable/--with options
2449 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2450 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2451 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2452 enable multiple architectures
for PE compilation
2453 --disable-win16 do not include Win16 support
2454 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2456 --disable-tests do not build the regression tests
2457 --enable-build-id include .buildid section in output objects
2458 --enable-maintainer-mode
2459 enable maintainer-specific build rules
2460 --enable-silent-rules use silent build rules (override: "make V=1")
2461 --enable-werror treat compilation warnings as errors
2462 --disable-largefile omit support for large files
2465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2467 --without-alsa do not use the Alsa sound support
2468 --without-capi do not use CAPI (ISDN support)
2469 --without-coreaudio do not use the CoreAudio sound support
2470 --without-cups do not use CUPS
2471 --without-dbus do not use DBus (dynamic device support)
2472 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2473 --without-fontconfig do not use fontconfig
2474 --without-freetype do not use the FreeType library
2475 --without-gettext do not use gettext
2476 --with-gettextpo use the GetTextPO library to rebuild po files
2477 --without-gphoto do not use gphoto (Digital Camera support)
2478 --without-gnutls do not use GnuTLS (schannel support)
2479 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2480 --without-gstreamer do not use GStreamer (codecs support)
2481 --without-inotify do not use inotify (filesystem change notifications)
2482 --without-krb5 do not use krb5 (Kerberos)
2483 --without-mingw do not use the MinGW cross-compiler
2484 --without-netapi do not use the Samba NetAPI library
2485 --without-opencl do not use OpenCL
2486 --without-opengl do not use OpenGL
2487 --without-osmesa do not use the OSMesa library
2488 --without-oss do not use the OSS sound support
2489 --without-pcap do not use the Packet Capture library
2490 --without-pcsclite do not use PCSC lite
2491 --without-pthread do not use the pthread library
2492 --without-pulse do not use PulseAudio sound support
2493 --without-sane do not use SANE (scanner support)
2494 --without-sdl do not use SDL
2495 --without-udev do not use udev (plug and play support)
2496 --without-unwind do not use the libunwind library (exception
2498 --without-usb do not use the libusb library
2499 --without-v4l2 do not use v4l2 (video capture)
2500 --without-vulkan do not use Vulkan
2501 --without-wayland do not build the Wayland driver
2502 --without-xcomposite do not use the Xcomposite extension
2503 --without-xcursor do not use the Xcursor extension
2504 --without-xfixes do not use Xfixes for clipboard change notifications
2505 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2506 --without-xinput do not use the Xinput extension
2507 --without-xinput2 do not use the Xinput 2 extension
2508 --without-xrandr do not use Xrandr (multi-monitor support)
2509 --without-xrender do not use the Xrender extension
2510 --without-xshape do not use the Xshape extension
2511 --without-xshm do not use XShm (shared memory extension)
2512 --without-xxf86vm do not use XFree video mode extension
2513 --with-system-dllpath=PATH
2514 load external PE dependencies from colon-separated
2516 --with-wine-tools=DIR use Wine tools from directory DIR
2517 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2518 --with-x use the X Window System
2520 Some influential environment variables:
2521 CC C compiler command
2522 CFLAGS C compiler flags
2523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2524 nonstandard directory <lib dir>
2525 LIBS libraries to pass to the linker, e.g. -l<library>
2526 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2527 you have headers in a nonstandard directory <include dir>
2528 CXX C++ compiler command
2529 CXXFLAGS C++ compiler flags
2530 OBJC Objective C compiler command
2531 OBJCFLAGS Objective C compiler flags
2533 C compiler flags for the PE faudio, overriding the bundled
2536 Linker flags for the PE faudio, overriding the bundled version
2537 FLUIDSYNTH_PE_CFLAGS
2538 C compiler flags for the PE fluidsynth, overriding the bundled
2541 Linker flags for the PE fluidsynth, overriding the bundled
2544 C compiler flags for the PE gsm, overriding the bundled version
2545 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2547 C compiler flags for the PE jpeg, overriding the bundled version
2549 Linker flags for the PE jpeg, overriding the bundled version
2551 C compiler flags for the PE jxr, overriding the bundled version
2552 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2554 C compiler flags for the PE lcms2, overriding the bundled
2557 Linker flags for the PE lcms2, overriding the bundled version
2559 C compiler flags for the PE ldap, overriding the bundled version
2561 Linker flags for the PE ldap, overriding the bundled version
2563 C compiler flags for the PE mpg123, overriding the bundled
2566 Linker flags for the PE mpg123, overriding the bundled version
2568 C compiler flags for the PE musl, overriding the bundled version
2570 Linker flags for the PE musl, overriding the bundled version
2572 C compiler flags for the PE png, overriding the bundled version
2573 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2575 C compiler flags for the PE tiff, overriding the bundled version
2577 Linker flags for the PE tiff, overriding the bundled version
2579 C compiler flags for the PE vkd3d, overriding the bundled
2582 Linker flags for the PE vkd3d, overriding the bundled version
2584 C compiler flags for the PE xml2, overriding the bundled version
2586 Linker flags for the PE xml2, overriding the bundled version
2588 C compiler flags for the PE xslt, overriding the bundled version
2590 Linker flags for the PE xslt, overriding the bundled version
2592 C compiler flags for the PE zlib, overriding the bundled version
2594 Linker flags for the PE zlib, overriding the bundled version
2596 C compiler flags for the PE zydis, overriding the bundled
2599 Linker flags for the PE zydis, overriding the bundled version
2600 XMKMF Path to xmkmf, Makefile generator for X Window System
2602 WAYLAND_CLIENT_CFLAGS
2603 C compiler flags for wayland-client, overriding pkg-config
2605 Linker flags for wayland-client, overriding pkg-config
2607 C compiler flags for libinotify, overriding pkg-config
2609 Linker flags for libinotify, overriding pkg-config
2610 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2611 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2613 C compiler flags for gnutls, overriding pkg-config
2614 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2615 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2616 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2617 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2618 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2620 C compiler flags for libgphoto2, overriding pkg-config
2622 Linker flags for libgphoto2, overriding pkg-config
2624 C compiler flags for libgphoto2_port, overriding pkg-config
2626 Linker flags for libgphoto2_port, overriding pkg-config
2628 C compiler flags for freetype2, overriding pkg-config
2630 Linker flags for freetype2, overriding pkg-config
2632 C compiler flags for libpulse, overriding pkg-config
2633 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2635 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2636 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2638 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2639 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2640 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2641 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2643 C compiler flags for libunwind, overriding pkg-config
2644 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2645 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2646 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2648 C compiler flags for capi20, overriding pkg-config
2649 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2650 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2651 CUPS_LIBS Linker flags for cups, overriding pkg-config
2653 C compiler flags for fontconfig, overriding pkg-config
2655 Linker flags for fontconfig, overriding pkg-config
2656 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2657 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2659 C compiler flags for krb5-gssapi, overriding pkg-config
2660 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2662 C compiler flags for netapi, overriding pkg-config
2663 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2665 Use these variables to override the choices made by `configure' or to
help
2666 it to
find libraries and programs with nonstandard names
/locations.
2668 Report bugs to
<wine-devel@winehq.org
>.
2669 Wine home page
: <https
://www.winehq.org
>.
2674 if test "$ac_init_help" = "recursive"; then
2675 # If there are subdirs, report their specific --help.
2676 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2677 test -d "$ac_dir" ||
2678 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2683 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2685 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2686 # A ".." for each directory in $ac_dir_suffix.
2687 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2688 case $ac_top_builddir_sub in
2689 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2690 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2693 ac_abs_top_builddir
=$ac_pwd
2694 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2695 # for backward compatibility:
2696 ac_top_builddir
=$ac_top_build_prefix
2699 .
) # We are building in place.
2701 ac_top_srcdir
=$ac_top_builddir_sub
2702 ac_abs_top_srcdir
=$ac_pwd ;;
2703 [\\/]* | ?
:[\\/]* ) # Absolute name.
2704 ac_srcdir
=$srcdir$ac_dir_suffix;
2705 ac_top_srcdir
=$srcdir
2706 ac_abs_top_srcdir
=$srcdir ;;
2708 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2709 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2710 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2712 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2714 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2715 # Check for configure.gnu first; this name is used for a wrapper for
2716 # Metaconfig's "Configure" on case-insensitive file systems.
2717 if test -f "$ac_srcdir/configure.gnu"; then
2719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2720 elif test -f "$ac_srcdir/configure"; then
2722 $SHELL "$ac_srcdir/configure" --help=recursive
2724 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2726 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2730 test -n "$ac_init_help" && exit $ac_status
2731 if $ac_init_version; then
2734 generated by GNU Autoconf
2.71
2736 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2737 This configure
script is free software
; the Free Software Foundation
2738 gives unlimited permission to copy
, distribute and modify it.
2743 ## ------------------------ ##
2744 ## Autoconf initialization. ##
2745 ## ------------------------ ##
2747 # ac_fn_c_try_compile LINENO
2748 # --------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_compile
()
2752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2753 rm -f conftest.
$ac_objext conftest.beam
2754 if { { ac_try
="$ac_compile"
2756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 printf "%s\n" "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext
2776 printf "%s\n" "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 as_fn_set_status $ac_retval
2784 } # ac_fn_c_try_compile
2786 # ac_fn_cxx_try_compile LINENO
2787 # ----------------------------
2788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2789 ac_fn_cxx_try_compile ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 rm -f conftest.$ac_objext conftest.beam
2793 if { { ac_try="$ac_compile"
2795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2796 *) ac_try_echo
=$ac_try;;
2798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 printf "%s\n" "$ac_try_echo"; } >&5
2800 (eval "$ac_compile") 2>conftest.err
2802 if test -s conftest.err
; then
2803 grep -v '^ *+' conftest.err
>conftest.er1
2804 cat conftest.er1
>&5
2805 mv -f conftest.er1 conftest.err
2807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_cxx_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest.
$ac_objext
2815 printf "%s\n" "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.
$ac_ext >&5
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 as_fn_set_status
$ac_retval
2823 } # ac_fn_cxx_try_compile
2825 # ac_fn_c_try_link LINENO
2826 # -----------------------
2827 # Try to link conftest.$ac_ext, and return whether this succeeded.
2830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2831 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2832 if { { ac_try
="$ac_link"
2834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838 printf "%s\n" "$ac_try_echo"; } >&5
2839 (eval "$ac_link") 2>conftest.err
2841 if test -s conftest.err; then
2842 grep -v '^ *+' conftest.err >conftest.er1
2843 cat conftest.er1 >&5
2844 mv -f conftest.er1 conftest.err
2846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; } && {
2848 test -z "$ac_c_werror_flag" ||
2849 test ! -s conftest.err
2850 } && test -s conftest$ac_exeext && {
2851 test "$cross_compiling" = yes ||
2852 test -x conftest$ac_exeext
2857 printf "%s\n" "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2864 # interfere with the next link command; also delete a directory that is
2865 # left behind by Apple's compiler. We do this before executing the actions.
2866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 as_fn_set_status $ac_retval
2870 } # ac_fn_c_try_link
2872 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2873 # -------------------------------------------------------
2874 # Tests whether HEADER exists and can be compiled using the include files in
2875 # INCLUDES, setting the cache variable VAR accordingly.
2876 ac_fn_c_check_header_compile ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 printf %s "checking for $2... " >&6; }
2881 if eval test \${$3+y}
2883 printf %s "(cached) " >&6
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"
2896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2900 printf "%s\n" "$ac_res" >&6; }
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 } # ac_fn_c_check_header_compile
2905 # ac_fn_objc_try_compile LINENO
2906 # -----------------------------
2907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_objc_try_compile ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 rm -f conftest.$ac_objext conftest.beam
2912 if { { ac_try="$ac_compile"
2914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2915 *) ac_try_echo
=$ac_try;;
2917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 printf "%s\n" "$ac_try_echo"; } >&5
2919 (eval "$ac_compile") 2>conftest.err
2921 if test -s conftest.err
; then
2922 grep -v '^ *+' conftest.err
>conftest.er1
2923 cat conftest.er1
>&5
2924 mv -f conftest.er1 conftest.err
2926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } && {
2928 test -z "$ac_objc_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest.
$ac_objext
2934 printf "%s\n" "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.
$ac_ext >&5
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 as_fn_set_status
$ac_retval
2942 } # ac_fn_objc_try_compile
2944 # ac_fn_c_check_func LINENO FUNC VAR
2945 # ----------------------------------
2946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2947 ac_fn_c_check_func
()
2949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2951 printf %s
"checking for $2... " >&6; }
2952 if eval test \
${$3+y}
2954 printf %s
"(cached) " >&6
2956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2958 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2960 #define $2 innocuous_$2
2962 /* System header to define __stub macros and hopefully few prototypes,
2963 which can conflict with char $2 (); below. */
2968 /* Override any GCC internal prototype to avoid an error.
2969 Use char because int might match the return type of a GCC
2970 builtin and then its argument prototype would still apply. */
2975 /* The GNU C library defines this for functions which it implements
2976 to always fail with ENOSYS. Some functions are actually named
2977 something starting with __ and the normal name is an alias. */
2978 #if defined __stub_$2 || defined __stub___$2
2990 if ac_fn_c_try_link
"$LINENO"
2996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2997 conftest
$ac_exeext conftest.
$ac_ext
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 printf "%s\n" "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_func
3006 # ac_fn_c_try_cpp LINENO
3007 # ----------------------
3008 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3011 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3012 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 printf "%s\n" "$ac_try_echo"; } >&5
3019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3021 if test -s conftest.err; then
3022 grep -v '^ *+' conftest.err >conftest.er1
3023 cat conftest.er1 >&5
3024 mv -f conftest.er1 conftest.err
3026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027 test $ac_status = 0; } > conftest.i && {
3028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3029 test ! -s conftest.err
3034 printf "%s\n" "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 as_fn_set_status $ac_retval
3044 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3045 # ----------------------------------------------------
3046 # Tries to find if the field MEMBER exists in type AGGR, after including
3047 # INCLUDES, setting cache variable VAR accordingly.
3048 ac_fn_c_check_member ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3052 printf %s "checking for $2.$3... " >&6; }
3053 if eval test \${$4+y}
3055 printf %s "(cached) " >&6
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3081 if (sizeof ac_aggr.$3)
3087 if ac_fn_c_try_compile "$LINENO"
3093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3099 printf "%s\n" "$ac_res" >&6; }
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 } # ac_fn_c_check_member
3104 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3105 # -------------------------------------------
3106 # Tests whether TYPE exists after having included INCLUDES, setting cache
3107 # variable VAR accordingly.
3108 ac_fn_c_check_type ()
3110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3112 printf %s "checking for $2... " >&6; }
3113 if eval test \${$3+y}
3115 printf %s "(cached) " >&6
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3130 if ac_fn_c_try_compile "$LINENO"
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3144 if ac_fn_c_try_compile "$LINENO"
3150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3156 printf "%s\n" "$ac_res" >&6; }
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 } # ac_fn_c_check_type
3160 ac_configure_args_raw=
3165 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3167 as_fn_append ac_configure_args_raw " '$ac_arg'"
3170 case $ac_configure_args_raw in
3174 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3175 ac_unsafe_a="$ac_unsafe_z#~
"
3176 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3177 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3180 cat >config.log <<_ACEOF
3181 This file contains any messages produced by compilers while
3182 running configure, to aid debugging if configure makes a mistake.
3184 It was created by Wine $as_me 8.17, which was
3185 generated by GNU Autoconf 2.71. Invocation command line was
3187 $ $0$ac_configure_args_raw
3197 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3198 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3199 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3200 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3201 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3203 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3204 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3206 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3207 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3208 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3209 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3210 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3211 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3212 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 case $as_dir in #(((
3223 *) as_dir=$as_dir/ ;;
3225 printf "%s
\n" "PATH
: $as_dir"
3241 # Keep a trace of the command line.
3242 # Strip out --no-create and --no-recursion so they do not pile up.
3243 # Strip out --silent because we don't want to record it for future runs.
3244 # Also quote any args containing shell meta-characters.
3245 # Make two passes to allow for proper duplicate-argument suppression.
3249 ac_must_keep_next=false
3255 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3257 | -silent | --silent | --silen | --sile | --sil)
3260 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3263 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3265 as_fn_append ac_configure_args1 " '$ac_arg'"
3266 if test $ac_must_keep_next = true; then
3267 ac_must_keep_next=false # Got value, back to normal.
3270 *=* | --config-cache | -C | -disable-* | --disable-* \
3271 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3272 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3273 | -with-* | --with-* | -without-* | --without-* | --x)
3274 case "$ac_configure_args0 " in
3275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3278 -* ) ac_must_keep_next=true ;;
3281 as_fn_append ac_configure_args " '$ac_arg'"
3286 { ac_configure_args0=; unset ac_configure_args0;}
3287 { ac_configure_args1=; unset ac_configure_args1;}
3289 # When interrupted or exit'd, cleanup temporary files, and complete
3290 # config.log. We remove comments because anyway the quotes in there
3291 # would cause problems or look ugly.
3292 # WARNING: Use '\'' to represent an apostrophe within the trap.
3293 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3294 trap 'exit_status=$?
3297 # Save into config.log some information that might help in debugging.
3301 printf "%s
\n" "## ---------------- ##
3302 ## Cache variables. ##
3303 ## ---------------- ##"
3305 # The following way of writing the cache mishandles newlines in values,
3307 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3308 eval ac_val
=\$
$ac_var
3312 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3313 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3316 _ | IFS | as_nl
) ;; #(
3317 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3318 *) { eval $ac_var=; unset $ac_var;} ;;
3323 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3324 *${as_nl}ac_space
=\
*)
3326 "s/'\''/'\''\\\\'\'''\''/g;
3327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3337 printf "%s\n" "## ----------------- ##
3338 ## Output variables. ##
3339 ## ----------------- ##"
3341 for ac_var
in $ac_subst_vars
3343 eval ac_val
=\$
$ac_var
3345 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 printf "%s\n" "$ac_var='\''$ac_val'\''"
3351 if test -n "$ac_subst_files"; then
3352 printf "%s\n" "## ------------------- ##
3353 ## File substitutions. ##
3354 ## ------------------- ##"
3356 for ac_var in $ac_subst_files
3358 eval ac_val=\$$ac_var
3360 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3362 printf "%s\n" "$ac_var='\''$ac_val'\''"
3367 if test -s confdefs.h
; then
3368 printf "%s\n" "## ----------- ##
3375 test "$ac_signal" != 0 &&
3376 printf "%s\n" "$as_me: caught signal $ac_signal"
3377 printf "%s\n" "$as_me: exit $exit_status"
3379 rm -f core
*.core core.conftest.
* &&
3380 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3383 for ac_signal in 1 2 13 15; do
3384 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3389 rm -f -r conftest* confdefs.h
3391 printf "%s\n" "/* confdefs.h */" > confdefs.h
3393 # Predefined preprocessor variables.
3395 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3397 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3399 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3401 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3403 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3405 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3408 # Let the site file select an alternate cache file if it wants to.
3409 # Prefer an explicitly selected file to automatically selected ones.
3410 if test -n "$CONFIG_SITE"; then
3411 ac_site_files="$CONFIG_SITE"
3412 elif test "x$prefix" != xNONE; then
3413 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3415 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3418 for ac_site_file in $ac_site_files
3420 case $ac_site_file in #(
3424 ac_site_file=./$ac_site_file ;;
3426 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3428 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3429 sed 's
/^
/|
/' "$ac_site_file" >&5
3431 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3433 as_fn_error $? "failed to load site script $ac_site_file
3434 See \`config.log
' for more details" "$LINENO" 5; }
3438 if test -r "$cache_file"; then
3439 # Some versions of bash will fail to source /dev/null (special files
3440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3441 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3443 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3445 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3446 *) . "./$cache_file";;
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3451 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3455 # Test code for whether the C compiler supports C89 (global declarations)
3456 ac_c_conftest_c89_globals='
3457 /* Does the compiler advertise C89 conformance?
3458 Do not
test the value of __STDC__
, because some compilers
set it to
0
3459 while being otherwise adequately conformant.
*/
3460 #if !defined __STDC__
3461 # error "Compiler does not advertise C89 conformance"
3467 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3468 struct buf
{ int x
; };
3469 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3470 static char
*e
(p
, i
)
3476 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3481 s
= g
(p
, va_arg
(v
,int
));
3486 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3487 function prototypes and stuff
, but not \xHH hex character constants.
3488 These
do not provoke an error unfortunately
, instead are silently treated
3489 as an
"x". The following induces an error
, until -std is added to get
3490 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3491 array size
at least. It is necessary to
write \x00 == 0 to get something
3492 that is true only with
-std.
*/
3493 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3495 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3496 inside
strings and character constants.
*/
3497 #define FOO(x) '\''x'\''
3498 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3500 int
test (int i
, double x
);
3501 struct s1
{int
(*f
) (int a
);};
3502 struct s2
{int
(*f
) (double a
);};
3503 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3506 # Test code for whether the C compiler supports C89 (body of main).
3507 ac_c_conftest_c89_main='
3508 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3511 # Test code for whether the C compiler supports C99 (global declarations)
3512 ac_c_conftest_c99_globals='
3513 // Does the compiler advertise C99 conformance?
3514 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3515 # error "Compiler does not advertise C99 conformance"
3518 #include <stdbool.h>
3519 extern int puts
(const char
*);
3520 extern int
printf (const char
*, ...
);
3521 extern int dprintf
(int
, const char
*, ...
);
3522 extern void
*malloc
(size_t
);
3524 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3525 // dprintf is used instead of fprintf to avoid needing to
declare
3527 #define debug(...) dprintf (2, __VA_ARGS__)
3528 #define showlist(...) puts (#__VA_ARGS__)
3529 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3531 test_varargs_macros
(void
)
3536 debug
("X = %d\n", x
);
3537 showlist
(The first
, second
, and third items.
);
3538 report
(x
>y
, "x is %d but y is %d", x
, y
);
3541 // Check long long types.
3542 #define BIG64 18446744073709551615ull
3543 #define BIG32 4294967295ul
3544 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3546 #error "your preprocessor is broken"
3550 #error "your preprocessor is broken"
3552 static long long int bignum
= -9223372036854775807LL;
3553 static unsigned long long int ubignum
= BIG64
;
3555 struct incomplete_array
3563 const wchar_t
*name
;
3567 typedef const char
*ccp
;
3570 test_restrict
(ccp restrict text
)
3572 // See
if C
++-style comments work.
3573 // Iterate through items via the restricted pointer.
3574 // Also check
for declarations
in for loops.
3575 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3580 // Check varargs and va_copy.
3582 test_varargs
(const char
*format
, ...
)
3585 va_start
(args
, format
);
3587 va_copy
(args_copy
, args
);
3589 const char
*str
= "";
3597 case '\''s
'\'': // string
3598 str
= va_arg
(args_copy
, const char
*);
3600 case '\''d
'\'': // int
3601 number
= va_arg
(args_copy
, int
);
3603 case '\''f
'\'': // float
3604 fnumber
= va_arg
(args_copy
, double
);
3613 return *str
&& number
&& fnumber
;
3617 # Test code for whether the C compiler supports C99 (body of main).
3618 ac_c_conftest_c99_main='
3620 _Bool success
= false
;
3621 success |
= (argc
!= 0);
3624 if (test_restrict
("String literal") == 0)
3626 char
*restrict newvar
= "Another string";
3629 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3630 test_varargs_macros
();
3632 // Check flexible array members.
3633 struct incomplete_array
*ia
=
3634 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3636 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3637 ia-
>data
[i
] = i
* 1.234;
3639 // Check named initializers.
3640 struct named_init ni
= {
3642 .name
= L
"Test wide string",
3643 .average
= 543.34343,
3648 int dynamic_array
[ni.number
];
3649 dynamic_array
[0] = argv
[0][0];
3650 dynamic_array
[ni.number
- 1] = 543;
3652 // work around unused variable warnings
3653 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3654 || dynamic_array
[ni.number
- 1] != 543);
3657 # Test code for whether the C compiler supports C11 (global declarations)
3658 ac_c_conftest_c11_globals='
3659 // Does the compiler advertise C11 conformance?
3660 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3661 # error "Compiler does not advertise C11 conformance"
3665 char _Alignas
(double
) aligned_as_double
;
3666 char _Alignas
(0) no_special_alignment
;
3667 extern char aligned_as_int
;
3668 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3673 int_alignment
= _Alignof
(int
),
3674 int_array_alignment
= _Alignof
(int
[100]),
3675 char_alignment
= _Alignof
(char
)
3677 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3680 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3682 // Check _Static_assert.
3683 struct test_static_assert
3686 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3687 "_Static_assert does not work in struct");
3691 // Check UTF-8 literals.
3692 #define u8 syntax error!
3693 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3695 // Check duplicate typedefs.
3696 typedef long
*long_ptr
;
3697 typedef long int
*long_ptr
;
3698 typedef long_ptr long_ptr
;
3700 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3704 struct
{ int i
; int j
; };
3705 struct
{ int k
; long int l
; } w
;
3711 # Test code for whether the C compiler supports C11 (body of main).
3712 ac_c_conftest_c11_main='
3713 _Static_assert
((offsetof
(struct anonymous
, i
)
3714 == offsetof
(struct anonymous
, w.k
)),
3715 "Anonymous union alignment botch");
3721 # Test code for whether the C compiler supports C11 (complete).
3722 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3723 ${ac_c_conftest_c99_globals}
3724 ${ac_c_conftest_c11_globals}
3727 main (int argc, char **argv)
3730 ${ac_c_conftest_c89_main}
3731 ${ac_c_conftest_c99_main}
3732 ${ac_c_conftest_c11_main}
3737 # Test code for whether the C compiler supports C99 (complete).
3738 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3739 ${ac_c_conftest_c99_globals}
3742 main (int argc, char **argv)
3745 ${ac_c_conftest_c89_main}
3746 ${ac_c_conftest_c99_main}
3751 # Test code for whether the C compiler supports C89 (complete).
3752 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3755 main (int argc, char **argv)
3758 ${ac_c_conftest_c89_main}
3763 # Test code for whether the C++ compiler supports C++98 (global declarations)
3764 ac_cxx_conftest_cxx98_globals='
3765 // Does the compiler advertise C
++98 conformance?
3766 #if !defined __cplusplus || __cplusplus < 199711L
3767 # error "Compiler does not advertise C++98 conformance"
3770 // These inclusions are to reject old compilers that
3771 // lack the unsuffixed header files.
3773 #include <exception>
3775 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3776 extern void assert
(int
);
3778 extern int strcmp
(const char
*, const char
*);
3781 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3782 using std
::exception
;
3787 void test_exception_syntax
()
3791 } catch
(const char
*s
) {
3792 // Extra parentheses suppress a warning when building autoconf itself
,
3793 // due to lint rules shared with
more typical C programs.
3794 assert
(!(strcmp
) (s
, "test"));
3798 template
<typename T
> struct test_template
3801 explicit test_template
(T t
) : val
(t
) {}
3802 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3805 } // anonymous namespace
3808 # Test code for whether the C++ compiler supports C++98 (body of main)
3809 ac_cxx_conftest_cxx98_main='
3813 test_exception_syntax
();
3814 test_template
<double
> tt
(2.0);
3815 assert
(tt.add
(4) == 6.0);
3816 assert
(true
&& !false
);
3820 # Test code for whether the C++ compiler supports C++11 (global declarations)
3821 ac_cxx_conftest_cxx11_globals='
3822 // Does the compiler advertise C
++ 2011 conformance?
3823 #if !defined __cplusplus || __cplusplus < 201103L
3824 # error "Compiler does not advertise C++11 conformance"
3829 constexpr int get_val
() { return 20; }
3840 delegate
(int n
) : n
(n
) {}
3841 delegate
(): delegate
(2354) {}
3843 virtual int getval
() { return this-
>n
; };
3848 class overridden
: public delegate
3851 overridden
(int n
): delegate
(n
) {}
3852 virtual int getval
() override final
{ return this-
>n
* 2; }
3858 nocopy
(int i
): i
(i
) {}
3860 nocopy
(const nocopy
&) = delete
;
3861 nocopy
& operator
=(const nocopy
&) = delete
;
3866 // for testing lambda expressions
3867 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3872 // for testing variadic templates and trailing
return types
3873 template
<typename V
> auto
sum(V first
) -> V
3877 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3879 return first
+ sum(rest...
);
3884 # Test code for whether the C++ compiler supports C++11 (body of main)
3885 ac_cxx_conftest_cxx11_main='
3887 // Test auto and decltype
3889 auto a2
= 48573953.4;
3890 auto a3
= "String literal";
3893 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3895 decltype
(a2
) a4
= 34895.034;
3899 short sa
[cxx11test
::get_val
()] = { 0 };
3902 // Test initializer lists
3903 cxx11test
::testinit il
= { 4323, 435234.23544 };
3906 // Test range-based
for
3907 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3908 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3909 for (auto
&x
: array
) { x
+= 23; }
3912 // Test lambda expressions
3913 using cxx11test
::eval;
3914 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3916 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3918 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3922 // Test use of variadic templates
3923 using cxx11test
::sum;
3926 auto c
= sum(1.0, 2.0, 3.0);
3929 // Test constructor delegation
3930 cxx11test
::delegate d1
;
3931 cxx11test
::delegate d2
();
3932 cxx11test
::delegate d3
(45);
3935 // Test override and final
3936 cxx11test
::overridden o1
(55464);
3943 // Test template brackets
3944 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3948 char const
*utf8
= u8
"UTF-8 string \u2500";
3949 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3950 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3954 # Test code for whether the C compiler supports C++11 (complete).
3955 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3956 ${ac_cxx_conftest_cxx11_globals}
3959 main (int argc, char **argv)
3962 ${ac_cxx_conftest_cxx98_main}
3963 ${ac_cxx_conftest_cxx11_main}
3968 # Test code for whether the C compiler supports C++98 (complete).
3969 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3971 main (int argc, char **argv)
3974 ${ac_cxx_conftest_cxx98_main}
3979 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3980 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3981 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3982 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3983 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3984 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3985 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3986 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3987 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3989 # Auxiliary files required by this configure script.
3990 ac_aux_files="config.guess config.sub"
3992 # Locations in which to look for auxiliary files.
3993 ac_aux_dir_candidates="${srcdir}/tools"
3995 # Search for a directory containing all of the required auxiliary files,
3996 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3997 # If we don't
find one directory that contains all the files we need
,
3998 # we report the set of missing files from the *first* directory in
3999 # $ac_aux_dir_candidates and give up.
4000 ac_missing_aux_files
=""
4001 ac_first_candidate
=:
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 for as_dir
in $ac_aux_dir_candidates
4008 case $as_dir in #(((
4011 *) as_dir
=$as_dir/ ;;
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4016 ac_aux_dir_found
=yes
4018 for ac_aux
in $ac_aux_files
4020 # As a special case, if "install-sh" is required, that requirement
4021 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4022 # and $ac_install_sh is set appropriately for whichever one is found.
4023 if test x
"$ac_aux" = x
"install-sh"
4025 if test -f "${as_dir}install-sh"; then
4026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4027 ac_install_sh
="${as_dir}install-sh -c"
4028 elif test -f "${as_dir}install.sh"; then
4029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4030 ac_install_sh
="${as_dir}install.sh -c"
4031 elif test -f "${as_dir}shtool"; then
4032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4033 ac_install_sh
="${as_dir}shtool install -c"
4036 if $ac_first_candidate; then
4037 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4043 if test -f "${as_dir}${ac_aux}"; then
4044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4047 if $ac_first_candidate; then
4048 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4055 if test "$ac_aux_dir_found" = yes; then
4056 ac_aux_dir
="$as_dir"
4059 ac_first_candidate
=false
4068 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4072 # These three variables are undocumented and unsupported,
4073 # and are intended to be withdrawn in a future Autoconf release.
4074 # They can cause serious problems if a builder's source tree is in a directory
4075 # whose full name contains unusual characters.
4076 if test -f "${ac_aux_dir}config.guess"; then
4077 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4079 if test -f "${ac_aux_dir}config.sub"; then
4080 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4082 if test -f "$ac_aux_dir/configure"; then
4083 ac_configure
="$SHELL ${ac_aux_dir}configure"
4086 # Check that the precious variables saved in the cache have kept the same
4088 ac_cache_corrupted
=false
4089 for ac_var
in $ac_precious_vars; do
4090 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4091 eval ac_new_set
=\
$ac_env_${ac_var}_set
4092 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4093 eval ac_new_val
=\
$ac_env_${ac_var}_value
4094 case $ac_old_set,$ac_new_set in
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4097 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4098 ac_cache_corrupted
=: ;;
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4101 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4102 ac_cache_corrupted
=: ;;
4105 if test "x$ac_old_val" != "x$ac_new_val"; then
4106 # differences in whitespace do not lead to failure.
4107 ac_old_val_w
=`echo x $ac_old_val`
4108 ac_new_val_w
=`echo x $ac_new_val`
4109 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4111 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4112 ac_cache_corrupted
=:
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4115 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4116 eval $ac_var=\
$ac_old_val
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4119 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4121 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4124 # Pass precious variables to config.status.
4125 if test "$ac_new_set" = set; then
4127 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4128 *) ac_arg
=$ac_var=$ac_new_val ;;
4130 case " $ac_configure_args " in
4131 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4132 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4136 if $ac_cache_corrupted; then
4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4140 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4141 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4142 and start over" "$LINENO" 5
4144 ## -------------------- ##
4145 ## Main body of script. ##
4146 ## -------------------- ##
4149 ac_cpp
='$CPP $CPPFLAGS'
4150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4156 ac_config_headers
="$ac_config_headers include/config.h"
4160 libwine_version
="1.0"
4163 # Check whether --enable-archs was given.
4164 if test ${enable_archs+y}
4166 enableval
=$enable_archs;
4169 # Check whether --enable-win16 was given.
4170 if test ${enable_win16+y}
4172 enableval
=$enable_win16;
4175 # Check whether --enable-win64 was given.
4176 if test ${enable_win64+y}
4178 enableval
=$enable_win64;
4181 # Check whether --enable-tests was given.
4182 if test ${enable_tests+y}
4184 enableval
=$enable_tests;
4187 # Check whether --enable-build-id was given.
4188 if test ${enable_build_id+y}
4190 enableval
=$enable_build_id;
4193 # Check whether --enable-maintainer-mode was given.
4194 if test ${enable_maintainer_mode+y}
4196 enableval
=$enable_maintainer_mode;
4199 # Check whether --enable-silent-rules was given.
4200 if test ${enable_silent_rules+y}
4202 enableval
=$enable_silent_rules;
4205 # Check whether --enable-werror was given.
4206 if test ${enable_werror+y}
4208 enableval
=$enable_werror;
4213 # Check whether --with-alsa was given.
4214 if test ${with_alsa+y}
4220 # Check whether --with-capi was given.
4221 if test ${with_capi+y}
4227 # Check whether --with-coreaudio was given.
4228 if test ${with_coreaudio+y}
4230 withval
=$with_coreaudio;
4234 # Check whether --with-cups was given.
4235 if test ${with_cups+y}
4241 # Check whether --with-dbus was given.
4242 if test ${with_dbus+y}
4248 # Check whether --with-float-abi was given.
4249 if test ${with_float_abi+y}
4251 withval
=$with_float_abi;
4255 # Check whether --with-fontconfig was given.
4256 if test ${with_fontconfig+y}
4258 withval
=$with_fontconfig;
4262 # Check whether --with-freetype was given.
4263 if test ${with_freetype+y}
4265 withval
=$with_freetype;
4269 # Check whether --with-gettext was given.
4270 if test ${with_gettext+y}
4272 withval
=$with_gettext;
4276 # Check whether --with-gettextpo was given.
4277 if test ${with_gettextpo+y}
4279 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4283 # Check whether --with-gphoto was given.
4284 if test ${with_gphoto+y}
4286 withval
=$with_gphoto;
4290 # Check whether --with-gnutls was given.
4291 if test ${with_gnutls+y}
4293 withval
=$with_gnutls;
4297 # Check whether --with-gssapi was given.
4298 if test ${with_gssapi+y}
4300 withval
=$with_gssapi;
4304 # Check whether --with-gstreamer was given.
4305 if test ${with_gstreamer+y}
4307 withval
=$with_gstreamer;
4311 # Check whether --with-inotify was given.
4312 if test ${with_inotify+y}
4314 withval
=$with_inotify;
4318 # Check whether --with-krb5 was given.
4319 if test ${with_krb5+y}
4325 # Check whether --with-mingw was given.
4326 if test ${with_mingw+y}
4328 withval
=$with_mingw;
4332 # Check whether --with-netapi was given.
4333 if test ${with_netapi+y}
4335 withval
=$with_netapi;
4339 # Check whether --with-opencl was given.
4340 if test ${with_opencl+y}
4342 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4346 # Check whether --with-opengl was given.
4347 if test ${with_opengl+y}
4349 withval
=$with_opengl;
4353 # Check whether --with-osmesa was given.
4354 if test ${with_osmesa+y}
4356 withval
=$with_osmesa;
4360 # Check whether --with-oss was given.
4361 if test ${with_oss+y}
4367 # Check whether --with-pcap was given.
4368 if test ${with_pcap+y}
4370 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4374 # Check whether --with-pcsclite was given.
4375 if test ${with_pcsclite+y}
4377 withval
=$with_pcsclite;
4381 # Check whether --with-pthread was given.
4382 if test ${with_pthread+y}
4384 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4388 # Check whether --with-pulse was given.
4389 if test ${with_pulse+y}
4391 withval
=$with_pulse;
4395 # Check whether --with-sane was given.
4396 if test ${with_sane+y}
4402 # Check whether --with-sdl was given.
4403 if test ${with_sdl+y}
4409 # Check whether --with-udev was given.
4410 if test ${with_udev+y}
4416 # Check whether --with-unwind was given.
4417 if test ${with_unwind+y}
4419 withval
=$with_unwind;
4423 # Check whether --with-usb was given.
4424 if test ${with_usb+y}
4430 # Check whether --with-v4l2 was given.
4431 if test ${with_v4l2+y}
4437 # Check whether --with-vulkan was given.
4438 if test ${with_vulkan+y}
4440 withval
=$with_vulkan;
4444 # Check whether --with-wayland was given.
4445 if test ${with_wayland+y}
4447 withval
=$with_wayland;
4451 # Check whether --with-xcomposite was given.
4452 if test ${with_xcomposite+y}
4454 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4458 # Check whether --with-xcursor was given.
4459 if test ${with_xcursor+y}
4461 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4465 # Check whether --with-xfixes was given.
4466 if test ${with_xfixes+y}
4468 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4472 # Check whether --with-xinerama was given.
4473 if test ${with_xinerama+y}
4475 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4479 # Check whether --with-xinput was given.
4480 if test ${with_xinput+y}
4482 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4486 # Check whether --with-xinput2 was given.
4487 if test ${with_xinput2+y}
4489 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4493 # Check whether --with-xrandr was given.
4494 if test ${with_xrandr+y}
4496 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4500 # Check whether --with-xrender was given.
4501 if test ${with_xrender+y}
4503 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4507 # Check whether --with-xshape was given.
4508 if test ${with_xshape+y}
4510 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4514 # Check whether --with-xshm was given.
4515 if test ${with_xshm+y}
4517 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4521 # Check whether --with-xxf86vm was given.
4522 if test ${with_xxf86vm+y}
4524 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
4529 # Check whether --with-system-dllpath was given.
4530 if test ${with_system_dllpath+y}
4532 withval
=$with_system_dllpath; system_dllpath
=$withval
4537 # Check whether --with-wine-tools was given.
4538 if test ${with_wine_tools+y}
4540 withval
=$with_wine_tools;
4544 # Check whether --with-wine64 was given.
4545 if test ${with_wine64+y}
4547 withval
=$with_wine64;
4554 # Make sure we can run config.sub.
4555 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4556 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4559 printf %s
"checking build system type... " >&6; }
4560 if test ${ac_cv_build+y}
4562 printf %s
"(cached) " >&6
4564 ac_build_alias
=$build_alias
4565 test "x$ac_build_alias" = x
&&
4566 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4567 test "x$ac_build_alias" = x
&&
4568 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4569 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4570 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4574 printf "%s\n" "$ac_cv_build" >&6; }
4575 case $ac_cv_build in
4577 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4580 ac_save_IFS
=$IFS; IFS
='-'
4586 # Remember, the first character of IFS is used to create $*,
4587 # except with old shells:
4590 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4594 printf %s
"checking host system type... " >&6; }
4595 if test ${ac_cv_host+y}
4597 printf %s
"(cached) " >&6
4599 if test "x$host_alias" = x
; then
4600 ac_cv_host
=$ac_cv_build
4602 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4603 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4608 printf "%s\n" "$ac_cv_host" >&6; }
4611 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4614 ac_save_IFS
=$IFS; IFS
='-'
4620 # Remember, the first character of IFS is used to create $*,
4621 # except with old shells:
4624 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4628 dlldir
=\
${libdir}/wine
4630 fontdir
=\
${datadir}/wine
/fonts
4632 nlsdir
=\
${datadir}/wine
/nls
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4638 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4640 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4641 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4643 printf %s
"(cached) " >&6
4645 cat >conftest.
make <<\_ACEOF
4648 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4651 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4653 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4655 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4659 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4661 printf "%s\n" "yes" >&6; }
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 printf "%s\n" "no" >&6; }
4666 SET_MAKE
="MAKE=${MAKE-make}"
4679 ac_cpp
='$CPP $CPPFLAGS'
4680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4683 if test -n "$ac_tool_prefix"; then
4684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 printf %s
"checking for $ac_word... " >&6; }
4688 if test ${ac_cv_prog_CC+y}
4690 printf %s
"(cached) " >&6
4692 if test -n "$CC"; then
4693 ac_cv_prog_CC
="$CC" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 case $as_dir in #(((
4702 *) as_dir
=$as_dir/ ;;
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4706 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4717 if test -n "$CC"; then
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4719 printf "%s\n" "$CC" >&6; }
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 printf "%s\n" "no" >&6; }
4727 if test -z "$ac_cv_prog_CC"; then
4729 # Extract the first word of "gcc", so it can be a program name with args.
4730 set dummy gcc
; ac_word
=$2
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 printf %s
"checking for $ac_word... " >&6; }
4733 if test ${ac_cv_prog_ac_ct_CC+y}
4735 printf %s
"(cached) " >&6
4737 if test -n "$ac_ct_CC"; then
4738 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 case $as_dir in #(((
4747 *) as_dir
=$as_dir/ ;;
4749 for ac_exec_ext
in '' $ac_executable_extensions; do
4750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_ac_ct_CC
="gcc"
4752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4761 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4762 if test -n "$ac_ct_CC"; then
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4764 printf "%s\n" "$ac_ct_CC" >&6; }
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 printf "%s\n" "no" >&6; }
4770 if test "x$ac_ct_CC" = x
; then
4773 case $cross_compiling:$ac_tool_warned in
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned
=yes ;;
4785 if test -z "$CC"; then
4786 if test -n "$ac_tool_prefix"; then
4787 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4788 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 printf %s
"checking for $ac_word... " >&6; }
4791 if test ${ac_cv_prog_CC+y}
4793 printf %s
"(cached) " >&6
4795 if test -n "$CC"; then
4796 ac_cv_prog_CC
="$CC" # Let the user override the test.
4798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4802 case $as_dir in #(((
4805 *) as_dir
=$as_dir/ ;;
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4820 if test -n "$CC"; then
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4822 printf "%s\n" "$CC" >&6; }
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 printf "%s\n" "no" >&6; }
4831 if test -z "$CC"; then
4832 # Extract the first word of "cc", so it can be a program name with args.
4833 set dummy cc
; ac_word
=$2
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 printf %s
"checking for $ac_word... " >&6; }
4836 if test ${ac_cv_prog_CC+y}
4838 printf %s
"(cached) " >&6
4840 if test -n "$CC"; then
4841 ac_cv_prog_CC
="$CC" # Let the user override the test.
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 case $as_dir in #(((
4851 *) as_dir
=$as_dir/ ;;
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4855 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4856 ac_prog_rejected
=yes
4860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4867 if test $ac_prog_rejected = yes; then
4868 # We found a bogon in the path, so make sure we never use it.
4869 set dummy
$ac_cv_prog_CC
4871 if test $# != 0; then
4872 # We chose a different compiler from the bogus one.
4873 # However, it has the same basename, so the bogon will be chosen
4874 # first if we set CC to just the basename; use the full file name.
4876 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4882 if test -n "$CC"; then
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4884 printf "%s\n" "$CC" >&6; }
4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 printf "%s\n" "no" >&6; }
4892 if test -z "$CC"; then
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog
in cl.exe
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 printf %s
"checking for $ac_word... " >&6; }
4900 if test ${ac_cv_prog_CC+y}
4902 printf %s
"(cached) " >&6
4904 if test -n "$CC"; then
4905 ac_cv_prog_CC
="$CC" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 case $as_dir in #(((
4914 *) as_dir
=$as_dir/ ;;
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 if test -n "$CC"; then
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4931 printf "%s\n" "$CC" >&6; }
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 printf "%s\n" "no" >&6; }
4938 test -n "$CC" && break
4941 if test -z "$CC"; then
4943 for ac_prog
in cl.exe
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_prog; ac_word
=$2
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 printf %s
"checking for $ac_word... " >&6; }
4949 if test ${ac_cv_prog_ac_ct_CC+y}
4951 printf %s
"(cached) " >&6
4953 if test -n "$ac_ct_CC"; then
4954 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 case $as_dir in #(((
4963 *) as_dir
=$as_dir/ ;;
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_CC
="$ac_prog"
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4978 if test -n "$ac_ct_CC"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4980 printf "%s\n" "$ac_ct_CC" >&6; }
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4987 test -n "$ac_ct_CC" && break
4990 if test "x$ac_ct_CC" = x
; then
4993 case $cross_compiling:$ac_tool_warned in
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned
=yes ;;
5004 if test -z "$CC"; then
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5007 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 printf %s
"checking for $ac_word... " >&6; }
5010 if test ${ac_cv_prog_CC+y}
5012 printf %s
"(cached) " >&6
5014 if test -n "$CC"; then
5015 ac_cv_prog_CC
="$CC" # Let the user override the test.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 case $as_dir in #(((
5024 *) as_dir
=$as_dir/ ;;
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5039 if test -n "$CC"; then
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5041 printf "%s\n" "$CC" >&6; }
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 printf "%s\n" "no" >&6; }
5049 if test -z "$ac_cv_prog_CC"; then
5051 # Extract the first word of "clang", so it can be a program name with args.
5052 set dummy clang
; ac_word
=$2
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 printf %s
"checking for $ac_word... " >&6; }
5055 if test ${ac_cv_prog_ac_ct_CC+y}
5057 printf %s
"(cached) " >&6
5059 if test -n "$ac_ct_CC"; then
5060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 case $as_dir in #(((
5069 *) as_dir
=$as_dir/ ;;
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_CC
="clang"
5074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5083 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5084 if test -n "$ac_ct_CC"; then
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5086 printf "%s\n" "$ac_ct_CC" >&6; }
5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 printf "%s\n" "no" >&6; }
5092 if test "x$ac_ct_CC" = x
; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned
=yes ;;
5110 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5112 as_fn_error $?
"no acceptable C compiler found in \$PATH
5113 See \`config.log' for more details" "$LINENO" 5; }
5115 # Provide some information about the compiler.
5116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5119 for ac_option
in --version -v -V -qversion -version; do
5120 { { ac_try
="$ac_compiler $ac_option >&5"
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5126 printf "%s\n" "$ac_try_echo"; } >&5
5127 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5129 if test -s conftest.err; then
5131 ... rest of stderr output deleted ...
5132 10q' conftest.err >conftest.er1
5133 cat conftest.er1 >&5
5135 rm -f conftest.er1 conftest.err
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5137 test $ac_status = 0; }
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5151 ac_clean_files_save=$ac_clean_files
5152 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5153 # Try to create an executable without -o first, disregard a.out.
5154 # It will help us diagnose broken compilers, and finding out an intuition
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5157 printf %s "checking whether the C compiler works... " >&6; }
5158 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5160 # The possible output files:
5161 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5164 for ac_file in $ac_files
5167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5168 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5173 if { { ac_try="$ac_link_default"
5175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5176 *) ac_try_echo
=$ac_try;;
5178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5179 printf "%s\n" "$ac_try_echo"; } >&5
5180 (eval "$ac_link_default") 2>&5
5182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5183 test $ac_status = 0; }
5185 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5187 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5188 # so that the user can short-circuit this test for compilers unknown to
5190 for ac_file
in $ac_files ''
5192 test -f "$ac_file" ||
continue
5194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5197 # We found the default executable, but exeext='' is most
5201 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5203 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5205 # We set ac_cv_exeext here because the later test for it is not
5206 # safe: cross compilers may not add the suffix if given an `-o'
5207 # argument, so we may need to know it at that point already.
5208 # Even if this section looks crufty: it has the advantage of
5215 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5220 if test -z "$ac_file"
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 printf "%s\n" "no" >&6; }
5224 printf "%s\n" "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5227 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5228 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5229 as_fn_error
77 "C compiler cannot create executables
5230 See \`config.log' for more details" "$LINENO" 5; }
5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5233 printf "%s\n" "yes" >&6; }
5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5236 printf %s
"checking for C compiler default output file name... " >&6; }
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5238 printf "%s\n" "$ac_file" >&6; }
5239 ac_exeext
=$ac_cv_exeext
5241 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5242 ac_clean_files
=$ac_clean_files_save
5243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5244 printf %s
"checking for suffix of executables... " >&6; }
5245 if { { ac_try
="$ac_link"
5247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5248 *) ac_try_echo=$ac_try;;
5250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5251 printf "%s\n" "$ac_try_echo"; } >&5
5252 (eval "$ac_link") 2>&5
5254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5255 test $ac_status = 0; }
5257 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5258 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5259 # work properly (i.e., refer to `conftest.exe'), while it won't with
5261 for ac_file
in conftest.exe conftest conftest.
*; do
5262 test -f "$ac_file" ||
continue
5264 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5265 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5273 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5274 See \`config.log' for more details" "$LINENO" 5; }
5276 rm -f conftest conftest
$ac_cv_exeext
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5278 printf "%s\n" "$ac_cv_exeext" >&6; }
5280 rm -f conftest.
$ac_ext
5281 EXEEXT
=$ac_cv_exeext
5283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5289 FILE *f = fopen ("conftest.out", "w");
5290 return ferror (f) || fclose (f) != 0;
5296 ac_clean_files
="$ac_clean_files conftest.out"
5297 # Check that the compiler produces executables we can run. If not, either
5298 # the compiler is broken, or we cross compile.
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5300 printf %s
"checking whether we are cross compiling... " >&6; }
5301 if test "$cross_compiling" != yes; then
5302 { { ac_try
="$ac_link"
5304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5305 *) ac_try_echo=$ac_try;;
5307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5308 printf "%s\n" "$ac_try_echo"; } >&5
5309 (eval "$ac_link") 2>&5
5311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5312 test $ac_status = 0; }
5313 if { ac_try='./conftest$ac_cv_exeext'
5314 { { case "(($ac_try" in
5315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5316 *) ac_try_echo
=$ac_try;;
5318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5319 printf "%s\n" "$ac_try_echo"; } >&5
5320 (eval "$ac_try") 2>&5
5322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5323 test $ac_status = 0; }; }; then
5326 if test "$cross_compiling" = maybe
; then
5329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error
77 "cannot run C compiled programs.
5332 If you meant to cross compile, use \`--host'.
5333 See \`config.log' for more details" "$LINENO" 5; }
5337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5338 printf "%s\n" "$cross_compiling" >&6; }
5340 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5341 ac_clean_files
=$ac_clean_files_save
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5343 printf %s
"checking for suffix of object files... " >&6; }
5344 if test ${ac_cv_objext+y}
5346 printf %s
"(cached) " >&6
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5359 rm -f conftest.o conftest.obj
5360 if { { ac_try
="$ac_compile"
5362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5366 printf "%s\n" "$ac_try_echo"; } >&5
5367 (eval "$ac_compile") 2>&5
5369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5370 test $ac_status = 0; }
5372 for ac_file in conftest.o conftest.obj conftest.*; do
5373 test -f "$ac_file" || continue;
5375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5376 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5381 printf "%s\n" "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.$ac_ext >&5
5384 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5387 See \
`config.log' for more details" "$LINENO" 5; }
5389 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5392 printf "%s\n" "$ac_cv_objext" >&6; }
5393 OBJEXT=$ac_cv_objext
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5396 printf %s "checking whether the compiler supports GNU C... " >&6; }
5397 if test ${ac_cv_c_compiler_gnu+y}
5399 printf %s "(cached) " >&6
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5415 if ac_fn_c_try_compile "$LINENO"
5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5426 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5429 if test $ac_compiler_gnu = yes; then
5434 ac_test_CFLAGS=${CFLAGS+y}
5435 ac_save_CFLAGS=$CFLAGS
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5437 printf %s "checking whether $CC accepts -g... " >&6; }
5438 if test ${ac_cv_prog_cc_g+y}
5440 printf %s "(cached) " >&6
5442 ac_save_c_werror_flag=$ac_c_werror_flag
5443 ac_c_werror_flag=yes
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5457 if ac_fn_c_try_compile "$LINENO"
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5473 if ac_fn_c_try_compile "$LINENO"
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5490 if ac_fn_c_try_compile "$LINENO"
5494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 ac_c_werror_flag=$ac_save_c_werror_flag
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5502 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5503 if test $ac_test_CFLAGS; then
5504 CFLAGS=$ac_save_CFLAGS
5505 elif test $ac_cv_prog_cc_g = yes; then
5506 if test "$GCC" = yes; then
5512 if test "$GCC" = yes; then
5519 if test x$ac_prog_cc_stdc = xno
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5522 printf %s "checking for $CC option to enable C11 features... " >&6; }
5523 if test ${ac_cv_prog_cc_c11+y}
5525 printf %s "(cached) " >&6
5527 ac_cv_prog_cc_c11=no
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5531 $ac_c_conftest_c11_program
5533 for ac_arg in '' -std=gnu11
5535 CC="$ac_save_CC $ac_arg"
5536 if ac_fn_c_try_compile "$LINENO"
5538 ac_cv_prog_cc_c11=$ac_arg
5540 rm -f core conftest.err conftest.$ac_objext conftest.beam
5541 test "x$ac_cv_prog_cc_c11" != "xno" && break
5543 rm -f conftest.$ac_ext
5547 if test "x$ac_cv_prog_cc_c11" = xno
5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5550 printf "%s\n" "unsupported" >&6; }
5552 if test "x$ac_cv_prog_cc_c11" = x
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5555 printf "%s\n" "none needed" >&6; }
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5558 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5559 CC="$CC $ac_cv_prog_cc_c11"
5561 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5565 if test x$ac_prog_cc_stdc = xno
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5568 printf %s "checking for $CC option to enable C99 features... " >&6; }
5569 if test ${ac_cv_prog_cc_c99+y}
5571 printf %s "(cached) " >&6
5573 ac_cv_prog_cc_c99=no
5575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5577 $ac_c_conftest_c99_program
5579 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5581 CC="$ac_save_CC $ac_arg"
5582 if ac_fn_c_try_compile "$LINENO"
5584 ac_cv_prog_cc_c99=$ac_arg
5586 rm -f core conftest.err conftest.$ac_objext conftest.beam
5587 test "x$ac_cv_prog_cc_c99" != "xno" && break
5589 rm -f conftest.$ac_ext
5593 if test "x$ac_cv_prog_cc_c99" = xno
5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5596 printf "%s\n" "unsupported" >&6; }
5598 if test "x$ac_cv_prog_cc_c99" = x
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5601 printf "%s\n" "none needed" >&6; }
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5604 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5605 CC="$CC $ac_cv_prog_cc_c99"
5607 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5611 if test x$ac_prog_cc_stdc = xno
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5614 printf %s "checking for $CC option to enable C89 features... " >&6; }
5615 if test ${ac_cv_prog_cc_c89+y}
5617 printf %s "(cached) " >&6
5619 ac_cv_prog_cc_c89=no
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 $ac_c_conftest_c89_program
5625 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5627 CC="$ac_save_CC $ac_arg"
5628 if ac_fn_c_try_compile "$LINENO"
5630 ac_cv_prog_cc_c89=$ac_arg
5632 rm -f core conftest.err conftest.$ac_objext conftest.beam
5633 test "x$ac_cv_prog_cc_c89" != "xno" && break
5635 rm -f conftest.$ac_ext
5639 if test "x$ac_cv_prog_cc_c89" = xno
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5642 printf "%s\n" "unsupported" >&6; }
5644 if test "x$ac_cv_prog_cc_c89" = x
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5647 printf "%s\n" "none needed" >&6; }
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5650 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5651 CC="$CC $ac_cv_prog_cc_c89"
5653 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5659 ac_cpp='$CPP $CPPFLAGS'
5660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5671 ac_cpp='$CXXCPP $CPPFLAGS'
5672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5675 if test -z "$CXX"; then
5676 if test -n "$CCC"; then
5679 if test -n "$ac_tool_prefix"; then
5680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 printf %s "checking for $ac_word... " >&6; }
5686 if test ${ac_cv_prog_CXX+y}
5688 printf %s "(cached) " >&6
5690 if test -n "$CXX"; then
5691 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 case $as_dir in #(((
5700 *) as_dir=$as_dir/ ;;
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5715 if test -n "$CXX"; then
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5717 printf "%s\n" "$CXX" >&6; }
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 printf "%s\n" "no" >&6; }
5724 test -n "$CXX" && break
5727 if test -z "$CXX"; then
5729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 printf %s "checking for $ac_word... " >&6; }
5735 if test ${ac_cv_prog_ac_ct_CXX+y}
5737 printf %s "(cached) " >&6
5739 if test -n "$ac_ct_CXX"; then
5740 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 case $as_dir in #(((
5749 *) as_dir=$as_dir/ ;;
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_CXX="$ac_prog"
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5763 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5764 if test -n "$ac_ct_CXX"; then
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5766 printf "%s\n" "$ac_ct_CXX" >&6; }
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 printf "%s\n" "no" >&6; }
5773 test -n "$ac_ct_CXX" && break
5776 if test "x$ac_ct_CXX" = x; then
5779 case $cross_compiling:$ac_tool_warned in
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5791 # Provide some information about the compiler.
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5795 for ac_option in --version -v -V -qversion; do
5796 { { ac_try="$ac_compiler $ac_option >&5"
5798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5799 *) ac_try_echo
=$ac_try;;
5801 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5802 printf "%s\n" "$ac_try_echo"; } >&5
5803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5805 if test -s conftest.err
; then
5807 ... rest of stderr output deleted ...
5808 10q' conftest.err
>conftest.er1
5809 cat conftest.er1
>&5
5811 rm -f conftest.er1 conftest.err
5812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5813 test $ac_status = 0; }
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5817 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5818 if test ${ac_cv_cxx_compiler_gnu+y}
5820 printf %s
"(cached) " >&6
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5836 if ac_fn_cxx_try_compile
"$LINENO"
5842 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5843 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5847 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5850 if test $ac_compiler_gnu = yes; then
5855 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5856 ac_save_CXXFLAGS
=$CXXFLAGS
5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5858 printf %s
"checking whether $CXX accepts -g... " >&6; }
5859 if test ${ac_cv_prog_cxx_g+y}
5861 printf %s
"(cached) " >&6
5863 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5864 ac_cxx_werror_flag
=yes
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5878 if ac_fn_cxx_try_compile
"$LINENO"
5880 ac_cv_prog_cxx_g
=yes
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5894 if ac_fn_cxx_try_compile
"$LINENO"
5898 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5911 if ac_fn_cxx_try_compile
"$LINENO"
5913 ac_cv_prog_cxx_g
=yes
5915 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5917 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5919 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5920 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5923 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5924 if test $ac_test_CXXFLAGS; then
5925 CXXFLAGS
=$ac_save_CXXFLAGS
5926 elif test $ac_cv_prog_cxx_g = yes; then
5927 if test "$GXX" = yes; then
5933 if test "$GXX" = yes; then
5939 ac_prog_cxx_stdcxx
=no
5940 if test x
$ac_prog_cxx_stdcxx = xno
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5943 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5944 if test ${ac_cv_prog_cxx_cxx11+y}
5946 printf %s
"(cached) " >&6
5948 ac_cv_prog_cxx_cxx11
=no
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952 $ac_cxx_conftest_cxx11_program
5954 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5956 CXX
="$ac_save_CXX $ac_arg"
5957 if ac_fn_cxx_try_compile
"$LINENO"
5959 ac_cv_prog_cxx_cxx11
=$ac_arg
5961 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5962 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5964 rm -f conftest.
$ac_ext
5968 if test "x$ac_cv_prog_cxx_cxx11" = xno
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5971 printf "%s\n" "unsupported" >&6; }
5973 if test "x$ac_cv_prog_cxx_cxx11" = x
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5976 printf "%s\n" "none needed" >&6; }
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5979 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5980 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5982 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5983 ac_prog_cxx_stdcxx
=cxx11
5986 if test x
$ac_prog_cxx_stdcxx = xno
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5989 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5990 if test ${ac_cv_prog_cxx_cxx98+y}
5992 printf %s
"(cached) " >&6
5994 ac_cv_prog_cxx_cxx98
=no
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 $ac_cxx_conftest_cxx98_program
6000 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6002 CXX
="$ac_save_CXX $ac_arg"
6003 if ac_fn_cxx_try_compile
"$LINENO"
6005 ac_cv_prog_cxx_cxx98
=$ac_arg
6007 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6008 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6010 rm -f conftest.
$ac_ext
6014 if test "x$ac_cv_prog_cxx_cxx98" = xno
6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6017 printf "%s\n" "unsupported" >&6; }
6019 if test "x$ac_cv_prog_cxx_cxx98" = x
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6022 printf "%s\n" "none needed" >&6; }
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6025 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6026 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6028 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6029 ac_prog_cxx_stdcxx
=cxx98
6034 ac_cpp
='$CPP $CPPFLAGS'
6035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6041 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043 printf %s
"checking for $ac_word... " >&6; }
6044 if test ${ac_cv_prog_CPPBIN+y}
6046 printf %s
"(cached) " >&6
6048 if test -n "$CPPBIN"; then
6049 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6055 case $as_dir in #(((
6058 *) as_dir
=$as_dir/ ;;
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6072 CPPBIN
=$ac_cv_prog_CPPBIN
6073 if test -n "$CPPBIN"; then
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6075 printf "%s\n" "$CPPBIN" >&6; }
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 printf "%s\n" "no" >&6; }
6083 if test -z "$ac_cv_prog_CPPBIN"; then
6084 ac_ct_CPPBIN
=$CPPBIN
6085 # Extract the first word of "cpp", so it can be a program name with args.
6086 set dummy cpp
; ac_word
=$2
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 printf %s
"checking for $ac_word... " >&6; }
6089 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6091 printf %s
"(cached) " >&6
6093 if test -n "$ac_ct_CPPBIN"; then
6094 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6100 case $as_dir in #(((
6103 *) as_dir
=$as_dir/ ;;
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6117 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6118 if test -n "$ac_ct_CPPBIN"; then
6119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6120 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 printf "%s\n" "no" >&6; }
6126 if test "x$ac_ct_CPPBIN" = x
; then
6129 case $cross_compiling:$ac_tool_warned in
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6132 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6133 ac_tool_warned
=yes ;;
6135 CPPBIN
=$ac_ct_CPPBIN
6138 CPPBIN
="$ac_cv_prog_CPPBIN"
6142 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6146 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 printf %s
"checking for $ac_word... " >&6; }
6149 if test ${ac_cv_prog_LD+y}
6151 printf %s
"(cached) " >&6
6153 if test -n "$LD"; then
6154 ac_cv_prog_LD
="$LD" # Let the user override the test.
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6160 case $as_dir in #(((
6163 *) as_dir
=$as_dir/ ;;
6165 for ac_exec_ext
in '' $ac_executable_extensions; do
6166 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6178 if test -n "$LD"; then
6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6180 printf "%s\n" "$LD" >&6; }
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 printf "%s\n" "no" >&6; }
6188 if test -z "$ac_cv_prog_LD"; then
6190 # Extract the first word of "ld", so it can be a program name with args.
6191 set dummy ld
; ac_word
=$2
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 printf %s
"checking for $ac_word... " >&6; }
6194 if test ${ac_cv_prog_ac_ct_LD+y}
6196 printf %s
"(cached) " >&6
6198 if test -n "$ac_ct_LD"; then
6199 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6205 case $as_dir in #(((
6208 *) as_dir
=$as_dir/ ;;
6210 for ac_exec_ext
in '' $ac_executable_extensions; do
6211 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_ac_ct_LD
="ld"
6213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6222 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6223 if test -n "$ac_ct_LD"; then
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6225 printf "%s\n" "$ac_ct_LD" >&6; }
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 printf "%s\n" "no" >&6; }
6231 if test "x$ac_ct_LD" = x
; then
6234 case $cross_compiling:$ac_tool_warned in
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6237 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6238 ac_tool_warned
=yes ;;
6249 with_fontconfig
=${with_fontconfig:-no}
6251 *-mingw32*|
*-cygwin*)
6252 enable_win16
=${enable_win16:-no}
6253 with_mingw
=${with_mingw:-no}
6260 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6266 printf %s
"checking whether $CC works... " >&6; }
6267 if test ${wine_cv_cc_m32+y}
6269 printf %s
"(cached) " >&6
6271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6282 if ac_fn_c_try_link
"$LINENO"
6288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6289 conftest
$ac_exeext conftest.
$ac_ext
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6292 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6293 test $wine_cv_cc_m32 != no || as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6295 notice_platform
="32-bit "
6296 TARGETFLAGS
="$TARGETFLAGS -m32"
6297 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6298 export PKG_CONFIG_LIBDIR
6299 with_unwind
=${with_unwind:-no}
6304 notice_platform
="64-bit "
6305 TARGETFLAGS
="$TARGETFLAGS -m64"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6310 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6311 if test ${wine_cv_thumb2+y}
6313 printf %s
"(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6321 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6326 if ac_fn_c_try_link
"$LINENO"
6332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6333 conftest
$ac_exeext conftest.
$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6336 printf "%s\n" "$wine_cv_thumb2" >&6; }
6337 if test x
"$wine_cv_thumb2" = xyes
6339 CFLAGS
="$CFLAGS -mthumb"
6340 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6342 CFLAGS
="$CFLAGS -marm"
6343 TARGETFLAGS
="$TARGETFLAGS -marm"
6345 case $with_float_abi in
6347 float_abi
=$with_float_abi ;;
6354 saved_CFLAGS
=$CFLAGS
6355 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6357 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6358 if test ${wine_cv_float_abi+y}
6360 printf %s
"(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6368 asm("vmrs r2,fpscr");
6373 if ac_fn_c_try_link
"$LINENO"
6375 wine_cv_float_abi
=yes
6377 wine_cv_float_abi
=no
6379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6380 conftest
$ac_exeext conftest.
$ac_ext
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6383 printf "%s\n" "$wine_cv_float_abi" >&6; }
6384 if test $wine_cv_float_abi = no
6387 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6389 CFLAGS
=$saved_CFLAGS
6393 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6394 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 with_unwind
=${with_unwind:-no}
6401 enable_win16
=${enable_win16:-i386}
6402 enable_win64
=${enable_win64:-no}
6403 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6404 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6405 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6407 enable_winetest
=${enable_winetest:-$enable_tests}
6409 if test "x$enable_win64" = "xyes"
6411 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6412 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6416 cygwin
*|mingw32
*) toolsext
=".exe"
6424 aarch64
*) HOST_ARCH
=aarch64
;;
6425 arm
*) HOST_ARCH
=arm
;;
6426 i
[3456789]86*) HOST_ARCH
=i386
;;
6427 x86_64
) HOST_ARCH
=x86_64
;;
6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6432 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6433 if test ${wine_cv_toolsdir+y}
6435 printf %s
"(cached) " >&6
6437 wine_cv_toolsdir
="$with_wine_tools"
6438 if test -z "$with_wine_tools"; then
6439 if test "$cross_compiling" = "yes"; then
6440 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6441 elif test -n "$with_wine64"; then
6442 wine_cv_toolsdir
="$with_wine64"
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6447 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6448 if test -z "$wine_cv_toolsdir"; then
6449 wine_makedep
=tools
/makedep
$toolsext
6450 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6451 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6452 enable_tools
=${enable_tools:-no}
6453 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6455 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6457 toolsdir
=$wine_cv_toolsdir
6459 MAKEDEP
=$wine_makedep
6461 RUNTESTFLAGS
="-q -P wine"
6463 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'"
6466 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6468 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6473 # Extract the first word of "$ac_prog", so it can be a program name with args.
6474 set dummy
$ac_prog; ac_word
=$2
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 printf %s
"checking for $ac_word... " >&6; }
6477 if test ${ac_cv_prog_FLEX+y}
6479 printf %s
"(cached) " >&6
6481 if test -n "$FLEX"; then
6482 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6488 case $as_dir in #(((
6491 *) as_dir
=$as_dir/ ;;
6493 for ac_exec_ext
in '' $ac_executable_extensions; do
6494 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_FLEX
="$ac_prog"
6496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6505 FLEX
=$ac_cv_prog_FLEX
6506 if test -n "$FLEX"; then
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6508 printf "%s\n" "$FLEX" >&6; }
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 printf "%s\n" "no" >&6; }
6515 test -n "$FLEX" && break
6517 test -n "$FLEX" || FLEX
="none"
6519 if test "$FLEX" = "none"
6521 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6524 printf %s
"checking whether flex is recent enough... " >&6; }
6525 if test ${wine_cv_recent_flex+y}
6527 printf %s
"(cached) " >&6
6529 cat >conftest.l
<<EOF
6531 #include "prediluvian.h"
6535 if $FLEX -t conftest.l
>/dev
/null
2>&5
6537 wine_cv_recent_flex
=yes
6539 wine_cv_recent_flex
=no
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6543 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6544 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
6546 for ac_prog
in bison
6548 # Extract the first word of "$ac_prog", so it can be a program name with args.
6549 set dummy
$ac_prog; ac_word
=$2
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 printf %s
"checking for $ac_word... " >&6; }
6552 if test ${ac_cv_prog_BISON+y}
6554 printf %s
"(cached) " >&6
6556 if test -n "$BISON"; then
6557 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6563 case $as_dir in #(((
6566 *) as_dir
=$as_dir/ ;;
6568 for ac_exec_ext
in '' $ac_executable_extensions; do
6569 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_BISON
="$ac_prog"
6571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6580 BISON
=$ac_cv_prog_BISON
6581 if test -n "$BISON"; then
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6583 printf "%s\n" "$BISON" >&6; }
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 printf "%s\n" "no" >&6; }
6590 test -n "$BISON" && break
6592 test -n "$BISON" || BISON
="none"
6594 if test "$BISON" = "none"
6596 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6599 printf %s
"checking whether bison is recent enough... " >&6; }
6600 if test ${wine_cv_recent_bison+y}
6602 printf %s
"(cached) " >&6
6604 cat >conftest.y
<<EOF
6605 %define parse.error verbose
6609 if $BISON conftest.y
>/dev
/null
2>&5
6611 wine_cv_recent_bison
=yes
6613 wine_cv_recent_bison
=no
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6617 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6618 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
6620 if test -n "$ac_tool_prefix"; then
6621 for ac_prog
in ar gar
6623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6624 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s
"checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_AR+y}
6629 printf %s
"(cached) " >&6
6631 if test -n "$AR"; then
6632 ac_cv_prog_AR
="$AR" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 case $as_dir in #(((
6641 *) as_dir
=$as_dir/ ;;
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6656 if test -n "$AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6658 printf "%s\n" "$AR" >&6; }
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$AR" && break
6668 if test -z "$AR"; then
6670 for ac_prog
in ar gar
6672 # Extract the first word of "$ac_prog", so it can be a program name with args.
6673 set dummy
$ac_prog; ac_word
=$2
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 printf %s
"checking for $ac_word... " >&6; }
6676 if test ${ac_cv_prog_ac_ct_AR+y}
6678 printf %s
"(cached) " >&6
6680 if test -n "$ac_ct_AR"; then
6681 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6687 case $as_dir in #(((
6690 *) as_dir
=$as_dir/ ;;
6692 for ac_exec_ext
in '' $ac_executable_extensions; do
6693 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_ac_ct_AR
="$ac_prog"
6695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6705 if test -n "$ac_ct_AR"; then
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6707 printf "%s\n" "$ac_ct_AR" >&6; }
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 printf "%s\n" "no" >&6; }
6714 test -n "$ac_ct_AR" && break
6717 if test "x$ac_ct_AR" = x
; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned
=yes ;;
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6732 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 printf %s
"checking for $ac_word... " >&6; }
6735 if test ${ac_cv_prog_STRIP+y}
6737 printf %s
"(cached) " >&6
6739 if test -n "$STRIP"; then
6740 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 case $as_dir in #(((
6749 *) as_dir
=$as_dir/ ;;
6751 for ac_exec_ext
in '' $ac_executable_extensions; do
6752 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6763 STRIP
=$ac_cv_prog_STRIP
6764 if test -n "$STRIP"; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6766 printf "%s\n" "$STRIP" >&6; }
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 printf "%s\n" "no" >&6; }
6774 if test -z "$ac_cv_prog_STRIP"; then
6776 # Extract the first word of "strip", so it can be a program name with args.
6777 set dummy strip
; ac_word
=$2
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 printf %s
"checking for $ac_word... " >&6; }
6780 if test ${ac_cv_prog_ac_ct_STRIP+y}
6782 printf %s
"(cached) " >&6
6784 if test -n "$ac_ct_STRIP"; then
6785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6791 case $as_dir in #(((
6794 *) as_dir
=$as_dir/ ;;
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_ac_ct_STRIP
="strip"
6799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6808 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6809 if test -n "$ac_ct_STRIP"; then
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6811 printf "%s\n" "$ac_ct_STRIP" >&6; }
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 printf "%s\n" "no" >&6; }
6817 if test "x$ac_ct_STRIP" = x
; then
6820 case $cross_compiling:$ac_tool_warned in
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6824 ac_tool_warned
=yes ;;
6829 STRIP
="$ac_cv_prog_STRIP"
6832 if test -n "$ac_tool_prefix"; then
6833 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6834 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 printf %s
"checking for $ac_word... " >&6; }
6837 if test ${ac_cv_prog_RANLIB+y}
6839 printf %s
"(cached) " >&6
6841 if test -n "$RANLIB"; then
6842 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 case $as_dir in #(((
6851 *) as_dir
=$as_dir/ ;;
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6865 RANLIB
=$ac_cv_prog_RANLIB
6866 if test -n "$RANLIB"; then
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6868 printf "%s\n" "$RANLIB" >&6; }
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 printf "%s\n" "no" >&6; }
6876 if test -z "$ac_cv_prog_RANLIB"; then
6877 ac_ct_RANLIB
=$RANLIB
6878 # Extract the first word of "ranlib", so it can be a program name with args.
6879 set dummy ranlib
; ac_word
=$2
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 printf %s
"checking for $ac_word... " >&6; }
6882 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6884 printf %s
"(cached) " >&6
6886 if test -n "$ac_ct_RANLIB"; then
6887 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6893 case $as_dir in #(((
6896 *) as_dir
=$as_dir/ ;;
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6910 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6911 if test -n "$ac_ct_RANLIB"; then
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6913 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 printf "%s\n" "no" >&6; }
6919 if test "x$ac_ct_RANLIB" = x
; then
6922 case $cross_compiling:$ac_tool_warned in
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926 ac_tool_warned
=yes ;;
6928 RANLIB
=$ac_ct_RANLIB
6931 RANLIB
="$ac_cv_prog_RANLIB"
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6935 printf %s
"checking whether ln -s works... " >&6; }
6937 if test "$LN_S" = "ln -s"; then
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6939 printf "%s\n" "yes" >&6; }
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6942 printf "%s\n" "no, using $LN_S" >&6; }
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6946 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6947 if test ${ac_cv_path_GREP+y}
6949 printf %s
"(cached) " >&6
6951 if test -z "$GREP"; then
6952 ac_path_GREP_found
=false
6953 # Loop through the user's path and test for each of PROGNAME-LIST
6954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6958 case $as_dir in #(((
6961 *) as_dir
=$as_dir/ ;;
6963 for ac_prog
in grep ggrep
6965 for ac_exec_ext
in '' $ac_executable_extensions; do
6966 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6967 as_fn_executable_p
"$ac_path_GREP" ||
continue
6968 # Check for GNU ac_path_GREP and select it if it is found.
6969 # Check for GNU $ac_path_GREP
6970 case `"$ac_path_GREP" --version 2>&1` in
6972 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6975 printf %s
0123456789 >"conftest.in"
6978 cat "conftest.in" "conftest.in" >"conftest.tmp"
6979 mv "conftest.tmp" "conftest.in"
6980 cp "conftest.in" "conftest.nl"
6981 printf "%s\n" 'GREP' >> "conftest.nl"
6982 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6983 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6984 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6985 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6986 # Best one so far, save it but keep looking for a better one
6987 ac_cv_path_GREP
="$ac_path_GREP"
6988 ac_path_GREP_max
=$ac_count
6990 # 10*(2^10) chars as input seems more than enough
6991 test $ac_count -gt 10 && break
6993 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6996 $ac_path_GREP_found && break 3
7001 if test -z "$ac_cv_path_GREP"; then
7002 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7005 ac_cv_path_GREP
=$GREP
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7010 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7011 GREP
="$ac_cv_path_GREP"
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7015 printf %s
"checking for egrep... " >&6; }
7016 if test ${ac_cv_path_EGREP+y}
7018 printf %s
"(cached) " >&6
7020 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7021 then ac_cv_path_EGREP
="$GREP -E"
7023 if test -z "$EGREP"; then
7024 ac_path_EGREP_found
=false
7025 # Loop through the user's path and test for each of PROGNAME-LIST
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7027 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7030 case $as_dir in #(((
7033 *) as_dir
=$as_dir/ ;;
7035 for ac_prog
in egrep
7037 for ac_exec_ext
in '' $ac_executable_extensions; do
7038 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7039 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7040 # Check for GNU ac_path_EGREP and select it if it is found.
7041 # Check for GNU $ac_path_EGREP
7042 case `"$ac_path_EGREP" --version 2>&1` in
7044 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7047 printf %s
0123456789 >"conftest.in"
7050 cat "conftest.in" "conftest.in" >"conftest.tmp"
7051 mv "conftest.tmp" "conftest.in"
7052 cp "conftest.in" "conftest.nl"
7053 printf "%s\n" 'EGREP' >> "conftest.nl"
7054 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7055 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7056 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7057 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7058 # Best one so far, save it but keep looking for a better one
7059 ac_cv_path_EGREP
="$ac_path_EGREP"
7060 ac_path_EGREP_max
=$ac_count
7062 # 10*(2^10) chars as input seems more than enough
7063 test $ac_count -gt 10 && break
7065 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7068 $ac_path_EGREP_found && break 3
7073 if test -z "$ac_cv_path_EGREP"; then
7074 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7077 ac_cv_path_EGREP
=$EGREP
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7083 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7084 EGREP
="$ac_cv_path_EGREP"
7087 # Extract the first word of "ldconfig", so it can be a program name with args.
7088 set dummy ldconfig
; ac_word
=$2
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 printf %s
"checking for $ac_word... " >&6; }
7091 if test ${ac_cv_path_LDCONFIG+y}
7093 printf %s
"(cached) " >&6
7097 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 for as_dir
in /sbin
/usr
/sbin
$PATH
7104 case $as_dir in #(((
7107 *) as_dir
=$as_dir/ ;;
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7119 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7123 LDCONFIG
=$ac_cv_path_LDCONFIG
7124 if test -n "$LDCONFIG"; then
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7126 printf "%s\n" "$LDCONFIG" >&6; }
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 printf "%s\n" "no" >&6; }
7133 for ac_prog
in msgfmt
7135 # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy
$ac_prog; ac_word
=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s
"checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_MSGFMT+y}
7141 printf %s
"(cached) " >&6
7143 if test -n "$MSGFMT"; then
7144 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7150 case $as_dir in #(((
7153 *) as_dir
=$as_dir/ ;;
7155 for ac_exec_ext
in '' $ac_executable_extensions; do
7156 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_MSGFMT
="$ac_prog"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7167 MSGFMT
=$ac_cv_prog_MSGFMT
7168 if test -n "$MSGFMT"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7170 printf "%s\n" "$MSGFMT" >&6; }
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7177 test -n "$MSGFMT" && break
7179 test -n "$MSGFMT" || MSGFMT
="false"
7181 if test ${ac_tool_prefix+y}
7183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7184 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s
"checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 printf %s
"(cached) " >&6
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 case $as_dir in #(((
7201 *) as_dir
=$as_dir/ ;;
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7215 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 if ${ac_cv_prog_PKG_CONFIG:+false} :
7228 if test "x$cross_compiling" = xyes
7232 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7233 # Extract the first word of "pkg-config", so it can be a program name with args.
7234 set dummy pkg-config
; ac_word
=$2
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 printf %s
"checking for $ac_word... " >&6; }
7237 if test ${ac_cv_prog_PKG_CONFIG+y}
7239 printf %s
"(cached) " >&6
7241 if test -n "$PKG_CONFIG"; then
7242 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7248 case $as_dir in #(((
7251 *) as_dir
=$as_dir/ ;;
7253 for ac_exec_ext
in '' $ac_executable_extensions; do
7254 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7255 ac_cv_prog_PKG_CONFIG
="pkg-config"
7256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7266 if test -n "$PKG_CONFIG"; then
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7268 printf "%s\n" "$PKG_CONFIG" >&6; }
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 printf "%s\n" "no" >&6; }
7277 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7280 if test "x$enable_maintainer_mode" != "xyes"
7287 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7288 for ac_prog
in fontforge
7290 # Extract the first word of "$ac_prog", so it can be a program name with args.
7291 set dummy
$ac_prog; ac_word
=$2
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 printf %s
"checking for $ac_word... " >&6; }
7294 if test ${ac_cv_prog_FONTFORGE+y}
7296 printf %s
"(cached) " >&6
7298 if test -n "$FONTFORGE"; then
7299 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7305 case $as_dir in #(((
7308 *) as_dir
=$as_dir/ ;;
7310 for ac_exec_ext
in '' $ac_executable_extensions; do
7311 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_FONTFORGE
="$ac_prog"
7313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7322 FONTFORGE
=$ac_cv_prog_FONTFORGE
7323 if test -n "$FONTFORGE"; then
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7325 printf "%s\n" "$FONTFORGE" >&6; }
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printf "%s\n" "no" >&6; }
7332 test -n "$FONTFORGE" && break
7334 test -n "$FONTFORGE" || FONTFORGE
="false"
7336 for ac_prog
in rsvg-convert rsvg
7338 # Extract the first word of "$ac_prog", so it can be a program name with args.
7339 set dummy
$ac_prog; ac_word
=$2
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 printf %s
"checking for $ac_word... " >&6; }
7342 if test ${ac_cv_prog_RSVG+y}
7344 printf %s
"(cached) " >&6
7346 if test -n "$RSVG"; then
7347 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7353 case $as_dir in #(((
7356 *) as_dir
=$as_dir/ ;;
7358 for ac_exec_ext
in '' $ac_executable_extensions; do
7359 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_RSVG
="$ac_prog"
7361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7370 RSVG
=$ac_cv_prog_RSVG
7371 if test -n "$RSVG"; then
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7373 printf "%s\n" "$RSVG" >&6; }
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 printf "%s\n" "no" >&6; }
7380 test -n "$RSVG" && break
7382 test -n "$RSVG" || RSVG
="false"
7384 for ac_prog
in convert
7386 # Extract the first word of "$ac_prog", so it can be a program name with args.
7387 set dummy
$ac_prog; ac_word
=$2
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 printf %s
"checking for $ac_word... " >&6; }
7390 if test ${ac_cv_prog_CONVERT+y}
7392 printf %s
"(cached) " >&6
7394 if test -n "$CONVERT"; then
7395 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 case $as_dir in #(((
7404 *) as_dir
=$as_dir/ ;;
7406 for ac_exec_ext
in '' $ac_executable_extensions; do
7407 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_CONVERT
="$ac_prog"
7409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7418 CONVERT
=$ac_cv_prog_CONVERT
7419 if test -n "$CONVERT"; then
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7421 printf "%s\n" "$CONVERT" >&6; }
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 printf "%s\n" "no" >&6; }
7428 test -n "$CONVERT" && break
7430 test -n "$CONVERT" || CONVERT
="false"
7432 for ac_prog
in icotool
7434 # Extract the first word of "$ac_prog", so it can be a program name with args.
7435 set dummy
$ac_prog; ac_word
=$2
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 printf %s
"checking for $ac_word... " >&6; }
7438 if test ${ac_cv_prog_ICOTOOL+y}
7440 printf %s
"(cached) " >&6
7442 if test -n "$ICOTOOL"; then
7443 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7449 case $as_dir in #(((
7452 *) as_dir
=$as_dir/ ;;
7454 for ac_exec_ext
in '' $ac_executable_extensions; do
7455 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_ICOTOOL
="$ac_prog"
7457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7466 ICOTOOL
=$ac_cv_prog_ICOTOOL
7467 if test -n "$ICOTOOL"; then
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7469 printf "%s\n" "$ICOTOOL" >&6; }
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 printf "%s\n" "no" >&6; }
7476 test -n "$ICOTOOL" && break
7478 test -n "$ICOTOOL" || ICOTOOL
="false"
7480 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7481 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7483 if test "$CONVERT" = false
7485 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7488 printf %s
"checking for recent enough imagemagick... " >&6; }
7489 convert_version
=`convert --version | head -n1`
7490 if test "x$convert_version" != "x"
7492 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7493 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7494 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7499 if test "$CONVERT" = false
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7502 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7503 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7506 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7510 if test "$ICOTOOL" = false
7512 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7515 printf %s
"checking for recent enough icotool... " >&6; }
7516 icotool_version
=`icotool --version | head -n1`
7517 if test "x$icotool_version" != "x"
7519 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7520 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7521 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7527 if test "$ICOTOOL" = false
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7530 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7531 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7534 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7544 test "x$with_gettext" != xno || MSGFMT
=false
7545 if test "$MSGFMT" != "false"
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7548 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7549 if test ${wine_cv_msgfmt_contexts+y}
7551 printf %s
"(cached) " >&6
7553 cat >conftest.po
<<EOF
7559 if $MSGFMT -o /dev
/null conftest.po
2>&5
7561 wine_cv_msgfmt_contexts
=yes
7563 wine_cv_msgfmt_contexts
=no
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7567 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7568 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7570 if test "$MSGFMT" = false
7572 case "x$with_gettext" in
7573 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7575 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7576 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7578 enable_po
=${enable_po:-no}
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7583 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7584 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7586 printf %s
"(cached) " >&6
7588 ac_check_lib_save_LIBS
=$LIBS
7590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7593 /* Override any GCC internal prototype to avoid an error.
7594 Use char because int might match the return type of a GCC
7595 builtin and then its argument prototype would still apply. */
7596 char i386_set_ldt ();
7600 return i386_set_ldt ();
7605 if ac_fn_c_try_link
"$LINENO"
7607 ac_cv_lib_i386_i386_set_ldt
=yes
7609 ac_cv_lib_i386_i386_set_ldt
=no
7611 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7612 conftest
$ac_exeext conftest.
$ac_ext
7613 LIBS
=$ac_check_lib_save_LIBS
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7616 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7617 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7628 # Check whether --enable-largefile was given.
7629 if test ${enable_largefile+y}
7631 enableval
=$enable_largefile;
7634 if test "$enable_largefile" != no
; then
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7637 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7638 if test ${ac_cv_sys_largefile_CC+y}
7640 printf %s
"(cached) " >&6
7642 ac_cv_sys_largefile_CC
=no
7643 if test "$GCC" != yes; then
7646 # IRIX 6.2 and later do not support large files by default,
7647 # so use the C compiler's -n32 option if that helps.
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7667 if ac_fn_c_try_compile
"$LINENO"
7671 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7673 if ac_fn_c_try_compile
"$LINENO"
7675 ac_cv_sys_largefile_CC
=' -n32'; break
7677 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7681 rm -f conftest.
$ac_ext
7684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7685 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7686 if test "$ac_cv_sys_largefile_CC" != no
; then
7687 CC
=$CC$ac_cv_sys_largefile_CC
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7691 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7692 if test ${ac_cv_sys_file_offset_bits+y}
7694 printf %s
"(cached) " >&6
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #include <sys/types.h>
7700 /* Check that off_t can represent 2**63 - 1 correctly.
7701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7702 since some C++ compilers masquerading as C compilers
7703 incorrectly reject 9223372036854775807. */
7704 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7706 && LARGE_OFF_T % 2147483647 == 1)
7716 if ac_fn_c_try_compile
"$LINENO"
7718 ac_cv_sys_file_offset_bits
=no
; break
7720 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #define _FILE_OFFSET_BITS 64
7724 #include <sys/types.h>
7725 /* Check that off_t can represent 2**63 - 1 correctly.
7726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7727 since some C++ compilers masquerading as C compilers
7728 incorrectly reject 9223372036854775807. */
7729 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7731 && LARGE_OFF_T % 2147483647 == 1)
7741 if ac_fn_c_try_compile
"$LINENO"
7743 ac_cv_sys_file_offset_bits
=64; break
7745 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7746 ac_cv_sys_file_offset_bits
=unknown
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7751 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7752 case $ac_cv_sys_file_offset_bits in #(
7755 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 if test $ac_cv_sys_file_offset_bits = unknown
; then
7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7761 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7762 if test ${ac_cv_sys_large_files+y}
7764 printf %s
"(cached) " >&6
7767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #include <sys/types.h>
7770 /* Check that off_t can represent 2**63 - 1 correctly.
7771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7772 since some C++ compilers masquerading as C compilers
7773 incorrectly reject 9223372036854775807. */
7774 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7776 && LARGE_OFF_T % 2147483647 == 1)
7786 if ac_fn_c_try_compile
"$LINENO"
7788 ac_cv_sys_large_files
=no
; break
7790 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7793 #define _LARGE_FILES 1
7794 #include <sys/types.h>
7795 /* Check that off_t can represent 2**63 - 1 correctly.
7796 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7797 since some C++ compilers masquerading as C compilers
7798 incorrectly reject 9223372036854775807. */
7799 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7800 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7801 && LARGE_OFF_T % 2147483647 == 1)
7811 if ac_fn_c_try_compile
"$LINENO"
7813 ac_cv_sys_large_files
=1; break
7815 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7816 ac_cv_sys_large_files
=unknown
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7821 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7822 case $ac_cv_sys_large_files in #(
7825 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7833 ac_header
= ac_cache
=
7834 for ac_item
in $ac_header_c_list
7836 if test $ac_cache; then
7837 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7838 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7839 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7841 ac_header
= ac_cache
=
7842 elif test $ac_header; then
7856 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CL_cl_h" = xyes
7865 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_EGL_egl_h" = xyes
7871 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_arpa_inet_h" = xyes
7883 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7889 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_asm_types_h" = xyes
7895 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_asm_user_h" = xyes
7901 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_elf_h" = xyes
7907 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_float_h" = xyes
7913 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_gettext_po_h" = xyes
7919 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_libproc_h" = xyes
7925 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_link_h" = xyes
7931 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7937 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_filter_h" = xyes
7943 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7949 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7955 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_input_h" = xyes
7961 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7967 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_major_h" = xyes
7973 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_param_h" = xyes
7979 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_serial_h" = xyes
7985 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_types_h" = xyes
7991 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7997 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_wireless_h" = xyes
8003 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_lwp_h" = xyes
8009 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8015 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_mach_mach_h" = xyes
8021 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_machine_cpu_h" = xyes
8027 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8033 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_mntent_h" = xyes
8039 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_netdb_h" = xyes
8045 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_netinet_in_h" = xyes
8051 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8057 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8063 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8069 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8075 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_port_h" = xyes
8081 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_pthread_h" = xyes
8087 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_pwd_h" = xyes
8093 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sched_h" = xyes
8099 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8105 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8111 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_scsi_sg_h" = xyes
8117 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_stdint_h" = xyes
8123 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_attr_h" = xyes
8129 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_auxv_h" = xyes
8135 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_cdio_h" = xyes
8141 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_epoll_h" = xyes
8147 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_event_h" = xyes
8153 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_extattr_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_filio_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_ipc_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_link_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_modem_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_mtio_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_param_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_prctl_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_queue_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_random_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_resource_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_shm_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_signal_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_sockio_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_strtio_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_syscall_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8279 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_times_h" = xyes
8285 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_uio_h" = xyes
8291 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_user_h" = xyes
8297 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_utsname_h" = xyes
8303 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_vnode_h" = xyes
8309 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_xattr_h" = xyes
8315 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_syscall_h" = xyes
8321 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_utime_h" = xyes
8327 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8333 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8339 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8347 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8351 if test $ac_cv_header_sys_mkdev_h = no
; then
8352 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8353 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8356 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8362 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8363 if test ${ac_cv_header_stat_broken+y}
8365 printf %s
"(cached) " >&6
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 #include <sys/types.h>
8370 #include <sys/stat.h>
8372 #if defined S_ISBLK && defined S_IFDIR
8373 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8376 #if defined S_ISBLK && defined S_IFCHR
8377 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8380 #if defined S_ISLNK && defined S_IFREG
8381 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8384 #if defined S_ISSOCK && defined S_IFREG
8385 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8389 if ac_fn_c_try_compile
"$LINENO"
8391 ac_cv_header_stat_broken
=no
8393 ac_cv_header_stat_broken
=yes
8395 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8398 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8399 if test $ac_cv_header_stat_broken = yes; then
8401 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8407 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8408 #ifdef HAVE_SYS_PARAM_H
8409 # include <sys/param.h>
8412 if test "x$ac_cv_header_sys_conf_h" = xyes
8414 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8418 #ifdef HAVE_SYS_PARAM_H
8419 # include <sys/param.h>
8422 if test "x$ac_cv_header_sys_mount_h" = xyes
8424 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8427 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8428 #ifdef HAVE_SYS_PARAM_H
8429 # include <sys/param.h>
8432 if test "x$ac_cv_header_sys_statfs_h" = xyes
8434 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8437 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8442 if test "x$ac_cv_header_sys_user_h" = xyes
8444 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8452 if test "x$ac_cv_header_sys_vfs_h" = xyes
8454 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8459 saved_sysctl_h_CFLAGS
=$CFLAGS
8460 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8461 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8462 #ifdef HAVE_SYS_PARAM_H
8463 # include <sys/param.h>
8466 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8468 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8472 CFLAGS
=$saved_sysctl_h_CFLAGS
8474 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8475 #include <sys/socket.h>
8476 #ifdef HAVE_SYS_SOCKETVAR_H
8477 # include <sys/socketvar.h>
8479 #ifdef HAVE_NET_ROUTE_H
8480 # include <net/route.h>
8482 #ifdef HAVE_NETINET_IN_H
8483 # include <netinet/in.h>
8485 #ifdef HAVE_NETINET_IN_SYSTM_H
8486 # include <netinet/in_systm.h>
8488 #ifdef HAVE_NET_IF_H
8489 # include <net/if.h>
8491 #ifdef HAVE_NETINET_IP_H
8492 # include <netinet/ip.h>
8495 if test "x$ac_cv_header_netinet_ip_h" = xyes
8497 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8501 #include <sys/socket.h>
8502 #ifdef HAVE_SYS_SOCKETVAR_H
8503 # include <sys/socketvar.h>
8505 #ifdef HAVE_NET_ROUTE_H
8506 # include <net/route.h>
8508 #ifdef HAVE_NETINET_IN_H
8509 # include <netinet/in.h>
8511 #ifdef HAVE_NETINET_IN_SYSTM_H
8512 # include <netinet/in_systm.h>
8514 #ifdef HAVE_NET_IF_H
8515 # include <net/if.h>
8517 #ifdef HAVE_NETINET_IP_H
8518 # include <netinet/ip.h>
8521 if test "x$ac_cv_header_net_if_h" = xyes
8523 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8526 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8527 #include <sys/socket.h>
8528 #ifdef HAVE_SYS_SOCKETVAR_H
8529 # include <sys/socketvar.h>
8531 #ifdef HAVE_NET_ROUTE_H
8532 # include <net/route.h>
8534 #ifdef HAVE_NETINET_IN_H
8535 # include <netinet/in.h>
8537 #ifdef HAVE_NETINET_IN_SYSTM_H
8538 # include <netinet/in_systm.h>
8540 #ifdef HAVE_NET_IF_H
8541 # include <net/if.h>
8543 #ifdef HAVE_NETINET_IP_H
8544 # include <netinet/ip.h>
8547 if test "x$ac_cv_header_net_if_arp_h" = xyes
8549 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8552 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8553 #include <sys/socket.h>
8554 #ifdef HAVE_SYS_SOCKETVAR_H
8555 # include <sys/socketvar.h>
8557 #ifdef HAVE_NET_ROUTE_H
8558 # include <net/route.h>
8560 #ifdef HAVE_NETINET_IN_H
8561 # include <netinet/in.h>
8563 #ifdef HAVE_NETINET_IN_SYSTM_H
8564 # include <netinet/in_systm.h>
8566 #ifdef HAVE_NET_IF_H
8567 # include <net/if.h>
8569 #ifdef HAVE_NETINET_IP_H
8570 # include <netinet/ip.h>
8573 if test "x$ac_cv_header_net_if_dl_h" = xyes
8575 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8579 #include <sys/socket.h>
8580 #ifdef HAVE_SYS_SOCKETVAR_H
8581 # include <sys/socketvar.h>
8583 #ifdef HAVE_NET_ROUTE_H
8584 # include <net/route.h>
8586 #ifdef HAVE_NETINET_IN_H
8587 # include <netinet/in.h>
8589 #ifdef HAVE_NETINET_IN_SYSTM_H
8590 # include <netinet/in_systm.h>
8592 #ifdef HAVE_NET_IF_H
8593 # include <net/if.h>
8595 #ifdef HAVE_NETINET_IP_H
8596 # include <netinet/ip.h>
8599 if test "x$ac_cv_header_net_if_types_h" = xyes
8601 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8604 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8605 #include <sys/socket.h>
8606 #ifdef HAVE_SYS_SOCKETVAR_H
8607 # include <sys/socketvar.h>
8609 #ifdef HAVE_NET_ROUTE_H
8610 # include <net/route.h>
8612 #ifdef HAVE_NETINET_IN_H
8613 # include <netinet/in.h>
8615 #ifdef HAVE_NETINET_IN_SYSTM_H
8616 # include <netinet/in_systm.h>
8618 #ifdef HAVE_NET_IF_H
8619 # include <net/if.h>
8621 #ifdef HAVE_NETINET_IP_H
8622 # include <netinet/ip.h>
8625 if test "x$ac_cv_header_net_route_h" = xyes
8627 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8630 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8631 #include <sys/socket.h>
8632 #ifdef HAVE_SYS_SOCKETVAR_H
8633 # include <sys/socketvar.h>
8635 #ifdef HAVE_NET_ROUTE_H
8636 # include <net/route.h>
8638 #ifdef HAVE_NETINET_IN_H
8639 # include <netinet/in.h>
8641 #ifdef HAVE_NETINET_IN_SYSTM_H
8642 # include <netinet/in_systm.h>
8644 #ifdef HAVE_NET_IF_H
8645 # include <net/if.h>
8647 #ifdef HAVE_NETINET_IP_H
8648 # include <netinet/ip.h>
8651 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8653 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8657 #include <sys/socket.h>
8658 #ifdef HAVE_SYS_SOCKETVAR_H
8659 # include <sys/socketvar.h>
8661 #ifdef HAVE_NET_ROUTE_H
8662 # include <net/route.h>
8664 #ifdef HAVE_NETINET_IN_H
8665 # include <netinet/in.h>
8667 #ifdef HAVE_NETINET_IN_SYSTM_H
8668 # include <netinet/in_systm.h>
8670 #ifdef HAVE_NET_IF_H
8671 # include <net/if.h>
8673 #ifdef HAVE_NETINET_IP_H
8674 # include <netinet/ip.h>
8677 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8679 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8682 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8683 #include <sys/socket.h>
8684 #ifdef HAVE_SYS_SOCKETVAR_H
8685 # include <sys/socketvar.h>
8687 #ifdef HAVE_NET_ROUTE_H
8688 # include <net/route.h>
8690 #ifdef HAVE_NETINET_IN_H
8691 # include <netinet/in.h>
8693 #ifdef HAVE_NETINET_IN_SYSTM_H
8694 # include <netinet/in_systm.h>
8696 #ifdef HAVE_NET_IF_H
8697 # include <net/if.h>
8699 #ifdef HAVE_NETINET_IP_H
8700 # include <netinet/ip.h>
8703 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8705 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8708 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8709 #include <sys/socket.h>
8710 #ifdef HAVE_SYS_SOCKETVAR_H
8711 # include <sys/socketvar.h>
8713 #ifdef HAVE_NET_ROUTE_H
8714 # include <net/route.h>
8716 #ifdef HAVE_NETINET_IN_H
8717 # include <netinet/in.h>
8719 #ifdef HAVE_NETINET_IN_SYSTM_H
8720 # include <netinet/in_systm.h>
8722 #ifdef HAVE_NET_IF_H
8723 # include <net/if.h>
8725 #ifdef HAVE_NETINET_IP_H
8726 # include <netinet/ip.h>
8729 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8731 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8734 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8735 #include <sys/socket.h>
8736 #ifdef HAVE_SYS_SOCKETVAR_H
8737 # include <sys/socketvar.h>
8739 #ifdef HAVE_NET_ROUTE_H
8740 # include <net/route.h>
8742 #ifdef HAVE_NETINET_IN_H
8743 # include <netinet/in.h>
8745 #ifdef HAVE_NETINET_IN_SYSTM_H
8746 # include <netinet/in_systm.h>
8748 #ifdef HAVE_NET_IF_H
8749 # include <net/if.h>
8751 #ifdef HAVE_NETINET_IP_H
8752 # include <netinet/ip.h>
8755 if test "x$ac_cv_header_netinet_udp_h" = xyes
8757 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8760 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8761 #include <sys/socket.h>
8762 #ifdef HAVE_SYS_SOCKETVAR_H
8763 # include <sys/socketvar.h>
8765 #ifdef HAVE_NET_ROUTE_H
8766 # include <net/route.h>
8768 #ifdef HAVE_NETINET_IN_H
8769 # include <netinet/in.h>
8771 #ifdef HAVE_NETINET_IN_SYSTM_H
8772 # include <netinet/in_systm.h>
8774 #ifdef HAVE_NET_IF_H
8775 # include <net/if.h>
8777 #ifdef HAVE_NETINET_IP_H
8778 # include <netinet/ip.h>
8781 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8783 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8786 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8787 #include <sys/socket.h>
8788 #ifdef HAVE_SYS_SOCKETVAR_H
8789 # include <sys/socketvar.h>
8791 #ifdef HAVE_NET_ROUTE_H
8792 # include <net/route.h>
8794 #ifdef HAVE_NETINET_IN_H
8795 # include <netinet/in.h>
8797 #ifdef HAVE_NETINET_IN_SYSTM_H
8798 # include <netinet/in_systm.h>
8800 #ifdef HAVE_NET_IF_H
8801 # include <net/if.h>
8803 #ifdef HAVE_NETINET_IP_H
8804 # include <netinet/ip.h>
8807 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8809 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8812 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8813 #include <sys/socket.h>
8814 #ifdef HAVE_SYS_SOCKETVAR_H
8815 # include <sys/socketvar.h>
8817 #ifdef HAVE_NET_ROUTE_H
8818 # include <net/route.h>
8820 #ifdef HAVE_NETINET_IN_H
8821 # include <netinet/in.h>
8823 #ifdef HAVE_NETINET_IN_SYSTM_H
8824 # include <netinet/in_systm.h>
8826 #ifdef HAVE_NET_IF_H
8827 # include <net/if.h>
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8833 if test "x$ac_cv_header_sys_un_h" = xyes
8835 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8840 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8841 #include <sys/socket.h>
8842 #ifdef HAVE_SYS_SOCKETVAR_H
8843 # include <sys/socketvar.h>
8845 #ifdef HAVE_NETINET_IN_H
8846 # include <netinet/in.h>
8848 #ifdef HAVE_NETINET_IN_SYSTM_H
8849 # include <netinet/in_systm.h>
8851 #ifdef HAVE_NETINET_IP_H
8852 # include <netinet/ip.h>
8854 #ifdef HAVE_NETINET_IP_VAR_H
8855 # include <netinet/ip_var.h>
8857 #ifdef HAVE_NETINET_IP_ICMP_H
8858 # include <netinet/ip_icmp.h>
8860 #ifdef HAVE_NETINET_UDP_H
8861 # include <netinet/udp.h>
8863 #ifdef HAVE_NETINET_TCP_H
8864 # include <netinet/tcp.h>
8867 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8869 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8872 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8873 #include <sys/socket.h>
8874 #ifdef HAVE_SYS_SOCKETVAR_H
8875 # include <sys/socketvar.h>
8877 #ifdef HAVE_NETINET_IN_H
8878 # include <netinet/in.h>
8880 #ifdef HAVE_NETINET_IN_SYSTM_H
8881 # include <netinet/in_systm.h>
8883 #ifdef HAVE_NETINET_IP_H
8884 # include <netinet/ip.h>
8886 #ifdef HAVE_NETINET_IP_VAR_H
8887 # include <netinet/ip_var.h>
8889 #ifdef HAVE_NETINET_IP_ICMP_H
8890 # include <netinet/ip_icmp.h>
8892 #ifdef HAVE_NETINET_UDP_H
8893 # include <netinet/udp.h>
8895 #ifdef HAVE_NETINET_TCP_H
8896 # include <netinet/tcp.h>
8899 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8901 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8904 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8905 #include <sys/socket.h>
8906 #ifdef HAVE_SYS_SOCKETVAR_H
8907 # include <sys/socketvar.h>
8909 #ifdef HAVE_NETINET_IN_H
8910 # include <netinet/in.h>
8912 #ifdef HAVE_NETINET_IN_SYSTM_H
8913 # include <netinet/in_systm.h>
8915 #ifdef HAVE_NETINET_IP_H
8916 # include <netinet/ip.h>
8918 #ifdef HAVE_NETINET_IP_VAR_H
8919 # include <netinet/ip_var.h>
8921 #ifdef HAVE_NETINET_IP_ICMP_H
8922 # include <netinet/ip_icmp.h>
8924 #ifdef HAVE_NETINET_UDP_H
8925 # include <netinet/udp.h>
8927 #ifdef HAVE_NETINET_TCP_H
8928 # include <netinet/tcp.h>
8931 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8933 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8936 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8937 #include <sys/socket.h>
8938 #ifdef HAVE_SYS_SOCKETVAR_H
8939 # include <sys/socketvar.h>
8941 #ifdef HAVE_NETINET_IN_H
8942 # include <netinet/in.h>
8944 #ifdef HAVE_NETINET_IN_SYSTM_H
8945 # include <netinet/in_systm.h>
8947 #ifdef HAVE_NETINET_IP_H
8948 # include <netinet/ip.h>
8950 #ifdef HAVE_NETINET_IP_VAR_H
8951 # include <netinet/ip_var.h>
8953 #ifdef HAVE_NETINET_IP_ICMP_H
8954 # include <netinet/ip_icmp.h>
8956 #ifdef HAVE_NETINET_UDP_H
8957 # include <netinet/udp.h>
8959 #ifdef HAVE_NETINET_TCP_H
8960 # include <netinet/tcp.h>
8963 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8965 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8971 #include <sys/socket.h>
8972 #ifdef HAVE_ASM_TYPES_H
8973 # include <asm/types.h>
8975 #ifdef HAVE_LINUX_TYPES_H
8976 # include <linux/types.h>
8979 if test "x$ac_cv_header_linux_ipx_h" = xyes
8981 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_ASM_TYPES_H
8987 # include <asm/types.h>
8989 #ifdef HAVE_LINUX_TYPES_H
8990 # include <linux/types.h>
8993 if test "x$ac_cv_header_linux_irda_h" = xyes
8995 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8998 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8999 #include <sys/socket.h>
9000 #ifdef HAVE_ASM_TYPES_H
9001 # include <asm/types.h>
9003 #ifdef HAVE_LINUX_TYPES_H
9004 # include <linux/types.h>
9007 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9009 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_NETINET_IN_H
9017 # include <netinet/in.h>
9019 #ifdef HAVE_ARPA_NAMESER_H
9020 # include <arpa/nameser.h>
9023 if test "x$ac_cv_header_resolv_h" = xyes
9025 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9032 if test "x$ac_cv_header_ifaddrs_h" = xyes
9034 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9039 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9041 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9043 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9049 #ifdef HAVE_SYS_UCONTEXT_H
9050 #include <sys/ucontext.h>
9053 if test "x$ac_cv_header_sys_thr_h" = xyes
9055 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9061 #include <pthread.h>
9064 if test "x$ac_cv_header_pthread_np_h" = xyes
9066 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9071 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9072 #include <sys/types.h>
9073 #ifdef HAVE_ASM_TYPES_H
9074 #include <asm/types.h>
9077 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9079 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9084 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9085 #include <sys/param.h>
9087 #include <sys/socket.h>
9088 #ifdef HAVE_SYS_QUEUE_H
9089 #include <sys/queue.h>
9092 if test "x$ac_cv_header_libprocstat_h" = xyes
9094 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9099 if test "x$ac_cv_header_sys_xattr_h" = xyes
9101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9102 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9103 if test ${wine_cv_xattr_extra_args+y}
9105 printf %s
"(cached) " >&6
9107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 #include <sys/xattr.h>
9113 getxattr("", "", "", 0, 0, 0);
9118 if ac_fn_c_try_compile
"$LINENO"
9120 wine_cv_xattr_extra_args
=yes
9122 wine_cv_xattr_extra_args
=no
9124 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9127 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9128 test $wine_cv_xattr_extra_args != yes ||
9129 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9142 UNIXDLLFLAGS
="-fPIC"
9144 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9150 WINELOADER_LDFLAGS
=""
9152 WINEPRELOADER_LDFLAGS
=""
9157 # Extract the first word of "ldd", so it can be a program name with args.
9158 set dummy ldd
; ac_word
=$2
9159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9160 printf %s
"checking for $ac_word... " >&6; }
9161 if test ${ac_cv_path_LDD+y}
9163 printf %s
"(cached) " >&6
9167 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9171 as_dummy
="/sbin:/usr/sbin:$PATH"
9172 for as_dir
in $as_dummy
9175 case $as_dir in #(((
9178 *) as_dir
=$as_dir/ ;;
9180 for ac_exec_ext
in '' $ac_executable_extensions; do
9181 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9182 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9190 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9195 if test -n "$LDD"; then
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9197 printf "%s\n" "$LDD" >&6; }
9199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200 printf "%s\n" "no" >&6; }
9204 if test -n "$ac_tool_prefix"; then
9205 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9206 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 printf %s
"checking for $ac_word... " >&6; }
9209 if test ${ac_cv_prog_OTOOL+y}
9211 printf %s
"(cached) " >&6
9213 if test -n "$OTOOL"; then
9214 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9220 case $as_dir in #(((
9223 *) as_dir
=$as_dir/ ;;
9225 for ac_exec_ext
in '' $ac_executable_extensions; do
9226 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9227 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9237 OTOOL
=$ac_cv_prog_OTOOL
9238 if test -n "$OTOOL"; then
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9240 printf "%s\n" "$OTOOL" >&6; }
9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9243 printf "%s\n" "no" >&6; }
9248 if test -z "$ac_cv_prog_OTOOL"; then
9250 # Extract the first word of "otool", so it can be a program name with args.
9251 set dummy otool
; ac_word
=$2
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9253 printf %s
"checking for $ac_word... " >&6; }
9254 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9256 printf %s
"(cached) " >&6
9258 if test -n "$ac_ct_OTOOL"; then
9259 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9265 case $as_dir in #(((
9268 *) as_dir
=$as_dir/ ;;
9270 for ac_exec_ext
in '' $ac_executable_extensions; do
9271 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9272 ac_cv_prog_ac_ct_OTOOL
="otool"
9273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9282 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9283 if test -n "$ac_ct_OTOOL"; then
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9285 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9288 printf "%s\n" "no" >&6; }
9291 if test "x$ac_ct_OTOOL" = x
; then
9294 case $cross_compiling:$ac_tool_warned in
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9297 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9298 ac_tool_warned
=yes ;;
9303 OTOOL
="$ac_cv_prog_OTOOL"
9306 if test -n "$ac_tool_prefix"; then
9307 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9308 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9310 printf %s
"checking for $ac_word... " >&6; }
9311 if test ${ac_cv_prog_READELF+y}
9313 printf %s
"(cached) " >&6
9315 if test -n "$READELF"; then
9316 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9322 case $as_dir in #(((
9325 *) as_dir
=$as_dir/ ;;
9327 for ac_exec_ext
in '' $ac_executable_extensions; do
9328 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9329 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9339 READELF
=$ac_cv_prog_READELF
9340 if test -n "$READELF"; then
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9342 printf "%s\n" "$READELF" >&6; }
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9345 printf "%s\n" "no" >&6; }
9350 if test -z "$ac_cv_prog_READELF"; then
9351 ac_ct_READELF
=$READELF
9352 # Extract the first word of "readelf", so it can be a program name with args.
9353 set dummy readelf
; ac_word
=$2
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9355 printf %s
"checking for $ac_word... " >&6; }
9356 if test ${ac_cv_prog_ac_ct_READELF+y}
9358 printf %s
"(cached) " >&6
9360 if test -n "$ac_ct_READELF"; then
9361 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9367 case $as_dir in #(((
9370 *) as_dir
=$as_dir/ ;;
9372 for ac_exec_ext
in '' $ac_executable_extensions; do
9373 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9374 ac_cv_prog_ac_ct_READELF
="readelf"
9375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9384 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9385 if test -n "$ac_ct_READELF"; then
9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9387 printf "%s\n" "$ac_ct_READELF" >&6; }
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 printf "%s\n" "no" >&6; }
9393 if test "x$ac_ct_READELF" = x
; then
9396 case $cross_compiling:$ac_tool_warned in
9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9399 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9400 ac_tool_warned
=yes ;;
9402 READELF
=$ac_ct_READELF
9405 READELF
="$ac_cv_prog_READELF"
9413 CONFIGURE_TARGETS
=""
9416 wine_fn_config_makefile
()
9418 as_fn_append SUBDIRS
" \\$as_nl $1"
9421 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9422 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9423 if test -n "$PE_ARCHS"
9427 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9430 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9435 wine_fn_config_symlink
()
9438 as_fn_append wine_rules
"
9440 @./config.status \$@"
9441 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9448 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9450 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9451 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9452 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9454 printf %s
"(cached) " >&6
9456 ac_wine_try_cflags_saved
=$CFLAGS
9457 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9460 int main(int argc, char **argv) { return 0; }
9462 if ac_fn_c_try_link
"$LINENO"
9464 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9466 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9468 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9469 conftest
$ac_exeext conftest.
$ac_ext
9470 CFLAGS
=$ac_wine_try_cflags_saved
9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9473 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9474 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9476 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9479 enable_loader
=${enable_loader:-no}
9480 enable_server
=${enable_server:-no}
9481 with_x
=${with_x:-no}
9482 with_pthread
=${with_pthread:-no}
9487 DLLFLAGS
="$DLLFLAGS -fPIC"
9489 enable_winemac_drv
=${enable_winemac_drv:-yes}
9490 CARBON_LIBS
="-framework Carbon"
9492 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9494 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9496 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9498 METAL_LIBS
="-framework Metal"
9500 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9502 CORESERVICES_LIBS
="-framework CoreServices"
9504 APPKIT_LIBS
="-framework AppKit"
9506 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9508 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9511 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9514 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9515 *) wine_can_build_preloader
=no
;;
9518 if test "$wine_can_build_preloader" = "yes"
9520 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"
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9522 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9523 if test ${ac_cv_cflags__Wl__no_pie+y}
9525 printf %s
"(cached) " >&6
9527 ac_wine_try_cflags_saved
=$CFLAGS
9528 CFLAGS
="$CFLAGS -Wl,-no_pie"
9529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9531 int main(int argc, char **argv) { return 0; }
9533 if ac_fn_c_try_link
"$LINENO"
9535 ac_cv_cflags__Wl__no_pie
=yes
9537 ac_cv_cflags__Wl__no_pie
=no
9539 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9540 conftest
$ac_exeext conftest.
$ac_ext
9541 CFLAGS
=$ac_wine_try_cflags_saved
9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9544 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9545 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9547 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9551 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9554 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9557 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9559 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9562 if test "x$with_coreaudio" != "xno";
9564 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9566 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9568 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9570 OPENCL_LIBS
="-framework OpenCL"
9572 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9576 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9578 ac_cpp
='$OBJCPP $CPPFLAGS'
9579 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9584 ac_cpp
='$OBJCPP $CPPFLAGS'
9585 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9586 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9587 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9588 if test -n "$ac_tool_prefix"; then
9589 for ac_prog
in gcc objcc objc cc CC clang
9591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594 printf %s
"checking for $ac_word... " >&6; }
9595 if test ${ac_cv_prog_OBJC+y}
9597 printf %s
"(cached) " >&6
9599 if test -n "$OBJC"; then
9600 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9606 case $as_dir in #(((
9609 *) as_dir
=$as_dir/ ;;
9611 for ac_exec_ext
in '' $ac_executable_extensions; do
9612 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9613 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9623 OBJC
=$ac_cv_prog_OBJC
9624 if test -n "$OBJC"; then
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9626 printf "%s\n" "$OBJC" >&6; }
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9629 printf "%s\n" "no" >&6; }
9633 test -n "$OBJC" && break
9636 if test -z "$OBJC"; then
9638 for ac_prog
in gcc objcc objc cc CC clang
9640 # Extract the first word of "$ac_prog", so it can be a program name with args.
9641 set dummy
$ac_prog; ac_word
=$2
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9643 printf %s
"checking for $ac_word... " >&6; }
9644 if test ${ac_cv_prog_ac_ct_OBJC+y}
9646 printf %s
"(cached) " >&6
9648 if test -n "$ac_ct_OBJC"; then
9649 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9655 case $as_dir in #(((
9658 *) as_dir
=$as_dir/ ;;
9660 for ac_exec_ext
in '' $ac_executable_extensions; do
9661 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9662 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9672 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9673 if test -n "$ac_ct_OBJC"; then
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9675 printf "%s\n" "$ac_ct_OBJC" >&6; }
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 printf "%s\n" "no" >&6; }
9682 test -n "$ac_ct_OBJC" && break
9685 if test "x$ac_ct_OBJC" = x
; then
9688 case $cross_compiling:$ac_tool_warned in
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9691 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9692 ac_tool_warned
=yes ;;
9698 # Provide some information about the compiler.
9699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9702 for ac_option
in --version -v -V -qversion; do
9703 { { ac_try
="$ac_compiler $ac_option >&5"
9705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9709 printf "%s\n" "$ac_try_echo"; } >&5
9710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9712 if test -s conftest.err; then
9714 ... rest of stderr output deleted ...
9715 10q' conftest.err >conftest.er1
9716 cat conftest.er1 >&5
9718 rm -f conftest.er1 conftest.err
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9720 test $ac_status = 0; }
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9724 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9725 if test ${ac_cv_objc_compiler_gnu+y}
9727 printf %s "(cached) " >&6
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9743 if ac_fn_objc_try_compile "$LINENO"
9749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9750 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9754 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9755 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9757 if test $ac_compiler_gnu = yes; then
9762 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9763 ac_save_OBJCFLAGS=$OBJCFLAGS
9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9765 printf %s "checking whether $OBJC accepts -g... " >&6; }
9766 if test ${ac_cv_prog_objc_g+y}
9768 printf %s "(cached) " >&6
9770 ac_save_objc_werror_flag=$ac_objc_werror_flag
9771 ac_objc_werror_flag=yes
9772 ac_cv_prog_objc_g=no
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9785 if ac_fn_objc_try_compile "$LINENO"
9787 ac_cv_prog_objc_g=yes
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9801 if ac_fn_objc_try_compile "$LINENO"
9805 ac_objc_werror_flag=$ac_save_objc_werror_flag
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9818 if ac_fn_objc_try_compile "$LINENO"
9820 ac_cv_prog_objc_g=yes
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
9827 ac_objc_werror_flag=$ac_save_objc_werror_flag
9829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9830 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9831 if test $ac_test_OBJCFLAGS; then
9832 OBJCFLAGS=$ac_save_OBJCFLAGS
9833 elif test $ac_cv_prog_objc_g = yes; then
9834 if test "$GOBJC" = yes; then
9840 if test "$GOBJC" = yes; then
9847 ac_cpp='$OBJCPP $CPPFLAGS'
9848 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9849 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9850 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 #include <Metal/Metal.h>
9859 id<MTLDevice> device; device.registryID;
9864 if ac_fn_objc_try_compile "$LINENO"
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9867 printf "%s\n" "yes" >&6; }
9869 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9873 printf "%s\n" "no" >&6; }
9875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9877 ac_cpp='$CPP $CPPFLAGS'
9878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9883 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9884 WINELOADER_DEPENDS="wine_info.plist"
9890 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9892 DLLFLAGS="$DLLFLAGS -fPIC"
9894 LDEXECFLAGS="-Wl,-pie"
9895 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9897 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9898 if test ${ac_cv_cflags__Wl__z_defs+y}
9900 printf %s "(cached) " >&6
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 CFLAGS="$CFLAGS -Wl,-z,defs"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int main(int argc, char **argv) { return 0; }
9908 if ac_fn_c_try_link "$LINENO"
9910 ac_cv_cflags__Wl__z_defs=yes
9912 ac_cv_cflags__Wl__z_defs=no
9914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9919 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9920 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9922 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9925 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9926 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9928 printf %s "(cached) " >&6
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9934 int main(int argc, char **argv) { return 0; }
9936 if ac_fn_c_try_link "$LINENO"
9938 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9940 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9947 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9948 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9950 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9952 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9955 printf %s "checking for -lEGL... " >&6; }
9956 if test ${ac_cv_lib_soname_EGL+y}
9958 printf %s "(cached) " >&6
9960 ac_check_soname_save_LIBS=$LIBS
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9968 char eglGetProcAddress ();
9972 return eglGetProcAddress ();
9977 if ac_fn_c_try_link "$LINENO"
9980 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if ${ac_cv_lib_soname_EGL:+false} :
9985 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9989 ac_cv_lib_soname_EGL=
9991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_soname_save_LIBS
9995 if ${ac_cv_lib_soname_EGL:+false} :
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9998 printf "%s\n" "not found" >&6; }
10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10002 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10004 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10009 printf %s "checking for -lGLESv2... " >&6; }
10010 if test ${ac_cv_lib_soname_GLESv2+y}
10012 printf %s "(cached) " >&6
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lGLESv2 $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10031 if ac_fn_c_try_link "$LINENO"
10034 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_GLESv2:+false} :
10039 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 ac_cv_lib_soname_GLESv2=
10045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_soname_save_LIBS
10049 if ${ac_cv_lib_soname_GLESv2:+false} :
10051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10052 printf "%s\n" "not found" >&6; }
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10056 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10058 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10063 if test "x$exec_prefix" = xNONE
10066 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10067 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10068 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10069 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10076 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10078 test "$ac_cv_sys_file_offset_bits" = 64 &&
10079 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10083 DLLFLAGS="$DLLFLAGS -fno-PIC"
10084 LDDLLFLAGS="-fno-PIC"
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10086 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10087 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10089 printf %s "(cached) " >&6
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int main(int argc, char **argv) { return 0; }
10097 if ac_fn_c_try_link "$LINENO"
10099 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10101 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10108 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10109 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10111 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10115 DLLFLAGS="$DLLFLAGS -fPIC"
10116 LDDLLFLAGS="-fPIC" ;;
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10120 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10121 if test ${ac_cv_wl_z_defs+y}
10123 printf %s "(cached) " >&6
10125 ac_save_CFLAGS="$CFLAGS"
10126 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10131 if ac_fn_c_try_link "$LINENO"
10133 ac_cv_wl_z_defs=yes
10137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_save_CFLAGS
10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10142 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10143 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10146 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10147 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10149 printf %s "(cached) " >&6
10151 ac_wine_try_cflags_saved=$CFLAGS
10152 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int main(int argc, char **argv) { return 0; }
10157 if ac_fn_c_try_link "$LINENO"
10159 ac_cv_cflags__Wl___export_dynamic=yes
10161 ac_cv_cflags__Wl___export_dynamic=no
10163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10168 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10169 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10171 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10173 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10177 as_fn_append WINELOADER_LDFLAGS " -pie"
10180 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10183 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10184 if test ${ac_cv_cflags__static_pie+y}
10186 printf %s "(cached) " >&6
10188 ac_wine_try_cflags_saved=$CFLAGS
10189 CFLAGS="$CFLAGS -static-pie"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int main(int argc, char **argv) { return 0; }
10194 if ac_fn_c_try_link "$LINENO"
10196 ac_cv_cflags__static_pie=yes
10198 ac_cv_cflags__static_pie=no
10200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10201 conftest$ac_exeext conftest.$ac_ext
10202 CFLAGS=$ac_wine_try_cflags_saved
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10205 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10206 if test "x$ac_cv_cflags__static_pie" = xyes
10208 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10210 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10219 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10220 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10222 printf %s "(cached) " >&6
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int main(int argc, char **argv) { return 0; }
10230 if ac_fn_c_try_link "$LINENO"
10232 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10234 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10241 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10242 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10244 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10247 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10248 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10250 printf %s "(cached) " >&6
10252 ac_wine_try_cflags_saved=$CFLAGS
10253 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int main(int argc, char **argv) { return 0; }
10258 if ac_fn_c_try_link "$LINENO"
10260 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10262 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10269 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10270 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10272 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10277 as_fn_append WINELOADER_LDFLAGS " -pie"
10285 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10286 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10287 enable_winemac_drv=${enable_winemac_drv:-no}
10292 if test ${enable_archs+y}
10294 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10297 set x $enable_archs
10303 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10304 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10308 if test "x$with_mingw" != xno
10310 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10314 for wine_arch in $cross_archs
10316 case "x$with_mingw" in
10317 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10319 if eval \${${wine_arch}_CC:+false} :
10323 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10325 # Extract the first word of "$ac_prog", so it can be a program name with args.
10326 set dummy $ac_prog; ac_word=$2
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10328 printf %s "checking for $ac_word... " >&6; }
10329 if test ${ac_cv_prog_aarch64_CC+y}
10331 printf %s "(cached) " >&6
10333 if test -n "$aarch64_CC"; then
10334 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10337 for as_dir in $PATH
10340 case $as_dir in #(((
10343 *) as_dir=$as_dir/ ;;
10345 for ac_exec_ext in '' $ac_executable_extensions; do
10346 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10347 ac_cv_prog_aarch64_CC="$ac_prog"
10348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10357 aarch64_CC=$ac_cv_prog_aarch64_CC
10358 if test -n "$aarch64_CC"; then
10359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10360 printf "%s\n" "$aarch64_CC" >&6; }
10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 printf "%s\n" "no" >&6; }
10367 test -n "$aarch64_CC" && break
10369 test -n "$aarch64_CC" || aarch64_CC="false"
10373 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10375 # Extract the first word of "$ac_prog", so it can be a program name with args.
10376 set dummy $ac_prog; ac_word=$2
10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10378 printf %s "checking for $ac_word... " >&6; }
10379 if test ${ac_cv_prog_arm_CC+y}
10381 printf %s "(cached) " >&6
10383 if test -n "$arm_CC"; then
10384 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10387 for as_dir in $PATH
10390 case $as_dir in #(((
10393 *) as_dir=$as_dir/ ;;
10395 for ac_exec_ext in '' $ac_executable_extensions; do
10396 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10397 ac_cv_prog_arm_CC="$ac_prog"
10398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10407 arm_CC=$ac_cv_prog_arm_CC
10408 if test -n "$arm_CC"; then
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10410 printf "%s\n" "$arm_CC" >&6; }
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 printf "%s\n" "no" >&6; }
10417 test -n "$arm_CC" && break
10419 test -n "$arm_CC" || arm_CC="false"
10423 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 "
10424 for ac_prog in $ac_prefix_list clang
10426 # Extract the first word of "$ac_prog", so it can be a program name with args.
10427 set dummy $ac_prog; ac_word=$2
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 printf %s "checking for $ac_word... " >&6; }
10430 if test ${ac_cv_prog_i386_CC+y}
10432 printf %s "(cached) " >&6
10434 if test -n "$i386_CC"; then
10435 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 case $as_dir in #(((
10444 *) as_dir=$as_dir/ ;;
10446 for ac_exec_ext in '' $ac_executable_extensions; do
10447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10448 ac_cv_prog_i386_CC="$ac_prog"
10449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10458 i386_CC=$ac_cv_prog_i386_CC
10459 if test -n "$i386_CC"; then
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10461 printf "%s\n" "$i386_CC" >&6; }
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10464 printf "%s\n" "no" >&6; }
10468 test -n "$i386_CC" && break
10470 test -n "$i386_CC" || i386_CC="false"
10474 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10475 for ac_prog in $ac_prefix_list clang
10477 # Extract the first word of "$ac_prog", so it can be a program name with args.
10478 set dummy $ac_prog; ac_word=$2
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10480 printf %s "checking for $ac_word... " >&6; }
10481 if test ${ac_cv_prog_x86_64_CC+y}
10483 printf %s "(cached) " >&6
10485 if test -n "$x86_64_CC"; then
10486 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489 for as_dir in $PATH
10492 case $as_dir in #(((
10495 *) as_dir=$as_dir/ ;;
10497 for ac_exec_ext in '' $ac_executable_extensions; do
10498 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10499 ac_cv_prog_x86_64_CC="$ac_prog"
10500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10509 x86_64_CC=$ac_cv_prog_x86_64_CC
10510 if test -n "$x86_64_CC"; then
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10512 printf "%s\n" "$x86_64_CC" >&6; }
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10515 printf "%s\n" "no" >&6; }
10519 test -n "$x86_64_CC" && break
10521 test -n "$x86_64_CC" || x86_64_CC="false"
10528 saved_CFLAGS=$CFLAGS
10529 saved_LDFLAGS=$LDFLAGS
10531 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10532 LDFLAGS=$CROSSLDFLAGS
10533 eval CC=\$${wine_arch}_CC
10534 eval ${wine_arch}_CFLAGS=\$CFLAGS
10535 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10536 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10539 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10541 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10546 printf %s "checking whether $CC works... " >&6; }
10547 if eval test \${$as_wine_cv_crosscc+y}
10549 printf %s "(cached) " >&6
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10562 if ac_fn_c_try_compile "$LINENO"
10564 eval "$as_wine_cv_crosscc=yes"
10566 eval "$as_wine_cv_crosscc=no"
10568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10570 eval ac_res=\$$as_wine_cv_crosscc
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10572 printf "%s\n" "$ac_res" >&6; }
10574 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10578 while test $# -ge 1
10581 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10582 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10587 llvm_target=$target
10588 if test -z "$llvm_target"
10591 i386) llvm_target=i686-windows ;;
10592 arm) llvm_target=armv7-windows ;;
10593 *) llvm_target=$wine_arch-windows ;;
10596 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10597 case $llvm_target in
10598 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10600 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10602 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10603 if eval test \${$as_ac_var+y}
10605 printf %s "(cached) " >&6
10607 ac_wine_try_cflags_saved=$CFLAGS
10608 ac_wine_try_cflags_saved_exeext=$ac_exeext
10609 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10613 int __cdecl mainCRTStartup(void) { return 0; }
10615 if ac_fn_c_try_link "$LINENO"
10617 eval "$as_ac_var=yes"
10619 eval "$as_ac_var=no"
10621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10622 conftest$ac_exeext conftest.$ac_ext
10623 CFLAGS=$ac_wine_try_cflags_saved
10624 ac_exeext=$ac_wine_try_cflags_saved_exeext
10626 eval ac_res=\$$as_ac_var
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10628 printf "%s\n" "$ac_res" >&6; }
10629 if eval test \"x\$"$as_ac_var"\" = x"yes"
10631 target=$llvm_target
10632 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10633 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10634 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10636 eval "${wine_arch}_TARGET=\$target"
10640 if test -z "$target"
10642 if test ${enable_archs+y}
10644 as_fn_error $? "MinGW $wine_arch compiler not found.
10645 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10648 CFLAGS=$saved_CFLAGS
10649 LDFLAGS=$saved_LDFLAGS
10653 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10656 printf %s "checking for $CC option to enable C99 features... " >&6; }
10657 if eval test \${$as_wine_cv_crosscc_c99+y}
10659 printf %s "(cached) " >&6
10661 eval "$as_wine_cv_crosscc_c99=no"
10662 for arg in '' '-std=gnu99' '-D__STDC__'
10664 test -z "$arg" || CC="$CC $arg"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 $ac_c_conftest_c99_program
10669 if ac_fn_c_try_compile "$LINENO"
10671 eval "$as_wine_cv_crosscc_c99=\$arg"
10673 eval "$as_wine_cv_crosscc_c99=no"
10675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10676 eval CC=\$${wine_arch}_CC
10677 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10686 eval res=\$$as_wine_cv_crosscc_c99
10689 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10690 printf "%s\n" "none needed" >&6; } ;;
10691 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10692 printf "%s\n" "unsupported" >&6; }
10694 CFLAGS=$saved_CFLAGS
10695 LDFLAGS=$saved_LDFLAGS
10696 if test ${enable_archs+y}
10698 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10699 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10703 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10704 printf "%s\n" "$res" >&6; }
10705 as_fn_append ${wine_arch}_CC " $res" ;;
10708 as_fn_append PE_ARCHS " $wine_arch"
10709 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10711 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10712 if eval test \${$as_ac_var+y}
10714 printf %s "(cached) " >&6
10716 ac_wine_try_cflags_saved=$CFLAGS
10717 ac_wine_try_cflags_saved_exeext=$ac_exeext
10718 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722 int __cdecl mainCRTStartup(void) { return 0; }
10724 if ac_fn_c_try_link "$LINENO"
10726 eval "$as_ac_var=yes"
10728 eval "$as_ac_var=no"
10730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10731 conftest$ac_exeext conftest.$ac_ext
10732 CFLAGS=$ac_wine_try_cflags_saved
10733 ac_exeext=$ac_wine_try_cflags_saved_exeext
10735 eval ac_res=\$$as_ac_var
10736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10737 printf "%s\n" "$ac_res" >&6; }
10738 if eval test \"x\$"$as_ac_var"\" = x"yes"
10740 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10742 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10744 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10745 if eval test \${$as_ac_var+y}
10747 printf %s "(cached) " >&6
10749 ac_wine_try_cflags_saved=$CFLAGS
10750 ac_wine_try_cflags_saved_exeext=$ac_exeext
10751 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 int __cdecl mainCRTStartup(void) { return 0; }
10757 if ac_fn_c_try_link "$LINENO"
10759 eval "$as_ac_var=yes"
10761 eval "$as_ac_var=no"
10763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10764 conftest$ac_exeext conftest.$ac_ext
10765 CFLAGS=$ac_wine_try_cflags_saved
10766 ac_exeext=$ac_wine_try_cflags_saved_exeext
10768 eval ac_res=\$$as_ac_var
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10770 printf "%s\n" "$ac_res" >&6; }
10771 if eval test \"x\$"$as_ac_var"\" = x"yes"
10773 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10775 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10777 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10778 if eval test \${$as_ac_var+y}
10780 printf %s "(cached) " >&6
10782 ac_wine_try_cflags_saved=$CFLAGS
10783 ac_wine_try_cflags_saved_exeext=$ac_exeext
10784 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10788 int __cdecl mainCRTStartup(void) { return 0; }
10790 if ac_fn_c_try_link "$LINENO"
10792 eval "$as_ac_var=yes"
10794 eval "$as_ac_var=no"
10796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10797 conftest$ac_exeext conftest.$ac_ext
10798 CFLAGS=$ac_wine_try_cflags_saved
10799 ac_exeext=$ac_wine_try_cflags_saved_exeext
10801 eval ac_res=\$$as_ac_var
10802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10803 printf "%s\n" "$ac_res" >&6; }
10804 if eval test \"x\$"$as_ac_var"\" = x"yes"
10806 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10808 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10810 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10811 if eval test \${$as_ac_var+y}
10813 printf %s "(cached) " >&6
10815 ac_wine_try_cflags_saved=$CFLAGS
10816 ac_wine_try_cflags_saved_exeext=$ac_exeext
10817 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10823 if ac_fn_c_try_link "$LINENO"
10825 eval "$as_ac_var=yes"
10827 eval "$as_ac_var=no"
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 ac_exeext=$ac_wine_try_cflags_saved_exeext
10834 eval ac_res=\$$as_ac_var
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10836 printf "%s\n" "$ac_res" >&6; }
10837 if eval test \"x\$"$as_ac_var"\" = x"yes"
10839 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10841 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10843 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10844 if eval test \${$as_ac_var+y}
10846 printf %s "(cached) " >&6
10848 ac_wine_try_cflags_saved=$CFLAGS
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10854 int __cdecl mainCRTStartup(void) { return 0; }
10856 if ac_fn_c_try_link "$LINENO"
10858 eval "$as_ac_var=yes"
10860 eval "$as_ac_var=no"
10862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10863 conftest$ac_exeext conftest.$ac_ext
10864 CFLAGS=$ac_wine_try_cflags_saved
10865 ac_exeext=$ac_wine_try_cflags_saved_exeext
10867 eval ac_res=\$$as_ac_var
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10869 printf "%s\n" "$ac_res" >&6; }
10870 if eval test \"x\$"$as_ac_var"\" = x"yes"
10872 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10874 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10876 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10877 if eval test \${$as_ac_var+y}
10879 printf %s "(cached) " >&6
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_exeext=$ac_exeext
10883 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 int __cdecl mainCRTStartup(void) { return 0; }
10889 if ac_fn_c_try_link "$LINENO"
10891 eval "$as_ac_var=yes"
10893 eval "$as_ac_var=no"
10895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10896 conftest$ac_exeext conftest.$ac_ext
10897 CFLAGS=$ac_wine_try_cflags_saved
10898 ac_exeext=$ac_wine_try_cflags_saved_exeext
10900 eval ac_res=\$$as_ac_var
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10902 printf "%s\n" "$ac_res" >&6; }
10903 if eval test \"x\$"$as_ac_var"\" = x"yes"
10905 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10907 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10909 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10910 if eval test \${$as_ac_var+y}
10912 printf %s "(cached) " >&6
10914 ac_wine_try_cflags_saved=$CFLAGS
10915 ac_wine_try_cflags_saved_exeext=$ac_exeext
10916 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10920 int __cdecl mainCRTStartup(void) { return 0; }
10922 if ac_fn_c_try_link "$LINENO"
10924 eval "$as_ac_var=yes"
10926 eval "$as_ac_var=no"
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 ac_exeext=$ac_wine_try_cflags_saved_exeext
10933 eval ac_res=\$$as_ac_var
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10935 printf "%s\n" "$ac_res" >&6; }
10936 if eval test \"x\$"$as_ac_var"\" = x"yes"
10938 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10940 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10942 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10943 if eval test \${$as_ac_var+y}
10945 printf %s "(cached) " >&6
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10953 int __cdecl mainCRTStartup(void) { return 0; }
10955 if ac_fn_c_try_link "$LINENO"
10957 eval "$as_ac_var=yes"
10959 eval "$as_ac_var=no"
10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10962 conftest$ac_exeext conftest.$ac_ext
10963 CFLAGS=$ac_wine_try_cflags_saved
10964 ac_exeext=$ac_wine_try_cflags_saved_exeext
10966 eval ac_res=\$$as_ac_var
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10968 printf "%s\n" "$ac_res" >&6; }
10969 if eval test \"x\$"$as_ac_var"\" = x"yes"
10971 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10973 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10975 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10976 if eval test \${$as_ac_var+y}
10978 printf %s "(cached) " >&6
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_exeext=$ac_exeext
10982 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 int __cdecl mainCRTStartup(void) { return 0; }
10988 if ac_fn_c_try_link "$LINENO"
10990 eval "$as_ac_var=yes"
10992 eval "$as_ac_var=no"
10994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10995 conftest$ac_exeext conftest.$ac_ext
10996 CFLAGS=$ac_wine_try_cflags_saved
10997 ac_exeext=$ac_wine_try_cflags_saved_exeext
10999 eval ac_res=\$$as_ac_var
11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11001 printf "%s\n" "$ac_res" >&6; }
11002 if eval test \"x\$"$as_ac_var"\" = x"yes"
11004 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11006 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11008 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11009 if eval test \${$as_ac_var+y}
11011 printf %s "(cached) " >&6
11013 ac_wine_try_cflags_saved=$CFLAGS
11014 ac_wine_try_cflags_saved_exeext=$ac_exeext
11015 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11019 int __cdecl mainCRTStartup(void) { return 0; }
11021 if ac_fn_c_try_link "$LINENO"
11023 eval "$as_ac_var=yes"
11025 eval "$as_ac_var=no"
11027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11028 conftest$ac_exeext conftest.$ac_ext
11029 CFLAGS=$ac_wine_try_cflags_saved
11030 ac_exeext=$ac_wine_try_cflags_saved_exeext
11032 eval ac_res=\$$as_ac_var
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11034 printf "%s\n" "$ac_res" >&6; }
11035 if eval test \"x\$"$as_ac_var"\" = x"yes"
11037 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11039 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11041 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11042 if eval test \${$as_ac_var+y}
11044 printf %s "(cached) " >&6
11046 ac_wine_try_cflags_saved=$CFLAGS
11047 ac_wine_try_cflags_saved_exeext=$ac_exeext
11048 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11052 int __cdecl mainCRTStartup(void) { return 0; }
11054 if ac_fn_c_try_link "$LINENO"
11056 eval "$as_ac_var=yes"
11058 eval "$as_ac_var=no"
11060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11061 conftest$ac_exeext conftest.$ac_ext
11062 CFLAGS=$ac_wine_try_cflags_saved
11063 ac_exeext=$ac_wine_try_cflags_saved_exeext
11065 eval ac_res=\$$as_ac_var
11066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11067 printf "%s\n" "$ac_res" >&6; }
11068 if eval test \"x\$"$as_ac_var"\" = x"yes"
11070 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11072 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11074 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11075 if eval test \${$as_ac_var+y}
11077 printf %s "(cached) " >&6
11079 ac_wine_try_cflags_saved=$CFLAGS
11080 ac_wine_try_cflags_saved_exeext=$ac_exeext
11081 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11085 int __cdecl mainCRTStartup(void) { return 0; }
11087 if ac_fn_c_try_link "$LINENO"
11089 eval "$as_ac_var=yes"
11091 eval "$as_ac_var=no"
11093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11094 conftest$ac_exeext conftest.$ac_ext
11095 CFLAGS=$ac_wine_try_cflags_saved
11096 ac_exeext=$ac_wine_try_cflags_saved_exeext
11098 eval ac_res=\$$as_ac_var
11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11100 printf "%s\n" "$ac_res" >&6; }
11101 if eval test \"x\$"$as_ac_var"\" = x"yes"
11103 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11105 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11107 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11108 if eval test \${$as_ac_var+y}
11110 printf %s "(cached) " >&6
11112 ac_wine_try_cflags_saved=$CFLAGS
11113 ac_wine_try_cflags_saved_exeext=$ac_exeext
11114 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11118 int __cdecl mainCRTStartup(void) { return 0; }
11120 if ac_fn_c_try_link "$LINENO"
11122 eval "$as_ac_var=yes"
11124 eval "$as_ac_var=no"
11126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11127 conftest$ac_exeext conftest.$ac_ext
11128 CFLAGS=$ac_wine_try_cflags_saved
11129 ac_exeext=$ac_wine_try_cflags_saved_exeext
11131 eval ac_res=\$$as_ac_var
11132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11133 printf "%s\n" "$ac_res" >&6; }
11134 if eval test \"x\$"$as_ac_var"\" = x"yes"
11136 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11138 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11140 printf %s "checking whether $CC supports -Wvla... " >&6; }
11141 if eval test \${$as_ac_var+y}
11143 printf %s "(cached) " >&6
11145 ac_wine_try_cflags_saved=$CFLAGS
11146 ac_wine_try_cflags_saved_exeext=$ac_exeext
11147 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11151 int __cdecl mainCRTStartup(void) { return 0; }
11153 if ac_fn_c_try_link "$LINENO"
11155 eval "$as_ac_var=yes"
11157 eval "$as_ac_var=no"
11159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11160 conftest$ac_exeext conftest.$ac_ext
11161 CFLAGS=$ac_wine_try_cflags_saved
11162 ac_exeext=$ac_wine_try_cflags_saved_exeext
11164 eval ac_res=\$$as_ac_var
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11166 printf "%s\n" "$ac_res" >&6; }
11167 if eval test \"x\$"$as_ac_var"\" = x"yes"
11169 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11171 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11173 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11174 if eval test \${$as_ac_var+y}
11176 printf %s "(cached) " >&6
11178 ac_wine_try_cflags_saved=$CFLAGS
11179 ac_wine_try_cflags_saved_exeext=$ac_exeext
11180 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 int __cdecl mainCRTStartup(void) { return 0; }
11186 if ac_fn_c_try_link "$LINENO"
11188 eval "$as_ac_var=yes"
11190 eval "$as_ac_var=no"
11192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11193 conftest$ac_exeext conftest.$ac_ext
11194 CFLAGS=$ac_wine_try_cflags_saved
11195 ac_exeext=$ac_wine_try_cflags_saved_exeext
11197 eval ac_res=\$$as_ac_var
11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11199 printf "%s\n" "$ac_res" >&6; }
11200 if eval test \"x\$"$as_ac_var"\" = x"yes"
11202 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11204 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11206 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11207 if eval test \${$as_ac_var+y}
11209 printf %s "(cached) " >&6
11211 ac_wine_try_cflags_saved=$CFLAGS
11212 ac_wine_try_cflags_saved_exeext=$ac_exeext
11213 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11217 int __cdecl mainCRTStartup(void) { return 0; }
11219 if ac_fn_c_try_link "$LINENO"
11221 eval "$as_ac_var=yes"
11223 eval "$as_ac_var=no"
11225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11226 conftest$ac_exeext conftest.$ac_ext
11227 CFLAGS=$ac_wine_try_cflags_saved
11228 ac_exeext=$ac_wine_try_cflags_saved_exeext
11230 eval ac_res=\$$as_ac_var
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11232 printf "%s\n" "$ac_res" >&6; }
11233 if eval test \"x\$"$as_ac_var"\" = x"yes"
11235 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11237 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11239 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11240 if eval test \${$as_ac_var+y}
11242 printf %s "(cached) " >&6
11244 ac_wine_try_cflags_saved=$CFLAGS
11245 ac_wine_try_cflags_saved_exeext=$ac_exeext
11246 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 int __cdecl mainCRTStartup(void) { return 0; }
11252 if ac_fn_c_try_link "$LINENO"
11254 eval "$as_ac_var=yes"
11256 eval "$as_ac_var=no"
11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11259 conftest$ac_exeext conftest.$ac_ext
11260 CFLAGS=$ac_wine_try_cflags_saved
11261 ac_exeext=$ac_wine_try_cflags_saved_exeext
11263 eval ac_res=\$$as_ac_var
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11265 printf "%s\n" "$ac_res" >&6; }
11266 if eval test \"x\$"$as_ac_var"\" = x"yes"
11268 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11270 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11272 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11273 if eval test \${$as_ac_var+y}
11275 printf %s "(cached) " >&6
11277 ac_wine_try_cflags_saved=$CFLAGS
11278 ac_wine_try_cflags_saved_exeext=$ac_exeext
11279 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 int __cdecl mainCRTStartup(void) { return 0; }
11285 if ac_fn_c_try_link "$LINENO"
11287 eval "$as_ac_var=yes"
11289 eval "$as_ac_var=no"
11291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11292 conftest$ac_exeext conftest.$ac_ext
11293 CFLAGS=$ac_wine_try_cflags_saved
11294 ac_exeext=$ac_wine_try_cflags_saved_exeext
11296 eval ac_res=\$$as_ac_var
11297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11298 printf "%s\n" "$ac_res" >&6; }
11299 if eval test \"x\$"$as_ac_var"\" = x"yes"
11301 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11305 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11307 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&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 -fno-omit-frame-pointer"
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 " -fno-omit-frame-pointer"
11338 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11340 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11341 if eval test \${$as_ac_var+y}
11343 printf %s "(cached) " >&6
11345 ac_wine_try_cflags_saved=$CFLAGS
11346 ac_wine_try_cflags_saved_exeext=$ac_exeext
11347 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11351 int __cdecl mainCRTStartup(void) { return 0; }
11353 if ac_fn_c_try_link "$LINENO"
11355 eval "$as_ac_var=yes"
11357 eval "$as_ac_var=no"
11359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11360 conftest$ac_exeext conftest.$ac_ext
11361 CFLAGS=$ac_wine_try_cflags_saved
11362 ac_exeext=$ac_wine_try_cflags_saved_exeext
11364 eval ac_res=\$$as_ac_var
11365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11366 printf "%s\n" "$ac_res" >&6; }
11367 if eval test \"x\$"$as_ac_var"\" = x"yes"
11369 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11371 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11373 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11374 if eval test \${$as_ac_var+y}
11376 printf %s "(cached) " >&6
11378 ac_wine_try_cflags_saved=$CFLAGS
11379 ac_wine_try_cflags_saved_exeext=$ac_exeext
11380 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11384 int __cdecl mainCRTStartup(void) { return 0; }
11386 if ac_fn_c_try_link "$LINENO"
11388 eval "$as_ac_var=yes"
11390 eval "$as_ac_var=no"
11392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11393 conftest$ac_exeext conftest.$ac_ext
11394 CFLAGS=$ac_wine_try_cflags_saved
11395 ac_exeext=$ac_wine_try_cflags_saved_exeext
11397 eval ac_res=\$$as_ac_var
11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11399 printf "%s\n" "$ac_res" >&6; }
11400 if eval test \"x\$"$as_ac_var"\" = x"yes"
11402 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11404 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11406 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11407 if eval test \${$as_ac_var+y}
11409 printf %s "(cached) " >&6
11411 ac_wine_try_cflags_saved=$CFLAGS
11412 ac_wine_try_cflags_saved_exeext=$ac_exeext
11413 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11417 int __cdecl mainCRTStartup(void) { return 0; }
11419 if ac_fn_c_try_link "$LINENO"
11421 eval "$as_ac_var=yes"
11423 eval "$as_ac_var=no"
11425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11426 conftest$ac_exeext conftest.$ac_ext
11427 CFLAGS=$ac_wine_try_cflags_saved
11428 ac_exeext=$ac_wine_try_cflags_saved_exeext
11430 eval ac_res=\$$as_ac_var
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11432 printf "%s\n" "$ac_res" >&6; }
11433 if eval test \"x\$"$as_ac_var"\" = x"yes"
11435 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11437 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11439 printf %s "checking whether $CC supports -mcx16... " >&6; }
11440 if eval test \${$as_ac_var+y}
11442 printf %s "(cached) " >&6
11444 ac_wine_try_cflags_saved=$CFLAGS
11445 ac_wine_try_cflags_saved_exeext=$ac_exeext
11446 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11450 int __cdecl mainCRTStartup(void) { return 0; }
11452 if ac_fn_c_try_link "$LINENO"
11454 eval "$as_ac_var=yes"
11456 eval "$as_ac_var=no"
11458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11459 conftest$ac_exeext conftest.$ac_ext
11460 CFLAGS=$ac_wine_try_cflags_saved
11461 ac_exeext=$ac_wine_try_cflags_saved_exeext
11463 eval ac_res=\$$as_ac_var
11464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11465 printf "%s\n" "$ac_res" >&6; }
11466 if eval test \"x\$"$as_ac_var"\" = x"yes"
11468 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11470 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11472 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11473 if eval test \${$as_ac_var+y}
11475 printf %s "(cached) " >&6
11477 ac_wine_try_cflags_saved=$CFLAGS
11478 ac_wine_try_cflags_saved_exeext=$ac_exeext
11479 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11483 int __cdecl mainCRTStartup(void) { return 0; }
11485 if ac_fn_c_try_link "$LINENO"
11487 eval "$as_ac_var=yes"
11489 eval "$as_ac_var=no"
11491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11492 conftest$ac_exeext conftest.$ac_ext
11493 CFLAGS=$ac_wine_try_cflags_saved
11494 ac_exeext=$ac_wine_try_cflags_saved_exeext
11496 eval ac_res=\$$as_ac_var
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11498 printf "%s\n" "$ac_res" >&6; }
11499 if eval test \"x\$"$as_ac_var"\" = x"yes"
11501 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11505 wine_crossdebug=$CROSSDEBUG
11506 if test -z "$wine_crossdebug"
11508 for ac_flag in $CFLAGS; do
11510 -gdwarf*) wine_crossdebug=dwarf ;;
11511 -gcodeview) wine_crossdebug=pdb ;;
11512 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11517 ac_debug_format_seen=""
11518 for ac_flag in $CFLAGS; do
11520 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11523 if test "x$ac_debug_format_seen" = x
11525 case $wine_crossdebug in
11526 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11528 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11529 if eval test \${$as_ac_var+y}
11531 printf %s "(cached) " >&6
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_exeext=$ac_exeext
11535 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 int __cdecl mainCRTStartup(void) { return 0; }
11541 if ac_fn_c_try_link "$LINENO"
11543 eval "$as_ac_var=yes"
11545 eval "$as_ac_var=no"
11547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11548 conftest$ac_exeext conftest.$ac_ext
11549 CFLAGS=$ac_wine_try_cflags_saved
11550 ac_exeext=$ac_wine_try_cflags_saved_exeext
11552 eval ac_res=\$$as_ac_var
11553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11554 printf "%s\n" "$ac_res" >&6; }
11555 if eval test \"x\$"$as_ac_var"\" = x"yes"
11557 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11559 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11561 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11562 if eval test \${$as_ac_var+y}
11564 printf %s "(cached) " >&6
11566 ac_wine_try_cflags_saved=$CFLAGS
11567 ac_wine_try_cflags_saved_exeext=$ac_exeext
11568 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11572 int __cdecl mainCRTStartup(void) { return 0; }
11574 if ac_fn_c_try_link "$LINENO"
11576 eval "$as_ac_var=yes"
11578 eval "$as_ac_var=no"
11580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11581 conftest$ac_exeext conftest.$ac_ext
11582 CFLAGS=$ac_wine_try_cflags_saved
11583 ac_exeext=$ac_wine_try_cflags_saved_exeext
11585 eval ac_res=\$$as_ac_var
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11587 printf "%s\n" "$ac_res" >&6; }
11588 if eval test \"x\$"$as_ac_var"\" = x"yes"
11590 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11594 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11596 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11598 printf %s "checking whether $CC supports -Werror... " >&6; }
11599 if eval test \${$as_ac_var+y}
11601 printf %s "(cached) " >&6
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 int __cdecl mainCRTStartup(void) { return 0; }
11611 if ac_fn_c_try_link "$LINENO"
11613 eval "$as_ac_var=yes"
11615 eval "$as_ac_var=no"
11617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11618 conftest$ac_exeext conftest.$ac_ext
11619 CFLAGS=$ac_wine_try_cflags_saved
11620 ac_exeext=$ac_wine_try_cflags_saved_exeext
11622 eval ac_res=\$$as_ac_var
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11624 printf "%s\n" "$ac_res" >&6; }
11625 if eval test \"x\$"$as_ac_var"\" = x"yes"
11627 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11629 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11631 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11632 if eval test \${$as_ac_var+y}
11634 printf %s "(cached) " >&6
11636 ac_wine_try_cflags_saved=$CFLAGS
11637 ac_wine_try_cflags_saved_exeext=$ac_exeext
11638 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 int __cdecl mainCRTStartup(void) { return 0; }
11644 if ac_fn_c_try_link "$LINENO"
11646 eval "$as_ac_var=yes"
11648 eval "$as_ac_var=no"
11650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11651 conftest$ac_exeext conftest.$ac_ext
11652 CFLAGS=$ac_wine_try_cflags_saved
11653 ac_exeext=$ac_wine_try_cflags_saved_exeext
11655 eval ac_res=\$$as_ac_var
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11657 printf "%s\n" "$ac_res" >&6; }
11658 if eval test \"x\$"$as_ac_var"\" = x"yes"
11660 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11661 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11665 CFLAGS=$saved_CFLAGS
11666 LDFLAGS=$saved_LDFLAGS
11669 if test $HOST_ARCH = aarch64
11671 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
11676 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11678 case "$host_cpu" in
11680 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11682 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11684 for ac_prog in $ac_prefix_list
11686 # Extract the first word of "$ac_prog", so it can be a program name with args.
11687 set dummy $ac_prog; ac_word=$2
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11689 printf %s "checking for $ac_word... " >&6; }
11690 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11692 printf %s "(cached) " >&6
11694 if test -n "$MINGW_PKG_CONFIG"; then
11695 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11701 case $as_dir in #(((
11704 *) as_dir=$as_dir/ ;;
11706 for ac_exec_ext in '' $ac_executable_extensions; do
11707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11708 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11718 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11719 if test -n "$MINGW_PKG_CONFIG"; then
11720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11721 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 printf "%s\n" "no" >&6; }
11728 test -n "$MINGW_PKG_CONFIG" && break
11730 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11732 if ${FAUDIO_PE_CFLAGS:+false} :
11734 if test ${MINGW_PKG_CONFIG+y}
11736 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11739 if ${FAUDIO_PE_LIBS:+false} :
11741 if test ${MINGW_PKG_CONFIG+y}
11743 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11746 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11747 ac_save_CPPFLAGS=$CPPFLAGS
11748 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11750 printf %s "checking for MinGW FAudio.h... " >&6; }
11751 if test ${ac_cv_mingw_header_FAudio_h+y}
11753 printf %s "(cached) " >&6
11755 ac_wine_check_headers_saved_cc=$CC
11756 ac_wine_check_headers_saved_exeext=$ac_exeext
11757 eval CC=\$${wine_arch}_CC
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 #include <FAudio.h>
11771 if ac_fn_c_try_compile "$LINENO"
11773 ac_cv_mingw_header_FAudio_h=yes
11775 ac_cv_mingw_header_FAudio_h=no
11777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11778 CC=$ac_wine_check_headers_saved_cc
11779 ac_exeext=$ac_wine_check_headers_saved_exeext
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11782 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11783 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11786 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11787 if test ${ac_cv_mingw_lib_FAudio+y}
11789 printf %s "(cached) " >&6
11791 ac_wine_check_headers_saved_cc=$CC
11792 ac_wine_check_headers_saved_exeext=$ac_exeext
11793 ac_wine_check_headers_saved_libs=$LIBS
11794 eval CC=\$${wine_arch}_CC
11796 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 char FAudio_CommitOperationSet ();
11807 return FAudio_CommitOperationSet ();
11812 if ac_fn_c_try_link "$LINENO"
11814 ac_cv_mingw_lib_FAudio=yes
11816 ac_cv_mingw_lib_FAudio=no
11818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11819 conftest$ac_exeext conftest.$ac_ext
11820 CC=$ac_wine_check_headers_saved_cc
11821 ac_exeext=$ac_wine_check_headers_saved_exeext
11822 LIBS=$ac_wine_check_headers_saved_libs
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11825 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11826 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11830 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11833 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11835 CPPFLAGS=$ac_save_CPPFLAGS
11837 if test "x$FAUDIO_PE_LIBS" = "x"
11839 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11842 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11844 if test ${MINGW_PKG_CONFIG+y}
11846 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
11849 if ${FLUIDSYNTH_PE_LIBS:+false} :
11851 if test ${MINGW_PKG_CONFIG+y}
11853 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
11856 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11857 ac_save_CPPFLAGS=$CPPFLAGS
11858 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11860 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11861 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11863 printf %s "(cached) " >&6
11865 ac_wine_check_headers_saved_cc=$CC
11866 ac_wine_check_headers_saved_exeext=$ac_exeext
11867 eval CC=\$${wine_arch}_CC
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 #include <fluidsynth.h>
11881 if ac_fn_c_try_compile "$LINENO"
11883 ac_cv_mingw_header_fluidsynth_h=yes
11885 ac_cv_mingw_header_fluidsynth_h=no
11887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11888 CC=$ac_wine_check_headers_saved_cc
11889 ac_exeext=$ac_wine_check_headers_saved_exeext
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11892 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11893 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11896 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11897 if test ${ac_cv_mingw_lib_fluidsynth+y}
11899 printf %s "(cached) " >&6
11901 ac_wine_check_headers_saved_cc=$CC
11902 ac_wine_check_headers_saved_exeext=$ac_exeext
11903 ac_wine_check_headers_saved_libs=$LIBS
11904 eval CC=\$${wine_arch}_CC
11906 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 char new_fluid_synth ();
11917 return new_fluid_synth ();
11922 if ac_fn_c_try_link "$LINENO"
11924 ac_cv_mingw_lib_fluidsynth=yes
11926 ac_cv_mingw_lib_fluidsynth=no
11928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11929 conftest$ac_exeext conftest.$ac_ext
11930 CC=$ac_wine_check_headers_saved_cc
11931 ac_exeext=$ac_wine_check_headers_saved_exeext
11932 LIBS=$ac_wine_check_headers_saved_libs
11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11935 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11936 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11940 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11943 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11945 CPPFLAGS=$ac_save_CPPFLAGS
11947 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11949 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11952 if ${JPEG_PE_CFLAGS:+false} :
11954 if test ${MINGW_PKG_CONFIG+y}
11956 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11959 if ${JPEG_PE_LIBS:+false} :
11961 if test ${MINGW_PKG_CONFIG+y}
11963 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11967 ac_save_CPPFLAGS=$CPPFLAGS
11968 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11970 printf %s "checking for MinGW jpeglib.h... " >&6; }
11971 if test ${ac_cv_mingw_header_jpeglib_h+y}
11973 printf %s "(cached) " >&6
11975 ac_wine_check_headers_saved_cc=$CC
11976 ac_wine_check_headers_saved_exeext=$ac_exeext
11977 eval CC=\$${wine_arch}_CC
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <stddef.h>
11983 #include <jpeglib.h>
11992 if ac_fn_c_try_compile "$LINENO"
11994 ac_cv_mingw_header_jpeglib_h=yes
11996 ac_cv_mingw_header_jpeglib_h=no
11998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11999 CC=$ac_wine_check_headers_saved_cc
12000 ac_exeext=$ac_wine_check_headers_saved_exeext
12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12003 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12004 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12007 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12008 if test ${ac_cv_mingw_lib_jpeg+y}
12010 printf %s "(cached) " >&6
12012 ac_wine_check_headers_saved_cc=$CC
12013 ac_wine_check_headers_saved_exeext=$ac_exeext
12014 ac_wine_check_headers_saved_libs=$LIBS
12015 eval CC=\$${wine_arch}_CC
12017 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 char jpeg_start_decompress ();
12028 return jpeg_start_decompress ();
12033 if ac_fn_c_try_link "$LINENO"
12035 ac_cv_mingw_lib_jpeg=yes
12037 ac_cv_mingw_lib_jpeg=no
12039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12040 conftest$ac_exeext conftest.$ac_ext
12041 CC=$ac_wine_check_headers_saved_cc
12042 ac_exeext=$ac_wine_check_headers_saved_exeext
12043 LIBS=$ac_wine_check_headers_saved_libs
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12046 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12047 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12051 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12054 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12056 CPPFLAGS=$ac_save_CPPFLAGS
12058 if test "x$JPEG_PE_LIBS" = "x"
12060 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12063 if ${LCMS2_PE_CFLAGS:+false} :
12065 if test ${MINGW_PKG_CONFIG+y}
12067 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12070 if ${LCMS2_PE_LIBS:+false} :
12072 if test ${MINGW_PKG_CONFIG+y}
12074 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12077 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12078 ac_save_CPPFLAGS=$CPPFLAGS
12079 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12081 printf %s "checking for MinGW lcms2.h... " >&6; }
12082 if test ${ac_cv_mingw_header_lcms2_h+y}
12084 printf %s "(cached) " >&6
12086 ac_wine_check_headers_saved_cc=$CC
12087 ac_wine_check_headers_saved_exeext=$ac_exeext
12088 eval CC=\$${wine_arch}_CC
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12102 if ac_fn_c_try_compile "$LINENO"
12104 ac_cv_mingw_header_lcms2_h=yes
12106 ac_cv_mingw_header_lcms2_h=no
12108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12109 CC=$ac_wine_check_headers_saved_cc
12110 ac_exeext=$ac_wine_check_headers_saved_exeext
12112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12113 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12114 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12117 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12118 if test ${ac_cv_mingw_lib_lcms2+y}
12120 printf %s "(cached) " >&6
12122 ac_wine_check_headers_saved_cc=$CC
12123 ac_wine_check_headers_saved_exeext=$ac_exeext
12124 ac_wine_check_headers_saved_libs=$LIBS
12125 eval CC=\$${wine_arch}_CC
12127 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 char cmsOpenProfileFromFile ();
12138 return cmsOpenProfileFromFile ();
12143 if ac_fn_c_try_link "$LINENO"
12145 ac_cv_mingw_lib_lcms2=yes
12147 ac_cv_mingw_lib_lcms2=no
12149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12150 conftest$ac_exeext conftest.$ac_ext
12151 CC=$ac_wine_check_headers_saved_cc
12152 ac_exeext=$ac_wine_check_headers_saved_exeext
12153 LIBS=$ac_wine_check_headers_saved_libs
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12156 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12157 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12161 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12164 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12166 CPPFLAGS=$ac_save_CPPFLAGS
12168 if test "x$LCMS2_PE_LIBS" = "x"
12170 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12173 if ${MPG123_PE_CFLAGS:+false} :
12175 if test ${MINGW_PKG_CONFIG+y}
12177 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12180 if ${MPG123_PE_LIBS:+false} :
12182 if test ${MINGW_PKG_CONFIG+y}
12184 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12187 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12188 ac_save_CPPFLAGS=$CPPFLAGS
12189 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12191 printf %s "checking for MinGW mpg123.h... " >&6; }
12192 if test ${ac_cv_mingw_header_mpg123_h+y}
12194 printf %s "(cached) " >&6
12196 ac_wine_check_headers_saved_cc=$CC
12197 ac_wine_check_headers_saved_exeext=$ac_exeext
12198 eval CC=\$${wine_arch}_CC
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 #include <mpg123.h>
12212 if ac_fn_c_try_compile "$LINENO"
12214 ac_cv_mingw_header_mpg123_h=yes
12216 ac_cv_mingw_header_mpg123_h=no
12218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12219 CC=$ac_wine_check_headers_saved_cc
12220 ac_exeext=$ac_wine_check_headers_saved_exeext
12222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12223 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12224 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12227 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12228 if test ${ac_cv_mingw_lib_mpg123+y}
12230 printf %s "(cached) " >&6
12232 ac_wine_check_headers_saved_cc=$CC
12233 ac_wine_check_headers_saved_exeext=$ac_exeext
12234 ac_wine_check_headers_saved_libs=$LIBS
12235 eval CC=\$${wine_arch}_CC
12237 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12241 /* Override any GCC internal prototype to avoid an error.
12242 Use char because int might match the return type of a GCC
12243 builtin and then its argument prototype would still apply. */
12244 char mpg123_feed ();
12248 return mpg123_feed ();
12253 if ac_fn_c_try_link "$LINENO"
12255 ac_cv_mingw_lib_mpg123=yes
12257 ac_cv_mingw_lib_mpg123=no
12259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12260 conftest$ac_exeext conftest.$ac_ext
12261 CC=$ac_wine_check_headers_saved_cc
12262 ac_exeext=$ac_wine_check_headers_saved_exeext
12263 LIBS=$ac_wine_check_headers_saved_libs
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12266 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12267 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12271 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12274 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12276 CPPFLAGS=$ac_save_CPPFLAGS
12278 if test "x$MPG123_PE_LIBS" = "x"
12280 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12283 if ${PNG_PE_CFLAGS:+false} :
12285 if test ${MINGW_PKG_CONFIG+y}
12287 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12290 if ${PNG_PE_LIBS:+false} :
12292 if test ${MINGW_PKG_CONFIG+y}
12294 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12298 ac_save_CPPFLAGS=$CPPFLAGS
12299 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12301 printf %s "checking for MinGW png.h... " >&6; }
12302 if test ${ac_cv_mingw_header_png_h+y}
12304 printf %s "(cached) " >&6
12306 ac_wine_check_headers_saved_cc=$CC
12307 ac_wine_check_headers_saved_exeext=$ac_exeext
12308 eval CC=\$${wine_arch}_CC
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12322 if ac_fn_c_try_compile "$LINENO"
12324 ac_cv_mingw_header_png_h=yes
12326 ac_cv_mingw_header_png_h=no
12328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12329 CC=$ac_wine_check_headers_saved_cc
12330 ac_exeext=$ac_wine_check_headers_saved_exeext
12332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12333 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12334 if test "x$ac_cv_mingw_header_png_h" = xyes
12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12337 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12338 if test ${ac_cv_mingw_lib_png+y}
12340 printf %s "(cached) " >&6
12342 ac_wine_check_headers_saved_cc=$CC
12343 ac_wine_check_headers_saved_exeext=$ac_exeext
12344 ac_wine_check_headers_saved_libs=$LIBS
12345 eval CC=\$${wine_arch}_CC
12347 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354 char png_create_read_struct ();
12358 return png_create_read_struct ();
12363 if ac_fn_c_try_link "$LINENO"
12365 ac_cv_mingw_lib_png=yes
12367 ac_cv_mingw_lib_png=no
12369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12370 conftest$ac_exeext conftest.$ac_ext
12371 CC=$ac_wine_check_headers_saved_cc
12372 ac_exeext=$ac_wine_check_headers_saved_exeext
12373 LIBS=$ac_wine_check_headers_saved_libs
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12376 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12377 if test "x$ac_cv_mingw_lib_png" = xyes
12381 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12384 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12386 CPPFLAGS=$ac_save_CPPFLAGS
12388 if test "x$PNG_PE_LIBS" = "x"
12390 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12393 if ${TIFF_PE_CFLAGS:+false} :
12395 if test ${MINGW_PKG_CONFIG+y}
12397 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12400 if ${TIFF_PE_LIBS:+false} :
12402 if test ${MINGW_PKG_CONFIG+y}
12404 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12411 printf %s "checking for MinGW tiffio.h... " >&6; }
12412 if test ${ac_cv_mingw_header_tiffio_h+y}
12414 printf %s "(cached) " >&6
12416 ac_wine_check_headers_saved_cc=$CC
12417 ac_wine_check_headers_saved_exeext=$ac_exeext
12418 eval CC=\$${wine_arch}_CC
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 #include <tiffio.h>
12432 if ac_fn_c_try_compile "$LINENO"
12434 ac_cv_mingw_header_tiffio_h=yes
12436 ac_cv_mingw_header_tiffio_h=no
12438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12439 CC=$ac_wine_check_headers_saved_cc
12440 ac_exeext=$ac_wine_check_headers_saved_exeext
12442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12443 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12444 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12447 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12448 if test ${ac_cv_mingw_lib_tiff+y}
12450 printf %s "(cached) " >&6
12452 ac_wine_check_headers_saved_cc=$CC
12453 ac_wine_check_headers_saved_exeext=$ac_exeext
12454 ac_wine_check_headers_saved_libs=$LIBS
12455 eval CC=\$${wine_arch}_CC
12457 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 char TIFFClientOpen ();
12468 return TIFFClientOpen ();
12473 if ac_fn_c_try_link "$LINENO"
12475 ac_cv_mingw_lib_tiff=yes
12477 ac_cv_mingw_lib_tiff=no
12479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12480 conftest$ac_exeext conftest.$ac_ext
12481 CC=$ac_wine_check_headers_saved_cc
12482 ac_exeext=$ac_wine_check_headers_saved_exeext
12483 LIBS=$ac_wine_check_headers_saved_libs
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12486 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12487 if test "x$ac_cv_mingw_lib_tiff" = xyes
12491 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12494 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12496 CPPFLAGS=$ac_save_CPPFLAGS
12498 if test "x$TIFF_PE_LIBS" = "x"
12500 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12503 if ${XML2_PE_CFLAGS:+false} :
12505 if test ${MINGW_PKG_CONFIG+y}
12507 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12510 if ${XML2_PE_LIBS:+false} :
12512 if test ${MINGW_PKG_CONFIG+y}
12514 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12517 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12518 ac_save_CPPFLAGS=$CPPFLAGS
12519 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12521 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12522 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12524 printf %s "(cached) " >&6
12526 ac_wine_check_headers_saved_cc=$CC
12527 ac_wine_check_headers_saved_exeext=$ac_exeext
12528 eval CC=\$${wine_arch}_CC
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 #include <libxml/parser.h>
12542 if ac_fn_c_try_compile "$LINENO"
12544 ac_cv_mingw_header_libxml_parser_h=yes
12546 ac_cv_mingw_header_libxml_parser_h=no
12548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12549 CC=$ac_wine_check_headers_saved_cc
12550 ac_exeext=$ac_wine_check_headers_saved_exeext
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12553 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12554 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12559 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12560 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12562 printf %s "(cached) " >&6
12564 ac_wine_check_headers_saved_cc=$CC
12565 ac_wine_check_headers_saved_exeext=$ac_exeext
12566 eval CC=\$${wine_arch}_CC
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 #include <libxml/xmlsave.h>
12580 if ac_fn_c_try_compile "$LINENO"
12582 ac_cv_mingw_header_libxml_xmlsave_h=yes
12584 ac_cv_mingw_header_libxml_xmlsave_h=no
12586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12587 CC=$ac_wine_check_headers_saved_cc
12588 ac_exeext=$ac_wine_check_headers_saved_exeext
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12591 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12592 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12597 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12598 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12600 printf %s "(cached) " >&6
12602 ac_wine_check_headers_saved_cc=$CC
12603 ac_wine_check_headers_saved_exeext=$ac_exeext
12604 eval CC=\$${wine_arch}_CC
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 #include <libxml/SAX2.h>
12618 if ac_fn_c_try_compile "$LINENO"
12620 ac_cv_mingw_header_libxml_SAX2_h=yes
12622 ac_cv_mingw_header_libxml_SAX2_h=no
12624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12625 CC=$ac_wine_check_headers_saved_cc
12626 ac_exeext=$ac_wine_check_headers_saved_exeext
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12629 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12630 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12634 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"
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12637 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12638 if test ${ac_cv_mingw_lib_xml2+y}
12640 printf %s "(cached) " >&6
12642 ac_wine_check_headers_saved_cc=$CC
12643 ac_wine_check_headers_saved_exeext=$ac_exeext
12644 ac_wine_check_headers_saved_libs=$LIBS
12645 eval CC=\$${wine_arch}_CC
12647 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 char xmlFirstElementChild ();
12658 return xmlFirstElementChild ();
12663 if ac_fn_c_try_link "$LINENO"
12665 ac_cv_mingw_lib_xml2=yes
12667 ac_cv_mingw_lib_xml2=no
12669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12670 conftest$ac_exeext conftest.$ac_ext
12671 CC=$ac_wine_check_headers_saved_cc
12672 ac_exeext=$ac_wine_check_headers_saved_exeext
12673 LIBS=$ac_wine_check_headers_saved_libs
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12676 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12677 if test "x$ac_cv_mingw_lib_xml2" = xyes
12681 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12687 CPPFLAGS=$ac_save_CPPFLAGS
12689 if test "x$XML2_PE_LIBS" = "x"
12691 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12694 if ${XSLT_PE_CFLAGS:+false} :
12696 if test ${MINGW_PKG_CONFIG+y}
12698 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12701 if ${XSLT_PE_LIBS:+false} :
12703 if test ${MINGW_PKG_CONFIG+y}
12705 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12708 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12712 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12713 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12715 printf %s "(cached) " >&6
12717 ac_wine_check_headers_saved_cc=$CC
12718 ac_wine_check_headers_saved_exeext=$ac_exeext
12719 eval CC=\$${wine_arch}_CC
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 #include <libxslt/pattern.h>
12733 if ac_fn_c_try_compile "$LINENO"
12735 ac_cv_mingw_header_libxslt_pattern_h=yes
12737 ac_cv_mingw_header_libxslt_pattern_h=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12744 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12745 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12750 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12751 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12753 printf %s "(cached) " >&6
12755 ac_wine_check_headers_saved_cc=$CC
12756 ac_wine_check_headers_saved_exeext=$ac_exeext
12757 eval CC=\$${wine_arch}_CC
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 #include <libxslt/transform.h>
12771 if ac_fn_c_try_compile "$LINENO"
12773 ac_cv_mingw_header_libxslt_transform_h=yes
12775 ac_cv_mingw_header_libxslt_transform_h=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12778 CC=$ac_wine_check_headers_saved_cc
12779 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12782 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12783 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12787 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12790 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12791 if test ${ac_cv_mingw_lib_xslt+y}
12793 printf %s "(cached) " >&6
12795 ac_wine_check_headers_saved_cc=$CC
12796 ac_wine_check_headers_saved_exeext=$ac_exeext
12797 ac_wine_check_headers_saved_libs=$LIBS
12798 eval CC=\$${wine_arch}_CC
12800 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12807 char xsltCompilePattern ();
12811 return xsltCompilePattern ();
12816 if ac_fn_c_try_link "$LINENO"
12818 ac_cv_mingw_lib_xslt=yes
12820 ac_cv_mingw_lib_xslt=no
12822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12823 conftest$ac_exeext conftest.$ac_ext
12824 CC=$ac_wine_check_headers_saved_cc
12825 ac_exeext=$ac_wine_check_headers_saved_exeext
12826 LIBS=$ac_wine_check_headers_saved_libs
12828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12829 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12830 if test "x$ac_cv_mingw_lib_xslt" = xyes
12834 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12840 CPPFLAGS=$ac_save_CPPFLAGS
12842 if test "x$XSLT_PE_LIBS" = "x"
12844 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12847 if ${VKD3D_PE_CFLAGS:+false} :
12849 if test ${MINGW_PKG_CONFIG+y}
12851 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12854 if ${VKD3D_PE_LIBS:+false} :
12856 if test ${MINGW_PKG_CONFIG+y}
12858 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12861 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12862 ac_save_CPPFLAGS=$CPPFLAGS
12863 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12865 printf %s "checking for MinGW vkd3d.h... " >&6; }
12866 if test ${ac_cv_mingw_header_vkd3d_h+y}
12868 printf %s "(cached) " >&6
12870 ac_wine_check_headers_saved_cc=$CC
12871 ac_wine_check_headers_saved_exeext=$ac_exeext
12872 eval CC=\$${wine_arch}_CC
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12886 if ac_fn_c_try_compile "$LINENO"
12888 ac_cv_mingw_header_vkd3d_h=yes
12890 ac_cv_mingw_header_vkd3d_h=no
12892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12893 CC=$ac_wine_check_headers_saved_cc
12894 ac_exeext=$ac_wine_check_headers_saved_exeext
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12897 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12898 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12903 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12904 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12906 printf %s "(cached) " >&6
12908 ac_wine_check_headers_saved_cc=$CC
12909 ac_wine_check_headers_saved_exeext=$ac_exeext
12910 eval CC=\$${wine_arch}_CC
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 #include <vkd3d_shader.h>
12924 if ac_fn_c_try_compile "$LINENO"
12926 ac_cv_mingw_header_vkd3d_shader_h=yes
12928 ac_cv_mingw_header_vkd3d_shader_h=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12935 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12936 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12940 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12943 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12944 if test ${ac_cv_mingw_lib_vkd3d+y}
12946 printf %s "(cached) " >&6
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 ac_wine_check_headers_saved_libs=$LIBS
12951 eval CC=\$${wine_arch}_CC
12953 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 char vkd3d_set_log_callback ();
12964 return vkd3d_set_log_callback ();
12969 if ac_fn_c_try_link "$LINENO"
12971 ac_cv_mingw_lib_vkd3d=yes
12973 ac_cv_mingw_lib_vkd3d=no
12975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12976 conftest$ac_exeext conftest.$ac_ext
12977 CC=$ac_wine_check_headers_saved_cc
12978 ac_exeext=$ac_wine_check_headers_saved_exeext
12979 LIBS=$ac_wine_check_headers_saved_libs
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12982 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12983 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12990 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12991 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12993 printf %s "(cached) " >&6
12995 ac_wine_check_headers_saved_cc=$CC
12996 ac_wine_check_headers_saved_exeext=$ac_exeext
12997 ac_wine_check_headers_saved_libs=$LIBS
12998 eval CC=\$${wine_arch}_CC
13000 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13004 /* Override any GCC internal prototype to avoid an error.
13005 Use char because int might match the return type of a GCC
13006 builtin and then its argument prototype would still apply. */
13007 char vkd3d_shader_serialize_dxbc ();
13011 return vkd3d_shader_serialize_dxbc ();
13016 if ac_fn_c_try_link "$LINENO"
13018 ac_cv_mingw_lib_vkd3d_shader=yes
13020 ac_cv_mingw_lib_vkd3d_shader=no
13022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13023 conftest$ac_exeext conftest.$ac_ext
13024 CC=$ac_wine_check_headers_saved_cc
13025 ac_exeext=$ac_wine_check_headers_saved_exeext
13026 LIBS=$ac_wine_check_headers_saved_libs
13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13029 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13030 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13036 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13045 CPPFLAGS=$ac_save_CPPFLAGS
13047 if test "x$VKD3D_PE_LIBS" = "x"
13049 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13052 if ${ZLIB_PE_CFLAGS:+false} :
13054 if test ${MINGW_PKG_CONFIG+y}
13056 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13059 if ${ZLIB_PE_LIBS:+false} :
13061 if test ${MINGW_PKG_CONFIG+y}
13063 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13066 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13067 ac_save_CPPFLAGS=$CPPFLAGS
13068 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13070 printf %s "checking for MinGW zlib.h... " >&6; }
13071 if test ${ac_cv_mingw_header_zlib_h+y}
13073 printf %s "(cached) " >&6
13075 ac_wine_check_headers_saved_cc=$CC
13076 ac_wine_check_headers_saved_exeext=$ac_exeext
13077 eval CC=\$${wine_arch}_CC
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13091 if ac_fn_c_try_compile "$LINENO"
13093 ac_cv_mingw_header_zlib_h=yes
13095 ac_cv_mingw_header_zlib_h=no
13097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13098 CC=$ac_wine_check_headers_saved_cc
13099 ac_exeext=$ac_wine_check_headers_saved_exeext
13101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13102 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13103 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13106 printf %s "checking for inflate in MinGW -lz... " >&6; }
13107 if test ${ac_cv_mingw_lib_z+y}
13109 printf %s "(cached) " >&6
13111 ac_wine_check_headers_saved_cc=$CC
13112 ac_wine_check_headers_saved_exeext=$ac_exeext
13113 ac_wine_check_headers_saved_libs=$LIBS
13114 eval CC=\$${wine_arch}_CC
13116 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13132 if ac_fn_c_try_link "$LINENO"
13134 ac_cv_mingw_lib_z=yes
13136 ac_cv_mingw_lib_z=no
13138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13139 conftest$ac_exeext conftest.$ac_ext
13140 CC=$ac_wine_check_headers_saved_cc
13141 ac_exeext=$ac_wine_check_headers_saved_exeext
13142 LIBS=$ac_wine_check_headers_saved_libs
13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13145 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13146 if test "x$ac_cv_mingw_lib_z" = xyes
13150 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13153 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13155 CPPFLAGS=$ac_save_CPPFLAGS
13157 if test "x$ZLIB_PE_LIBS" = "x"
13159 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13163 if ${FAUDIO_PE_LIBS:+false} :
13165 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13166 if ${FAUDIO_PE_CFLAGS:+false} :
13168 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13178 if ${FLUIDSYNTH_PE_LIBS:+false} :
13180 FLUIDSYNTH_PE_LIBS="fluidsynth"
13181 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13183 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13185 enable_fluidsynth=no
13188 enable_fluidsynth=no
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13193 if ${GSM_PE_LIBS:+false} :
13196 if ${GSM_PE_CFLAGS:+false} :
13198 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13208 if ${JPEG_PE_LIBS:+false} :
13211 if ${JPEG_PE_CFLAGS:+false} :
13213 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13223 if ${JXR_PE_LIBS:+false} :
13226 if ${JXR_PE_CFLAGS:+false} :
13228 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13238 if ${LCMS2_PE_LIBS:+false} :
13240 LCMS2_PE_LIBS=lcms2
13241 if ${LCMS2_PE_CFLAGS:+false} :
13243 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13253 if ${LDAP_PE_LIBS:+false} :
13256 if ${LDAP_PE_CFLAGS:+false} :
13258 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13268 if ${MPG123_PE_LIBS:+false} :
13270 MPG123_PE_LIBS=mpg123
13271 if ${MPG123_PE_CFLAGS:+false} :
13273 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13283 if ${MUSL_PE_LIBS:+false} :
13286 if ${MUSL_PE_CFLAGS:+false} :
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13298 if ${PNG_PE_LIBS:+false} :
13300 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13301 if ${PNG_PE_CFLAGS:+false} :
13303 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13313 if ${TIFF_PE_LIBS:+false} :
13315 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13316 if ${TIFF_PE_CFLAGS:+false} :
13318 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13328 if ${VKD3D_PE_LIBS:+false} :
13330 VKD3D_PE_LIBS=vkd3d
13331 if ${VKD3D_PE_CFLAGS:+false} :
13333 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13343 if ${XML2_PE_LIBS:+false} :
13346 if ${XML2_PE_CFLAGS:+false} :
13348 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13358 if ${XSLT_PE_LIBS:+false} :
13361 if ${XSLT_PE_CFLAGS:+false} :
13363 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13373 if ${ZLIB_PE_LIBS:+false} :
13376 if ${ZLIB_PE_CFLAGS:+false} :
13378 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13388 if ${ZYDIS_PE_LIBS:+false} :
13390 ZYDIS_PE_LIBS=zydis
13391 if ${ZYDIS_PE_CFLAGS:+false} :
13393 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13405 if test "$ac_cv_header_pthread_h" = "yes"
13407 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13408 if test "x$ac_cv_func_pthread_create" = xyes
13412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13413 printf %s "checking for pthread_create in -lpthread... " >&6; }
13414 if test ${ac_cv_lib_pthread_pthread_create+y}
13416 printf %s "(cached) " >&6
13418 ac_check_lib_save_LIBS=$LIBS
13419 LIBS="-lpthread $LIBS"
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 char pthread_create ();
13430 return pthread_create ();
13435 if ac_fn_c_try_link "$LINENO"
13437 ac_cv_lib_pthread_pthread_create=yes
13439 ac_cv_lib_pthread_pthread_create=no
13441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13442 conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_check_lib_save_LIBS
13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13446 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13447 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13449 PTHREAD_LIBS="-lpthread"
13456 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13458 case "x$with_pthread" in
13460 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13461 Wine cannot support threads without libpthread.
13462 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13469 ac_cpp='$CPP $CPPFLAGS'
13470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13474 printf %s "checking how to run the C preprocessor... " >&6; }
13475 # On Suns, sometimes $CPP names a directory.
13476 if test -n "$CPP" && test -d "$CPP"; then
13479 if test -z "$CPP"; then
13480 if test ${ac_cv_prog_CPP+y}
13482 printf %s "(cached) " >&6
13484 # Double quotes because $CC needs to be expanded
13485 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13487 ac_preproc_ok=false
13488 for ac_c_preproc_warn_flag in '' yes
13490 # Use a header file that comes with gcc, so configuring glibc
13491 # with a fresh cross-compiler works.
13492 # On the NeXT, cc -E runs the code through the compiler's parser,
13493 # not just through cpp. "Syntax error" is here to catch this case.
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 #include <limits.h>
13499 if ac_fn_c_try_cpp "$LINENO"
13503 # Broken: fails on valid input.
13506 rm -f conftest.err conftest.i conftest.$ac_ext
13508 # OK, works on sane cases. Now check whether nonexistent headers
13509 # can be detected and how.
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 #include <ac_nonexistent.h>
13514 if ac_fn_c_try_cpp "$LINENO"
13516 # Broken: success on invalid input.
13519 # Passes both tests.
13523 rm -f conftest.err conftest.i conftest.$ac_ext
13526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13527 rm -f conftest.i conftest.err conftest.
$ac_ext
13534 ac_cv_prog_CPP
=$CPP
13537 CPP
=$ac_cv_prog_CPP
13539 ac_cv_prog_CPP
=$CPP
13541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13542 printf "%s\n" "$CPP" >&6; }
13543 ac_preproc_ok
=false
13544 for ac_c_preproc_warn_flag
in '' yes
13546 # Use a header file that comes with gcc, so configuring glibc
13547 # with a fresh cross-compiler works.
13548 # On the NeXT, cc -E runs the code through the compiler's parser,
13549 # not just through cpp. "Syntax error" is here to catch this case.
13550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 #include <limits.h>
13555 if ac_fn_c_try_cpp
"$LINENO"
13559 # Broken: fails on valid input.
13562 rm -f conftest.err conftest.i conftest.
$ac_ext
13564 # OK, works on sane cases. Now check whether nonexistent headers
13565 # can be detected and how.
13566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 #include <ac_nonexistent.h>
13570 if ac_fn_c_try_cpp
"$LINENO"
13572 # Broken: success on invalid input.
13575 # Passes both tests.
13579 rm -f conftest.err conftest.i conftest.
$ac_ext
13582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13583 rm -f conftest.i conftest.err conftest.
$ac_ext
13588 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13589 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13590 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13591 See \`config.log' for more details" "$LINENO" 5; }
13595 ac_cpp
='$CPP $CPPFLAGS'
13596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13602 printf %s
"checking for X... " >&6; }
13605 # Check whether --with-x was given.
13606 if test ${with_x+y}
13611 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13612 if test "x$with_x" = xno
; then
13613 # The user explicitly disabled X.
13616 case $x_includes,$x_libraries in #(
13617 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13618 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13620 printf %s
"(cached) " >&6
13622 # One or both of the vars are not set, and there is no cached value.
13625 # Do we need to do anything special at all?
13628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 #include <X11/Xlib.h>
13639 if ac_fn_c_try_link
"$LINENO"
13641 # We can compile and link X programs with no special options.
13645 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13646 conftest
$ac_exeext conftest.
$ac_ext
13647 LIBS
="$ac_save_LIBS"
13648 # If that didn't work, only try xmkmf and file system searches
13649 # for native compilation.
13650 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13652 rm -f -r conftest.dir
13653 if mkdir conftest.dir
; then
13655 cat >Imakefile
<<'_ACEOF'
13657 @echo incroot='${INCROOT}'
13659 @echo usrlibdir='${USRLIBDIR}'
13661 @echo libdir='${LIBDIR}'
13663 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13664 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13665 for ac_var
in incroot usrlibdir libdir
; do
13666 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13668 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13669 for ac_extension
in a so sl dylib la dll
; do
13670 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13671 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13672 ac_im_usrlibdir
=$ac_im_libdir; break
13675 # Screen out bogus values from the imake configuration. They are
13676 # bogus both because they are the default anyway, and because
13677 # using them would break gcc on systems where it needs fixed includes.
13678 case $ac_im_incroot in
13679 /usr
/include
) ac_x_includes
= ;;
13680 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13682 case $ac_im_usrlibdir in
13683 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13684 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13688 rm -f -r conftest.dir
13691 # Standard set of common directories for X headers.
13692 # Check X11 before X11Rn because it is often a symlink to the current release.
13706 /usr/local/X11/include
13707 /usr/local/X11R7/include
13708 /usr/local/X11R6/include
13709 /usr/local/X11R5/include
13710 /usr/local/X11R4/include
13712 /usr/local/include/X11
13713 /usr/local/include/X11R7
13714 /usr/local/include/X11R6
13715 /usr/local/include/X11R5
13716 /usr/local/include/X11R4
13722 /usr/XFree86/include/X11
13726 /usr/unsupported/include
13727 /usr/athena/include
13728 /usr/local/x11r5/include
13729 /usr/lpp/Xamples/include
13731 /usr/openwin/include
13732 /usr/openwin/share/include'
13734 if test "$ac_x_includes" = no
; then
13735 # Guess where to find include files, by looking for Xlib.h.
13736 # First, try using that file with no special directory specified.
13737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13739 #include <X11/Xlib.h>
13741 if ac_fn_c_try_cpp
"$LINENO"
13743 # We can compile using X headers with no special include directory.
13746 for ac_dir
in $ac_x_header_dirs; do
13747 if test -r "$ac_dir/X11/Xlib.h"; then
13748 ac_x_includes
=$ac_dir
13753 rm -f conftest.err conftest.i conftest.
$ac_ext
13754 fi # $ac_x_includes = no
13756 if test "$ac_x_libraries" = no
; then
13757 # Check for the libraries.
13758 # See if we find them without any special options.
13759 # Don't add to $LIBS permanently.
13762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13764 #include <X11/Xlib.h>
13773 if ac_fn_c_try_link
"$LINENO"
13776 # We can link X programs with no special library path.
13780 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13782 # Don't even attempt the hair of trying to link an X program!
13783 for ac_extension
in a so sl dylib la dll
; do
13784 if test -r "$ac_dir/libX11.$ac_extension"; then
13785 ac_x_libraries
=$ac_dir
13791 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13792 conftest
$ac_exeext conftest.
$ac_ext
13793 fi # $ac_x_libraries = no
13796 # Record the results.
13797 case $ac_x_includes,$ac_x_libraries in #(
13798 no
,* |
*,no |
*\'*) :
13799 # Didn't find X, or a directory has "'" in its name.
13800 ac_cv_have_x
="have_x=no" ;; #(
13802 # Record where we found X for the cache.
13803 ac_cv_have_x
="have_x=yes\
13804 ac_x_includes='$ac_x_includes'\
13805 ac_x_libraries='$ac_x_libraries'" ;;
13811 eval "$ac_cv_have_x"
13814 if test "$have_x" != yes; then
13815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13816 printf "%s\n" "$have_x" >&6; }
13819 # If each of the values was on the command line, it overrides each guess.
13820 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13821 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13822 # Update the cache value to reflect the command line values.
13823 ac_cv_have_x
="have_x=yes\
13824 ac_x_includes='$x_includes'\
13825 ac_x_libraries='$x_libraries'"
13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13827 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13830 if test "$no_x" = yes; then
13831 # Not all programs may use this symbol, but it does not hurt to define it.
13833 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13835 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13837 if test -n "$x_includes"; then
13838 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13841 # It would also be nice to do this for all -L options, not just this one.
13842 if test -n "$x_libraries"; then
13843 X_LIBS
="$X_LIBS -L$x_libraries"
13844 # For Solaris; some versions of Sun CC require a space after -R and
13845 # others require no space. Words are not sufficient . . . .
13846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13847 printf %s
"checking whether -R must be followed by a space... " >&6; }
13848 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13849 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13850 ac_c_werror_flag
=yes
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13862 if ac_fn_c_try_link
"$LINENO"
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865 printf "%s\n" "no" >&6; }
13866 X_LIBS
="$X_LIBS -R$x_libraries"
13868 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13880 if ac_fn_c_try_link
"$LINENO"
13882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13883 printf "%s\n" "yes" >&6; }
13884 X_LIBS
="$X_LIBS -R $x_libraries"
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13887 printf "%s\n" "neither works" >&6; }
13889 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13890 conftest
$ac_exeext conftest.
$ac_ext
13892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13895 LIBS
=$ac_xsave_LIBS
13898 # Check for system-dependent libraries X programs must link with.
13899 # Do this before checking for the system-independent R6 libraries
13900 # (-lICE), since we may need -lsocket or whatever for X linking.
13902 if test "$ISC" = yes; then
13903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13905 # Martyn Johnson says this is needed for Ultrix, if the X
13906 # libraries were built with DECnet support. And Karl Berry says
13907 # the Alpha needs dnet_stub (dnet does not exist).
13908 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 char XOpenDisplay ();
13919 return XOpenDisplay ();
13924 if ac_fn_c_try_link
"$LINENO"
13928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13929 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13930 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13932 printf %s
"(cached) " >&6
13934 ac_check_lib_save_LIBS
=$LIBS
13935 LIBS
="-ldnet $LIBS"
13936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13939 /* Override any GCC internal prototype to avoid an error.
13940 Use char because int might match the return type of a GCC
13941 builtin and then its argument prototype would still apply. */
13946 return dnet_ntoa ();
13951 if ac_fn_c_try_link
"$LINENO"
13953 ac_cv_lib_dnet_dnet_ntoa
=yes
13955 ac_cv_lib_dnet_dnet_ntoa
=no
13957 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 LIBS
=$ac_check_lib_save_LIBS
13961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13962 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13963 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13968 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13970 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13971 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13973 printf %s
"(cached) " >&6
13975 ac_check_lib_save_LIBS
=$LIBS
13976 LIBS
="-ldnet_stub $LIBS"
13977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13978 /* end confdefs.h. */
13980 /* Override any GCC internal prototype to avoid an error.
13981 Use char because int might match the return type of a GCC
13982 builtin and then its argument prototype would still apply. */
13987 return dnet_ntoa ();
13992 if ac_fn_c_try_link
"$LINENO"
13994 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13996 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13998 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13999 conftest
$ac_exeext conftest.
$ac_ext
14000 LIBS
=$ac_check_lib_save_LIBS
14002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14003 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14004 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14006 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14011 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14012 conftest
$ac_exeext conftest.
$ac_ext
14013 LIBS
="$ac_xsave_LIBS"
14015 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14016 # to get the SysV transport functions.
14017 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14019 # The nsl library prevents programs from opening the X display
14020 # on Irix 5.2, according to T.E. Dickey.
14021 # The functions gethostbyname, getservbyname, and inet_addr are
14022 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14023 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14024 if test "x$ac_cv_func_gethostbyname" = xyes
14029 if test $ac_cv_func_gethostbyname = no
; then
14030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14031 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14032 if test ${ac_cv_lib_nsl_gethostbyname+y}
14034 printf %s
"(cached) " >&6
14036 ac_check_lib_save_LIBS
=$LIBS
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14041 /* Override any GCC internal prototype to avoid an error.
14042 Use char because int might match the return type of a GCC
14043 builtin and then its argument prototype would still apply. */
14044 char gethostbyname ();
14048 return gethostbyname ();
14053 if ac_fn_c_try_link
"$LINENO"
14055 ac_cv_lib_nsl_gethostbyname
=yes
14057 ac_cv_lib_nsl_gethostbyname
=no
14059 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14060 conftest
$ac_exeext conftest.
$ac_ext
14061 LIBS
=$ac_check_lib_save_LIBS
14063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14064 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14065 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14067 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14070 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14072 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14073 if test ${ac_cv_lib_bsd_gethostbyname+y}
14075 printf %s
"(cached) " >&6
14077 ac_check_lib_save_LIBS
=$LIBS
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 char gethostbyname ();
14089 return gethostbyname ();
14094 if ac_fn_c_try_link
"$LINENO"
14096 ac_cv_lib_bsd_gethostbyname
=yes
14098 ac_cv_lib_bsd_gethostbyname
=no
14100 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14101 conftest
$ac_exeext conftest.
$ac_ext
14102 LIBS
=$ac_check_lib_save_LIBS
14104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14105 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14106 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14114 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14115 # socket/setsockopt and other routines are undefined under SCO ODT
14116 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14117 # on later versions), says Simon Leinen: it contains gethostby*
14118 # variants that don't use the name server (or something). -lsocket
14119 # must be given before -lnsl if both are needed. We assume that
14120 # if connect needs -lnsl, so does gethostbyname.
14121 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14122 if test "x$ac_cv_func_connect" = xyes
14127 if test $ac_cv_func_connect = no
; then
14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14129 printf %s
"checking for connect in -lsocket... " >&6; }
14130 if test ${ac_cv_lib_socket_connect+y}
14132 printf %s
"(cached) " >&6
14134 ac_check_lib_save_LIBS
=$LIBS
14135 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14139 /* Override any GCC internal prototype to avoid an error.
14140 Use char because int might match the return type of a GCC
14141 builtin and then its argument prototype would still apply. */
14151 if ac_fn_c_try_link
"$LINENO"
14153 ac_cv_lib_socket_connect
=yes
14155 ac_cv_lib_socket_connect
=no
14157 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 LIBS
=$ac_check_lib_save_LIBS
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14162 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14163 if test "x$ac_cv_lib_socket_connect" = xyes
14165 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14170 # Guillermo Gomez says -lposix is necessary on A/UX.
14171 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14172 if test "x$ac_cv_func_remove" = xyes
14177 if test $ac_cv_func_remove = no
; then
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14179 printf %s
"checking for remove in -lposix... " >&6; }
14180 if test ${ac_cv_lib_posix_remove+y}
14182 printf %s
"(cached) " >&6
14184 ac_check_lib_save_LIBS
=$LIBS
14185 LIBS
="-lposix $LIBS"
14186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14189 /* Override any GCC internal prototype to avoid an error.
14190 Use char because int might match the return type of a GCC
14191 builtin and then its argument prototype would still apply. */
14201 if ac_fn_c_try_link
"$LINENO"
14203 ac_cv_lib_posix_remove
=yes
14205 ac_cv_lib_posix_remove
=no
14207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14208 conftest
$ac_exeext conftest.
$ac_ext
14209 LIBS
=$ac_check_lib_save_LIBS
14211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14212 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14213 if test "x$ac_cv_lib_posix_remove" = xyes
14215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14221 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14222 if test "x$ac_cv_func_shmat" = xyes
14227 if test $ac_cv_func_shmat = no
; then
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14229 printf %s
"checking for shmat in -lipc... " >&6; }
14230 if test ${ac_cv_lib_ipc_shmat+y}
14232 printf %s
"(cached) " >&6
14234 ac_check_lib_save_LIBS
=$LIBS
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14251 if ac_fn_c_try_link
"$LINENO"
14253 ac_cv_lib_ipc_shmat
=yes
14255 ac_cv_lib_ipc_shmat
=no
14257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14258 conftest
$ac_exeext conftest.
$ac_ext
14259 LIBS
=$ac_check_lib_save_LIBS
14261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14262 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14263 if test "x$ac_cv_lib_ipc_shmat" = xyes
14265 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14271 # Check for libraries that X11R6 Xt/Xaw programs need.
14272 ac_save_LDFLAGS
=$LDFLAGS
14273 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14274 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14275 # check for ICE first), but we must link in the order -lSM -lICE or
14276 # we get undefined symbols. So assume we have SM if we have ICE.
14277 # These have to be linked with before -lX11, unlike the other
14278 # libraries we check for below, so use a different variable.
14279 # John Interrante, Karl Berry
14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14281 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14282 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14284 printf %s
"(cached) " >&6
14286 ac_check_lib_save_LIBS
=$LIBS
14287 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14291 /* Override any GCC internal prototype to avoid an error.
14292 Use char because int might match the return type of a GCC
14293 builtin and then its argument prototype would still apply. */
14294 char IceConnectionNumber ();
14298 return IceConnectionNumber ();
14303 if ac_fn_c_try_link
"$LINENO"
14305 ac_cv_lib_ICE_IceConnectionNumber
=yes
14307 ac_cv_lib_ICE_IceConnectionNumber
=no
14309 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14310 conftest
$ac_exeext conftest.
$ac_ext
14311 LIBS
=$ac_check_lib_save_LIBS
14313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14314 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14315 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14317 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14320 LDFLAGS
=$ac_save_LDFLAGS
14325 if test "$have_x" = "yes"
14327 ac_save_CPPFLAGS
="$CPPFLAGS"
14328 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14331 printf %s
"checking for -lX11... " >&6; }
14332 if test ${ac_cv_lib_soname_X11+y}
14334 printf %s
"(cached) " >&6
14336 ac_check_soname_save_LIBS
=$LIBS
14337 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 /* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14344 char XCreateWindow ();
14348 return XCreateWindow ();
14353 if ac_fn_c_try_link
"$LINENO"
14356 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14357 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'` ;;
14358 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14359 if ${ac_cv_lib_soname_X11:+false} :
14361 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14365 ac_cv_lib_soname_X11
=
14367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 LIBS
=$ac_check_soname_save_LIBS
14371 if ${ac_cv_lib_soname_X11:+false} :
14373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14374 printf "%s\n" "not found" >&6; }
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14378 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14380 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14385 printf %s
"checking for -lXext... " >&6; }
14386 if test ${ac_cv_lib_soname_Xext+y}
14388 printf %s
"(cached) " >&6
14390 ac_check_soname_save_LIBS
=$LIBS
14391 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14395 /* Override any GCC internal prototype to avoid an error.
14396 Use char because int might match the return type of a GCC
14397 builtin and then its argument prototype would still apply. */
14398 char XextCreateExtension ();
14402 return XextCreateExtension ();
14407 if ac_fn_c_try_link
"$LINENO"
14410 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14411 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'` ;;
14412 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14413 if ${ac_cv_lib_soname_Xext:+false} :
14415 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14419 ac_cv_lib_soname_Xext
=
14421 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 LIBS
=$ac_check_soname_save_LIBS
14425 if ${ac_cv_lib_soname_Xext:+false} :
14427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14428 printf "%s\n" "not found" >&6; }
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14432 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14434 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14436 X_LIBS
="$X_LIBS -lXext"
14438 X_LIBS
="$X_LIBS -lX11"
14440 xlib_includes
="#include <X11/Xlib.h>
14441 #include <X11/Xutil.h>"
14443 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14445 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14452 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14459 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14461 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14464 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14466 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14468 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14471 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14473 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14475 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14480 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14487 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14494 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14496 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14501 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14508 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14510 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14513 printf %s
"checking for -lXcursor... " >&6; }
14514 if test ${ac_cv_lib_soname_Xcursor+y}
14516 printf %s
"(cached) " >&6
14518 ac_check_soname_save_LIBS
=$LIBS
14519 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14523 /* Override any GCC internal prototype to avoid an error.
14524 Use char because int might match the return type of a GCC
14525 builtin and then its argument prototype would still apply. */
14526 char XcursorImageLoadCursor ();
14530 return XcursorImageLoadCursor ();
14535 if ac_fn_c_try_link
"$LINENO"
14538 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14539 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'` ;;
14540 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14541 if ${ac_cv_lib_soname_Xcursor:+false} :
14543 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14547 ac_cv_lib_soname_Xcursor
=
14549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14550 conftest
$ac_exeext conftest.
$ac_ext
14551 LIBS
=$ac_check_soname_save_LIBS
14553 if ${ac_cv_lib_soname_Xcursor:+false} :
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14556 printf "%s\n" "not found" >&6; }
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14560 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14562 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14568 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14570 case "x$with_xcursor" in
14571 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14573 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14574 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14579 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14581 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14584 printf %s
"checking for -lXi... " >&6; }
14585 if test ${ac_cv_lib_soname_Xi+y}
14587 printf %s
"(cached) " >&6
14589 ac_check_soname_save_LIBS
=$LIBS
14590 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 char XOpenDevice ();
14601 return XOpenDevice ();
14606 if ac_fn_c_try_link
"$LINENO"
14609 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14610 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'` ;;
14611 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14612 if ${ac_cv_lib_soname_Xi:+false} :
14614 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14618 ac_cv_lib_soname_Xi
=
14620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14621 conftest
$ac_exeext conftest.
$ac_ext
14622 LIBS
=$ac_check_soname_save_LIBS
14624 if ${ac_cv_lib_soname_Xi:+false} :
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14627 printf "%s\n" "not found" >&6; }
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14631 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14633 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14639 if test "x$ac_cv_lib_soname_Xi" = "x"
14641 case "x$with_xinput" in
14642 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14644 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14645 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14650 if test "x$ac_cv_lib_soname_Xi" != x
14652 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14654 case "x$with_xinput2" in
14655 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14657 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14667 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14668 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14670 printf %s
"(cached) " >&6
14672 ac_check_lib_save_LIBS
=$LIBS
14673 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char XShmQueryExtension ();
14684 return XShmQueryExtension ();
14689 if ac_fn_c_try_link
"$LINENO"
14691 ac_cv_lib_Xext_XShmQueryExtension
=yes
14693 ac_cv_lib_Xext_XShmQueryExtension
=no
14695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14696 conftest
$ac_exeext conftest.
$ac_ext
14697 LIBS
=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14700 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14704 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14711 case "x$with_xshm" in
14712 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14714 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14723 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14726 printf %s
"(cached) " >&6
14728 ac_check_lib_save_LIBS
=$LIBS
14729 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShapeQueryExtension ();
14740 return XShapeQueryExtension ();
14745 if ac_fn_c_try_link
"$LINENO"
14747 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14749 ac_cv_lib_Xext_XShapeQueryExtension
=no
14751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14752 conftest
$ac_exeext conftest.
$ac_ext
14753 LIBS
=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14760 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14767 case "x$with_xshape" in
14768 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14770 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14779 printf %s
"checking for -lXxf86vm... " >&6; }
14780 if test ${ac_cv_lib_soname_Xxf86vm+y}
14782 printf %s
"(cached) " >&6
14784 ac_check_soname_save_LIBS
=$LIBS
14785 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XF86VidModeQueryExtension ();
14796 return XF86VidModeQueryExtension ();
14801 if ac_fn_c_try_link
"$LINENO"
14804 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14809 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14813 ac_cv_lib_soname_Xxf86vm
=
14815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 LIBS
=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14835 case "x$with_xxf86vm" in
14836 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14838 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14844 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14847 printf %s
"checking for -lXrender... " >&6; }
14848 if test ${ac_cv_lib_soname_Xrender+y}
14850 printf %s
"(cached) " >&6
14852 ac_check_soname_save_LIBS
=$LIBS
14853 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 char XRenderQueryExtension ();
14864 return XRenderQueryExtension ();
14869 if ac_fn_c_try_link
"$LINENO"
14872 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14873 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'` ;;
14874 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14875 if ${ac_cv_lib_soname_Xrender:+false} :
14877 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14881 ac_cv_lib_soname_Xrender
=
14883 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14884 conftest
$ac_exeext conftest.
$ac_ext
14885 LIBS
=$ac_check_soname_save_LIBS
14887 if ${ac_cv_lib_soname_Xrender:+false} :
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14890 printf "%s\n" "not found" >&6; }
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14894 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14896 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14899 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14900 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14902 printf %s
"(cached) " >&6
14904 ac_check_lib_save_LIBS
=$LIBS
14905 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRenderSetPictureTransform ();
14916 return XRenderSetPictureTransform ();
14921 if ac_fn_c_try_link
"$LINENO"
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14925 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14927 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14928 conftest
$ac_exeext conftest.
$ac_ext
14929 LIBS
=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14932 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14933 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14936 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14941 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14942 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14944 printf %s
"(cached) " >&6
14946 ac_check_lib_save_LIBS
=$LIBS
14947 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14954 char XRenderCreateLinearGradient ();
14958 return XRenderCreateLinearGradient ();
14963 if ac_fn_c_try_link
"$LINENO"
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14967 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14970 conftest
$ac_exeext conftest.
$ac_ext
14971 LIBS
=$ac_check_lib_save_LIBS
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14974 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14975 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14978 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14985 if test "x$ac_cv_lib_soname_Xrender" = "x"
14987 case "x$with_xrender" in
14988 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14990 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14991 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14996 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #include <X11/Xlib.h>
15001 #include <X11/extensions/Xrandr.h>
15005 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15010 if ac_fn_c_try_compile
"$LINENO"
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15013 printf %s
"checking for -lXrandr... " >&6; }
15014 if test ${ac_cv_lib_soname_Xrandr+y}
15016 printf %s
"(cached) " >&6
15018 ac_check_soname_save_LIBS
=$LIBS
15019 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15026 char XRRQueryExtension ();
15030 return XRRQueryExtension ();
15035 if ac_fn_c_try_link
"$LINENO"
15038 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15039 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'` ;;
15040 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15041 if ${ac_cv_lib_soname_Xrandr:+false} :
15043 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15047 ac_cv_lib_soname_Xrandr
=
15049 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 LIBS
=$ac_check_soname_save_LIBS
15053 if ${ac_cv_lib_soname_Xrandr:+false} :
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15056 printf "%s\n" "not found" >&6; }
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15060 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15062 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 #include <X11/Xlib.h>
15067 #include <X11/extensions/Xrandr.h>
15071 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15076 if ac_fn_c_try_compile
"$LINENO"
15079 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15082 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15084 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15089 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15091 case "x$with_xrandr" in
15092 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15094 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15095 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15100 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #include <X11/Xlib.h>
15105 #include <X11/extensions/Xfixes.h>
15109 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15114 if ac_fn_c_try_compile
"$LINENO"
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15117 printf %s
"checking for -lXfixes... " >&6; }
15118 if test ${ac_cv_lib_soname_Xfixes+y}
15120 printf %s
"(cached) " >&6
15122 ac_check_soname_save_LIBS
=$LIBS
15123 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XFixesQueryVersion ();
15134 return XFixesQueryVersion ();
15139 if ac_fn_c_try_link
"$LINENO"
15142 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15143 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'` ;;
15144 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15145 if ${ac_cv_lib_soname_Xfixes:+false} :
15147 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15151 ac_cv_lib_soname_Xfixes
=
15153 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15154 conftest
$ac_exeext conftest.
$ac_ext
15155 LIBS
=$ac_check_soname_save_LIBS
15157 if ${ac_cv_lib_soname_Xfixes:+false} :
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 printf "%s\n" "not found" >&6; }
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15164 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15166 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15171 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15173 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15175 case "x$with_xfixes" in
15176 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15178 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15179 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xinerama.h>
15193 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15198 if ac_fn_c_try_compile
"$LINENO"
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15201 printf %s
"checking for -lXinerama... " >&6; }
15202 if test ${ac_cv_lib_soname_Xinerama+y}
15204 printf %s
"(cached) " >&6
15206 ac_check_soname_save_LIBS
=$LIBS
15207 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15214 char XineramaQueryScreens ();
15218 return XineramaQueryScreens ();
15223 if ac_fn_c_try_link
"$LINENO"
15226 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 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'` ;;
15228 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_Xinerama:+false} :
15231 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15235 ac_cv_lib_soname_Xinerama
=
15237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15238 conftest
$ac_exeext conftest.
$ac_ext
15239 LIBS
=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_Xinerama:+false} :
15243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15244 printf "%s\n" "not found" >&6; }
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15248 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15250 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15255 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15257 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15259 case "x$with_xinerama" in
15260 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15262 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15263 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15268 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15270 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15273 printf %s
"checking for -lXcomposite... " >&6; }
15274 if test ${ac_cv_lib_soname_Xcomposite+y}
15276 printf %s
"(cached) " >&6
15278 ac_check_soname_save_LIBS
=$LIBS
15279 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15283 /* Override any GCC internal prototype to avoid an error.
15284 Use char because int might match the return type of a GCC
15285 builtin and then its argument prototype would still apply. */
15286 char XCompositeRedirectWindow ();
15290 return XCompositeRedirectWindow ();
15295 if ac_fn_c_try_link
"$LINENO"
15298 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15299 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'` ;;
15300 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15301 if ${ac_cv_lib_soname_Xcomposite:+false} :
15303 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15307 ac_cv_lib_soname_Xcomposite
=
15309 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15310 conftest
$ac_exeext conftest.
$ac_ext
15311 LIBS
=$ac_check_soname_save_LIBS
15313 if ${ac_cv_lib_soname_Xcomposite:+false} :
15315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15316 printf "%s\n" "not found" >&6; }
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15320 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15322 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15328 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15330 case "x$with_xcomposite" in
15331 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15333 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15334 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15339 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15341 if test "x$ac_cv_member_XICCallback_callback" = xyes
15344 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15348 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15350 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15353 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15361 if test "x$with_opengl" != "xno"
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15364 printf %s
"checking for -lGL... " >&6; }
15365 if test ${ac_cv_lib_soname_GL+y}
15367 printf %s
"(cached) " >&6
15369 ac_check_soname_save_LIBS
=$LIBS
15370 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 char glXCreateContext ();
15381 return glXCreateContext ();
15386 if ac_fn_c_try_link
"$LINENO"
15389 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15392 if ${ac_cv_lib_soname_GL:+false} :
15394 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15398 ac_cv_lib_soname_GL
=
15400 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15401 conftest
$ac_exeext conftest.
$ac_ext
15402 LIBS
=$ac_check_soname_save_LIBS
15404 if ${ac_cv_lib_soname_GL:+false} :
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15407 printf "%s\n" "not found" >&6; }
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15409 printf %s
"checking for -lGL... " >&6; }
15410 if test ${ac_cv_lib_soname_GL+y}
15412 printf %s
"(cached) " >&6
15414 ac_check_soname_save_LIBS
=$LIBS
15415 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"
15416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15422 char glXCreateContext ();
15426 return glXCreateContext ();
15431 if ac_fn_c_try_link
"$LINENO"
15434 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15435 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'` ;;
15436 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15437 if ${ac_cv_lib_soname_GL:+false} :
15439 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15443 ac_cv_lib_soname_GL
=
15445 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15446 conftest
$ac_exeext conftest.
$ac_ext
15447 LIBS
=$ac_check_soname_save_LIBS
15449 if ${ac_cv_lib_soname_GL:+false} :
15451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15452 printf "%s\n" "not found" >&6; }
15453 if test -f /usr
/X11R
6/lib
/libGL.a
15455 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15456 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15458 opengl_msg
="No OpenGL library found on this system."
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15462 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15464 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15466 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"
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15470 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15472 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15476 if test "x$with_osmesa" != "xno"
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15479 printf %s
"checking for -lOSMesa... " >&6; }
15480 if test ${ac_cv_lib_soname_OSMesa+y}
15482 printf %s
"(cached) " >&6
15484 ac_check_soname_save_LIBS
=$LIBS
15485 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 char OSMesaGetProcAddress ();
15496 return OSMesaGetProcAddress ();
15501 if ac_fn_c_try_link
"$LINENO"
15504 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15505 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'` ;;
15506 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15507 if ${ac_cv_lib_soname_OSMesa:+false} :
15509 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15513 ac_cv_lib_soname_OSMesa
=
15515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15516 conftest
$ac_exeext conftest.
$ac_ext
15517 LIBS
=$ac_check_soname_save_LIBS
15519 if ${ac_cv_lib_soname_OSMesa:+false} :
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15522 printf "%s\n" "not found" >&6; }
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15528 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15532 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15534 case "x$with_osmesa" in
15535 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15537 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15538 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15544 if test -n "$opengl_msg"
15546 case "x$with_opengl" in
15547 x
) as_fn_append wine_warnings
"|$opengl_msg
15548 OpenGL and Direct3D won't be supported." ;;
15550 *) as_fn_error $?
"$opengl_msg
15551 OpenGL and Direct3D won't be supported.
15552 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15557 CPPFLAGS
="$ac_save_CPPFLAGS"
15563 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15565 if test "x$X_LIBS" = "x"
15569 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15570 without X support, which probably isn't what you want. You will need
15571 to install ${notice_platform}development packages of Xlib at the very least.
15572 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15574 enable_winex11_drv
=${enable_winex11_drv:-no}
15577 if test "x$X_LIBS" = "x"
15580 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15582 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15583 This is an error since --with-x was requested." "$LINENO" 5 ;;
15585 enable_winex11_drv
=${enable_winex11_drv:-no}
15589 if test "x$with_wayland" != "xno"
15592 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15594 if test ${PKG_CONFIG+y}
15596 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15600 if ${WAYLAND_CLIENT_LIBS:+false} :
15602 if test ${PKG_CONFIG+y}
15604 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15611 if test -s conftest.err
; then
15612 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15613 cat conftest.err
>&5
15616 ac_save_CPPFLAGS
=$CPPFLAGS
15617 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15618 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15619 if test "x$ac_cv_header_wayland_client_h" = xyes
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15622 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15623 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15625 printf %s
"(cached) " >&6
15627 ac_check_lib_save_LIBS
=$LIBS
15628 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15635 char wl_display_connect ();
15639 return wl_display_connect ();
15644 if ac_fn_c_try_link
"$LINENO"
15646 ac_cv_lib_wayland_client_wl_display_connect
=yes
15648 ac_cv_lib_wayland_client_wl_display_connect
=no
15650 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15651 conftest
$ac_exeext conftest.
$ac_ext
15652 LIBS
=$ac_check_lib_save_LIBS
15654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15655 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15656 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15658 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15659 set dummy wayland-scanner
; ac_word
=$2
15660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15661 printf %s
"checking for $ac_word... " >&6; }
15662 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15664 printf %s
"(cached) " >&6
15666 case $WAYLAND_SCANNER in
15668 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15672 for as_dir
in $PATH
15675 case $as_dir in #(((
15678 *) as_dir
=$as_dir/ ;;
15680 for ac_exec_ext
in '' $ac_executable_extensions; do
15681 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15682 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15690 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`"
15694 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15695 if test -n "$WAYLAND_SCANNER"; then
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15697 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15700 printf "%s\n" "no" >&6; }
15705 WAYLAND_CLIENT_LIBS
=""
15710 CPPFLAGS
=$ac_save_CPPFLAGS
15713 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15715 case "x$with_wayland" in
15716 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15718 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15719 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15721 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15724 if test "$ac_cv_header_CL_cl_h" = "yes"
15726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15727 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15728 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15730 printf %s
"(cached) " >&6
15732 ac_check_lib_save_LIBS
=$LIBS
15733 LIBS
="-lOpenCL $LIBS"
15734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15737 /* Override any GCC internal prototype to avoid an error.
15738 Use char because int might match the return type of a GCC
15739 builtin and then its argument prototype would still apply. */
15740 char clGetPlatformInfo ();
15744 return clGetPlatformInfo ();
15749 if ac_fn_c_try_link
"$LINENO"
15751 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15753 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15756 conftest
$ac_exeext conftest.
$ac_ext
15757 LIBS
=$ac_check_lib_save_LIBS
15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15760 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15761 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15763 OPENCL_LIBS
="-lOpenCL"
15768 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15770 case "x$with_opencl" in
15771 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15773 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15774 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15776 enable_opencl
=${enable_opencl:-no}
15779 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15782 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15783 if test ${ac_cv_lib_pcap_pcap_init+y}
15785 printf %s
"(cached) " >&6
15787 ac_check_lib_save_LIBS
=$LIBS
15788 LIBS
="-lpcap $LIBS"
15789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15799 return pcap_init ();
15804 if ac_fn_c_try_link
"$LINENO"
15806 ac_cv_lib_pcap_pcap_init
=yes
15808 ac_cv_lib_pcap_pcap_init
=no
15810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15811 conftest
$ac_exeext conftest.
$ac_ext
15812 LIBS
=$ac_check_lib_save_LIBS
15814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15815 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15816 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15823 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15825 case "x$with_pcap" in
15826 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15828 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15829 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15831 enable_wpcap
=${enable_wpcap:-no}
15834 if test "x$with_pcsclite" != "xno"
15836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15837 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15838 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15840 printf %s
"(cached) " >&6
15842 ac_check_lib_save_LIBS
=$LIBS
15843 LIBS
="-lpcsclite $LIBS"
15844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 char SCardEstablishContext ();
15854 return SCardEstablishContext ();
15859 if ac_fn_c_try_link
"$LINENO"
15861 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15863 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15865 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15866 conftest
$ac_exeext conftest.
$ac_ext
15867 LIBS
=$ac_check_lib_save_LIBS
15869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15870 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15871 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15873 PCSCLITE_LIBS
="-lpcsclite"
15877 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
15883 if test "x$PCSCLITE_LIBS" = x
15885 case "x$with_pcsclite" in
15886 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15888 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15889 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15891 enable_winscard
=${enable_winscard:-no}
15894 if test "x$with_inotify" != "xno"
15897 if ${INOTIFY_CFLAGS:+false} :
15899 if test ${PKG_CONFIG+y}
15901 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15905 if ${INOTIFY_LIBS:+false} :
15907 if test ${PKG_CONFIG+y}
15909 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15916 if test -s conftest.err
; then
15917 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15918 cat conftest.err
>&5
15921 ac_save_CPPFLAGS
=$CPPFLAGS
15922 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15923 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15924 if test "x$ac_cv_header_sys_inotify_h" = xyes
15926 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15931 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15932 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15934 printf %s
"(cached) " >&6
15936 ac_check_lib_save_LIBS
=$LIBS
15937 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15941 /* Override any GCC internal prototype to avoid an error.
15942 Use char because int might match the return type of a GCC
15943 builtin and then its argument prototype would still apply. */
15944 char inotify_add_watch ();
15948 return inotify_add_watch ();
15953 if ac_fn_c_try_link
"$LINENO"
15955 ac_cv_lib_inotify_inotify_add_watch
=yes
15957 ac_cv_lib_inotify_inotify_add_watch
=no
15959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15960 conftest
$ac_exeext conftest.
$ac_ext
15961 LIBS
=$ac_check_lib_save_LIBS
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15964 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15965 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15972 CPPFLAGS
=$ac_save_CPPFLAGS
15975 if test "$ac_cv_header_sys_inotify_h" != "yes"
15977 case "x$with_inotify" in
15978 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15980 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15981 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15986 if test "x$with_dbus" != "xno"
15989 if ${DBUS_CFLAGS:+false} :
15991 if test ${PKG_CONFIG+y}
15993 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15997 if ${DBUS_LIBS:+false} :
15999 if test ${PKG_CONFIG+y}
16001 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16008 if test -s conftest.err
; then
16009 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16010 cat conftest.err
>&5
16013 ac_save_CPPFLAGS
=$CPPFLAGS
16014 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16015 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16016 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16019 printf %s
"checking for -ldbus-1... " >&6; }
16020 if test ${ac_cv_lib_soname_dbus_1+y}
16022 printf %s
"(cached) " >&6
16024 ac_check_soname_save_LIBS
=$LIBS
16025 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16029 /* Override any GCC internal prototype to avoid an error.
16030 Use char because int might match the return type of a GCC
16031 builtin and then its argument prototype would still apply. */
16032 char dbus_connection_close ();
16036 return dbus_connection_close ();
16041 if ac_fn_c_try_link
"$LINENO"
16044 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16045 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'` ;;
16046 *) 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'`
16047 if ${ac_cv_lib_soname_dbus_1:+false} :
16049 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16053 ac_cv_lib_soname_dbus_1
=
16055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16056 conftest
$ac_exeext conftest.
$ac_ext
16057 LIBS
=$ac_check_soname_save_LIBS
16059 if ${ac_cv_lib_soname_dbus_1:+false} :
16061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16062 printf "%s\n" "not found" >&6; }
16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16066 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16068 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16076 CPPFLAGS
=$ac_save_CPPFLAGS
16080 darwin
*|macosx
*) ;;
16081 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16083 case "x$with_dbus" in
16084 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16086 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16087 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16093 if test "x$with_gnutls" != "xno"
16096 if ${GNUTLS_CFLAGS:+false} :
16098 if test ${PKG_CONFIG+y}
16100 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16104 if ${GNUTLS_LIBS:+false} :
16106 if test ${PKG_CONFIG+y}
16108 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16112 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16115 if test -s conftest.err
; then
16116 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16117 cat conftest.err
>&5
16120 ac_save_CPPFLAGS
=$CPPFLAGS
16121 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16122 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <gnutls/gnutls.h>
16128 #include <gnutls/crypto.h>
16132 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16137 if ac_fn_c_try_compile
"$LINENO"
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16140 printf %s
"checking for -lgnutls... " >&6; }
16141 if test ${ac_cv_lib_soname_gnutls+y}
16143 printf %s
"(cached) " >&6
16145 ac_check_soname_save_LIBS
=$LIBS
16146 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 char gnutls_global_init ();
16157 return gnutls_global_init ();
16162 if ac_fn_c_try_link
"$LINENO"
16165 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16166 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'` ;;
16167 *) 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'`
16168 if ${ac_cv_lib_soname_gnutls:+false} :
16170 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'`
16174 ac_cv_lib_soname_gnutls
=
16176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16177 conftest
$ac_exeext conftest.
$ac_ext
16178 LIBS
=$ac_check_soname_save_LIBS
16180 if ${ac_cv_lib_soname_gnutls:+false} :
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16183 printf "%s\n" "not found" >&6; }
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16187 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16189 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16193 ac_wine_check_funcs_save_LIBS
="$LIBS"
16194 LIBS
="$LIBS $GNUTLS_LIBS"
16196 for ac_func
in gnutls_cipher_init
16198 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16199 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16201 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16204 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16208 LIBS
="$ac_wine_check_funcs_save_LIBS"
16210 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16215 CPPFLAGS
=$ac_save_CPPFLAGS
16218 if test "x$ac_cv_lib_soname_gnutls" = "x"
16220 case "x$with_gnutls" in
16221 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16223 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16224 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16229 if test "x$with_sane" != "xno"
16232 if ${SANE_CFLAGS:+false} :
16234 if test ${PKG_CONFIG+y}
16236 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16239 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16240 if ${SANE_LIBS:+false} :
16242 if test ${PKG_CONFIG+y}
16244 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16247 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16251 if test -s conftest.err
; then
16252 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16253 cat conftest.err
>&5
16256 ac_save_CPPFLAGS
=$CPPFLAGS
16257 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16258 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16259 if test "x$ac_cv_header_sane_sane_h" = xyes
16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16262 printf %s
"checking for sane_init in -lsane... " >&6; }
16263 if test ${ac_cv_lib_sane_sane_init+y}
16265 printf %s
"(cached) " >&6
16267 ac_check_lib_save_LIBS
=$LIBS
16268 LIBS
="-lsane $SANE_LIBS $LIBS"
16269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16279 return sane_init ();
16284 if ac_fn_c_try_link
"$LINENO"
16286 ac_cv_lib_sane_sane_init
=yes
16288 ac_cv_lib_sane_sane_init
=no
16290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16291 conftest
$ac_exeext conftest.
$ac_ext
16292 LIBS
=$ac_check_lib_save_LIBS
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16295 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16296 if test "x$ac_cv_lib_sane_sane_init" = xyes
16303 CPPFLAGS
=$ac_save_CPPFLAGS
16306 if test "$ac_cv_lib_sane_sane_init" != "yes"
16308 case "x$with_sane" in
16309 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16311 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16312 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16314 enable_sane_ds
=${enable_sane_ds:-no}
16317 if test "x$with_usb" != "xno"
16320 if ${USB_CFLAGS:+false} :
16322 if test ${PKG_CONFIG+y}
16324 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16328 if ${USB_LIBS:+false} :
16330 if test ${PKG_CONFIG+y}
16332 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16336 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16339 if test -s conftest.err
; then
16340 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16341 cat conftest.err
>&5
16344 ac_save_CPPFLAGS
=$CPPFLAGS
16345 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16346 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16347 if test "x$ac_cv_header_libusb_h" = xyes
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16350 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16351 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16353 printf %s
"(cached) " >&6
16355 ac_check_lib_save_LIBS
=$LIBS
16356 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16360 /* Override any GCC internal prototype to avoid an error.
16361 Use char because int might match the return type of a GCC
16362 builtin and then its argument prototype would still apply. */
16363 char libusb_interrupt_event_handler ();
16367 return libusb_interrupt_event_handler ();
16372 if ac_fn_c_try_link
"$LINENO"
16374 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16376 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16379 conftest
$ac_exeext conftest.
$ac_ext
16380 LIBS
=$ac_check_lib_save_LIBS
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16383 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16384 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16395 CPPFLAGS
=$ac_save_CPPFLAGS
16398 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16400 case "x$with_usb" in
16401 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16403 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16404 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16406 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16409 if test "x$with_v4l2" != "xno"
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16412 printf %s
"checking for -lv4l2... " >&6; }
16413 if test ${ac_cv_lib_soname_v4l2+y}
16415 printf %s
"(cached) " >&6
16417 ac_check_soname_save_LIBS
=$LIBS
16418 LIBS
="-lv4l2 $LIBS"
16419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16422 /* Override any GCC internal prototype to avoid an error.
16423 Use char because int might match the return type of a GCC
16424 builtin and then its argument prototype would still apply. */
16429 return v4l2_open ();
16434 if ac_fn_c_try_link
"$LINENO"
16437 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16438 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'` ;;
16439 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16440 if ${ac_cv_lib_soname_v4l2:+false} :
16442 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16446 ac_cv_lib_soname_v4l2
=
16448 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16449 conftest
$ac_exeext conftest.
$ac_ext
16450 LIBS
=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_v4l2:+false} :
16454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16455 printf "%s\n" "not found" >&6; }
16458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16459 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16461 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16466 if test "x$ac_cv_lib_soname_v4l2" = "x"
16468 case "x$with_v4l2" in
16469 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16471 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16472 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16477 if test "x$with_gphoto" != "xno"
16480 if ${GPHOTO2_CFLAGS:+false} :
16482 if test ${PKG_CONFIG+y}
16484 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16487 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16488 if ${GPHOTO2_LIBS:+false} :
16490 if test ${PKG_CONFIG+y}
16492 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16495 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16496 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16499 if test -s conftest.err
; then
16500 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16501 cat conftest.err
>&5
16504 ac_save_CPPFLAGS
=$CPPFLAGS
16505 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16506 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16507 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16510 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16511 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16513 printf %s
"(cached) " >&6
16515 ac_check_lib_save_LIBS
=$LIBS
16516 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16520 /* Override any GCC internal prototype to avoid an error.
16521 Use char because int might match the return type of a GCC
16522 builtin and then its argument prototype would still apply. */
16523 char gp_camera_new ();
16527 return gp_camera_new ();
16532 if ac_fn_c_try_link
"$LINENO"
16534 ac_cv_lib_gphoto2_gp_camera_new
=yes
16536 ac_cv_lib_gphoto2_gp_camera_new
=no
16538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16539 conftest
$ac_exeext conftest.
$ac_ext
16540 LIBS
=$ac_check_lib_save_LIBS
16542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16543 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16544 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16551 CPPFLAGS
=$ac_save_CPPFLAGS
16554 if ${GPHOTO2_PORT_CFLAGS:+false} :
16556 if test ${PKG_CONFIG+y}
16558 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16561 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16562 if ${GPHOTO2_PORT_LIBS:+false} :
16564 if test ${PKG_CONFIG+y}
16566 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16569 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16570 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16573 if test -s conftest.err
; then
16574 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16575 cat conftest.err
>&5
16578 ac_save_CPPFLAGS
=$CPPFLAGS
16579 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16580 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16581 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16584 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16585 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16587 printf %s
"(cached) " >&6
16589 ac_check_lib_save_LIBS
=$LIBS
16590 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16597 char gp_port_info_list_new ();
16601 return gp_port_info_list_new ();
16606 if ac_fn_c_try_link
"$LINENO"
16608 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16610 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16613 conftest
$ac_exeext conftest.
$ac_ext
16614 LIBS
=$ac_check_lib_save_LIBS
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16617 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16618 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16621 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16624 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16628 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16631 CPPFLAGS
=$ac_save_CPPFLAGS
16634 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16636 case "x$with_gphoto" in
16637 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16639 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16640 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16642 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16644 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16646 case "x$with_gphoto" in
16647 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16649 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16650 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16656 if test "$ac_cv_header_resolv_h" = "yes"
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16659 printf %s
"checking for resolver library... " >&6; }
16660 if test ${ac_cv_have_resolv+y}
16662 printf %s
"(cached) " >&6
16664 ac_save_LIBS
="$LIBS"
16665 for lib
in '' -lresolv
16667 LIBS
="$lib $ac_save_LIBS"
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #ifdef HAVE_NETINET_IN_H
16671 #include <netinet/in.h>
16673 #include <resolv.h>
16677 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16682 if ac_fn_c_try_link
"$LINENO"
16684 ac_cv_have_resolv
=${lib:-"none required"}
16686 ac_cv_have_resolv
="not found"
16688 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16689 conftest
$ac_exeext conftest.
$ac_ext
16690 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16692 LIBS
="$ac_save_LIBS"
16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16695 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16697 case "$ac_cv_have_resolv" in
16701 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16704 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16706 RESOLV_LIBS
=$ac_cv_have_resolv
16710 if test "x$ac_cv_have_resolv" != "xnot found"
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16713 printf %s
"checking for res_getservers... " >&6; }
16714 if test ${ac_cv_have_res_getservers+y}
16716 printf %s
"(cached) " >&6
16718 ac_save_LIBS
="$LIBS"
16719 LIBS
="$RESOLV_LIBS $LIBS"
16720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16722 #include <resolv.h>
16726 res_getservers(NULL, NULL, 0);
16731 if ac_fn_c_try_link
"$LINENO"
16733 ac_cv_have_res_getservers
=yes
16735 ac_cv_have_res_getservers
=no
16737 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16738 conftest
$ac_exeext conftest.
$ac_ext
16739 LIBS
="$ac_save_LIBS"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16742 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16743 if test "$ac_cv_have_res_getservers" = "yes"
16746 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16752 if test "x$with_freetype" != "xno"
16755 if ${FREETYPE_CFLAGS:+false} :
16757 if test ${PKG_CONFIG+y}
16759 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16762 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16763 if ${FREETYPE_LIBS:+false} :
16765 if test ${PKG_CONFIG+y}
16767 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16770 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16771 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16774 if test -s conftest.err
; then
16775 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16776 cat conftest.err
>&5
16779 ac_save_CPPFLAGS
=$CPPFLAGS
16780 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16781 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16782 if test "x$ac_cv_header_ft2build_h" = xyes
16784 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16788 if test "$ac_cv_header_ft2build_h" = "yes"
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16791 printf %s
"checking for -lfreetype... " >&6; }
16792 if test ${ac_cv_lib_soname_freetype+y}
16794 printf %s
"(cached) " >&6
16796 ac_check_soname_save_LIBS
=$LIBS
16797 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16801 /* Override any GCC internal prototype to avoid an error.
16802 Use char because int might match the return type of a GCC
16803 builtin and then its argument prototype would still apply. */
16804 char FT_Init_FreeType ();
16808 return FT_Init_FreeType ();
16813 if ac_fn_c_try_link
"$LINENO"
16816 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16817 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'` ;;
16818 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16819 if ${ac_cv_lib_soname_freetype:+false} :
16821 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16825 ac_cv_lib_soname_freetype
=
16827 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16828 conftest
$ac_exeext conftest.
$ac_ext
16829 LIBS
=$ac_check_soname_save_LIBS
16831 if ${ac_cv_lib_soname_freetype:+false} :
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16834 printf "%s\n" "not found" >&6; }
16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16838 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16840 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16843 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16845 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16846 #include FT_MODULE_H
16848 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16851 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16861 CPPFLAGS
=$ac_save_CPPFLAGS
16864 if test "x$ac_cv_lib_soname_freetype" = x
16866 case "x$with_freetype" in
16868 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16869 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16871 enable_fonts
=${enable_fonts:-no}
16874 ac_wine_check_funcs_save_LIBS
="$LIBS"
16875 LIBS
="$LIBS $PTHREAD_LIBS"
16876 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16877 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16879 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16883 LIBS
="$ac_wine_check_funcs_save_LIBS"
16885 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16887 if test "$ac_cv_header_gettext_po_h" = "yes"
16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16890 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16891 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16893 printf %s
"(cached) " >&6
16895 ac_check_lib_save_LIBS
=$LIBS
16896 LIBS
="-lgettextpo $LIBS"
16897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16903 char po_message_msgctxt ();
16907 return po_message_msgctxt ();
16912 if ac_fn_c_try_link
"$LINENO"
16914 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16916 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16918 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16919 conftest
$ac_exeext conftest.
$ac_ext
16920 LIBS
=$ac_check_lib_save_LIBS
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16923 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16924 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16927 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16929 GETTEXTPO_LIBS
="-lgettextpo"
16934 if test "x$GETTEXTPO_LIBS" = "x"
16936 case "x$with_gettextpo" in
16937 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16939 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16940 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16944 if test "$srcdir" != .
16946 case "x$with_gettextpo" in
16947 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16949 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16950 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16956 if test "x$with_pulse" != "xno";
16959 if ${PULSE_CFLAGS:+false} :
16961 if test ${PKG_CONFIG+y}
16963 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16967 if ${PULSE_LIBS:+false} :
16969 if test ${PKG_CONFIG+y}
16971 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16978 if test -s conftest.err
; then
16979 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16980 cat conftest.err
>&5
16983 ac_save_CPPFLAGS
=$CPPFLAGS
16984 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16985 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16986 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16989 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16990 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16992 printf %s
"(cached) " >&6
16994 ac_check_lib_save_LIBS
=$LIBS
16995 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17002 char pa_stream_is_corked ();
17006 return pa_stream_is_corked ();
17011 if ac_fn_c_try_link
"$LINENO"
17013 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17015 ac_cv_lib_pulse_pa_stream_is_corked
=no
17017 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17018 conftest
$ac_exeext conftest.
$ac_ext
17019 LIBS
=$ac_check_lib_save_LIBS
17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17022 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17023 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17034 CPPFLAGS
=$ac_save_CPPFLAGS
17037 if test -z "$PULSE_LIBS"
17039 case "x$with_pulse" in
17040 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17042 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17043 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17045 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17048 if test "x$with_gstreamer" != "xno"
17051 if ${GSTREAMER_CFLAGS:+false} :
17053 if test ${PKG_CONFIG+y}
17055 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17059 if ${GSTREAMER_LIBS:+false} :
17061 if test ${PKG_CONFIG+y}
17063 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17068 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
17069 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
17070 if test -s conftest.err
; then
17071 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17072 cat conftest.err
>&5
17075 ac_save_CPPFLAGS
=$CPPFLAGS
17076 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17077 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17078 if test "x$ac_cv_header_gst_gst_h" = xyes
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17081 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #include <gst/gst.h>
17088 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17093 if ac_fn_c_try_compile
"$LINENO"
17095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17096 printf "%s\n" "yes" >&6; }
17097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17098 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17099 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17101 printf %s
"(cached) " >&6
17103 ac_check_lib_save_LIBS
=$LIBS
17104 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17108 /* Override any GCC internal prototype to avoid an error.
17109 Use char because int might match the return type of a GCC
17110 builtin and then its argument prototype would still apply. */
17111 char gst_pad_new ();
17115 return gst_pad_new ();
17120 if ac_fn_c_try_link
"$LINENO"
17122 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17124 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17126 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17127 conftest
$ac_exeext conftest.
$ac_ext
17128 LIBS
=$ac_check_lib_save_LIBS
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17131 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17132 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17139 printf "%s\n" "no" >&6; }
17140 ac_glib2_broken
=yes
17141 enable_winegstreamer
=${enable_winegstreamer:-no}
17142 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17144 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17147 CPPFLAGS
=$ac_save_CPPFLAGS
17150 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17152 case "x$with_gstreamer" in
17153 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17155 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17156 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17158 enable_winegstreamer
=${enable_winegstreamer:-no}
17163 if test "x$with_alsa" != "xno"
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17166 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17167 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17169 printf %s
"(cached) " >&6
17171 ac_check_lib_save_LIBS
=$LIBS
17172 LIBS
="-lasound $LIBS"
17173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17176 /* Override any GCC internal prototype to avoid an error.
17177 Use char because int might match the return type of a GCC
17178 builtin and then its argument prototype would still apply. */
17179 char snd_pcm_hw_params_get_access_mask ();
17183 return snd_pcm_hw_params_get_access_mask ();
17188 if ac_fn_c_try_link
"$LINENO"
17190 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17192 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17194 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17195 conftest
$ac_exeext conftest.
$ac_ext
17196 LIBS
=$ac_check_lib_save_LIBS
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17199 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17200 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 #include <alsa/asoundlib.h>
17208 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17213 if ac_fn_c_try_compile
"$LINENO"
17215 ALSA_LIBS
="-lasound"
17217 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17221 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17223 if test "x$with_oss" != xno
17225 ac_save_CPPFLAGS
="$CPPFLAGS"
17226 if test -f /etc
/oss.conf
17230 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17231 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17232 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17233 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17235 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17237 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17240 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17242 OSS4_CFLAGS
="$ac_oss_incl"
17244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17245 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17246 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17248 printf %s
"(cached) " >&6
17250 ac_check_lib_save_LIBS
=$LIBS
17251 LIBS
="-lossaudio $LIBS"
17252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17255 /* Override any GCC internal prototype to avoid an error.
17256 Use char because int might match the return type of a GCC
17257 builtin and then its argument prototype would still apply. */
17258 char _oss_ioctl ();
17262 return _oss_ioctl ();
17267 if ac_fn_c_try_link
"$LINENO"
17269 ac_cv_lib_ossaudio__oss_ioctl
=yes
17271 ac_cv_lib_ossaudio__oss_ioctl
=no
17273 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17274 conftest
$ac_exeext conftest.
$ac_ext
17275 LIBS
=$ac_check_lib_save_LIBS
17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17278 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17279 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17281 OSS4_LIBS
="-lossaudio"
17289 CPPFLAGS
="$ac_save_CPPFLAGS"
17291 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17293 case "x$with_oss" in
17294 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17296 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17297 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17299 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17302 if test "x$with_udev" != "xno"
17305 if ${UDEV_CFLAGS:+false} :
17307 if test ${PKG_CONFIG+y}
17309 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17313 if ${UDEV_LIBS:+false} :
17315 if test ${PKG_CONFIG+y}
17317 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17321 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17324 if test -s conftest.err
; then
17325 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17326 cat conftest.err
>&5
17329 ac_save_CPPFLAGS
=$CPPFLAGS
17330 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17331 for ac_header
in libudev.h
17333 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17334 if test "x$ac_cv_header_libudev_h" = xyes
17336 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17338 printf %s
"checking for udev_new in -ludev... " >&6; }
17339 if test ${ac_cv_lib_udev_udev_new+y}
17341 printf %s
"(cached) " >&6
17343 ac_check_lib_save_LIBS
=$LIBS
17344 LIBS
="-ludev $UDEV_LIBS $LIBS"
17345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17348 /* Override any GCC internal prototype to avoid an error.
17349 Use char because int might match the return type of a GCC
17350 builtin and then its argument prototype would still apply. */
17355 return udev_new ();
17360 if ac_fn_c_try_link
"$LINENO"
17362 ac_cv_lib_udev_udev_new
=yes
17364 ac_cv_lib_udev_udev_new
=no
17366 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17367 conftest
$ac_exeext conftest.
$ac_ext
17368 LIBS
=$ac_check_lib_save_LIBS
17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17371 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17372 if test "x$ac_cv_lib_udev_udev_new" = xyes
17375 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17386 CPPFLAGS
=$ac_save_CPPFLAGS
17389 if test "x$UDEV_LIBS" = "x"
17391 case "x$with_udev" in
17392 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17394 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17395 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17400 if test "x$with_unwind" != xno
17403 if ${UNWIND_CFLAGS:+false} :
17405 if test ${PKG_CONFIG+y}
17407 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17411 if ${UNWIND_LIBS:+false} :
17413 if test ${PKG_CONFIG+y}
17415 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17419 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17422 if test -s conftest.err
; then
17423 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17424 cat conftest.err
>&5
17427 ac_save_CPPFLAGS
=$CPPFLAGS
17428 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17430 printf %s
"checking for unw_step... " >&6; }
17431 if test ${wine_cv_have_unw_step+y}
17433 printf %s
"(cached) " >&6
17435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #define UNW_LOCAL_ONLY
17438 #include <libunwind.h>
17442 unw_cursor_t cursor; unw_step( &cursor );
17447 if ac_fn_c_try_link
"$LINENO"
17449 wine_cv_have_unw_step
="yes"
17451 wine_cv_have_unw_step
="no"
17453 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17454 conftest
$ac_exeext conftest.
$ac_ext
17456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17457 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17458 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17461 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17462 LIBS
="$UNWIND_LIBS $LIBS"
17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17464 printf %s
"checking for unw_step in libunwind... " >&6; }
17465 if test ${wine_cv_have_libunwind_unw_step+y}
17467 printf %s
"(cached) " >&6
17469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 #define UNW_LOCAL_ONLY
17472 #include <libunwind.h>
17476 unw_cursor_t cursor; unw_step( &cursor );
17481 if ac_fn_c_try_link
"$LINENO"
17483 wine_cv_have_libunwind_unw_step
="yes"
17485 wine_cv_have_libunwind_unw_step
="no"
17487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17488 conftest
$ac_exeext conftest.
$ac_ext
17490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17491 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17494 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17495 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17498 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17501 CPPFLAGS
=$ac_save_CPPFLAGS
17505 aarch64
*|
*-darwin*)
17506 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17508 case "x$with_unwind" in
17509 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17511 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17512 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17518 if test "x$with_sdl" != "xno"
17521 if ${SDL2_CFLAGS:+false} :
17523 if test ${PKG_CONFIG+y}
17525 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17529 if ${SDL2_LIBS:+false} :
17531 if test ${PKG_CONFIG+y}
17533 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17537 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17540 if test -s conftest.err
; then
17541 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17542 cat conftest.err
>&5
17545 ac_save_CPPFLAGS
=$CPPFLAGS
17546 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17547 for ac_header
in SDL.h
17549 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17550 if test "x$ac_cv_header_SDL_h" = xyes
17552 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17554 printf %s
"checking for -lSDL2... " >&6; }
17555 if test ${ac_cv_lib_soname_SDL2+y}
17557 printf %s
"(cached) " >&6
17559 ac_check_soname_save_LIBS
=$LIBS
17560 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17564 /* Override any GCC internal prototype to avoid an error.
17565 Use char because int might match the return type of a GCC
17566 builtin and then its argument prototype would still apply. */
17571 return SDL_Init ();
17576 if ac_fn_c_try_link
"$LINENO"
17579 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17580 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'` ;;
17581 *) 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'`
17582 if ${ac_cv_lib_soname_SDL2:+false} :
17584 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17588 ac_cv_lib_soname_SDL2
=
17590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17591 conftest
$ac_exeext conftest.
$ac_ext
17592 LIBS
=$ac_check_soname_save_LIBS
17594 if ${ac_cv_lib_soname_SDL2:+false} :
17596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17597 printf "%s\n" "not found" >&6; }
17600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17601 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17603 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17610 CPPFLAGS
=$ac_save_CPPFLAGS
17613 if test "x$ac_cv_lib_soname_SDL2" = "x"
17615 case "x$with_sdl" in
17616 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17618 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17619 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17624 if test "x$with_capi" != "xno"
17627 if ${CAPI20_CFLAGS:+false} :
17629 if test ${PKG_CONFIG+y}
17631 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17635 if ${CAPI20_LIBS:+false} :
17637 if test ${PKG_CONFIG+y}
17639 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17646 if test -s conftest.err
; then
17647 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17648 cat conftest.err
>&5
17651 ac_save_CPPFLAGS
=$CPPFLAGS
17652 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17653 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17655 if test "x$ac_cv_header_capi20_h" = xyes
17657 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17660 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17662 if test "x$ac_cv_header_linux_capi_h" = xyes
17664 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17668 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17671 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17672 if test ${ac_cv_lib_capi20_capi20_register+y}
17674 printf %s
"(cached) " >&6
17676 ac_check_lib_save_LIBS
=$LIBS
17677 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17681 /* Override any GCC internal prototype to avoid an error.
17682 Use char because int might match the return type of a GCC
17683 builtin and then its argument prototype would still apply. */
17684 char capi20_register ();
17688 return capi20_register ();
17693 if ac_fn_c_try_link
"$LINENO"
17695 ac_cv_lib_capi20_capi20_register
=yes
17697 ac_cv_lib_capi20_capi20_register
=no
17699 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17700 conftest
$ac_exeext conftest.
$ac_ext
17701 LIBS
=$ac_check_lib_save_LIBS
17703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17704 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17705 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17713 CPPFLAGS
=$ac_save_CPPFLAGS
17716 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17718 case "x$with_capi" in
17719 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17721 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17722 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17724 enable_capi2032
=${enable_capi2032:-no}
17727 if test "x$with_cups" != "xno"
17730 if ${CUPS_CFLAGS:+false} :
17732 if test ${PKG_CONFIG+y}
17734 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17737 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17738 if ${CUPS_LIBS:+false} :
17740 if test ${PKG_CONFIG+y}
17742 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17745 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17746 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17749 if test -s conftest.err
; then
17750 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17751 cat conftest.err
>&5
17754 ac_save_CPPFLAGS
=$CPPFLAGS
17755 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17756 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17757 if test "x$ac_cv_header_cups_cups_h" = xyes
17759 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17762 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17763 if test "x$ac_cv_header_cups_ppd_h" = xyes
17765 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17769 if test "$ac_cv_header_cups_cups_h" = "yes"
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17772 printf %s
"checking for -lcups... " >&6; }
17773 if test ${ac_cv_lib_soname_cups+y}
17775 printf %s
"(cached) " >&6
17777 ac_check_soname_save_LIBS
=$LIBS
17778 LIBS
="-lcups $CUPS_LIBS $LIBS"
17779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17782 /* Override any GCC internal prototype to avoid an error.
17783 Use char because int might match the return type of a GCC
17784 builtin and then its argument prototype would still apply. */
17785 char cupsGetDefault ();
17789 return cupsGetDefault ();
17794 if ac_fn_c_try_link
"$LINENO"
17797 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17798 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'` ;;
17799 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17800 if ${ac_cv_lib_soname_cups:+false} :
17802 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17806 ac_cv_lib_soname_cups
=
17808 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17809 conftest
$ac_exeext conftest.
$ac_ext
17810 LIBS
=$ac_check_soname_save_LIBS
17812 if ${ac_cv_lib_soname_cups:+false} :
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17815 printf "%s\n" "not found" >&6; }
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17819 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17821 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17829 CPPFLAGS
=$ac_save_CPPFLAGS
17832 if test "x$ac_cv_lib_soname_cups" = "x"
17834 case "x$with_cups" in
17835 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17837 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17838 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17843 if test "x$with_fontconfig" != "xno"
17846 if ${FONTCONFIG_CFLAGS:+false} :
17848 if test ${PKG_CONFIG+y}
17850 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17853 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17854 if ${FONTCONFIG_LIBS:+false} :
17856 if test ${PKG_CONFIG+y}
17858 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17861 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17865 if test -s conftest.err
; then
17866 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17867 cat conftest.err
>&5
17870 ac_save_CPPFLAGS
=$CPPFLAGS
17871 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17872 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17873 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17876 printf %s
"checking for -lfontconfig... " >&6; }
17877 if test ${ac_cv_lib_soname_fontconfig+y}
17879 printf %s
"(cached) " >&6
17881 ac_check_soname_save_LIBS
=$LIBS
17882 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17886 /* Override any GCC internal prototype to avoid an error.
17887 Use char because int might match the return type of a GCC
17888 builtin and then its argument prototype would still apply. */
17898 if ac_fn_c_try_link
"$LINENO"
17901 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17902 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'` ;;
17903 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17904 if ${ac_cv_lib_soname_fontconfig:+false} :
17906 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17910 ac_cv_lib_soname_fontconfig
=
17912 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17913 conftest
$ac_exeext conftest.
$ac_ext
17914 LIBS
=$ac_check_soname_save_LIBS
17916 if ${ac_cv_lib_soname_fontconfig:+false} :
17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17919 printf "%s\n" "not found" >&6; }
17920 FONTCONFIG_CFLAGS
=""
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17923 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17925 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17930 FONTCONFIG_CFLAGS
=""
17933 CPPFLAGS
=$ac_save_CPPFLAGS
17936 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17938 case "x$with_fontconfig" in
17939 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17941 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17942 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17947 if test "x$with_krb5" != "xno"
17950 if ${KRB5_CFLAGS:+false} :
17952 if test ${PKG_CONFIG+y}
17954 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17957 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17958 if ${KRB5_LIBS:+false} :
17960 if test ${PKG_CONFIG+y}
17962 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17965 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17969 if test -s conftest.err
; then
17970 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17971 cat conftest.err
>&5
17974 ac_save_CPPFLAGS
=$CPPFLAGS
17975 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17976 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17977 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17979 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17983 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17986 printf %s
"checking for -lkrb5... " >&6; }
17987 if test ${ac_cv_lib_soname_krb5+y}
17989 printf %s
"(cached) " >&6
17991 ac_check_soname_save_LIBS
=$LIBS
17992 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17996 /* Override any GCC internal prototype to avoid an error.
17997 Use char because int might match the return type of a GCC
17998 builtin and then its argument prototype would still apply. */
17999 char krb5_is_config_principal ();
18003 return krb5_is_config_principal ();
18008 if ac_fn_c_try_link
"$LINENO"
18011 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18012 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'` ;;
18013 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18014 if ${ac_cv_lib_soname_krb5:+false} :
18016 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18020 ac_cv_lib_soname_krb5
=
18022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18023 conftest
$ac_exeext conftest.
$ac_ext
18024 LIBS
=$ac_check_soname_save_LIBS
18026 if ${ac_cv_lib_soname_krb5:+false} :
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18029 printf "%s\n" "not found" >&6; }
18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18033 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18035 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18042 CPPFLAGS
=$ac_save_CPPFLAGS
18045 if test "x$ac_cv_lib_soname_krb5" = "x"
18047 case "x$with_krb5" in
18048 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18050 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18051 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18055 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18057 if test "x$with_gssapi" != "xno"
18060 if ${GSSAPI_CFLAGS:+false} :
18062 if test ${PKG_CONFIG+y}
18064 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18067 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18068 if ${GSSAPI_LIBS:+false} :
18070 if test ${PKG_CONFIG+y}
18072 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18075 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18079 if test -s conftest.err
; then
18080 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18081 cat conftest.err
>&5
18084 ac_save_CPPFLAGS
=$CPPFLAGS
18085 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18086 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18087 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18089 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18092 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18093 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18095 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18099 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18102 printf %s
"checking for -lgssapi_krb5... " >&6; }
18103 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18105 printf %s
"(cached) " >&6
18107 ac_check_soname_save_LIBS
=$LIBS
18108 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115 char gss_init_sec_context ();
18119 return gss_init_sec_context ();
18124 if ac_fn_c_try_link
"$LINENO"
18127 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18128 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'` ;;
18129 *) 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'`
18130 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18132 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18136 ac_cv_lib_soname_gssapi_krb5
=
18138 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18139 conftest
$ac_exeext conftest.
$ac_ext
18140 LIBS
=$ac_check_soname_save_LIBS
18142 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18145 printf "%s\n" "not found" >&6; }
18148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18149 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18151 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18158 CPPFLAGS
=$ac_save_CPPFLAGS
18161 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18163 case "x$with_gssapi" in
18164 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18166 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18167 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18172 if test "$ac_cv_header_libprocstat_h" = "yes"
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18175 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18176 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18178 printf %s
"(cached) " >&6
18180 ac_check_lib_save_LIBS
=$LIBS
18181 LIBS
="-lprocstat $LIBS"
18182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 /* Override any GCC internal prototype to avoid an error.
18186 Use char because int might match the return type of a GCC
18187 builtin and then its argument prototype would still apply. */
18188 char procstat_open_sysctl ();
18192 return procstat_open_sysctl ();
18197 if ac_fn_c_try_link
"$LINENO"
18199 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18201 ac_cv_lib_procstat_procstat_open_sysctl
=no
18203 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18204 conftest
$ac_exeext conftest.
$ac_ext
18205 LIBS
=$ac_check_lib_save_LIBS
18207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18208 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18209 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18212 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18214 PROCSTAT_LIBS
="-lprocstat"
18220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18221 printf %s
"checking for -lodbc... " >&6; }
18222 if test ${ac_cv_lib_soname_odbc+y}
18224 printf %s
"(cached) " >&6
18226 ac_check_soname_save_LIBS
=$LIBS
18227 LIBS
="-lodbc $LIBS"
18228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18231 /* Override any GCC internal prototype to avoid an error.
18232 Use char because int might match the return type of a GCC
18233 builtin and then its argument prototype would still apply. */
18234 char SQLConnect ();
18238 return SQLConnect ();
18243 if ac_fn_c_try_link
"$LINENO"
18246 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18247 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'` ;;
18248 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18249 if ${ac_cv_lib_soname_odbc:+false} :
18251 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18255 ac_cv_lib_soname_odbc
=
18257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18258 conftest
$ac_exeext conftest.
$ac_ext
18259 LIBS
=$ac_check_soname_save_LIBS
18261 if ${ac_cv_lib_soname_odbc:+false} :
18263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18264 printf "%s\n" "not found" >&6; }
18265 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18269 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18271 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18276 if test "x$with_netapi" != "xno"
18279 if ${NETAPI_CFLAGS:+false} :
18281 if test ${PKG_CONFIG+y}
18283 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18287 if ${NETAPI_LIBS:+false} :
18289 if test ${PKG_CONFIG+y}
18291 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18298 if test -s conftest.err
; then
18299 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18300 cat conftest.err
>&5
18303 ac_save_CPPFLAGS
=$CPPFLAGS
18304 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18306 printf %s
"checking for -lnetapi... " >&6; }
18307 if test ${ac_cv_lib_soname_netapi+y}
18309 printf %s
"(cached) " >&6
18311 ac_check_soname_save_LIBS
=$LIBS
18312 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18319 char libnetapi_init ();
18323 return libnetapi_init ();
18328 if ac_fn_c_try_link
"$LINENO"
18331 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18332 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'` ;;
18333 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18334 if ${ac_cv_lib_soname_netapi:+false} :
18336 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18340 ac_cv_lib_soname_netapi
=
18342 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18343 conftest
$ac_exeext conftest.
$ac_ext
18344 LIBS
=$ac_check_soname_save_LIBS
18346 if ${ac_cv_lib_soname_netapi:+false} :
18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18349 printf "%s\n" "not found" >&6; }
18350 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18354 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18356 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18360 CPPFLAGS
=$ac_save_CPPFLAGS
18363 if test "x$ac_cv_lib_soname_netapi" = "x"
18365 case "x$with_netapi" in
18366 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18368 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18369 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18371 enable_netapi
=${enable_netapi:-no}
18375 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18376 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18378 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18381 if test "x$with_vulkan" != "xno"
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18384 printf %s
"checking for -lvulkan... " >&6; }
18385 if test ${ac_cv_lib_soname_vulkan+y}
18387 printf %s
"(cached) " >&6
18389 ac_check_soname_save_LIBS
=$LIBS
18390 LIBS
="-lvulkan $LIBS"
18391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18394 /* Override any GCC internal prototype to avoid an error.
18395 Use char because int might match the return type of a GCC
18396 builtin and then its argument prototype would still apply. */
18397 char vkGetInstanceProcAddr ();
18401 return vkGetInstanceProcAddr ();
18406 if ac_fn_c_try_link
"$LINENO"
18409 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18410 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'` ;;
18411 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18412 if ${ac_cv_lib_soname_vulkan:+false} :
18414 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18418 ac_cv_lib_soname_vulkan
=
18420 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18421 conftest
$ac_exeext conftest.
$ac_ext
18422 LIBS
=$ac_check_soname_save_LIBS
18424 if ${ac_cv_lib_soname_vulkan:+false} :
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18427 printf "%s\n" "not found" >&6; }
18430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18431 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18433 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18437 if test "x$ac_cv_lib_soname_vulkan" = "x"
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18440 printf %s
"checking for -lMoltenVK... " >&6; }
18441 if test ${ac_cv_lib_soname_MoltenVK+y}
18443 printf %s
"(cached) " >&6
18445 ac_check_soname_save_LIBS
=$LIBS
18446 LIBS
="-lMoltenVK $LIBS"
18447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 /* Override any GCC internal prototype to avoid an error.
18451 Use char because int might match the return type of a GCC
18452 builtin and then its argument prototype would still apply. */
18453 char vkGetInstanceProcAddr ();
18457 return vkGetInstanceProcAddr ();
18462 if ac_fn_c_try_link
"$LINENO"
18465 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18466 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'` ;;
18467 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18468 if ${ac_cv_lib_soname_MoltenVK:+false} :
18470 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18474 ac_cv_lib_soname_MoltenVK
=
18476 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18477 conftest
$ac_exeext conftest.
$ac_ext
18478 LIBS
=$ac_check_soname_save_LIBS
18480 if ${ac_cv_lib_soname_MoltenVK:+false} :
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18483 printf "%s\n" "not found" >&6; }
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18487 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18489 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18495 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18497 case "x$with_vulkan" in
18498 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18500 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18501 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18507 if test "x${GCC}" = "xyes"
18509 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18511 saved_CFLAGS
=$CFLAGS
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18513 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18514 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18516 printf %s
"(cached) " >&6
18518 ac_wine_try_cflags_saved
=$CFLAGS
18519 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522 int main(int argc, char **argv) { return 0; }
18524 if ac_fn_c_try_link
"$LINENO"
18526 ac_cv_cflags__Werror_unknown_warning_option
=yes
18528 ac_cv_cflags__Werror_unknown_warning_option
=no
18530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18531 conftest
$ac_exeext conftest.
$ac_ext
18532 CFLAGS
=$ac_wine_try_cflags_saved
18534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18535 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18536 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18538 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18541 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18542 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18544 printf %s
"(cached) " >&6
18546 ac_wine_try_cflags_saved
=$CFLAGS
18547 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18550 int main(int argc, char **argv) { return 0; }
18552 if ac_fn_c_try_link
"$LINENO"
18554 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18556 ac_cv_cflags__Werror_unused_command_line_argument
=no
18558 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18559 conftest
$ac_exeext conftest.
$ac_ext
18560 CFLAGS
=$ac_wine_try_cflags_saved
18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18563 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18564 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18566 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18569 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18570 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18572 printf %s
"(cached) " >&6
18574 ac_wine_try_cflags_saved
=$CFLAGS
18575 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 int main(int argc, char **argv) { return 0; }
18580 if ac_fn_c_try_link
"$LINENO"
18582 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18584 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18587 conftest
$ac_exeext conftest.
$ac_ext
18588 CFLAGS
=$ac_wine_try_cflags_saved
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18591 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18592 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18594 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18597 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18598 if test ${ac_cv_cflags__fcf_protection_none+y}
18600 printf %s
"(cached) " >&6
18602 ac_wine_try_cflags_saved
=$CFLAGS
18603 CFLAGS
="$CFLAGS -fcf-protection=none"
18604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 int main(int argc, char **argv) { return 0; }
18608 if ac_fn_c_try_link
"$LINENO"
18610 ac_cv_cflags__fcf_protection_none
=yes
18612 ac_cv_cflags__fcf_protection_none
=no
18614 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18615 conftest
$ac_exeext conftest.
$ac_ext
18616 CFLAGS
=$ac_wine_try_cflags_saved
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18619 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18620 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18622 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18625 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18626 if test ${ac_cv_cflags__fno_stack_protector+y}
18628 printf %s
"(cached) " >&6
18630 ac_wine_try_cflags_saved
=$CFLAGS
18631 CFLAGS
="$CFLAGS -fno-stack-protector"
18632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18636 if ac_fn_c_try_link
"$LINENO"
18638 ac_cv_cflags__fno_stack_protector
=yes
18640 ac_cv_cflags__fno_stack_protector
=no
18642 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18643 conftest
$ac_exeext conftest.
$ac_ext
18644 CFLAGS
=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18647 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18648 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18650 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18653 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18654 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18656 printf %s
"(cached) " >&6
18658 ac_wine_try_cflags_saved
=$CFLAGS
18659 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18664 if ac_fn_c_try_link
"$LINENO"
18666 ac_cv_cflags__fno_strict_aliasing
=yes
18668 ac_cv_cflags__fno_strict_aliasing
=no
18670 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18671 conftest
$ac_exeext conftest.
$ac_ext
18672 CFLAGS
=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18675 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18676 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18678 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18681 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18682 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18684 printf %s
"(cached) " >&6
18686 ac_wine_try_cflags_saved
=$CFLAGS
18687 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18692 if ac_fn_c_try_link
"$LINENO"
18694 ac_cv_cflags__Wdeclaration_after_statement
=yes
18696 ac_cv_cflags__Wdeclaration_after_statement
=no
18698 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18699 conftest
$ac_exeext conftest.
$ac_ext
18700 CFLAGS
=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18703 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18704 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18706 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18709 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18710 if test ${ac_cv_cflags__Wempty_body+y}
18712 printf %s
"(cached) " >&6
18714 ac_wine_try_cflags_saved
=$CFLAGS
18715 CFLAGS
="$CFLAGS -Wempty-body"
18716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18720 if ac_fn_c_try_link
"$LINENO"
18722 ac_cv_cflags__Wempty_body
=yes
18724 ac_cv_cflags__Wempty_body
=no
18726 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18727 conftest
$ac_exeext conftest.
$ac_ext
18728 CFLAGS
=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18731 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18732 if test "x$ac_cv_cflags__Wempty_body" = xyes
18734 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18737 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18738 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18740 printf %s
"(cached) " >&6
18742 ac_wine_try_cflags_saved
=$CFLAGS
18743 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18748 if ac_fn_c_try_link
"$LINENO"
18750 ac_cv_cflags__Wignored_qualifiers
=yes
18752 ac_cv_cflags__Wignored_qualifiers
=no
18754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18755 conftest
$ac_exeext conftest.
$ac_ext
18756 CFLAGS
=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18759 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18760 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18762 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18765 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18766 if test ${ac_cv_cflags__Winit_self+y}
18768 printf %s
"(cached) " >&6
18770 ac_wine_try_cflags_saved
=$CFLAGS
18771 CFLAGS
="$CFLAGS -Winit-self"
18772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18776 if ac_fn_c_try_link
"$LINENO"
18778 ac_cv_cflags__Winit_self
=yes
18780 ac_cv_cflags__Winit_self
=no
18782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18783 conftest
$ac_exeext conftest.
$ac_ext
18784 CFLAGS
=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18787 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18788 if test "x$ac_cv_cflags__Winit_self" = xyes
18790 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18793 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18794 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18796 printf %s
"(cached) " >&6
18798 ac_wine_try_cflags_saved
=$CFLAGS
18799 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18804 if ac_fn_c_try_link
"$LINENO"
18806 ac_cv_cflags__Wpacked_not_aligned
=yes
18808 ac_cv_cflags__Wpacked_not_aligned
=no
18810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18811 conftest
$ac_exeext conftest.
$ac_ext
18812 CFLAGS
=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18816 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18818 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18821 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18822 if test ${ac_cv_cflags__Wpragma_pack+y}
18824 printf %s
"(cached) " >&6
18826 ac_wine_try_cflags_saved
=$CFLAGS
18827 CFLAGS
="$CFLAGS -Wpragma-pack"
18828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18832 if ac_fn_c_try_link
"$LINENO"
18834 ac_cv_cflags__Wpragma_pack
=yes
18836 ac_cv_cflags__Wpragma_pack
=no
18838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18839 conftest
$ac_exeext conftest.
$ac_ext
18840 CFLAGS
=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18843 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18844 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18846 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18849 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18850 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18852 printf %s
"(cached) " >&6
18854 ac_wine_try_cflags_saved
=$CFLAGS
18855 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18860 if ac_fn_c_try_link
"$LINENO"
18862 ac_cv_cflags__Wshift_overflow_2
=yes
18864 ac_cv_cflags__Wshift_overflow_2
=no
18866 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18867 conftest
$ac_exeext conftest.
$ac_ext
18868 CFLAGS
=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18872 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18874 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18877 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18878 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18880 printf %s
"(cached) " >&6
18882 ac_wine_try_cflags_saved
=$CFLAGS
18883 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 int main(int argc, char **argv) { return 0; }
18888 if ac_fn_c_try_link
"$LINENO"
18890 ac_cv_cflags__Wstrict_prototypes
=yes
18892 ac_cv_cflags__Wstrict_prototypes
=no
18894 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18895 conftest
$ac_exeext conftest.
$ac_ext
18896 CFLAGS
=$ac_wine_try_cflags_saved
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18899 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18900 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18902 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18905 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18906 if test ${ac_cv_cflags__Wtype_limits+y}
18908 printf %s
"(cached) " >&6
18910 ac_wine_try_cflags_saved
=$CFLAGS
18911 CFLAGS
="$CFLAGS -Wtype-limits"
18912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 int main(int argc, char **argv) { return 0; }
18916 if ac_fn_c_try_link
"$LINENO"
18918 ac_cv_cflags__Wtype_limits
=yes
18920 ac_cv_cflags__Wtype_limits
=no
18922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18923 conftest
$ac_exeext conftest.
$ac_ext
18924 CFLAGS
=$ac_wine_try_cflags_saved
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18927 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18928 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18930 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18933 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18934 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18936 printf %s
"(cached) " >&6
18938 ac_wine_try_cflags_saved
=$CFLAGS
18939 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 int main(int argc, char **argv) { return 0; }
18944 if ac_fn_c_try_link
"$LINENO"
18946 ac_cv_cflags__Wunused_but_set_parameter
=yes
18948 ac_cv_cflags__Wunused_but_set_parameter
=no
18950 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18951 conftest
$ac_exeext conftest.
$ac_ext
18952 CFLAGS
=$ac_wine_try_cflags_saved
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18955 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18956 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18958 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18961 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18962 if test ${ac_cv_cflags__Wvla+y}
18964 printf %s
"(cached) " >&6
18966 ac_wine_try_cflags_saved
=$CFLAGS
18967 CFLAGS
="$CFLAGS -Wvla"
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18972 if ac_fn_c_try_link
"$LINENO"
18974 ac_cv_cflags__Wvla
=yes
18976 ac_cv_cflags__Wvla
=no
18978 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18979 conftest
$ac_exeext conftest.
$ac_ext
18980 CFLAGS
=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18984 if test "x$ac_cv_cflags__Wvla" = xyes
18986 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18989 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18990 if test ${ac_cv_cflags__Wwrite_strings+y}
18992 printf %s
"(cached) " >&6
18994 ac_wine_try_cflags_saved
=$CFLAGS
18995 CFLAGS
="$CFLAGS -Wwrite-strings"
18996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 int main(int argc, char **argv) { return 0; }
19000 if ac_fn_c_try_link
"$LINENO"
19002 ac_cv_cflags__Wwrite_strings
=yes
19004 ac_cv_cflags__Wwrite_strings
=no
19006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19007 conftest
$ac_exeext conftest.
$ac_ext
19008 CFLAGS
=$ac_wine_try_cflags_saved
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19011 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19012 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19014 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19018 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19019 if test ${ac_cv_cflags__Wpointer_arith+y}
19021 printf %s
"(cached) " >&6
19023 ac_wine_try_cflags_saved
=$CFLAGS
19024 CFLAGS
="$CFLAGS -Wpointer-arith"
19025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 int main(int argc, char **argv) { return 0; }
19029 if ac_fn_c_try_link
"$LINENO"
19031 ac_cv_cflags__Wpointer_arith
=yes
19033 ac_cv_cflags__Wpointer_arith
=no
19035 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19036 conftest
$ac_exeext conftest.
$ac_ext
19037 CFLAGS
=$ac_wine_try_cflags_saved
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19040 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19041 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19043 saved_string_h_CFLAGS
=$CFLAGS
19044 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19046 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19047 if test ${ac_cv_c_string_h_warnings+y}
19049 printf %s
"(cached) " >&6
19051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 #include <string.h>
19062 if ac_fn_c_try_compile
"$LINENO"
19064 ac_cv_c_string_h_warnings
=no
19066 ac_cv_c_string_h_warnings
=yes
19068 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19071 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19072 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19073 CFLAGS
=$saved_string_h_CFLAGS
19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19077 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19078 if test ${ac_cv_cflags__Wlogical_op+y}
19080 printf %s
"(cached) " >&6
19082 ac_wine_try_cflags_saved
=$CFLAGS
19083 CFLAGS
="$CFLAGS -Wlogical-op"
19084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086 int main(int argc, char **argv) { return 0; }
19088 if ac_fn_c_try_link
"$LINENO"
19090 ac_cv_cflags__Wlogical_op
=yes
19092 ac_cv_cflags__Wlogical_op
=no
19094 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19095 conftest
$ac_exeext conftest.
$ac_ext
19096 CFLAGS
=$ac_wine_try_cflags_saved
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19099 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19100 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19102 saved_string_h_CFLAGS
=$CFLAGS
19103 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19105 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19106 if test ${ac_cv_c_logicalop_noisy+y}
19108 printf %s
"(cached) " >&6
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 #include <string.h>
19113 char*f(const char *h,char n) {return strchr(h,n);}
19122 if ac_fn_c_try_compile
"$LINENO"
19124 ac_cv_c_logicalop_noisy
=no
19126 ac_cv_c_logicalop_noisy
=yes
19128 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19131 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19132 CFLAGS
=$saved_string_h_CFLAGS
19133 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19137 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19138 if test ${wine_cv_64bit_compare_swap+y}
19140 printf %s
"(cached) " >&6
19142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19155 if ac_fn_c_try_compile
"$LINENO"
19157 wine_cv_64bit_compare_swap
="none needed"
19160 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19161 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19162 *) wine_cv_64bit_compare_swap
="unknown" ;;
19164 if test "x$wine_cv_64bit_compare_swap" != xunknown
19166 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19180 if ac_fn_c_try_compile
"$LINENO"
19184 wine_cv_64bit_compare_swap
="unknown"
19186 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19187 CFLAGS
=$saved_CFLAGS
19190 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19193 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19194 case "$wine_cv_64bit_compare_swap" in
19195 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19197 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19200 ac_debug_format_seen
=""
19201 for ac_flag
in $CFLAGS; do
19203 -gdwarf*) ac_debug_format_seen
=yes ;;
19204 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19207 if test "x$ac_debug_format_seen" = xdefault
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19210 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19211 if test ${ac_cv_cflags__gdwarf_4+y}
19213 printf %s
"(cached) " >&6
19215 ac_wine_try_cflags_saved
=$CFLAGS
19216 CFLAGS
="$CFLAGS -gdwarf-4"
19217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 int main(int argc, char **argv) { return 0; }
19221 if ac_fn_c_try_link
"$LINENO"
19223 ac_cv_cflags__gdwarf_4
=yes
19225 ac_cv_cflags__gdwarf_4
=no
19227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19228 conftest
$ac_exeext conftest.
$ac_ext
19229 CFLAGS
=$ac_wine_try_cflags_saved
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19232 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19233 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19235 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19242 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19243 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19244 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19246 printf %s
"(cached) " >&6
19248 ac_wine_try_cflags_saved
=$CFLAGS
19249 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 int main(int argc, char **argv) { return 0; }
19254 if ac_fn_c_try_link
"$LINENO"
19256 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19258 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19261 conftest
$ac_exeext conftest.
$ac_ext
19262 CFLAGS
=$ac_wine_try_cflags_saved
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19265 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19266 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19268 DELAYLOADFLAG
="-Wl,-delayload,"
19271 *) MSVCRTFLAGS
="-D_WIN32"
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19273 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19274 if test ${ac_cv_cflags__fno_builtin+y}
19276 printf %s
"(cached) " >&6
19278 ac_wine_try_cflags_saved
=$CFLAGS
19279 CFLAGS
="$CFLAGS -fno-builtin"
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__fno_builtin
=yes
19288 ac_cv_cflags__fno_builtin
=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__fno_builtin" >&5
19295 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19296 if test "x$ac_cv_cflags__fno_builtin" = xyes
19298 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19301 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19302 if test ${ac_cv_cflags__fshort_wchar+y}
19304 printf %s
"(cached) " >&6
19306 ac_wine_try_cflags_saved
=$CFLAGS
19307 CFLAGS
="$CFLAGS -fshort-wchar"
19308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310 int main(int argc, char **argv) { return 0; }
19312 if ac_fn_c_try_link
"$LINENO"
19314 ac_cv_cflags__fshort_wchar
=yes
19316 ac_cv_cflags__fshort_wchar
=no
19318 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19319 conftest
$ac_exeext conftest.
$ac_ext
19320 CFLAGS
=$ac_wine_try_cflags_saved
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19323 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19324 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19326 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19329 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19330 if test ${ac_cv_cflags__fvisibility_hidden+y}
19332 printf %s
"(cached) " >&6
19334 ac_wine_try_cflags_saved
=$CFLAGS
19335 CFLAGS
="$CFLAGS -fvisibility=hidden"
19336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19340 if ac_fn_c_try_link
"$LINENO"
19342 ac_cv_cflags__fvisibility_hidden
=yes
19344 ac_cv_cflags__fvisibility_hidden
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19347 conftest
$ac_exeext conftest.
$ac_ext
19348 CFLAGS
=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19351 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19352 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19354 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19357 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19358 if test ${ac_cv_cflags__Wno_format+y}
19360 printf %s
"(cached) " >&6
19362 ac_wine_try_cflags_saved
=$CFLAGS
19363 CFLAGS
="$CFLAGS -Wno-format"
19364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19366 int main(int argc, char **argv) { return 0; }
19368 if ac_fn_c_try_link
"$LINENO"
19370 ac_cv_cflags__Wno_format
=yes
19372 ac_cv_cflags__Wno_format
=no
19374 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19375 conftest
$ac_exeext conftest.
$ac_ext
19376 CFLAGS
=$ac_wine_try_cflags_saved
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19379 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19380 if test "x$ac_cv_cflags__Wno_format" = xyes
19382 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19387 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19388 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19389 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19391 printf %s
"(cached) " >&6
19393 ac_wine_try_cflags_saved
=$CFLAGS
19394 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 int main(int argc, char **argv) { return 0; }
19399 if ac_fn_c_try_link
"$LINENO"
19401 ac_cv_cflags__fno_omit_frame_pointer
=yes
19403 ac_cv_cflags__fno_omit_frame_pointer
=no
19405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19406 conftest
$ac_exeext conftest.
$ac_ext
19407 CFLAGS
=$ac_wine_try_cflags_saved
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19410 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19411 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19413 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19417 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19418 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19419 if test ${ac_cv_cflags__Wno_format+y}
19421 printf %s
"(cached) " >&6
19423 ac_wine_try_cflags_saved
=$CFLAGS
19424 CFLAGS
="$CFLAGS -Wno-format"
19425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 int main(int argc, char **argv) { return 0; }
19429 if ac_fn_c_try_link
"$LINENO"
19431 ac_cv_cflags__Wno_format
=yes
19433 ac_cv_cflags__Wno_format
=no
19435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19436 conftest
$ac_exeext conftest.
$ac_ext
19437 CFLAGS
=$ac_wine_try_cflags_saved
19439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19440 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19441 if test "x$ac_cv_cflags__Wno_format" = xyes
19443 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19445 *) if test -z "$PE_ARCHS"
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19448 printf %s
"checking for working -mabi=ms... " >&6; }
19449 if test ${ac_cv_mabi_ms+y}
19451 printf %s
"(cached) " >&6
19453 CFLAGS
="$CFLAGS -mabi=ms"
19454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19456 #include <stdarg.h>
19457 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19466 if ac_fn_c_try_compile
"$LINENO"
19472 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19473 CFLAGS
=$saved_CFLAGS
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19476 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19477 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
19479 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19483 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19484 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19486 printf %s
"(cached) " >&6
19488 ac_wine_try_cflags_saved
=$CFLAGS
19489 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 int main(int argc, char **argv) { return 0; }
19494 if ac_fn_c_try_link
"$LINENO"
19496 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19498 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19501 conftest
$ac_exeext conftest.
$ac_ext
19502 CFLAGS
=$ac_wine_try_cflags_saved
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19505 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19506 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19508 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19512 CFLAGS
=$saved_CFLAGS
19514 if test "x$enable_werror" = "xyes"
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19517 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19518 if test ${ac_cv_cflags__Werror+y}
19520 printf %s
"(cached) " >&6
19522 ac_wine_try_cflags_saved
=$CFLAGS
19523 CFLAGS
="$CFLAGS -Werror"
19524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 int main(int argc, char **argv) { return 0; }
19528 if ac_fn_c_try_link
"$LINENO"
19530 ac_cv_cflags__Werror
=yes
19532 ac_cv_cflags__Werror
=no
19534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19535 conftest
$ac_exeext conftest.
$ac_ext
19536 CFLAGS
=$ac_wine_try_cflags_saved
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19539 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19540 if test "x$ac_cv_cflags__Werror" = xyes
19542 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19545 if test "x$enable_build_id" = "xyes"
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19548 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19549 if test ${ac_cv_cflags__Wl___build_id+y}
19551 printf %s
"(cached) " >&6
19553 ac_wine_try_cflags_saved
=$CFLAGS
19554 CFLAGS
="$CFLAGS -Wl,--build-id"
19555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557 int main(int argc, char **argv) { return 0; }
19559 if ac_fn_c_try_link
"$LINENO"
19561 ac_cv_cflags__Wl___build_id
=yes
19563 ac_cv_cflags__Wl___build_id
=no
19565 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19566 conftest
$ac_exeext conftest.
$ac_ext
19567 CFLAGS
=$ac_wine_try_cflags_saved
19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19570 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19571 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19573 CFLAGS
="$CFLAGS -Wl,--build-id"
19574 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19581 printf %s
"checking for the need to disable Fortify... " >&6; }
19582 if test ${ac_cv_c_fortify_enabled+y}
19584 printf %s
"(cached) " >&6
19586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19588 #include <string.h>
19592 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19593 #error Fortify enabled
19599 if ac_fn_c_try_compile
"$LINENO"
19601 ac_cv_c_fortify_enabled
=no
19603 ac_cv_c_fortify_enabled
=yes
19605 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19608 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19609 if test "$ac_cv_c_fortify_enabled" = yes
19611 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19616 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19617 if test ${ac_cv_c_cfi_support+y}
19619 printf %s
"(cached) " >&6
19621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19632 if ac_fn_c_try_compile
"$LINENO"
19634 ac_cv_c_cfi_support
="yes"
19636 ac_cv_c_cfi_support
="no"
19638 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19641 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19642 if test "$ac_cv_c_cfi_support" = "yes"
19644 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19645 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19646 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19647 elif test $HOST_ARCH = x86_64
19649 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19653 case "$HOST_ARCH,$PE_ARCHS" in
19654 x86_64
,*i386
*) wine_binary
="wine" ;;
19655 x86_64
,*) wine_binary
="wine64" ;;
19656 *) wine_binary
="wine" ;;
19658 WINELOADER_PROGRAMS
="$wine_binary"
19664 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19665 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19666 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19671 if test "$wine_can_build_preloader" = "yes"
19673 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19674 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19681 printf %s
"checking for library containing dlopen... " >&6; }
19682 if test ${ac_cv_search_dlopen+y}
19684 printf %s
"(cached) " >&6
19686 ac_func_search_save_LIBS
=$LIBS
19687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19690 /* Override any GCC internal prototype to avoid an error.
19691 Use char because int might match the return type of a GCC
19692 builtin and then its argument prototype would still apply. */
19702 for ac_lib
in '' dl
19704 if test -z "$ac_lib"; then
19705 ac_res
="none required"
19708 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19710 if ac_fn_c_try_link
"$LINENO"
19712 ac_cv_search_dlopen
=$ac_res
19714 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19716 if test ${ac_cv_search_dlopen+y}
19721 if test ${ac_cv_search_dlopen+y}
19725 ac_cv_search_dlopen
=no
19727 rm conftest.
$ac_ext
19728 LIBS
=$ac_func_search_save_LIBS
19730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19731 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19732 ac_res
=$ac_cv_search_dlopen
19733 if test "$ac_res" != no
19735 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19741 printf %s
"checking for library containing gethostbyname... " >&6; }
19742 if test ${ac_cv_search_gethostbyname+y}
19744 printf %s
"(cached) " >&6
19746 ac_func_search_save_LIBS
=$LIBS
19747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19750 /* Override any GCC internal prototype to avoid an error.
19751 Use char because int might match the return type of a GCC
19752 builtin and then its argument prototype would still apply. */
19753 char gethostbyname ();
19757 return gethostbyname ();
19762 for ac_lib
in '' nsl
19764 if test -z "$ac_lib"; then
19765 ac_res
="none required"
19768 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19770 if ac_fn_c_try_link
"$LINENO"
19772 ac_cv_search_gethostbyname
=$ac_res
19774 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19776 if test ${ac_cv_search_gethostbyname+y}
19781 if test ${ac_cv_search_gethostbyname+y}
19785 ac_cv_search_gethostbyname
=no
19787 rm conftest.
$ac_ext
19788 LIBS
=$ac_func_search_save_LIBS
19790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19791 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19792 ac_res
=$ac_cv_search_gethostbyname
19793 if test "$ac_res" != no
19795 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19801 printf %s
"checking for library containing connect... " >&6; }
19802 if test ${ac_cv_search_connect+y}
19804 printf %s
"(cached) " >&6
19806 ac_func_search_save_LIBS
=$LIBS
19807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19810 /* Override any GCC internal prototype to avoid an error.
19811 Use char because int might match the return type of a GCC
19812 builtin and then its argument prototype would still apply. */
19822 for ac_lib
in '' socket
19824 if test -z "$ac_lib"; then
19825 ac_res
="none required"
19828 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19830 if ac_fn_c_try_link
"$LINENO"
19832 ac_cv_search_connect
=$ac_res
19834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19836 if test ${ac_cv_search_connect+y}
19841 if test ${ac_cv_search_connect+y}
19845 ac_cv_search_connect
=no
19847 rm conftest.
$ac_ext
19848 LIBS
=$ac_func_search_save_LIBS
19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19851 printf "%s\n" "$ac_cv_search_connect" >&6; }
19852 ac_res
=$ac_cv_search_connect
19853 if test "$ac_res" != no
19855 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19861 printf %s
"checking for library containing inet_aton... " >&6; }
19862 if test ${ac_cv_search_inet_aton+y}
19864 printf %s
"(cached) " >&6
19866 ac_func_search_save_LIBS
=$LIBS
19867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19877 return inet_aton ();
19882 for ac_lib
in '' resolv
19884 if test -z "$ac_lib"; then
19885 ac_res
="none required"
19888 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19890 if ac_fn_c_try_link
"$LINENO"
19892 ac_cv_search_inet_aton
=$ac_res
19894 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19896 if test ${ac_cv_search_inet_aton+y}
19901 if test ${ac_cv_search_inet_aton+y}
19905 ac_cv_search_inet_aton
=no
19907 rm conftest.
$ac_ext
19908 LIBS
=$ac_func_search_save_LIBS
19910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19911 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19912 ac_res
=$ac_cv_search_inet_aton
19913 if test "$ac_res" != no
19915 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19920 ac_save_CFLAGS
="$CFLAGS"
19921 CFLAGS
="$CFLAGS $BUILTINFLAG"
19922 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19923 if test "x$ac_cv_func_dladdr1" = xyes
19925 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19928 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19929 if test "x$ac_cv_func_dlinfo" = xyes
19931 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19934 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19935 if test "x$ac_cv_func_epoll_create" = xyes
19937 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19940 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19941 if test "x$ac_cv_func_fstatfs" = xyes
19943 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19946 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19947 if test "x$ac_cv_func_futimens" = xyes
19949 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19952 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19953 if test "x$ac_cv_func_futimes" = xyes
19955 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19958 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19959 if test "x$ac_cv_func_futimesat" = xyes
19961 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19964 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19965 if test "x$ac_cv_func_getaddrinfo" = xyes
19967 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19970 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19971 if test "x$ac_cv_func_getattrlist" = xyes
19973 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19976 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19977 if test "x$ac_cv_func_getauxval" = xyes
19979 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19982 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19983 if test "x$ac_cv_func_getifaddrs" = xyes
19985 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19988 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19989 if test "x$ac_cv_func_getrandom" = xyes
19991 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19994 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19995 if test "x$ac_cv_func_kqueue" = xyes
19997 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20000 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20001 if test "x$ac_cv_func_mach_continuous_time" = xyes
20003 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20006 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20007 if test "x$ac_cv_func_pipe2" = xyes
20009 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20012 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20013 if test "x$ac_cv_func_port_create" = xyes
20015 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20018 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20019 if test "x$ac_cv_func_posix_fadvise" = xyes
20021 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20024 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20025 if test "x$ac_cv_func_posix_fallocate" = xyes
20027 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20030 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20031 if test "x$ac_cv_func_prctl" = xyes
20033 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20036 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20037 if test "x$ac_cv_func_proc_pidinfo" = xyes
20039 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20042 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20043 if test "x$ac_cv_func_sched_yield" = xyes
20045 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20048 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20049 if test "x$ac_cv_func_setproctitle" = xyes
20051 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20054 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20055 if test "x$ac_cv_func_setprogname" = xyes
20057 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20060 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20061 if test "x$ac_cv_func_sigprocmask" = xyes
20063 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20066 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20067 if test "x$ac_cv_func_sysinfo" = xyes
20069 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20072 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20073 if test "x$ac_cv_func_tcdrain" = xyes
20075 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20078 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20079 if test "x$ac_cv_func_thr_kill2" = xyes
20081 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20085 CFLAGS
="$ac_save_CFLAGS"
20088 darwin
*|macosx
*) ;;
20089 *) ac_save_LIBS
=$LIBS
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20091 printf %s
"checking for library containing clock_gettime... " >&6; }
20092 if test ${ac_cv_search_clock_gettime+y}
20094 printf %s
"(cached) " >&6
20096 ac_func_search_save_LIBS
=$LIBS
20097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20100 /* Override any GCC internal prototype to avoid an error.
20101 Use char because int might match the return type of a GCC
20102 builtin and then its argument prototype would still apply. */
20103 char clock_gettime ();
20107 return clock_gettime ();
20112 for ac_lib
in '' rt
20114 if test -z "$ac_lib"; then
20115 ac_res
="none required"
20118 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20120 if ac_fn_c_try_link
"$LINENO"
20122 ac_cv_search_clock_gettime
=$ac_res
20124 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20126 if test ${ac_cv_search_clock_gettime+y}
20131 if test ${ac_cv_search_clock_gettime+y}
20135 ac_cv_search_clock_gettime
=no
20137 rm conftest.
$ac_ext
20138 LIBS
=$ac_func_search_save_LIBS
20140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20141 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20142 ac_res
=$ac_cv_search_clock_gettime
20143 if test "$ac_res" != no
20145 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20147 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20149 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20158 printf %s
"checking for sched_setaffinity... " >&6; }
20159 if test ${wine_cv_have_sched_setaffinity+y}
20161 printf %s
"(cached) " >&6
20163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20164 /* end confdefs.h. */
20169 sched_setaffinity(0, 0, 0);
20174 if ac_fn_c_try_link
"$LINENO"
20176 wine_cv_have_sched_setaffinity
=yes
20178 wine_cv_have_sched_setaffinity
=no
20180 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20181 conftest
$ac_exeext conftest.
$ac_ext
20183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20184 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20185 if test "$wine_cv_have_sched_setaffinity" = "yes"
20188 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20194 printf %s
"checking for inline... " >&6; }
20195 if test ${ac_cv_c_inline+y}
20197 printf %s
"(cached) " >&6
20200 for ac_kw
in inline __inline__ __inline
; do
20201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #ifndef __cplusplus
20205 static $ac_kw foo_t static_foo (void) {return 0; }
20206 $ac_kw foo_t foo (void) {return 0; }
20210 if ac_fn_c_try_compile
"$LINENO"
20212 ac_cv_c_inline
=$ac_kw
20214 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20215 test "$ac_cv_c_inline" != no
&& break
20219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20220 printf "%s\n" "$ac_cv_c_inline" >&6; }
20222 case $ac_cv_c_inline in
20225 case $ac_cv_c_inline in
20227 *) ac_val
=$ac_cv_c_inline;;
20229 cat >>confdefs.h
<<_ACEOF
20230 #ifndef __cplusplus
20231 #define inline $ac_val
20237 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20239 if test "x$ac_cv_type_request_sense" = xyes
20242 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20248 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20249 #include <sys/socket.h>
20250 #ifdef HAVE_SYS_SOCKETVAR_H
20251 #include <sys/socketvar.h>
20253 #ifdef HAVE_NET_ROUTE_H
20254 #include <net/route.h>
20256 #ifdef HAVE_NETINET_IN_H
20257 #include <netinet/in.h>
20259 #ifdef HAVE_NETINET_IN_SYSTM_H
20260 #include <netinet/in_systm.h>
20262 #ifdef HAVE_NETINET_IP_H
20263 #include <netinet/ip.h>
20265 #ifdef HAVE_NETINET_IN_PCB_H
20266 #include <netinet/in_pcb.h>
20269 if test "x$ac_cv_type_struct_xinpgen" = xyes
20272 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20279 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20280 if test ${wine_cv_linux_gethostbyname_r_6+y}
20282 printf %s
"(cached) " >&6
20284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h. */
20293 struct hostent *result;
20300 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20301 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20307 if ac_fn_c_try_link
"$LINENO"
20309 wine_cv_linux_gethostbyname_r_6
=yes
20311 wine_cv_linux_gethostbyname_r_6
=no
20314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20315 conftest
$ac_exeext conftest.
$ac_ext
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20319 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20320 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20323 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20327 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20328 #include <sys/socket.h>
20329 #ifdef HAVE_SYS_UN_H
20330 # include <sys/un.h>
20333 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20336 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20340 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20341 #include <sys/socket.h>
20342 #ifdef HAVE_SYS_UN_H
20343 # include <sys/un.h>
20346 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20349 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20355 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20356 #ifdef HAVE_SCSI_SG_H
20357 #include <scsi/sg.h>
20360 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20363 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20367 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>
20368 #ifdef HAVE_SCSI_SG_H
20369 #include <scsi/sg.h>
20372 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20375 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20381 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20383 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20386 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20392 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20393 #ifdef HAVE_SYS_MTIO_H
20394 #include <sys/mtio.h>
20397 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20400 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20404 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20405 #ifdef HAVE_SYS_MTIO_H
20406 #include <sys/mtio.h>
20409 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20412 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20416 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20417 #ifdef HAVE_SYS_MTIO_H
20418 #include <sys/mtio.h>
20421 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20424 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20430 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20431 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20434 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20438 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20439 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20442 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20446 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20447 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20450 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20454 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20455 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20458 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20462 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20463 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20466 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20470 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20471 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20474 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20478 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20479 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20482 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20486 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20487 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20490 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20494 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20498 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20502 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20506 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20510 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20511 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20514 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20520 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>
20521 #ifdef HAVE_NETINET_IN_H
20522 #include <netinet/in.h>
20525 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20528 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20534 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
20535 #include <resolv.h>
20538 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20541 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20547 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20548 #include <netinet/in.h>
20551 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20554 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20560 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20561 #ifdef HAVE_SYS_SOCKETVAR_H
20562 #include <sys/socketvar.h>
20564 #ifdef HAVE_NETINET_IN_H
20565 #include <netinet/in.h>
20567 #ifdef HAVE_NETINET_IP_VAR_H
20568 #include <netinet/ip_var.h>
20571 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20574 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20580 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
20581 #include <netinet/ip_var.h>
20584 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20587 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20593 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20594 #ifdef HAVE_SYS_SOCKETVAR_H
20595 #include <sys/socketvar.h>
20597 #ifdef HAVE_NETINET_IN_H
20598 #include <netinet/in.h>
20600 #ifdef HAVE_NETINET6_IP6_VAR_H
20601 #include <netinet6/ip6_var.h>
20604 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20607 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20613 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20614 #ifdef HAVE_SYS_SOCKETVAR_H
20615 #include <sys/socketvar.h>
20617 #ifdef HAVE_NETINET_IN_H
20618 #include <netinet/in.h>
20620 #ifdef HAVE_NETINET_IP_H
20621 #include <netinet/ip.h>
20623 #ifdef HAVE_NETINET_IP_ICMP_H
20624 #include <netinet/ip_icmp.h>
20626 #ifdef HAVE_NETINET_ICMP_VAR_H
20627 #include <netinet/icmp_var.h>
20630 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20633 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20639 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_SOCKETVAR_H
20641 #include <sys/socketvar.h>
20643 #ifdef HAVE_NETINET_IN_H
20644 #include <netinet/in.h>
20646 #ifdef HAVE_NETINET_ICMP6_H
20647 #include <netinet/icmp6.h>
20650 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20653 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20659 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20660 #ifdef HAVE_SYS_SOCKETVAR_H
20661 #include <sys/socketvar.h>
20663 #ifdef HAVE_NETINET_IN_H
20664 #include <netinet/in.h>
20666 #ifdef HAVE_NETINET_TCP_H
20667 #include <netinet/tcp.h>
20669 #ifdef HAVE_NETINET_TCP_VAR_H
20670 #include <netinet/tcp_var.h>
20673 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20676 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20682 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
20683 #include <netinet/tcp_var.h>
20686 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20689 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20695 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20696 #ifdef HAVE_NETINET_IN_H
20697 #include <netinet/in.h>
20699 #ifdef HAVE_NETINET_IP_VAR_H
20700 #include <netinet/ip_var.h>
20702 #ifdef HAVE_NETINET_UDP_H
20703 #include <netinet/udp.h>
20705 #ifdef HAVE_NETINET_UDP_VAR_H
20706 #include <netinet/udp_var.h>
20709 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20712 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20718 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20719 #ifdef HAVE_NET_IF_H
20720 # include <net/if.h>
20723 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20726 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20732 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20733 # include <sys/sysinfo.h>
20736 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20739 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20743 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20744 # include <sys/sysinfo.h>
20747 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20750 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20756 LIBS
="$ac_save_LIBS"
20758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20759 printf %s
"checking for __builtin_popcount... " >&6; }
20760 if test ${ac_cv_have___builtin_popcount+y}
20762 printf %s
"(cached) " >&6
20764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h. */
20770 return __builtin_popcount(1)
20775 if ac_fn_c_try_link
"$LINENO"
20777 ac_cv_have___builtin_popcount
="yes"
20779 ac_cv_have___builtin_popcount
="no"
20781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20782 conftest
$ac_exeext conftest.
$ac_ext
20784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20785 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20786 if test "$ac_cv_have___builtin_popcount" = "yes"
20789 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20794 printf %s
"checking for __clear_cache... " >&6; }
20795 if test ${ac_cv_have___clear_cache+y}
20797 printf %s
"(cached) " >&6
20799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20805 __clear_cache((void*)0, (void*)0); return 0;
20810 if ac_fn_c_try_link
"$LINENO"
20812 ac_cv_have___clear_cache
="yes"
20814 ac_cv_have___clear_cache
="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___clear_cache" >&5
20820 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20821 if test "$ac_cv_have___clear_cache" = "yes"
20824 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20830 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20831 printf %s
"checking whether we need to define __i386__... " >&6; }
20832 if test ${ac_cv_cpp_def___i386__+y}
20834 printf %s
"(cached) " >&6
20836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h. */
20842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20843 $EGREP "yes" >/dev
/null
2>&1
20845 ac_cv_cpp_def___i386__
=yes
20847 ac_cv_cpp_def___i386__
=no
20852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20853 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20854 if test "x$ac_cv_cpp_def___i386__" = xyes
20856 CFLAGS
="$CFLAGS -D__i386__"
20857 LINTFLAGS
="$LINTFLAGS -D__i386__"
20859 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20860 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20861 if test ${ac_cv_cpp_def___x86_64__+y}
20863 printf %s
"(cached) " >&6
20865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20866 /* end confdefs.h. */
20871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20872 $EGREP "yes" >/dev
/null
2>&1
20874 ac_cv_cpp_def___x86_64__
=yes
20876 ac_cv_cpp_def___x86_64__
=no
20881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20882 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20883 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20885 CFLAGS
="$CFLAGS -D__x86_64__"
20886 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20888 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20889 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20890 if test ${ac_cv_cpp_def___sparc64__+y}
20892 printf %s
"(cached) " >&6
20894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20896 #ifndef __sparc64__
20900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20901 $EGREP "yes" >/dev
/null
2>&1
20903 ac_cv_cpp_def___sparc64__
=yes
20905 ac_cv_cpp_def___sparc64__
=no
20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20911 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20912 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20914 CFLAGS
="$CFLAGS -D__sparc64__"
20915 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20917 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20918 printf %s
"checking whether we need to define __sparc__... " >&6; }
20919 if test ${ac_cv_cpp_def___sparc__+y}
20921 printf %s
"(cached) " >&6
20923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20930 $EGREP "yes" >/dev
/null
2>&1
20932 ac_cv_cpp_def___sparc__
=yes
20934 ac_cv_cpp_def___sparc__
=no
20939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20940 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20941 if test "x$ac_cv_cpp_def___sparc__" = xyes
20943 CFLAGS
="$CFLAGS -D__sparc__"
20944 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20946 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20947 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20948 if test ${ac_cv_cpp_def___powerpc64__+y}
20950 printf %s
"(cached) " >&6
20952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20953 /* end confdefs.h. */
20954 #ifndef __powerpc64__
20958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20959 $EGREP "yes" >/dev
/null
2>&1
20961 ac_cv_cpp_def___powerpc64__
=yes
20963 ac_cv_cpp_def___powerpc64__
=no
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20969 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20970 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20972 CFLAGS
="$CFLAGS -D__powerpc64__"
20973 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20975 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20976 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20977 if test ${ac_cv_cpp_def___powerpc__+y}
20979 printf %s
"(cached) " >&6
20981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 #ifndef __powerpc__
20987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20988 $EGREP "yes" >/dev
/null
2>&1
20990 ac_cv_cpp_def___powerpc__
=yes
20992 ac_cv_cpp_def___powerpc__
=no
20997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20998 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20999 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21001 CFLAGS
="$CFLAGS -D__powerpc__"
21002 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21004 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21005 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21006 if test ${ac_cv_cpp_def___aarch64__+y}
21008 printf %s
"(cached) " >&6
21010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21011 /* end confdefs.h. */
21012 #ifndef __aarch64__
21016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21017 $EGREP "yes" >/dev
/null
2>&1
21019 ac_cv_cpp_def___aarch64__
=yes
21021 ac_cv_cpp_def___aarch64__
=no
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21027 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21028 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21030 CFLAGS
="$CFLAGS -D__aarch64__"
21031 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21033 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21034 printf %s
"checking whether we need to define __arm__... " >&6; }
21035 if test ${ac_cv_cpp_def___arm__+y}
21037 printf %s
"(cached) " >&6
21039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21046 $EGREP "yes" >/dev
/null
2>&1
21048 ac_cv_cpp_def___arm__
=yes
21050 ac_cv_cpp_def___arm__
=no
21055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21056 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21057 if test "x$ac_cv_cpp_def___arm__" = xyes
21059 CFLAGS
="$CFLAGS -D__arm__"
21060 LINTFLAGS
="$LINTFLAGS -D__arm__"
21064 case $host_vendor in
21065 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21066 printf %s
"checking whether we need to define __sun__... " >&6; }
21067 if test ${ac_cv_cpp_def___sun__+y}
21069 printf %s
"(cached) " >&6
21071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21078 $EGREP "yes" >/dev
/null
2>&1
21080 ac_cv_cpp_def___sun__
=yes
21082 ac_cv_cpp_def___sun__
=no
21087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21088 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21089 if test "x$ac_cv_cpp_def___sun__" = xyes
21091 CFLAGS
="$CFLAGS -D__sun__"
21092 LINTFLAGS
="$LINTFLAGS -D__sun__"
21100 ac_config_commands
="$ac_config_commands include/stamp-h"
21102 printf %s
"creating Makefile rules..." >&6
21105 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21108 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21110 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21111 wine_fn_config_symlink wine
21112 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21113 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21114 wine_fn_config_symlink wine64
21117 wine_fn_config_makefile dlls
/acledit enable_acledit
21118 wine_fn_config_makefile dlls
/aclui enable_aclui
21119 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21120 wine_fn_config_makefile dlls
/activeds enable_activeds
21121 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21122 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21123 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21124 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21125 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21126 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21127 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21128 wine_fn_config_makefile dlls
/advpack enable_advpack
21129 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21130 wine_fn_config_makefile dlls
/amsi enable_amsi
21131 wine_fn_config_makefile dlls
/amstream enable_amstream
21132 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21133 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21134 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21135 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21136 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21137 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21138 wine_fn_config_makefile dlls
/atl enable_atl
21139 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21140 wine_fn_config_makefile dlls
/atl100 enable_atl100
21141 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21142 wine_fn_config_makefile dlls
/atl110 enable_atl110
21143 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21144 wine_fn_config_makefile dlls
/atl80 enable_atl80
21145 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21146 wine_fn_config_makefile dlls
/atl90 enable_atl90
21147 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21148 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21149 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21150 wine_fn_config_makefile dlls
/authz enable_authz
21151 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21152 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21153 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21154 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21155 wine_fn_config_makefile dlls
/avrt enable_avrt
21156 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21157 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21158 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21159 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21160 wine_fn_config_makefile dlls
/browseui enable_browseui
21161 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21162 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21163 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21164 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21165 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21166 wine_fn_config_makefile dlls
/cards enable_cards
21167 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21168 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21169 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21170 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21171 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21172 wine_fn_config_makefile dlls
/combase enable_combase
21173 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21174 wine_fn_config_makefile dlls
/comcat enable_comcat
21175 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21176 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21177 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21178 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21179 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21180 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21181 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21182 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21183 wine_fn_config_makefile dlls
/compstui enable_compstui
21184 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21185 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21186 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21187 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21188 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21189 wine_fn_config_makefile dlls
/connect enable_connect
21190 wine_fn_config_makefile dlls
/credui enable_credui
21191 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21192 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21193 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21194 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21195 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21196 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21197 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21198 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21199 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21200 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21201 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21202 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21203 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21204 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21205 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21206 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21207 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21208 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21209 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21210 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21211 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21212 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21213 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21214 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21215 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21216 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21217 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21218 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21219 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21220 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21221 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21222 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21223 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21225 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21226 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21227 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21228 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21229 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21230 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21231 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21232 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21233 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21234 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21235 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21236 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21237 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21238 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21239 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21240 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21241 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21242 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21243 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21244 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21245 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21246 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21248 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21249 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21251 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21253 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21255 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21257 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21259 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21260 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21261 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21262 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21263 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21264 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21265 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21266 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21267 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21268 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21269 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21270 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21271 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21272 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21273 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21274 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21275 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21276 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21277 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21278 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21279 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21280 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21281 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21282 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21283 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21284 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21285 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21286 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21287 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21288 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21289 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21290 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21291 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21292 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21293 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21294 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21295 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21296 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21297 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21298 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21299 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21300 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21301 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21302 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21303 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21304 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21305 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21306 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21307 wine_fn_config_makefile dlls
/devenum enable_devenum
21308 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21309 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21310 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21311 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21312 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21313 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21314 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21315 wine_fn_config_makefile dlls
/dinput enable_dinput
21316 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21317 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21318 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21319 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21321 wine_fn_config_makefile dlls
/dispex enable_dispex
21322 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21323 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21324 wine_fn_config_makefile dlls
/dmband enable_dmband
21325 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21326 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21327 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21328 wine_fn_config_makefile dlls
/dmime enable_dmime
21329 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21330 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21331 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21333 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21334 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21335 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21336 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21337 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21339 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21340 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21341 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21342 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21343 wine_fn_config_makefile dlls
/dplay enable_dplay
21344 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21345 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21346 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21347 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21348 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21350 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21351 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21352 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21353 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21355 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21356 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21357 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21358 wine_fn_config_makefile dlls
/dsound enable_dsound
21359 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21360 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21361 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21362 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21363 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21364 wine_fn_config_makefile dlls
/dswave enable_dswave
21365 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21366 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21367 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21368 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21369 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21370 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21371 wine_fn_config_makefile dlls
/dxcore enable_dxcore
21372 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21373 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21374 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21375 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21376 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21377 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21378 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21379 wine_fn_config_makefile dlls
/esent enable_esent
21380 wine_fn_config_makefile dlls
/evr enable_evr
21381 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21382 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21383 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21384 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21385 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21386 wine_fn_config_makefile dlls
/feclient enable_feclient
21387 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21388 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21389 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21390 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21391 wine_fn_config_makefile dlls
/fusion enable_fusion
21392 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21393 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21394 wine_fn_config_makefile dlls
/gameux enable_gameux
21395 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21396 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21397 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21398 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21399 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21400 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21401 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21402 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21403 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21404 wine_fn_config_makefile dlls
/glu32 enable_glu32
21405 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21406 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21407 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21408 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21409 wine_fn_config_makefile dlls
/hal enable_hal
21410 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21411 wine_fn_config_makefile dlls
/hid enable_hid
21412 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21413 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21414 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21415 wine_fn_config_makefile dlls
/hlink enable_hlink
21416 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21417 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21418 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21419 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21420 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21421 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21422 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21423 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21424 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21425 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21426 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21427 wine_fn_config_makefile dlls
/icmp enable_icmp
21428 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21429 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21430 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21431 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21432 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21433 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21434 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21435 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21436 wine_fn_config_makefile dlls
/imm32 enable_imm32
21437 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21438 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21439 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21440 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21441 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21442 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21443 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21444 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21445 wine_fn_config_makefile dlls
/initpki enable_initpki
21446 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21447 wine_fn_config_makefile dlls
/inseng enable_inseng
21448 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21449 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21450 wine_fn_config_makefile dlls
/iprop enable_iprop
21451 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21452 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21453 wine_fn_config_makefile dlls
/itircl enable_itircl
21454 wine_fn_config_makefile dlls
/itss enable_itss
21455 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21456 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21457 wine_fn_config_makefile dlls
/jscript enable_jscript
21458 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21459 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21460 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21461 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21462 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21463 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21464 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21465 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21466 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21467 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21468 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21469 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21470 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21471 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21472 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21473 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21474 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21475 wine_fn_config_makefile dlls
/localspl enable_localspl
21476 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21477 wine_fn_config_makefile dlls
/localui enable_localui
21478 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21479 wine_fn_config_makefile dlls
/lz32 enable_lz32
21480 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21481 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21482 wine_fn_config_makefile dlls
/magnification enable_magnification
21483 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21484 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21485 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21486 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21487 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21488 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21489 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21490 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21491 wine_fn_config_makefile dlls
/mf enable_mf
21492 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21494 wine_fn_config_makefile dlls
/mferror enable_mferror
21495 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21496 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21497 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21498 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21499 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21500 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21501 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21502 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21503 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21504 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21505 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21506 wine_fn_config_makefile dlls
/midimap enable_midimap
21507 wine_fn_config_makefile dlls
/mlang enable_mlang
21508 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21509 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21510 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21511 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21512 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21513 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21514 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21515 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21516 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21517 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21518 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21519 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21520 wine_fn_config_makefile dlls
/mpr enable_mpr
21521 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21522 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21523 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21524 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21525 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21526 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21527 wine_fn_config_makefile dlls
/msado15 enable_msado15
21528 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21529 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21530 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21531 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21532 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21533 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21534 wine_fn_config_makefile dlls
/mscms enable_mscms
21535 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21536 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21537 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21538 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21539 wine_fn_config_makefile dlls
/msctf enable_msctf
21540 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21542 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21543 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21544 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21545 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21546 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21547 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21548 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21549 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21550 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21551 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21552 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21553 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21554 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21555 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21556 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21557 wine_fn_config_makefile dlls
/msi enable_msi
21558 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msident enable_msident
21560 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21561 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21562 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21563 wine_fn_config_makefile dlls
/msisip enable_msisip
21564 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21565 wine_fn_config_makefile dlls
/msls31 enable_msls31
21566 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21567 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21568 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21569 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21570 wine_fn_config_makefile dlls
/msports enable_msports
21571 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21572 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21574 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21575 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21576 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21577 wine_fn_config_makefile dlls
/mstask enable_mstask
21578 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21579 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21580 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21581 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21582 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21583 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21584 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21585 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21587 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21588 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21589 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21591 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21592 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21593 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21594 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21595 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21596 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21597 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21598 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21599 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21600 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21601 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21602 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21603 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21604 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21605 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21606 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21607 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21608 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21609 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21610 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21611 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21612 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21613 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21614 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21615 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21616 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21617 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21618 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21619 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21620 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21621 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21622 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21623 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21625 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21626 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21627 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21628 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21629 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21630 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21631 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21632 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21633 wine_fn_config_makefile dlls
/msxml enable_msxml
21634 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21635 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21636 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21637 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21638 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21639 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21640 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21641 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21642 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21643 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21644 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21645 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21646 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21647 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21648 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21649 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21650 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21651 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21652 wine_fn_config_makefile dlls
/netutils enable_netutils
21653 wine_fn_config_makefile dlls
/newdev enable_newdev
21654 wine_fn_config_makefile dlls
/ninput enable_ninput
21655 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21656 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21657 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21658 wine_fn_config_makefile dlls
/npptools enable_npptools
21659 wine_fn_config_makefile dlls
/nsi enable_nsi
21660 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21661 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21662 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21663 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21664 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21665 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21666 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21667 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21668 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21669 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21670 wine_fn_config_makefile dlls
/objsel enable_objsel
21671 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21672 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21673 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21674 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21675 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21676 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21677 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21678 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21679 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21680 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21681 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21682 wine_fn_config_makefile dlls
/ole32 enable_ole32
21683 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21684 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21685 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21686 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21687 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21688 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21689 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21690 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21691 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21692 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21693 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21694 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21695 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21696 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21697 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21698 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21699 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21700 wine_fn_config_makefile dlls
/opencl enable_opencl
21701 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21702 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21703 wine_fn_config_makefile dlls
/packager enable_packager
21704 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21705 wine_fn_config_makefile dlls
/pdh enable_pdh
21706 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21707 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21708 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21709 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21710 wine_fn_config_makefile dlls
/printui enable_printui
21711 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21712 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21713 wine_fn_config_makefile dlls
/propsys enable_propsys
21714 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21715 wine_fn_config_makefile dlls
/psapi enable_psapi
21716 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21717 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21718 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21719 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21720 wine_fn_config_makefile dlls
/qasf enable_qasf
21721 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21722 wine_fn_config_makefile dlls
/qcap enable_qcap
21723 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21724 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21725 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21726 wine_fn_config_makefile dlls
/qedit enable_qedit
21727 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21728 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21729 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21730 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21731 wine_fn_config_makefile dlls
/quartz enable_quartz
21732 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21733 wine_fn_config_makefile dlls
/query enable_query
21734 wine_fn_config_makefile dlls
/qwave enable_qwave
21735 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21736 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21737 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21738 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21739 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21740 wine_fn_config_makefile dlls
/regapi enable_regapi
21741 wine_fn_config_makefile dlls
/resutils enable_resutils
21742 wine_fn_config_makefile dlls
/riched20 enable_riched20
21743 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21744 wine_fn_config_makefile dlls
/riched32 enable_riched32
21745 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21746 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21747 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21748 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21749 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21750 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21751 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21752 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21753 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21754 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21755 wine_fn_config_makefile dlls
/samlib enable_samlib
21756 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21757 wine_fn_config_makefile dlls
/sapi enable_sapi
21758 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21759 wine_fn_config_makefile dlls
/sas enable_sas
21760 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21761 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21762 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21763 wine_fn_config_makefile dlls
/schannel enable_schannel
21764 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21765 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21766 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21767 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21768 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21769 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21770 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21771 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21772 wine_fn_config_makefile dlls
/sechost enable_sechost
21773 wine_fn_config_makefile dlls
/secur32 enable_secur32
21774 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21775 wine_fn_config_makefile dlls
/security enable_security
21776 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21777 wine_fn_config_makefile dlls
/serialui enable_serialui
21778 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21779 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21780 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21781 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21782 wine_fn_config_makefile dlls
/sfc enable_sfc
21783 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21784 wine_fn_config_makefile dlls
/shcore enable_shcore
21785 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21786 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21787 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21788 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21789 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21790 wine_fn_config_makefile dlls
/shell32 enable_shell32
21791 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21792 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21793 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21794 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21795 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21796 wine_fn_config_makefile dlls
/slc enable_slc
21797 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21798 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21799 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21800 wine_fn_config_makefile dlls
/softpub enable_softpub
21801 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21802 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21803 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21804 wine_fn_config_makefile dlls
/sppc enable_sppc
21805 wine_fn_config_makefile dlls
/srclient enable_srclient
21806 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21807 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
21808 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21809 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21810 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21811 wine_fn_config_makefile dlls
/sti enable_sti
21812 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21813 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21814 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21815 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21816 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21817 wine_fn_config_makefile dlls
/sxs enable_sxs
21818 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21819 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21820 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21821 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21822 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21823 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21824 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21825 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21826 wine_fn_config_makefile dlls
/tbs enable_tbs
21827 wine_fn_config_makefile dlls
/tdh enable_tdh
21828 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21829 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21830 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21831 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21832 wine_fn_config_makefile dlls
/traffic enable_traffic
21833 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21834 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21835 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21836 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21837 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21838 wine_fn_config_makefile dlls
/tzres enable_tzres
21839 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21840 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21841 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21842 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21843 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21844 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21845 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21846 wine_fn_config_makefile dlls
/unicows enable_unicows
21847 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21848 wine_fn_config_makefile dlls
/url enable_url
21849 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21850 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21851 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21852 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21853 wine_fn_config_makefile dlls
/user32 enable_user32
21854 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21855 wine_fn_config_makefile dlls
/userenv enable_userenv
21856 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21857 wine_fn_config_makefile dlls
/usp10 enable_usp10
21858 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21859 wine_fn_config_makefile dlls
/utildll enable_utildll
21860 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21861 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21862 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21863 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21864 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21865 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21866 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21867 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21868 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21869 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21870 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21871 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21872 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21873 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21874 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21875 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21876 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21877 wine_fn_config_makefile dlls
/version enable_version
21878 wine_fn_config_makefile dlls
/version
/tests enable_tests
21879 wine_fn_config_makefile dlls
/vga enable_vga
21880 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21881 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21882 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21883 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21884 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21885 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21886 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21887 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21888 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21889 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21890 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21891 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21893 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21894 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21895 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21896 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21897 wine_fn_config_makefile dlls
/webservices enable_webservices
21898 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21899 wine_fn_config_makefile dlls
/websocket enable_websocket
21900 wine_fn_config_makefile dlls
/wer enable_wer
21901 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21902 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21903 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21904 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21905 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21906 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21907 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21908 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21909 wine_fn_config_makefile dlls
/win32u enable_win32u
21910 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21911 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21912 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21913 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21914 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
21915 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
21916 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21917 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21918 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21919 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21920 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21921 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21922 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21923 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21924 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21925 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21926 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21927 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21928 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21929 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21930 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
21931 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
21932 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21933 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21934 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21935 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21936 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21937 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21938 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21939 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21940 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21941 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
21942 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
21943 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
21944 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
21945 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21946 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21947 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21948 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21949 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21950 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21951 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21952 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21953 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21954 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21955 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21956 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21957 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21958 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21959 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21960 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21961 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21962 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21963 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21964 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21965 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21966 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21967 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21968 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21969 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21970 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21971 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21972 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21973 wine_fn_config_makefile dlls
/wing32 enable_wing32
21974 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21975 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21976 wine_fn_config_makefile dlls
/wininet enable_wininet
21977 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21978 wine_fn_config_makefile dlls
/winmm enable_winmm
21979 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21980 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21981 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21982 wine_fn_config_makefile dlls
/winprint enable_winprint
21983 wine_fn_config_makefile dlls
/winscard enable_winscard
21984 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21985 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21986 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21987 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21988 wine_fn_config_makefile dlls
/winsta enable_winsta
21989 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21990 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21991 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21992 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21993 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21994 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21995 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21996 wine_fn_config_makefile dlls
/winusb enable_winusb
21997 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21998 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21999 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22000 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22001 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22002 wine_fn_config_makefile dlls
/wldp enable_wldp
22003 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22004 wine_fn_config_makefile dlls
/wmi enable_wmi
22005 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22006 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22007 wine_fn_config_makefile dlls
/wmp enable_wmp
22008 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22009 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22010 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22011 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22012 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22013 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22014 wine_fn_config_makefile dlls
/wow32 enable_win16
22015 wine_fn_config_makefile dlls
/wow64 enable_wow64
22016 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22017 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22018 wine_fn_config_makefile dlls
/wpc enable_wpc
22019 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22020 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22021 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22022 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22023 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22024 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22025 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22026 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22027 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22028 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22029 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22031 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22032 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22033 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22034 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22035 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22036 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22037 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22038 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22039 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22040 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22041 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22042 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22043 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22044 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22045 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22046 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22047 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22048 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22049 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22050 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22051 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22052 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22053 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22054 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22055 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22056 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22057 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22058 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22059 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22060 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22061 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22062 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22063 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22064 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22065 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22066 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22067 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22068 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22069 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22070 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22071 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22072 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22073 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22074 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22075 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22076 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22077 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22078 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22079 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22080 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22081 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22082 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22083 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22084 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22085 wine_fn_config_makefile fonts enable_fonts
22086 wine_fn_config_makefile include enable_include
22087 wine_fn_config_makefile libs
/adsiid enable_adsiid
22088 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22089 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22090 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22091 wine_fn_config_makefile libs
/dxguid enable_dxguid
22092 wine_fn_config_makefile libs
/faudio enable_faudio
22093 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22094 wine_fn_config_makefile libs
/gsm enable_gsm
22095 wine_fn_config_makefile libs
/jpeg enable_jpeg
22096 wine_fn_config_makefile libs
/jxr enable_jxr
22097 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22098 wine_fn_config_makefile libs
/ldap enable_ldap
22099 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22100 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22101 wine_fn_config_makefile libs
/musl enable_musl
22102 wine_fn_config_makefile libs
/png enable_png
22103 wine_fn_config_makefile libs
/strmbase enable_strmbase
22104 wine_fn_config_makefile libs
/strmiids enable_strmiids
22105 wine_fn_config_makefile libs
/tiff enable_tiff
22106 wine_fn_config_makefile libs
/uuid enable_uuid
22107 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22108 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22109 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22110 wine_fn_config_makefile libs
/xml2 enable_xml2
22111 wine_fn_config_makefile libs
/xslt enable_xslt
22112 wine_fn_config_makefile libs
/zlib enable_zlib
22113 wine_fn_config_makefile libs
/zydis enable_zydis
22114 wine_fn_config_makefile loader enable_loader
22115 wine_fn_config_makefile nls enable_nls
22116 wine_fn_config_makefile po enable_po
22117 wine_fn_config_makefile programs
/arp enable_arp
22118 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22119 wine_fn_config_makefile programs
/attrib enable_attrib
22120 wine_fn_config_makefile programs
/cabarc enable_cabarc
22121 wine_fn_config_makefile programs
/cacls enable_cacls
22122 wine_fn_config_makefile programs
/certutil enable_certutil
22123 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22124 wine_fn_config_makefile programs
/clock enable_clock
22125 wine_fn_config_makefile programs
/cmd enable_cmd
22126 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22127 wine_fn_config_makefile programs
/conhost enable_conhost
22128 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22129 wine_fn_config_makefile programs
/control enable_control
22130 wine_fn_config_makefile programs
/cscript enable_cscript
22131 wine_fn_config_makefile programs
/dism enable_dism
22132 wine_fn_config_makefile programs
/dllhost enable_dllhost
22133 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22134 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22135 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22136 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22137 wine_fn_config_makefile programs
/eject enable_eject
22138 wine_fn_config_makefile programs
/expand enable_expand
22139 wine_fn_config_makefile programs
/explorer enable_explorer
22140 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22141 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22142 wine_fn_config_makefile programs
/fc enable_fc
22143 wine_fn_config_makefile programs
/find enable_find
22144 wine_fn_config_makefile programs
/find
/tests enable_tests
22145 wine_fn_config_makefile programs
/findstr enable_findstr
22146 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22147 wine_fn_config_makefile programs
/fsutil enable_fsutil
22148 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22149 wine_fn_config_makefile programs
/hh enable_hh
22150 wine_fn_config_makefile programs
/hostname enable_hostname
22151 wine_fn_config_makefile programs
/icacls enable_icacls
22152 wine_fn_config_makefile programs
/icinfo enable_icinfo
22153 wine_fn_config_makefile programs
/iexplore enable_iexplore
22154 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22155 wine_fn_config_makefile programs
/klist enable_klist
22156 wine_fn_config_makefile programs
/lodctr enable_lodctr
22157 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22158 wine_fn_config_makefile programs
/mshta enable_mshta
22159 wine_fn_config_makefile programs
/msidb enable_msidb
22160 wine_fn_config_makefile programs
/msiexec enable_msiexec
22161 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22162 wine_fn_config_makefile programs
/net enable_net
22163 wine_fn_config_makefile programs
/netsh enable_netsh
22164 wine_fn_config_makefile programs
/netstat enable_netstat
22165 wine_fn_config_makefile programs
/ngen enable_ngen
22166 wine_fn_config_makefile programs
/notepad enable_notepad
22167 wine_fn_config_makefile programs
/oleview enable_oleview
22168 wine_fn_config_makefile programs
/ping enable_ping
22169 wine_fn_config_makefile programs
/plugplay enable_plugplay
22170 wine_fn_config_makefile programs
/pnputil enable_pnputil
22171 wine_fn_config_makefile programs
/powershell enable_powershell
22172 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22173 wine_fn_config_makefile programs
/progman enable_progman
22174 wine_fn_config_makefile programs
/reg enable_reg
22175 wine_fn_config_makefile programs
/reg
/tests enable_tests
22176 wine_fn_config_makefile programs
/regasm enable_regasm
22177 wine_fn_config_makefile programs
/regedit enable_regedit
22178 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22179 wine_fn_config_makefile programs
/regini enable_regini
22180 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22181 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22182 wine_fn_config_makefile programs
/robocopy enable_robocopy
22183 wine_fn_config_makefile programs
/rpcss enable_rpcss
22184 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22185 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22186 wine_fn_config_makefile programs
/sc enable_sc
22187 wine_fn_config_makefile programs
/sc
/tests enable_tests
22188 wine_fn_config_makefile programs
/schtasks enable_schtasks
22189 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22190 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22191 wine_fn_config_makefile programs
/secedit enable_secedit
22192 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22193 wine_fn_config_makefile programs
/services enable_services
22194 wine_fn_config_makefile programs
/services
/tests enable_tests
22195 wine_fn_config_makefile programs
/setx enable_setx
22196 wine_fn_config_makefile programs
/shutdown enable_shutdown
22197 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22198 wine_fn_config_makefile programs
/start enable_start
22199 wine_fn_config_makefile programs
/subst enable_subst
22200 wine_fn_config_makefile programs
/svchost enable_svchost
22201 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22202 wine_fn_config_makefile programs
/taskkill enable_taskkill
22203 wine_fn_config_makefile programs
/tasklist enable_tasklist
22204 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22205 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22206 wine_fn_config_makefile programs
/termsv enable_termsv
22207 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22208 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22209 wine_fn_config_makefile programs
/view enable_view
22210 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22211 wine_fn_config_makefile programs
/where enable_where
22212 wine_fn_config_makefile programs
/whoami enable_whoami
22213 wine_fn_config_makefile programs
/wineboot enable_wineboot
22214 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22215 wine_fn_config_makefile programs
/winecfg enable_winecfg
22216 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22217 wine_fn_config_makefile programs
/winedbg enable_winedbg
22218 wine_fn_config_makefile programs
/winedevice enable_winedevice
22219 wine_fn_config_makefile programs
/winefile enable_winefile
22220 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22221 wine_fn_config_makefile programs
/winemine enable_winemine
22222 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22223 wine_fn_config_makefile programs
/winepath enable_winepath
22224 wine_fn_config_makefile programs
/winetest enable_winetest
22225 wine_fn_config_makefile programs
/winevdm enable_win16
22226 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22227 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22228 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22229 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22230 wine_fn_config_makefile programs
/winver enable_winver
22231 wine_fn_config_makefile programs
/wmic enable_wmic
22232 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22233 wine_fn_config_makefile programs
/wordpad enable_wordpad
22234 wine_fn_config_makefile programs
/write enable_write
22235 wine_fn_config_makefile programs
/wscript enable_wscript
22236 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22237 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22238 wine_fn_config_makefile programs
/wusa enable_wusa
22239 wine_fn_config_makefile programs
/xcopy enable_xcopy
22240 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22241 wine_fn_config_makefile server enable_server
22242 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22243 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22244 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22245 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22246 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22247 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22248 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22249 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22250 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22253 as_fn_append CONFIGURE_TARGETS
" TAGS"
22254 as_fn_append CONFIGURE_TARGETS
" tags"
22255 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22256 as_fn_append CONFIGURE_TARGETS
" config.log"
22257 as_fn_append CONFIGURE_TARGETS
" config.status"
22258 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22259 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22260 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22262 if test "x$enable_tools" != xno
22264 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22265 ac_config_commands
="$ac_config_commands tools/makedep"
22269 ac_config_commands
="$ac_config_commands Makefile"
22276 as_fn_append wine_rules
"
22278 @echo \"Wine build complete.\"
22282 Makefile: config.status \$(MAKEDEP)
22283 @./config.status Makefile
22284 depend: \$(MAKEDEP)
22285 \$(MAKEDEP)$makedep_flags"
22288 as_fn_append wine_rules
"
22289 config.status: ${wine_srcdir}configure
22290 @./config.status --recheck
22291 include/config.h: include/stamp-h
22292 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22293 @./config.status include/config.h include/stamp-h"
22295 if test "x$enable_maintainer_mode" = xyes
22297 as_fn_append wine_rules
"
22298 configure: configure.ac aclocal.m4
22299 autoconf --warnings=all
22300 include/config.h.in: include/stamp-h.in
22301 include/stamp-h.in: configure.ac aclocal.m4
22302 autoheader --warnings=all
22303 @echo timestamp > \$@"
22306 if test "x$enable_tools" != xno
22308 as_fn_append wine_rules
"
22309 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22310 @./config.status tools/makedep
22311 Makefile: tools/makedep$ac_exeext"
22313 as_fn_append wine_rules
"
22315 @echo \"You need to run make in $toolsdir first\" && false"
22319 if test -n "$with_wine64"
22321 case "$with_wine64" in
22325 rm -f fonts server
2>/dev
/null
22326 as_fn_append wine_rules
"
22327 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22328 loader/wine64 loader/wine64-preloader:
22329 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22330 $with_wine64/loader/wine:
22331 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22332 $with_wine64/loader/wine-preloader:
22333 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22335 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22337 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22338 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22342 programs/msidb/msidb \
22343 programs/msiexec/msiexec \
22344 programs/notepad/notepad \
22345 programs/regedit/regedit \
22346 programs/regsvr32/regsvr32 \
22347 programs/wineboot/wineboot \
22348 programs/winecfg/winecfg \
22349 programs/wineconsole/wineconsole \
22350 programs/winedbg/winedbg \
22351 programs/winefile/winefile \
22352 programs/winemine/winemine \
22353 programs/winepath/winepath \
22357 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22358 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22363 as_fn_append wine_rules
"
22365 rm -rf autom4te.cache
22367 rm -f configure include/config.h.in"
22370 as_fn_append wine_rules
"
22371 dlls/ntdll/unix/version.c: dummy
22372 @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)
22373 programs/winetest/build.rc: dummy
22374 @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)
22375 programs/winetest/build.nfo:
22377 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
22378 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22379 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22382 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22384 as_fn_append wine_rules
"
22387 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22390 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22392 .PHONY: depend dummy install-manpages"
22394 printf "%s\n" " done" >&6
22395 cat >confcache
<<\_ACEOF
22396 # This file is a shell script that caches the results of configure
22397 # tests run on this system so they can be shared between configure
22398 # scripts and configure runs, see configure's option --config-cache.
22399 # It is not useful on other systems. If it contains results you don't
22400 # want to keep, you may remove or edit it.
22402 # config.status only pays attention to the cache file if you give it
22403 # the --recheck option to rerun configure.
22405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22407 # following values.
22411 # The following way of writing the cache mishandles newlines in values,
22412 # but we know of no workaround that is simple, portable, and efficient.
22413 # So, we kill variables containing newlines.
22414 # Ultrix sh set writes to stderr and can't be redirected directly,
22415 # and sets the high bit in the cache file unless we assign to the vars.
22417 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22418 eval ac_val
=\$
$ac_var
22422 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22423 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22426 _ | IFS | as_nl
) ;; #(
22427 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22428 *) { eval $ac_var=; unset $ac_var;} ;;
22434 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22435 *${as_nl}ac_space
=\
*)
22436 # `set' does not quote correctly, so add quotes: double-quote
22437 # substitution turns \\\\ into \\, and sed turns \\ into \.
22440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22443 # `set' quotes correctly as required by POSIX, so do not add quotes.
22444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22453 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22455 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22457 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22458 if test -w "$cache_file"; then
22459 if test "x$cache_file" != "x/dev/null"; then
22460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22461 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22462 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22463 cat confcache
>"$cache_file"
22465 case $cache_file in #(
22467 mv -f confcache
"$cache_file"$$
&&
22468 mv -f "$cache_file"$$
"$cache_file" ;; #(
22470 mv -f confcache
"$cache_file" ;;
22475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22476 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22481 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22482 # Let make expand exec_prefix.
22483 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22485 DEFS
=-DHAVE_CONFIG_H
22490 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22491 # 1. Remove the extension, and $U if already installed.
22492 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22493 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22494 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22495 # will be set to the directory where LIBOBJS objects are built.
22496 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22497 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22499 LIBOBJS
=$ac_libobjs
22501 LTLIBOBJS
=$ac_ltlibobjs
22505 : "${CONFIG_STATUS=./config.status}"
22507 ac_clean_files_save
=$ac_clean_files
22508 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22510 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22512 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22514 # Generated by $as_me.
22515 # Run this file to recreate the current configuration.
22516 # Compiler output produced by configure, useful for debugging
22517 # configure, is in config.log if it exists.
22520 ac_cs_recheck=false
22523 SHELL=\${CONFIG_SHELL-$SHELL}
22526 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22527 ## -------------------- ##
22528 ## M4sh Initialization. ##
22529 ## -------------------- ##
22531 # Be more Bourne compatible
22532 DUALCASE
=1; export DUALCASE
# for MKS sh
22534 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22538 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22539 # is contrary to our usage. Disable this feature.
22540 alias -g '${1+"$@"}'='"$@"'
22541 setopt NO_GLOB_SUBST
22543 case `(set -o) 2>/dev/null` in #(
22553 # Reset variables that may have inherited troublesome values from
22556 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22557 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22558 # side effect of setting IFS to empty, thus disabling word splitting.)
22559 # Quoting is to prevent editors from complaining about space-tab.
22569 # Ensure predictable behavior from utilities with locale-dependent output.
22575 # We cannot yet rely on "unset" to work, but we need these variables
22576 # to be unset--not just set to an empty or harmless value--now, to
22577 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22578 # also avoids known problems related to "unset" and subshell syntax
22579 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22580 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22581 do eval test \
${$as_var+y} \
22582 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22585 # Ensure that fds 0, 1, and 2 are open.
22586 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22587 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22588 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22590 # The user is always right.
22591 if ${PATH_SEPARATOR+false} :; then
22593 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22594 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22600 # Find who we are. Look in the path if we contain no directory separator.
22603 *[\\/]* ) as_myself
=$0 ;;
22604 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22605 for as_dir
in $PATH
22608 case $as_dir in #(((
22611 *) as_dir
=$as_dir/ ;;
22613 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22619 # We did not find ourselves, most probably we were run as `sh COMMAND'
22620 # in which case we are not to be found in the path.
22621 if test "x$as_myself" = x
; then
22624 if test ! -f "$as_myself"; then
22625 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22631 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22632 # ----------------------------------------
22633 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22634 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22635 # script with STATUS, using 1 if that was 0.
22638 as_status
=$1; test $as_status -eq 0 && as_status
=1
22640 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22643 printf "%s\n" "$as_me: error: $2" >&2
22644 as_fn_exit
$as_status
22649 # as_fn_set_status STATUS
22650 # -----------------------
22651 # Set $? to STATUS, without forking.
22652 as_fn_set_status
()
22655 } # as_fn_set_status
22657 # as_fn_exit STATUS
22658 # -----------------
22659 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22663 as_fn_set_status
$1
22669 # Portably unset VAR.
22672 { eval $1=; unset $1;}
22674 as_unset
=as_fn_unset
22676 # as_fn_append VAR VALUE
22677 # ----------------------
22678 # Append the text in VALUE to the end of the definition contained in VAR. Take
22679 # advantage of any shell optimizations that allow amortized linear growth over
22680 # repeated appends, instead of the typical quadratic growth present in naive
22682 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22684 eval 'as_fn_append ()
22695 # as_fn_arith ARG...
22696 # ------------------
22697 # Perform arithmetic evaluation on the ARGs, and store the result in the
22698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22699 # must be portable across $(()) and expr.
22700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22702 eval 'as_fn_arith ()
22709 as_val
=`expr "$@" || test $? -eq 1`
22714 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22715 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22721 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22722 as_basename
=basename
22727 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22733 as_me
=`$as_basename -- "$0" ||
22734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22735 X"$0" : 'X\(//\)$' \| \
22736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22737 printf "%s\n" X/"$0" |
22738 sed '/^.*\/\([^/][^/]*\)\/*$/{
22752 # Avoid depending upon Character Ranges.
22753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22756 as_cr_digits
='0123456789'
22757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22760 # Determine whether it's possible to make 'echo' print without a newline.
22761 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22762 # for compatibility with existing Makefiles.
22763 ECHO_C
= ECHO_N
= ECHO_T
=
22764 case `echo -n x` in #(((((
22766 case `echo 'xy\c'` in
22767 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22769 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22776 # For backward compatibility with old third-party macros, we provide
22777 # the shell variables $as_echo and $as_echo_n. New code should use
22778 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22779 as_echo
='printf %s\n'
22780 as_echo_n
='printf %s'
22782 rm -f conf$$ conf$$.exe conf$$.
file
22783 if test -d conf$$.dir
; then
22784 rm -f conf$$.dir
/conf$$.
file
22787 mkdir conf$$.dir
2>/dev
/null
22789 if (echo >conf$$.
file) 2>/dev
/null
; then
22790 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22792 # ... but there are two gotchas:
22793 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22794 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22795 # In both cases, we have to default to `cp -pR'.
22796 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22798 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22806 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22807 rmdir conf$$.dir
2>/dev
/null
22812 # Create "$as_dir" as a directory, including parents if necessary.
22817 -*) as_dir
=.
/$as_dir;;
22819 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22823 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22824 *) as_qdir
=$as_dir;;
22826 as_dirs
="'$as_qdir' $as_dirs"
22827 as_dir
=`$as_dirname -- "$as_dir" ||
22828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22829 X"$as_dir" : 'X\(//\)[^/]' \| \
22830 X"$as_dir" : 'X\(//\)$' \| \
22831 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22832 printf "%s\n" X"$as_dir" |
22833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22837 /^X\(\/\/\)[^/].*/{
22850 test -d "$as_dir" && break
22852 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22853 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22857 if mkdir
-p .
2>/dev
/null
; then
22858 as_mkdir_p
='mkdir -p "$as_dir"'
22860 test -d .
/-p && rmdir .
/-p
22865 # as_fn_executable_p FILE
22866 # -----------------------
22867 # Test if FILE is an executable regular file.
22868 as_fn_executable_p
()
22870 test -f "$1" && test -x "$1"
22871 } # as_fn_executable_p
22872 as_test_x
='test -x'
22873 as_executable_p
=as_fn_executable_p
22875 # Sed expression to map a string onto a valid CPP name.
22876 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22878 # Sed expression to map a string onto a valid variable name.
22879 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22883 ## ----------------------------------- ##
22884 ## Main body of $CONFIG_STATUS script. ##
22885 ## ----------------------------------- ##
22887 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22890 # Save the log message, to keep $0 and so on meaningful, and to
22891 # report actual input values of CONFIG_FILES etc. instead of their
22892 # values after options handling.
22894 This file was extended by Wine $as_me 8.17, which was
22895 generated by GNU Autoconf 2.71. Invocation command line was
22897 CONFIG_FILES = $CONFIG_FILES
22898 CONFIG_HEADERS = $CONFIG_HEADERS
22899 CONFIG_LINKS = $CONFIG_LINKS
22900 CONFIG_COMMANDS = $CONFIG_COMMANDS
22903 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22909 case $ac_config_headers in *"
22910 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22915 # Files that config.status was made for.
22916 config_headers="$ac_config_headers"
22917 config_links="$ac_config_links"
22918 config_commands="$ac_config_commands"
22922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22924 \`$as_me' instantiates files and other configuration actions
22925 from templates according to the current configuration. Unless the files
22926 and actions are specified as TAGs, all are instantiated by default.
22928 Usage: $0 [OPTION]... [TAG]...
22930 -h, --help print this help, then exit
22931 -V, --version print version number and configuration settings, then exit
22932 --config print configuration, then exit
22933 -q, --quiet, --silent
22934 do not print progress messages
22935 -d, --debug don't remove temporary files
22936 --recheck update $as_me by reconfiguring in the same conditions
22937 --header=FILE[:TEMPLATE]
22938 instantiate the configuration header FILE
22940 Configuration headers:
22943 Configuration links:
22946 Configuration commands:
22949 Report bugs to <wine-devel@winehq.org>.
22950 Wine home page: <https://www.winehq.org>."
22953 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22954 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22956 ac_cs_config='$ac_cs_config_escaped'
22958 Wine config.status 8.17
22959 configured by $0, generated by GNU Autoconf 2.71,
22960 with options \\"\$ac_cs_config\\"
22962 Copyright (C) 2021 Free Software Foundation, Inc.
22963 This config.status script is free software; the Free Software Foundation
22964 gives unlimited permission to copy, distribute and modify it."
22968 test -n "\$AWK" || AWK=awk
22971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22972 # The default lists apply if the user does not specify any file.
22978 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22979 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22983 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22995 # Handling of the options.
22996 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22998 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22999 printf "%s\n" "$ac_cs_version"; exit ;;
23000 --config |
--confi |
--conf |
--con |
--co |
--c )
23001 printf "%s\n" "$ac_cs_config"; exit ;;
23002 --debug |
--debu |
--deb |
--de |
--d |
-d )
23004 --header |
--heade |
--head |
--hea )
23007 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23009 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23010 ac_need_defaults
=false
;;
23012 # Conflict between --help and --header
23013 as_fn_error $?
"ambiguous option: \`$1'
23014 Try \`$0 --help' for more information.";;
23015 --help |
--hel |
-h )
23016 printf "%s\n" "$ac_cs_usage"; exit ;;
23017 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23018 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23021 # This is an error.
23022 -*) as_fn_error $?
"unrecognized option: \`$1'
23023 Try \`$0 --help' for more information." ;;
23025 *) as_fn_append ac_config_targets
" $1"
23026 ac_need_defaults
=false
;;
23032 ac_configure_extra_args
=
23034 if $ac_cs_silent; then
23036 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23041 if \$ac_cs_recheck; then
23042 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23044 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23045 CONFIG_SHELL='$SHELL'
23046 export CONFIG_SHELL
23051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23056 ## Running $as_me. ##
23058 printf "%s\n" "$ac_log"
23062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23066 wine_fn_output_makedep ()
23068 as_dir=tools; as_fn_mkdir_p
23069 $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
23071 wine_fn_output_makefile ()
23073 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23074 # This Makefile understands the following targets:
23076 # all (default): build wine
23077 # clean: remove all intermediate files
23078 # distclean: also remove all files created by configure
23080 # testclean: clean test results to force running all tests again
23081 # install-lib: install libraries needed to run applications
23082 # install-dev: install development environment
23083 # install: install everything
23084 # uninstall: uninstall everything
23085 # ctags: create a tags file for vim and others.
23086 # etags: create a TAGS file for Emacs.
23089 PATH_SEPARATOR = $PATH_SEPARATOR
23090 PACKAGE_NAME = $PACKAGE_NAME
23091 PACKAGE_TARNAME = $PACKAGE_TARNAME
23092 PACKAGE_VERSION = $PACKAGE_VERSION
23093 PACKAGE_STRING = $PACKAGE_STRING
23094 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23095 PACKAGE_URL = $PACKAGE_URL
23096 exec_prefix = $exec_prefix
23098 program_transform_name = $program_transform_name
23101 libexecdir = $libexecdir
23102 datarootdir = $datarootdir
23104 sysconfdir = $sysconfdir
23105 sharedstatedir = $sharedstatedir
23106 localstatedir = $localstatedir
23107 runstatedir = $runstatedir
23108 includedir = $includedir
23109 oldincludedir = $oldincludedir
23117 localedir = $localedir
23124 build_alias = $build_alias
23125 host_alias = $host_alias
23126 target_alias = $target_alias
23127 system_dllpath = $system_dllpath
23129 build_cpu = $build_cpu
23130 build_vendor = $build_vendor
23131 build_os = $build_os
23133 host_cpu = $host_cpu
23134 host_vendor = $host_vendor
23140 SET_MAKE = $SET_MAKE
23144 CPPFLAGS = $CPPFLAGS
23145 ac_ct_CC = $ac_ct_CC
23149 CXXFLAGS = $CXXFLAGS
23150 ac_ct_CXX = $ac_ct_CXX
23153 TARGETFLAGS = $TARGETFLAGS
23154 toolsext = $toolsext
23155 HOST_ARCH = $HOST_ARCH
23156 aarch64_CC = $aarch64_CC
23157 aarch64_CFLAGS = $aarch64_CFLAGS
23158 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23159 aarch64_LDFLAGS = $aarch64_LDFLAGS
23160 aarch64_DEBUG = $aarch64_DEBUG
23161 aarch64_TARGET = $aarch64_TARGET
23162 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23163 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23165 arm_CFLAGS = $arm_CFLAGS
23166 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23167 arm_LDFLAGS = $arm_LDFLAGS
23168 arm_DEBUG = $arm_DEBUG
23169 arm_TARGET = $arm_TARGET
23170 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23171 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23173 i386_CFLAGS = $i386_CFLAGS
23174 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23175 i386_LDFLAGS = $i386_LDFLAGS
23176 i386_DEBUG = $i386_DEBUG
23177 i386_TARGET = $i386_TARGET
23178 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23179 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23180 x86_64_CC = $x86_64_CC
23181 x86_64_CFLAGS = $x86_64_CFLAGS
23182 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23183 x86_64_LDFLAGS = $x86_64_LDFLAGS
23184 x86_64_DEBUG = $x86_64_DEBUG
23185 x86_64_TARGET = $x86_64_TARGET
23186 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23187 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23188 toolsdir = $toolsdir
23190 RUNTESTFLAGS = $RUNTESTFLAGS
23195 ac_ct_AR = $ac_ct_AR
23201 LDCONFIG = $LDCONFIG
23203 PKG_CONFIG = $PKG_CONFIG
23204 FONTFORGE = $FONTFORGE
23208 I386_LIBS = $I386_LIBS
23209 OPENGL_LIBS = $OPENGL_LIBS
23210 DLLFLAGS = $DLLFLAGS
23211 LDDLLFLAGS = $LDDLLFLAGS
23212 LDEXECFLAGS = $LDEXECFLAGS
23213 EXTRACFLAGS = $EXTRACFLAGS
23214 UNIXDLLFLAGS = $UNIXDLLFLAGS
23215 UNIXLDFLAGS = $UNIXLDFLAGS
23216 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23217 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23218 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23219 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23225 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23226 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23227 CARBON_LIBS = $CARBON_LIBS
23228 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23229 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23230 IOKIT_LIBS = $IOKIT_LIBS
23231 METAL_LIBS = $METAL_LIBS
23232 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23233 CORESERVICES_LIBS = $CORESERVICES_LIBS
23234 APPKIT_LIBS = $APPKIT_LIBS
23235 SECURITY_LIBS = $SECURITY_LIBS
23236 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23237 COREAUDIO_LIBS = $COREAUDIO_LIBS
23238 OPENCL_LIBS = $OPENCL_LIBS
23240 OBJCFLAGS = $OBJCFLAGS
23241 ac_ct_OBJC = $ac_ct_OBJC
23242 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23243 PE_ARCHS = $PE_ARCHS
23244 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23245 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23246 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23247 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23248 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23249 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23250 GSM_PE_LIBS = $GSM_PE_LIBS
23251 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23252 JPEG_PE_LIBS = $JPEG_PE_LIBS
23253 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23254 JXR_PE_LIBS = $JXR_PE_LIBS
23255 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23256 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23257 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23258 LDAP_PE_LIBS = $LDAP_PE_LIBS
23259 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23260 MPG123_PE_LIBS = $MPG123_PE_LIBS
23261 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23262 MUSL_PE_LIBS = $MUSL_PE_LIBS
23263 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23264 PNG_PE_LIBS = $PNG_PE_LIBS
23265 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23266 TIFF_PE_LIBS = $TIFF_PE_LIBS
23267 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23268 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23269 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23270 XML2_PE_LIBS = $XML2_PE_LIBS
23271 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23272 XSLT_PE_LIBS = $XSLT_PE_LIBS
23273 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23274 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23275 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23276 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23277 PTHREAD_LIBS = $PTHREAD_LIBS
23280 X_CFLAGS = $X_CFLAGS
23281 X_PRE_LIBS = $X_PRE_LIBS
23283 X_EXTRA_LIBS = $X_EXTRA_LIBS
23284 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23285 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23286 WAYLAND_SCANNER = $WAYLAND_SCANNER
23287 PCAP_LIBS = $PCAP_LIBS
23288 PCSCLITE_LIBS = $PCSCLITE_LIBS
23289 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23290 INOTIFY_LIBS = $INOTIFY_LIBS
23291 DBUS_CFLAGS = $DBUS_CFLAGS
23292 DBUS_LIBS = $DBUS_LIBS
23293 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23294 GNUTLS_LIBS = $GNUTLS_LIBS
23295 SANE_CFLAGS = $SANE_CFLAGS
23296 SANE_LIBS = $SANE_LIBS
23297 USB_CFLAGS = $USB_CFLAGS
23298 USB_LIBS = $USB_LIBS
23299 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23300 GPHOTO2_LIBS = $GPHOTO2_LIBS
23301 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23302 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23303 RESOLV_LIBS = $RESOLV_LIBS
23304 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23305 FREETYPE_LIBS = $FREETYPE_LIBS
23306 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23307 PULSE_CFLAGS = $PULSE_CFLAGS
23308 PULSE_LIBS = $PULSE_LIBS
23309 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23310 GSTREAMER_LIBS = $GSTREAMER_LIBS
23311 ALSA_LIBS = $ALSA_LIBS
23312 OSS4_CFLAGS = $OSS4_CFLAGS
23313 OSS4_LIBS = $OSS4_LIBS
23314 UDEV_CFLAGS = $UDEV_CFLAGS
23315 UDEV_LIBS = $UDEV_LIBS
23316 UNWIND_CFLAGS = $UNWIND_CFLAGS
23317 UNWIND_LIBS = $UNWIND_LIBS
23318 SDL2_CFLAGS = $SDL2_CFLAGS
23319 SDL2_LIBS = $SDL2_LIBS
23320 CAPI20_CFLAGS = $CAPI20_CFLAGS
23321 CAPI20_LIBS = $CAPI20_LIBS
23322 CUPS_CFLAGS = $CUPS_CFLAGS
23323 CUPS_LIBS = $CUPS_LIBS
23324 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23325 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23326 KRB5_CFLAGS = $KRB5_CFLAGS
23327 KRB5_LIBS = $KRB5_LIBS
23328 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23329 GSSAPI_LIBS = $GSSAPI_LIBS
23330 PROCSTAT_LIBS = $PROCSTAT_LIBS
23331 NETAPI_CFLAGS = $NETAPI_CFLAGS
23332 NETAPI_LIBS = $NETAPI_LIBS
23333 MSVCRTFLAGS = $MSVCRTFLAGS
23334 DELAYLOADFLAG = $DELAYLOADFLAG
23335 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23337 TAGSFLAGS = $TAGSFLAGS
23339 LTLIBOBJS = $LTLIBOBJS
23343 as_fn_error $? "could not create Makefile" "$LINENO" 5
23348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23350 # Handling of arguments.
23351 for ac_config_target
in $ac_config_targets
23353 case $ac_config_target in
23354 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23355 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23356 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23357 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23358 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23359 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23361 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23366 # If the user did not use the arguments to specify the items to instantiate,
23367 # then the envvar interface is used. Set only those that are not.
23368 # We use the long form for the default assignment because of an extremely
23369 # bizarre bug on SunOS 4.1.3.
23370 if $ac_need_defaults; then
23371 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23372 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23373 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23376 # Have a temporary directory for convenience. Make it in the build tree
23377 # simply because there is no reason against having it here, and in addition,
23378 # creating and moving files from /tmp can sometimes cause problems.
23379 # Hook for its removal unless debugging.
23380 # Note that there is a small window in which the directory will not be cleaned:
23381 # after its creation but before its name has been assigned to `$tmp'.
23385 trap 'exit_status=$?
23386 : "${ac_tmp:=$tmp}"
23387 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23389 trap 'as_fn_exit 1' 1 2 13 15
23391 # Create a (secure) tmp directory for tmp files.
23394 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23398 tmp
=.
/conf$$
-$RANDOM
23399 (umask 077 && mkdir
"$tmp")
23400 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23403 # Set up the scripts for CONFIG_HEADERS section.
23404 # No need to generate them if there are no CONFIG_HEADERS.
23405 # This happens for instance with `./config.status Makefile'.
23406 if test -n "$CONFIG_HEADERS"; then
23407 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23411 # Transform confdefs.h into an awk script `defines.awk', embedded as
23412 # here-document in config.status, that substitutes the proper values into
23413 # config.h.in to produce config.h.
23415 # Create a delimiter string that does not exist in confdefs.h, to ease
23416 # handling of long lines.
23418 for ac_last_try
in false false
:; do
23419 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23420 if test -z "$ac_tt"; then
23422 elif $ac_last_try; then
23423 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23425 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23429 # For the awk script, D is an array of macro values keyed by name,
23430 # likewise P contains macro parameters if any. Preserve backslash
23431 # newline sequences.
23433 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23435 s/.\{148\}/&'"$ac_delim"'/g
23438 s/^[ ]*#[ ]*define[ ][ ]*/ /
23445 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23451 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23452 D["\1"]=" \3\\\\\\n"\\/p
23454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23459 s/.\{148\}/&'"$ac_delim"'/g
23464 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23467 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23469 ' <confdefs.h |
sed '
23470 s/'"$ac_delim"'/"\\\
23471 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23474 for (key in D) D_is_set[key] = 1
23477 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23479 split(line, arg, " ")
23480 if (arg[1] == "#") {
23484 defundef = substr(arg[1], 2)
23487 split(mac1, mac2, "(") #)
23489 prefix = substr(line, 1, index(line, defundef) - 1)
23490 if (D_is_set[macro]) {
23491 # Preserve the white space surrounding the "#".
23492 print prefix "define", macro P[macro] D[macro]
23495 # Replace #undef with comments. This is necessary, for example,
23496 # in the case of _POSIX_SOURCE, which is predefined and required
23497 # on some systems where configure will not decide to define it.
23498 if (defundef == "undef") {
23499 print "/*", prefix defundef, macro, "*/"
23507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23508 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23509 fi # test -n "$CONFIG_HEADERS"
23512 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23517 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23519 case $ac_mode$ac_tag in
23521 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23522 :[FH
]-) ac_tag
=-:-;;
23523 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23540 -) ac_f
="$ac_tmp/stdin";;
23541 *) # Look for the file first in the build tree, then in the source tree
23542 # (if the path is not absolute). The absolute path cannot be DOS-style,
23543 # because $ac_f cannot contain `:'.
23547 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23549 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23551 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23552 as_fn_append ac_file_inputs
" '$ac_f'"
23555 # Let's still pretend it is `configure' which instantiates (i.e., don't
23556 # use $as_me), people would be surprised to read:
23557 # /* config.h. Generated by config.status. */
23558 configure_input
='Generated from '`
23559 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23561 if test x
"$ac_file" != x-
; then
23562 configure_input
="$ac_file. $configure_input"
23563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23564 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23566 # Neutralize special characters interpreted by sed in replacement strings.
23567 case $configure_input in #(
23568 *\
&* |
*\|
* |
*\\* )
23569 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23570 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23571 *) ac_sed_conf_input
=$configure_input;;
23575 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23576 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23581 ac_dir
=`$as_dirname -- "$ac_file" ||
23582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23583 X"$ac_file" : 'X\(//\)[^/]' \| \
23584 X"$ac_file" : 'X\(//\)$' \| \
23585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23586 printf "%s\n" X"$ac_file" |
23587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23591 /^X\(\/\/\)[^/].*/{
23604 as_dir
="$ac_dir"; as_fn_mkdir_p
23608 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23610 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23611 # A ".." for each directory in $ac_dir_suffix.
23612 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23613 case $ac_top_builddir_sub in
23614 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23615 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23618 ac_abs_top_builddir
=$ac_pwd
23619 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23620 # for backward compatibility:
23621 ac_top_builddir
=$ac_top_build_prefix
23624 .
) # We are building in place.
23626 ac_top_srcdir
=$ac_top_builddir_sub
23627 ac_abs_top_srcdir
=$ac_pwd ;;
23628 [\\/]* | ?
:[\\/]* ) # Absolute name.
23629 ac_srcdir
=$srcdir$ac_dir_suffix;
23630 ac_top_srcdir
=$srcdir
23631 ac_abs_top_srcdir
=$srcdir ;;
23632 *) # Relative name.
23633 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23634 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23635 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23637 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23646 if test x
"$ac_file" != x-
; then
23648 printf "%s\n" "/* $configure_input */" >&1 \
23649 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23650 } >"$ac_tmp/config.h" \
23651 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23652 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23654 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23657 mv "$ac_tmp/config.h" "$ac_file" \
23658 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23661 printf "%s\n" "/* $configure_input */" >&1 \
23662 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23663 || as_fn_error $?
"could not create -" "$LINENO" 5
23671 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23674 # Prefer the file from the source tree if names are identical.
23675 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23676 ac_source
=$srcdir/$ac_source
23679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23680 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23682 if test ! -r "$ac_source"; then
23683 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23687 # Try a relative symlink, then a hard link, then a copy.
23689 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23690 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23692 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23693 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23694 cp -p "$ac_source" "$ac_file" ||
23695 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23698 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23699 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23704 case $ac_file$ac_mode in
23705 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23706 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23707 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23715 ac_clean_files
=$ac_clean_files_save
23717 test $ac_write_fail = 0 ||
23718 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23721 # configure is writing to config.log, and then calls config.status.
23722 # config.status does its own redirection, appending to config.log.
23723 # Unfortunately, on DOS this fails, as config.log is still kept open
23724 # by configure, so config.status won't be able to write to it; its
23725 # output is simply discarded. So we exec the FD to /dev/null,
23726 # effectively closing config.log, so it can be properly (re)opened and
23727 # appended to by config.status. When coming back to configure, we
23728 # need to make the FD available again.
23729 if test "$no_create" != yes; then
23731 ac_config_status_args
=
23732 test "$silent" = yes &&
23733 ac_config_status_args
="$ac_config_status_args --quiet"
23735 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23737 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23738 # would make configure fail if this is the last instruction.
23739 $ac_cs_success || as_fn_exit
1
23741 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23743 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23747 if test "$no_create" = "yes"
23753 if test "x$wine_notices" != x
; then
23756 for msg
in $wine_notices; do
23762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23763 printf "%s\n" "$as_me: $msg" >&6;}
23768 for msg
in $wine_warnings; do
23775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23776 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23782 $as_me: Finished. Do '${ac_make}' to compile Wine.