2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.11.
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.11'
615 PACKAGE_STRING
='Wine 8.11'
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
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1094 enable_directmanipulation
1131 enable_explorerframe
1147 enable_graphicscapture
1190 enable_light_msstyles
1205 enable_mfmediaengine
1270 enable_msvcp140_atomic_wait
1336 enable_photometadatahandler
1413 enable_threadpoolwinrt
1416 enable_twinapi_appcore
1420 enable_uiautomationcore
1440 enable_vcruntime140_1
1458 enable_windows_devices_bluetooth
1459 enable_windows_devices_enumeration
1460 enable_windows_gaming_input
1461 enable_windows_gaming_ui_gamebar
1462 enable_windows_globalization
1463 enable_windows_media_devices
1464 enable_windows_media_speech
1465 enable_windows_media
1466 enable_windows_networking
1467 enable_windows_perception_stub
1468 enable_windows_system_profile_systemmanufacturers
1470 enable_windowscodecs
1471 enable_windowscodecsext
1473 enable_wineandroid_drv
1475 enable_winecoreaudio_drv
1478 enable_winegstreamer
1484 enable_winepulse_drv
1487 enable_winewayland_drv
1489 enable_winexinput_sys
1535 enable_xactengine2_0
1536 enable_xactengine2_4
1537 enable_xactengine2_7
1538 enable_xactengine2_9
1539 enable_xactengine3_0
1540 enable_xactengine3_1
1541 enable_xactengine3_2
1542 enable_xactengine3_3
1543 enable_xactengine3_4
1544 enable_xactengine3_5
1545 enable_xactengine3_6
1546 enable_xactengine3_7
1595 enable_wmcodecdspuuid
1604 enable_aspnet_regiis
1651 enable_presentationfontcache
1666 enable_servicemodelreg
1692 enable_winemenubuilder
1694 enable_winemsibuilder
1719 ac_precious_vars
='build_alias
1764 WAYLAND_CLIENT_CFLAGS
1806 # Initialize some variables set by options.
1808 ac_init_version
=false
1809 ac_unrecognized_opts
=
1810 ac_unrecognized_sep
=
1811 # The variables have the same names as the options, with
1812 # dashes changed to underlines.
1813 cache_file
=/dev
/null
1820 program_transform_name
=s
,x
,x
,
1828 # Installation directory options.
1829 # These are left unexpanded so users can "make install exec_prefix=/foo"
1830 # and all the variables that are supposed to be based on exec_prefix
1831 # by default will actually change.
1832 # Use braces instead of parens because sh, perl, etc. also accept them.
1833 # (The list follows the same order as the GNU Coding Standards.)
1834 bindir
='${exec_prefix}/bin'
1835 sbindir
='${exec_prefix}/sbin'
1836 libexecdir
='${exec_prefix}/libexec'
1837 datarootdir
='${prefix}/share'
1838 datadir
='${datarootdir}'
1839 sysconfdir
='${prefix}/etc'
1840 sharedstatedir
='${prefix}/com'
1841 localstatedir
='${prefix}/var'
1842 runstatedir
='${localstatedir}/run'
1843 includedir
='${prefix}/include'
1844 oldincludedir
='/usr/include'
1845 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1846 infodir
='${datarootdir}/info'
1851 libdir
='${exec_prefix}/lib'
1852 localedir
='${datarootdir}/locale'
1853 mandir
='${datarootdir}/man'
1859 # If the previous option needs an argument, assign it.
1860 if test -n "$ac_prev"; then
1861 eval $ac_prev=\
$ac_option
1867 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1872 case $ac_dashdash$ac_option in
1876 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1878 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1879 bindir
=$ac_optarg ;;
1881 -build |
--build |
--buil |
--bui |
--bu)
1882 ac_prev
=build_alias
;;
1883 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1884 build_alias
=$ac_optarg ;;
1886 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1887 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1888 ac_prev
=cache_file
;;
1889 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1890 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1891 cache_file
=$ac_optarg ;;
1893 --config-cache |
-C)
1894 cache_file
=config.cache
;;
1896 -datadir |
--datadir |
--datadi |
--datad)
1898 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1899 datadir
=$ac_optarg ;;
1901 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1902 |
--dataroo |
--dataro |
--datar)
1903 ac_prev
=datarootdir
;;
1904 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1905 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1906 datarootdir
=$ac_optarg ;;
1908 -disable-* |
--disable-*)
1909 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1910 # Reject names that are not valid shell variable names.
1911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1912 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1913 ac_useropt_orig
=$ac_useropt
1914 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1915 case $ac_user_opts in
1917 "enable_
$ac_useropt"
1919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1920 ac_unrecognized_sep
=', ';;
1922 eval enable_
$ac_useropt=no
;;
1924 -docdir |
--docdir |
--docdi |
--doc |
--do)
1926 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1927 docdir
=$ac_optarg ;;
1929 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1931 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1932 dvidir
=$ac_optarg ;;
1934 -enable-* |
--enable-*)
1935 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1936 # Reject names that are not valid shell variable names.
1937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1938 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1939 ac_useropt_orig
=$ac_useropt
1940 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1941 case $ac_user_opts in
1943 "enable_
$ac_useropt"
1945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1946 ac_unrecognized_sep
=', ';;
1948 eval enable_
$ac_useropt=\
$ac_optarg ;;
1950 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1951 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1952 |
--exec |
--exe |
--ex)
1953 ac_prev
=exec_prefix
;;
1954 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1955 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1956 |
--exec=* |
--exe=* |
--ex=*)
1957 exec_prefix
=$ac_optarg ;;
1959 -gas |
--gas |
--ga |
--g)
1960 # Obsolete; use --with-gas.
1963 -help |
--help |
--hel |
--he |
-h)
1964 ac_init_help
=long
;;
1965 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1966 ac_init_help
=recursive
;;
1967 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1968 ac_init_help
=short
;;
1970 -host |
--host |
--hos |
--ho)
1971 ac_prev
=host_alias
;;
1972 -host=* |
--host=* |
--hos=* |
--ho=*)
1973 host_alias
=$ac_optarg ;;
1975 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1977 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1979 htmldir
=$ac_optarg ;;
1981 -includedir |
--includedir |
--includedi |
--included |
--include \
1982 |
--includ |
--inclu |
--incl |
--inc)
1983 ac_prev
=includedir
;;
1984 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1985 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1986 includedir
=$ac_optarg ;;
1988 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1990 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1991 infodir
=$ac_optarg ;;
1993 -libdir |
--libdir |
--libdi |
--libd)
1995 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1996 libdir
=$ac_optarg ;;
1998 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1999 |
--libexe |
--libex |
--libe)
2000 ac_prev
=libexecdir
;;
2001 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2002 |
--libexe=* |
--libex=* |
--libe=*)
2003 libexecdir
=$ac_optarg ;;
2005 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2006 ac_prev
=localedir
;;
2007 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2008 localedir
=$ac_optarg ;;
2010 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2011 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2012 ac_prev
=localstatedir
;;
2013 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2014 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2015 localstatedir
=$ac_optarg ;;
2017 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2019 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2020 mandir
=$ac_optarg ;;
2022 -nfp |
--nfp |
--nf)
2023 # Obsolete; use --without-fp.
2026 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2027 |
--no-cr |
--no-c |
-n)
2030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2034 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2035 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2036 |
--oldin |
--oldi |
--old |
--ol |
--o)
2037 ac_prev
=oldincludedir
;;
2038 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2039 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2040 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2041 oldincludedir
=$ac_optarg ;;
2043 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2045 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2046 prefix
=$ac_optarg ;;
2048 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2049 |
--program-pre |
--program-pr |
--program-p)
2050 ac_prev
=program_prefix
;;
2051 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2052 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2053 program_prefix
=$ac_optarg ;;
2055 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2056 |
--program-suf |
--program-su |
--program-s)
2057 ac_prev
=program_suffix
;;
2058 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2059 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2060 program_suffix
=$ac_optarg ;;
2062 -program-transform-name |
--program-transform-name \
2063 |
--program-transform-nam |
--program-transform-na \
2064 |
--program-transform-n |
--program-transform- \
2065 |
--program-transform |
--program-transfor \
2066 |
--program-transfo |
--program-transf \
2067 |
--program-trans |
--program-tran \
2068 |
--progr-tra |
--program-tr |
--program-t)
2069 ac_prev
=program_transform_name
;;
2070 -program-transform-name=* |
--program-transform-name=* \
2071 |
--program-transform-nam=* |
--program-transform-na=* \
2072 |
--program-transform-n=* |
--program-transform-=* \
2073 |
--program-transform=* |
--program-transfor=* \
2074 |
--program-transfo=* |
--program-transf=* \
2075 |
--program-trans=* |
--program-tran=* \
2076 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2077 program_transform_name
=$ac_optarg ;;
2079 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2081 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2082 pdfdir
=$ac_optarg ;;
2084 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2086 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2090 |
-silent |
--silent |
--silen |
--sile |
--sil)
2093 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2094 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2095 |
--run |
--ru |
--r)
2096 ac_prev
=runstatedir
;;
2097 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2098 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2099 |
--run=* |
--ru=* |
--r=*)
2100 runstatedir
=$ac_optarg ;;
2102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2106 sbindir
=$ac_optarg ;;
2108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2112 ac_prev
=sharedstatedir
;;
2113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2117 sharedstatedir
=$ac_optarg ;;
2119 -site |
--site |
--sit)
2121 -site=* |
--site=* |
--sit=*)
2124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2127 srcdir
=$ac_optarg ;;
2129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2131 ac_prev
=sysconfdir
;;
2132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2134 sysconfdir
=$ac_optarg ;;
2136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2137 ac_prev
=target_alias
;;
2138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2139 target_alias
=$ac_optarg ;;
2141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2144 -version |
--version |
--versio |
--versi |
--vers |
-V)
2145 ac_init_version
=: ;;
2148 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2149 # Reject names that are not valid shell variable names.
2150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2151 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2152 ac_useropt_orig
=$ac_useropt
2153 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2154 case $ac_user_opts in
2158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2159 ac_unrecognized_sep
=', ';;
2161 eval with_
$ac_useropt=\
$ac_optarg ;;
2163 -without-* |
--without-*)
2164 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2165 # Reject names that are not valid shell variable names.
2166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2167 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2168 ac_useropt_orig
=$ac_useropt
2169 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2170 case $ac_user_opts in
2174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2175 ac_unrecognized_sep
=', ';;
2177 eval with_
$ac_useropt=no
;;
2180 # Obsolete; use --with-x.
2183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2185 ac_prev
=x_includes
;;
2186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2188 x_includes
=$ac_optarg ;;
2190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2192 ac_prev
=x_libraries
;;
2193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2195 x_libraries
=$ac_optarg ;;
2197 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2198 Try \`$0 --help' for more information"
2202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2203 # Reject names that are not valid shell variable names.
2204 case $ac_envvar in #(
2205 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2206 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2208 eval $ac_envvar=\
$ac_optarg
2209 export $ac_envvar ;;
2212 # FIXME: should be removed in autoconf 3.0.
2213 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2215 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2222 if test -n "$ac_prev"; then
2223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2224 as_fn_error $?
"missing argument to $ac_option"
2227 if test -n "$ac_unrecognized_opts"; then
2228 case $enable_option_checking in
2230 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2231 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2235 # Check all directory arguments for consistency.
2236 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2237 datadir sysconfdir sharedstatedir localstatedir includedir \
2238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2239 libdir localedir mandir runstatedir
2241 eval ac_val
=\$
$ac_var
2242 # Remove trailing slashes.
2245 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2246 eval $ac_var=\
$ac_val;;
2248 # Be sure to have absolute directory names.
2250 [\\/$
]* | ?
:[\\/]* ) continue;;
2251 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2253 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2256 # There might be people who depend on the old broken behavior: `$host'
2257 # used to hold the argument of --host etc.
2258 # FIXME: To remove some day.
2261 target
=$target_alias
2263 # FIXME: To remove some day.
2264 if test "x$host_alias" != x
; then
2265 if test "x$build_alias" = x
; then
2266 cross_compiling
=maybe
2267 elif test "x$build_alias" != "x$host_alias"; then
2273 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2275 test "$silent" = yes && exec 6>/dev
/null
2278 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2279 ac_ls_di
=`ls -di .` &&
2280 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2281 as_fn_error $?
"working directory cannot be determined"
2282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2283 as_fn_error $?
"pwd does not report name of working directory"
2286 # Find the source files, if location was not specified.
2287 if test -z "$srcdir"; then
2288 ac_srcdir_defaulted
=yes
2289 # Try the directory containing this script, then the parent directory.
2290 ac_confdir
=`$as_dirname -- "$as_myself" ||
2291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2292 X"$as_myself" : 'X\(//\)[^/]' \| \
2293 X"$as_myself" : 'X\(//\)$' \| \
2294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2295 printf "%s\n" X"$as_myself" |
2296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2314 if test ! -r "$srcdir/$ac_unique_file"; then
2318 ac_srcdir_defaulted
=no
2320 if test ! -r "$srcdir/$ac_unique_file"; then
2321 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2322 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2324 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2328 # When building in place, set srcdir=.
2329 if test "$ac_abs_confdir" = "$ac_pwd"; then
2332 # Remove unnecessary trailing slashes from srcdir.
2333 # Double slashes in file names in object file debugging info
2334 # mess up M-x gdb in Emacs.
2336 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2338 for ac_var
in $ac_precious_vars; do
2339 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2340 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2341 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2342 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2346 # Report the --help message.
2348 if test "$ac_init_help" = "long"; then
2349 # Omit some internal or obsolete options to make the list less imposing.
2350 # This message is too long to be a string in the A/UX 3.1 sh.
2352 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2354 Usage: $0 [OPTION]... [VAR=VALUE]...
2356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2357 VAR=VALUE. See below for descriptions of some of the useful variables.
2359 Defaults for the options are specified in brackets.
2362 -h, --help display this help and exit
2363 --help=short display options specific to this package
2364 --help=recursive display the short help of all the included packages
2365 -V, --version display version information and exit
2366 -q, --quiet, --silent do not print \`checking ...' messages
2367 --cache-file=FILE cache test results in FILE [disabled]
2368 -C, --config-cache alias for \`--cache-file=config.cache'
2369 -n, --no-create do not create output files
2370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2372 Installation directories:
2373 --prefix=PREFIX install architecture-independent files in PREFIX
2374 [$ac_default_prefix]
2375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2378 By default, \`make install' will install all the files in
2379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2381 for instance \`--prefix=\$HOME'.
2383 For better control, use the options below.
2385 Fine tuning of the installation directories:
2386 --bindir=DIR user executables [EPREFIX/bin]
2387 --sbindir=DIR system admin executables [EPREFIX/sbin]
2388 --libexecdir=DIR program executables [EPREFIX/libexec]
2389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2392 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2393 --libdir=DIR object code libraries [EPREFIX/lib]
2394 --includedir=DIR C header files [PREFIX/include]
2395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2398 --infodir=DIR info documentation [DATAROOTDIR/info]
2399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2400 --mandir=DIR man documentation [DATAROOTDIR/man]
2401 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2402 --htmldir=DIR html documentation [DOCDIR]
2403 --dvidir=DIR dvi documentation [DOCDIR]
2404 --pdfdir=DIR pdf documentation [DOCDIR]
2405 --psdir=DIR ps documentation [DOCDIR]
2411 --x-includes=DIR X include files are
in DIR
2412 --x-libraries=DIR X library files are
in DIR
2415 --build=BUILD configure
for building on BUILD
[guessed
]
2416 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2420 if test -n "$ac_init_help"; then
2421 case $ac_init_help in
2422 short | recursive
) echo "Configuration of Wine 8.11:";;
2427 --disable-option-checking ignore unrecognized
--enable/--with options
2428 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2429 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2430 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2431 enable multiple architectures
for PE compilation
2432 --disable-win16 do not include Win16 support
2433 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2435 --disable-tests do not build the regression tests
2436 --enable-build-id include .buildid section in output objects
2437 --enable-maintainer-mode
2438 enable maintainer-specific build rules
2439 --enable-silent-rules use silent build rules (override: "make V=1")
2440 --enable-werror treat compilation warnings as errors
2441 --disable-largefile omit support for large files
2444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2446 --without-alsa do not use the Alsa sound support
2447 --without-capi do not use CAPI (ISDN support)
2448 --without-coreaudio do not use the CoreAudio sound support
2449 --without-cups do not use CUPS
2450 --without-dbus do not use DBus (dynamic device support)
2451 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2452 --without-fontconfig do not use fontconfig
2453 --without-freetype do not use the FreeType library
2454 --without-gettext do not use gettext
2455 --with-gettextpo use the GetTextPO library to rebuild po files
2456 --without-gphoto do not use gphoto (Digital Camera support)
2457 --without-gnutls do not use GnuTLS (schannel support)
2458 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2459 --without-gstreamer do not use GStreamer (codecs support)
2460 --without-inotify do not use inotify (filesystem change notifications)
2461 --without-krb5 do not use krb5 (Kerberos)
2462 --without-mingw do not use the MinGW cross-compiler
2463 --without-netapi do not use the Samba NetAPI library
2464 --without-opencl do not use OpenCL
2465 --without-opengl do not use OpenGL
2466 --without-osmesa do not use the OSMesa library
2467 --without-oss do not use the OSS sound support
2468 --without-pcap do not use the Packet Capture library
2469 --without-pcsclite do not use PCSC lite
2470 --without-pthread do not use the pthread library
2471 --without-pulse do not use PulseAudio sound support
2472 --without-sane do not use SANE (scanner support)
2473 --without-sdl do not use SDL
2474 --without-udev do not use udev (plug and play support)
2475 --without-unwind do not use the libunwind library (exception
2477 --without-usb do not use the libusb library
2478 --without-v4l2 do not use v4l2 (video capture)
2479 --without-vulkan do not use Vulkan
2480 --without-wayland do not build the Wayland driver
2481 --without-xcomposite do not use the Xcomposite extension
2482 --without-xcursor do not use the Xcursor extension
2483 --without-xfixes do not use Xfixes for clipboard change notifications
2484 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2485 --without-xinput do not use the Xinput extension
2486 --without-xinput2 do not use the Xinput 2 extension
2487 --without-xrandr do not use Xrandr (multi-monitor support)
2488 --without-xrender do not use the Xrender extension
2489 --without-xshape do not use the Xshape extension
2490 --without-xshm do not use XShm (shared memory extension)
2491 --without-xxf86vm do not use XFree video mode extension
2492 --with-system-dllpath=PATH
2493 load external PE dependencies from colon-separated
2495 --with-wine-tools=DIR use Wine tools from directory DIR
2496 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2497 --with-x use the X Window System
2499 Some influential environment variables:
2500 CC C compiler command
2501 CFLAGS C compiler flags
2502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2503 nonstandard directory <lib dir>
2504 LIBS libraries to pass to the linker, e.g. -l<library>
2505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2506 you have headers in a nonstandard directory <include dir>
2507 CXX C++ compiler command
2508 CXXFLAGS C++ compiler flags
2509 OBJC Objective C compiler command
2510 OBJCFLAGS Objective C compiler flags
2512 C compiler flags for the PE faudio, overriding the bundled
2515 Linker flags for the PE faudio, overriding the bundled version
2517 C compiler flags for the PE gsm, overriding the bundled version
2518 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2520 C compiler flags for the PE jpeg, overriding the bundled version
2522 Linker flags for the PE jpeg, overriding the bundled version
2524 C compiler flags for the PE jxr, overriding the bundled version
2525 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2527 C compiler flags for the PE lcms2, overriding the bundled
2530 Linker flags for the PE lcms2, overriding the bundled version
2532 C compiler flags for the PE ldap, overriding the bundled version
2534 Linker flags for the PE ldap, overriding the bundled version
2536 C compiler flags for the PE mpg123, overriding the bundled
2539 Linker flags for the PE mpg123, overriding the bundled version
2541 C compiler flags for the PE musl, overriding the bundled version
2543 Linker flags for the PE musl, overriding the bundled version
2545 C compiler flags for the PE png, overriding the bundled version
2546 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2548 C compiler flags for the PE tiff, overriding the bundled version
2550 Linker flags for the PE tiff, overriding the bundled version
2552 C compiler flags for the PE vkd3d, overriding the bundled
2555 Linker flags for the PE vkd3d, overriding the bundled version
2557 C compiler flags for the PE xml2, overriding the bundled version
2559 Linker flags for the PE xml2, overriding the bundled version
2561 C compiler flags for the PE xslt, overriding the bundled version
2563 Linker flags for the PE xslt, overriding the bundled version
2565 C compiler flags for the PE zlib, overriding the bundled version
2567 Linker flags for the PE zlib, overriding the bundled version
2569 C compiler flags for the PE zydis, overriding the bundled
2572 Linker flags for the PE zydis, overriding the bundled version
2573 XMKMF Path to xmkmf, Makefile generator for X Window System
2575 WAYLAND_CLIENT_CFLAGS
2576 C compiler flags for wayland-client, overriding pkg-config
2578 Linker flags for wayland-client, overriding pkg-config
2580 C compiler flags for libinotify, overriding pkg-config
2582 Linker flags for libinotify, overriding pkg-config
2583 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2584 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2586 C compiler flags for gnutls, overriding pkg-config
2587 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2588 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2589 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2590 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2591 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2593 C compiler flags for libgphoto2, overriding pkg-config
2595 Linker flags for libgphoto2, overriding pkg-config
2597 C compiler flags for libgphoto2_port, overriding pkg-config
2599 Linker flags for libgphoto2_port, overriding pkg-config
2601 C compiler flags for freetype2, overriding pkg-config
2603 Linker flags for freetype2, overriding pkg-config
2605 C compiler flags for libpulse, overriding pkg-config
2606 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2608 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2611 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2613 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2614 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2616 C compiler flags for libunwind, overriding pkg-config
2617 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2618 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2619 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2621 C compiler flags for capi20, overriding pkg-config
2622 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2623 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2624 CUPS_LIBS Linker flags for cups, overriding pkg-config
2626 C compiler flags for fontconfig, overriding pkg-config
2628 Linker flags for fontconfig, overriding pkg-config
2629 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2630 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2632 C compiler flags for krb5-gssapi, overriding pkg-config
2633 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2635 C compiler flags for netapi, overriding pkg-config
2636 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2638 Use these variables to override the choices made by `configure' or to
help
2639 it to
find libraries and programs with nonstandard names
/locations.
2641 Report bugs to
<wine-devel@winehq.org
>.
2642 Wine home page
: <https
://www.winehq.org
>.
2647 if test "$ac_init_help" = "recursive"; then
2648 # If there are subdirs, report their specific --help.
2649 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2650 test -d "$ac_dir" ||
2651 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2658 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2659 # A ".." for each directory in $ac_dir_suffix.
2660 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2661 case $ac_top_builddir_sub in
2662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2666 ac_abs_top_builddir
=$ac_pwd
2667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2668 # for backward compatibility:
2669 ac_top_builddir
=$ac_top_build_prefix
2672 .
) # We are building in place.
2674 ac_top_srcdir
=$ac_top_builddir_sub
2675 ac_abs_top_srcdir
=$ac_pwd ;;
2676 [\\/]* | ?
:[\\/]* ) # Absolute name.
2677 ac_srcdir
=$srcdir$ac_dir_suffix;
2678 ac_top_srcdir
=$srcdir
2679 ac_abs_top_srcdir
=$srcdir ;;
2681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2687 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2688 # Check for configure.gnu first; this name is used for a wrapper for
2689 # Metaconfig's "Configure" on case-insensitive file systems.
2690 if test -f "$ac_srcdir/configure.gnu"; then
2692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2693 elif test -f "$ac_srcdir/configure"; then
2695 $SHELL "$ac_srcdir/configure" --help=recursive
2697 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2699 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2703 test -n "$ac_init_help" && exit $ac_status
2704 if $ac_init_version; then
2707 generated by GNU Autoconf
2.71
2709 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2710 This configure
script is free software
; the Free Software Foundation
2711 gives unlimited permission to copy
, distribute and modify it.
2716 ## ------------------------ ##
2717 ## Autoconf initialization. ##
2718 ## ------------------------ ##
2720 # ac_fn_c_try_compile LINENO
2721 # --------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_compile
()
2725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2726 rm -f conftest.
$ac_objext conftest.beam
2727 if { { ac_try
="$ac_compile"
2729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status $ac_retval
2757 } # ac_fn_c_try_compile
2759 # ac_fn_cxx_try_compile LINENO
2760 # ----------------------------
2761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2762 ac_fn_cxx_try_compile ()
2764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765 rm -f conftest.$ac_objext conftest.beam
2766 if { { ac_try="$ac_compile"
2768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2769 *) ac_try_echo
=$ac_try;;
2771 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 printf "%s\n" "$ac_try_echo"; } >&5
2773 (eval "$ac_compile") 2>conftest.err
2775 if test -s conftest.err
; then
2776 grep -v '^ *+' conftest.err
>conftest.er1
2777 cat conftest.er1
>&5
2778 mv -f conftest.er1 conftest.err
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; } && {
2782 test -z "$ac_cxx_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.
$ac_objext
2788 printf "%s\n" "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status
$ac_retval
2796 } # ac_fn_cxx_try_compile
2798 # ac_fn_c_try_link LINENO
2799 # -----------------------
2800 # Try to link conftest.$ac_ext, and return whether this succeeded.
2803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2804 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2805 if { { ac_try
="$ac_link"
2807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>conftest.err
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest$ac_exeext && {
2824 test "$cross_compiling" = yes ||
2825 test -x conftest$ac_exeext
2830 printf "%s\n" "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2837 # interfere with the next link command; also delete a directory that is
2838 # left behind by Apple's compiler. We do this before executing the actions.
2839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 as_fn_set_status $ac_retval
2843 } # ac_fn_c_try_link
2845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2846 # -------------------------------------------------------
2847 # Tests whether HEADER exists and can be compiled using the include files in
2848 # INCLUDES, setting the cache variable VAR accordingly.
2849 ac_fn_c_check_header_compile ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2853 printf %s "checking for $2... " >&6; }
2854 if eval test \${$3+y}
2856 printf %s "(cached) " >&6
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2863 if ac_fn_c_try_compile "$LINENO"
2869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 printf "%s\n" "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_header_compile
2878 # ac_fn_objc_try_compile LINENO
2879 # -----------------------------
2880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_objc_try_compile ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext conftest.beam
2885 if { { ac_try="$ac_compile"
2887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2888 *) ac_try_echo
=$ac_try;;
2890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 printf "%s\n" "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>conftest.err
2894 if test -s conftest.err
; then
2895 grep -v '^ *+' conftest.err
>conftest.er1
2896 cat conftest.er1
>&5
2897 mv -f conftest.er1 conftest.err
2899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_objc_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.
$ac_objext
2907 printf "%s\n" "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.
$ac_ext >&5
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status
$ac_retval
2915 } # ac_fn_objc_try_compile
2917 # ac_fn_c_check_func LINENO FUNC VAR
2918 # ----------------------------------
2919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2920 ac_fn_c_check_func
()
2922 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 printf %s
"checking for $2... " >&6; }
2925 if eval test \
${$3+y}
2927 printf %s
"(cached) " >&6
2929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2931 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2933 #define $2 innocuous_$2
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $2 (); below. */
2941 /* Override any GCC internal prototype to avoid an error.
2942 Use char because int might match the return type of a GCC
2943 builtin and then its argument prototype would still apply. */
2948 /* The GNU C library defines this for functions which it implements
2949 to always fail with ENOSYS. Some functions are actually named
2950 something starting with __ and the normal name is an alias. */
2951 #if defined __stub_$2 || defined __stub___$2
2963 if ac_fn_c_try_link
"$LINENO"
2969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2970 conftest
$ac_exeext conftest.
$ac_ext
2973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 printf "%s\n" "$ac_res" >&6; }
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 } # ac_fn_c_check_func
2979 # ac_fn_c_try_cpp LINENO
2980 # ----------------------
2981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2985 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 printf "%s\n" "$ac_try_echo"; } >&5
2992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2994 if test -s conftest.err; then
2995 grep -v '^ *+' conftest.err >conftest.er1
2996 cat conftest.er1 >&5
2997 mv -f conftest.er1 conftest.err
2999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; } > conftest.i && {
3001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3007 printf "%s\n" "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 as_fn_set_status $ac_retval
3017 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3018 # ----------------------------------------------------
3019 # Tries to find if the field MEMBER exists in type AGGR, after including
3020 # INCLUDES, setting cache variable VAR accordingly.
3021 ac_fn_c_check_member ()
3023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3025 printf %s "checking for $2.$3... " >&6; }
3026 if eval test \${$4+y}
3028 printf %s "(cached) " >&6
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3043 if ac_fn_c_try_compile "$LINENO"
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3054 if (sizeof ac_aggr.$3)
3060 if ac_fn_c_try_compile "$LINENO"
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 printf "%s\n" "$ac_res" >&6; }
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075 } # ac_fn_c_check_member
3077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3078 # -------------------------------------------
3079 # Tests whether TYPE exists after having included INCLUDES, setting cache
3080 # variable VAR accordingly.
3081 ac_fn_c_check_type ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 printf %s "checking for $2... " >&6; }
3086 if eval test \${$3+y}
3088 printf %s "(cached) " >&6
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3117 if ac_fn_c_try_compile "$LINENO"
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3129 printf "%s\n" "$ac_res" >&6; }
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3132 } # ac_fn_c_check_type
3133 ac_configure_args_raw=
3138 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3140 as_fn_append ac_configure_args_raw " '$ac_arg'"
3143 case $ac_configure_args_raw in
3147 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3148 ac_unsafe_a="$ac_unsafe_z#~
"
3149 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3150 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3153 cat >config.log <<_ACEOF
3154 This file contains any messages produced by compilers while
3155 running configure, to aid debugging if configure makes a mistake.
3157 It was created by Wine $as_me 8.11, which was
3158 generated by GNU Autoconf 2.71. Invocation command line was
3160 $ $0$ac_configure_args_raw
3170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 case $as_dir in #(((
3196 *) as_dir=$as_dir/ ;;
3198 printf "%s
\n" "PATH
: $as_dir"
3214 # Keep a trace of the command line.
3215 # Strip out --no-create and --no-recursion so they do not pile up.
3216 # Strip out --silent because we don't want to record it for future runs.
3217 # Also quote any args containing shell meta-characters.
3218 # Make two passes to allow for proper duplicate-argument suppression.
3222 ac_must_keep_next=false
3228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3230 | -silent | --silent | --silen | --sile | --sil)
3233 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3236 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3238 as_fn_append ac_configure_args1 " '$ac_arg'"
3239 if test $ac_must_keep_next = true; then
3240 ac_must_keep_next=false # Got value, back to normal.
3243 *=* | --config-cache | -C | -disable-* | --disable-* \
3244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3246 | -with-* | --with-* | -without-* | --without-* | --x)
3247 case "$ac_configure_args0 " in
3248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3251 -* ) ac_must_keep_next=true ;;
3254 as_fn_append ac_configure_args " '$ac_arg'"
3259 { ac_configure_args0=; unset ac_configure_args0;}
3260 { ac_configure_args1=; unset ac_configure_args1;}
3262 # When interrupted or exit'd, cleanup temporary files, and complete
3263 # config.log. We remove comments because anyway the quotes in there
3264 # would cause problems or look ugly.
3265 # WARNING: Use '\'' to represent an apostrophe within the trap.
3266 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3267 trap 'exit_status=$?
3270 # Save into config.log some information that might help in debugging.
3274 printf "%s
\n" "## ---------------- ##
3275 ## Cache variables. ##
3276 ## ---------------- ##"
3278 # The following way of writing the cache mishandles newlines in values,
3280 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3281 eval ac_val
=\$
$ac_var
3285 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3286 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3289 _ | IFS | as_nl
) ;; #(
3290 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3291 *) { eval $ac_var=; unset $ac_var;} ;;
3296 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3297 *${as_nl}ac_space
=\
*)
3299 "s/'\''/'\''\\\\'\'''\''/g;
3300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3310 printf "%s\n" "## ----------------- ##
3311 ## Output variables. ##
3312 ## ----------------- ##"
3314 for ac_var
in $ac_subst_vars
3316 eval ac_val
=\$
$ac_var
3318 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3324 if test -n "$ac_subst_files"; then
3325 printf "%s\n" "## ------------------- ##
3326 ## File substitutions. ##
3327 ## ------------------- ##"
3329 for ac_var in $ac_subst_files
3331 eval ac_val=\$$ac_var
3333 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3335 printf "%s\n" "$ac_var='\''$ac_val'\''"
3340 if test -s confdefs.h
; then
3341 printf "%s\n" "## ----------- ##
3348 test "$ac_signal" != 0 &&
3349 printf "%s\n" "$as_me: caught signal $ac_signal"
3350 printf "%s\n" "$as_me: exit $exit_status"
3352 rm -f core
*.core core.conftest.
* &&
3353 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3356 for ac_signal in 1 2 13 15; do
3357 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3362 rm -f -r conftest* confdefs.h
3364 printf "%s\n" "/* confdefs.h */" > confdefs.h
3366 # Predefined preprocessor variables.
3368 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3381 # Let the site file select an alternate cache file if it wants to.
3382 # Prefer an explicitly selected file to automatically selected ones.
3383 if test -n "$CONFIG_SITE"; then
3384 ac_site_files="$CONFIG_SITE"
3385 elif test "x$prefix" != xNONE; then
3386 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3388 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3391 for ac_site_file in $ac_site_files
3393 case $ac_site_file in #(
3397 ac_site_file=./$ac_site_file ;;
3399 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3401 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3402 sed 's
/^
/|
/' "$ac_site_file" >&5
3404 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3406 as_fn_error $? "failed to load site script $ac_site_file
3407 See \`config.log
' for more details" "$LINENO" 5; }
3411 if test -r "$cache_file"; then
3412 # Some versions of bash will fail to source /dev/null (special files
3413 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3414 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3416 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3418 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3419 *) . "./$cache_file";;
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3424 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3428 # Test code for whether the C compiler supports C89 (global declarations)
3429 ac_c_conftest_c89_globals='
3430 /* Does the compiler advertise C89 conformance?
3431 Do not
test the value of __STDC__
, because some compilers
set it to
0
3432 while being otherwise adequately conformant.
*/
3433 #if !defined __STDC__
3434 # error "Compiler does not advertise C89 conformance"
3440 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3441 struct buf
{ int x
; };
3442 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3443 static char
*e
(p
, i
)
3449 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3454 s
= g
(p
, va_arg
(v
,int
));
3459 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3460 function prototypes and stuff
, but not \xHH hex character constants.
3461 These
do not provoke an error unfortunately
, instead are silently treated
3462 as an
"x". The following induces an error
, until -std is added to get
3463 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3464 array size
at least. It is necessary to
write \x00 == 0 to get something
3465 that is true only with
-std.
*/
3466 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3468 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3469 inside
strings and character constants.
*/
3470 #define FOO(x) '\''x'\''
3471 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3473 int
test (int i
, double x
);
3474 struct s1
{int
(*f
) (int a
);};
3475 struct s2
{int
(*f
) (double a
);};
3476 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3479 # Test code for whether the C compiler supports C89 (body of main).
3480 ac_c_conftest_c89_main='
3481 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3484 # Test code for whether the C compiler supports C99 (global declarations)
3485 ac_c_conftest_c99_globals='
3486 // Does the compiler advertise C99 conformance?
3487 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3488 # error "Compiler does not advertise C99 conformance"
3491 #include <stdbool.h>
3492 extern int puts
(const char
*);
3493 extern int
printf (const char
*, ...
);
3494 extern int dprintf
(int
, const char
*, ...
);
3495 extern void
*malloc
(size_t
);
3497 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3498 // dprintf is used instead of fprintf to avoid needing to
declare
3500 #define debug(...) dprintf (2, __VA_ARGS__)
3501 #define showlist(...) puts (#__VA_ARGS__)
3502 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3504 test_varargs_macros
(void
)
3509 debug
("X = %d\n", x
);
3510 showlist
(The first
, second
, and third items.
);
3511 report
(x
>y
, "x is %d but y is %d", x
, y
);
3514 // Check long long types.
3515 #define BIG64 18446744073709551615ull
3516 #define BIG32 4294967295ul
3517 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3519 #error "your preprocessor is broken"
3523 #error "your preprocessor is broken"
3525 static long long int bignum
= -9223372036854775807LL;
3526 static unsigned long long int ubignum
= BIG64
;
3528 struct incomplete_array
3536 const wchar_t
*name
;
3540 typedef const char
*ccp
;
3543 test_restrict
(ccp restrict text
)
3545 // See
if C
++-style comments work.
3546 // Iterate through items via the restricted pointer.
3547 // Also check
for declarations
in for loops.
3548 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3553 // Check varargs and va_copy.
3555 test_varargs
(const char
*format
, ...
)
3558 va_start
(args
, format
);
3560 va_copy
(args_copy
, args
);
3562 const char
*str
= "";
3570 case '\''s
'\'': // string
3571 str
= va_arg
(args_copy
, const char
*);
3573 case '\''d
'\'': // int
3574 number
= va_arg
(args_copy
, int
);
3576 case '\''f
'\'': // float
3577 fnumber
= va_arg
(args_copy
, double
);
3586 return *str
&& number
&& fnumber
;
3590 # Test code for whether the C compiler supports C99 (body of main).
3591 ac_c_conftest_c99_main='
3593 _Bool success
= false
;
3594 success |
= (argc
!= 0);
3597 if (test_restrict
("String literal") == 0)
3599 char
*restrict newvar
= "Another string";
3602 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3603 test_varargs_macros
();
3605 // Check flexible array members.
3606 struct incomplete_array
*ia
=
3607 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3609 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3610 ia-
>data
[i
] = i
* 1.234;
3612 // Check named initializers.
3613 struct named_init ni
= {
3615 .name
= L
"Test wide string",
3616 .average
= 543.34343,
3621 int dynamic_array
[ni.number
];
3622 dynamic_array
[0] = argv
[0][0];
3623 dynamic_array
[ni.number
- 1] = 543;
3625 // work around unused variable warnings
3626 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3627 || dynamic_array
[ni.number
- 1] != 543);
3630 # Test code for whether the C compiler supports C11 (global declarations)
3631 ac_c_conftest_c11_globals='
3632 // Does the compiler advertise C11 conformance?
3633 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3634 # error "Compiler does not advertise C11 conformance"
3638 char _Alignas
(double
) aligned_as_double
;
3639 char _Alignas
(0) no_special_alignment
;
3640 extern char aligned_as_int
;
3641 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3646 int_alignment
= _Alignof
(int
),
3647 int_array_alignment
= _Alignof
(int
[100]),
3648 char_alignment
= _Alignof
(char
)
3650 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3653 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3655 // Check _Static_assert.
3656 struct test_static_assert
3659 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3660 "_Static_assert does not work in struct");
3664 // Check UTF-8 literals.
3665 #define u8 syntax error!
3666 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3668 // Check duplicate typedefs.
3669 typedef long
*long_ptr
;
3670 typedef long int
*long_ptr
;
3671 typedef long_ptr long_ptr
;
3673 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3677 struct
{ int i
; int j
; };
3678 struct
{ int k
; long int l
; } w
;
3684 # Test code for whether the C compiler supports C11 (body of main).
3685 ac_c_conftest_c11_main='
3686 _Static_assert
((offsetof
(struct anonymous
, i
)
3687 == offsetof
(struct anonymous
, w.k
)),
3688 "Anonymous union alignment botch");
3694 # Test code for whether the C compiler supports C11 (complete).
3695 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3696 ${ac_c_conftest_c99_globals}
3697 ${ac_c_conftest_c11_globals}
3700 main (int argc, char **argv)
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3705 ${ac_c_conftest_c11_main}
3710 # Test code for whether the C compiler supports C99 (complete).
3711 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3712 ${ac_c_conftest_c99_globals}
3715 main (int argc, char **argv)
3718 ${ac_c_conftest_c89_main}
3719 ${ac_c_conftest_c99_main}
3724 # Test code for whether the C compiler supports C89 (complete).
3725 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3728 main (int argc, char **argv)
3731 ${ac_c_conftest_c89_main}
3736 # Test code for whether the C++ compiler supports C++98 (global declarations)
3737 ac_cxx_conftest_cxx98_globals='
3738 // Does the compiler advertise C
++98 conformance?
3739 #if !defined __cplusplus || __cplusplus < 199711L
3740 # error "Compiler does not advertise C++98 conformance"
3743 // These inclusions are to reject old compilers that
3744 // lack the unsuffixed header files.
3746 #include <exception>
3748 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3749 extern void assert
(int
);
3751 extern int strcmp
(const char
*, const char
*);
3754 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3755 using std
::exception
;
3760 void test_exception_syntax
()
3764 } catch
(const char
*s
) {
3765 // Extra parentheses suppress a warning when building autoconf itself
,
3766 // due to lint rules shared with
more typical C programs.
3767 assert
(!(strcmp
) (s
, "test"));
3771 template
<typename T
> struct test_template
3774 explicit test_template
(T t
) : val
(t
) {}
3775 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3778 } // anonymous namespace
3781 # Test code for whether the C++ compiler supports C++98 (body of main)
3782 ac_cxx_conftest_cxx98_main='
3786 test_exception_syntax
();
3787 test_template
<double
> tt
(2.0);
3788 assert
(tt.add
(4) == 6.0);
3789 assert
(true
&& !false
);
3793 # Test code for whether the C++ compiler supports C++11 (global declarations)
3794 ac_cxx_conftest_cxx11_globals='
3795 // Does the compiler advertise C
++ 2011 conformance?
3796 #if !defined __cplusplus || __cplusplus < 201103L
3797 # error "Compiler does not advertise C++11 conformance"
3802 constexpr int get_val
() { return 20; }
3813 delegate
(int n
) : n
(n
) {}
3814 delegate
(): delegate
(2354) {}
3816 virtual int getval
() { return this-
>n
; };
3821 class overridden
: public delegate
3824 overridden
(int n
): delegate
(n
) {}
3825 virtual int getval
() override final
{ return this-
>n
* 2; }
3831 nocopy
(int i
): i
(i
) {}
3833 nocopy
(const nocopy
&) = delete
;
3834 nocopy
& operator
=(const nocopy
&) = delete
;
3839 // for testing lambda expressions
3840 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3845 // for testing variadic templates and trailing
return types
3846 template
<typename V
> auto
sum(V first
) -> V
3850 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3852 return first
+ sum(rest...
);
3857 # Test code for whether the C++ compiler supports C++11 (body of main)
3858 ac_cxx_conftest_cxx11_main='
3860 // Test auto and decltype
3862 auto a2
= 48573953.4;
3863 auto a3
= "String literal";
3866 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3868 decltype
(a2
) a4
= 34895.034;
3872 short sa
[cxx11test
::get_val
()] = { 0 };
3875 // Test initializer lists
3876 cxx11test
::testinit il
= { 4323, 435234.23544 };
3879 // Test range-based
for
3880 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3881 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3882 for (auto
&x
: array
) { x
+= 23; }
3885 // Test lambda expressions
3886 using cxx11test
::eval;
3887 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3889 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3891 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3895 // Test use of variadic templates
3896 using cxx11test
::sum;
3899 auto c
= sum(1.0, 2.0, 3.0);
3902 // Test constructor delegation
3903 cxx11test
::delegate d1
;
3904 cxx11test
::delegate d2
();
3905 cxx11test
::delegate d3
(45);
3908 // Test override and final
3909 cxx11test
::overridden o1
(55464);
3916 // Test template brackets
3917 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3921 char const
*utf8
= u8
"UTF-8 string \u2500";
3922 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3923 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3927 # Test code for whether the C compiler supports C++11 (complete).
3928 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3929 ${ac_cxx_conftest_cxx11_globals}
3932 main (int argc, char **argv)
3935 ${ac_cxx_conftest_cxx98_main}
3936 ${ac_cxx_conftest_cxx11_main}
3941 # Test code for whether the C compiler supports C++98 (complete).
3942 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3944 main (int argc, char **argv)
3947 ${ac_cxx_conftest_cxx98_main}
3952 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3953 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3954 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3955 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3956 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3957 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3958 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3959 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3960 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3962 # Auxiliary files required by this configure script.
3963 ac_aux_files="config.guess config.sub"
3965 # Locations in which to look for auxiliary files.
3966 ac_aux_dir_candidates="${srcdir}/tools"
3968 # Search for a directory containing all of the required auxiliary files,
3969 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3970 # If we don't
find one directory that contains all the files we need
,
3971 # we report the set of missing files from the *first* directory in
3972 # $ac_aux_dir_candidates and give up.
3973 ac_missing_aux_files
=""
3974 ac_first_candidate
=:
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 for as_dir
in $ac_aux_dir_candidates
3981 case $as_dir in #(((
3984 *) as_dir
=$as_dir/ ;;
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3989 ac_aux_dir_found
=yes
3991 for ac_aux
in $ac_aux_files
3993 # As a special case, if "install-sh" is required, that requirement
3994 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3995 # and $ac_install_sh is set appropriately for whichever one is found.
3996 if test x
"$ac_aux" = x
"install-sh"
3998 if test -f "${as_dir}install-sh"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4000 ac_install_sh
="${as_dir}install-sh -c"
4001 elif test -f "${as_dir}install.sh"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4003 ac_install_sh
="${as_dir}install.sh -c"
4004 elif test -f "${as_dir}shtool"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4006 ac_install_sh
="${as_dir}shtool install -c"
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4016 if test -f "${as_dir}${ac_aux}"; then
4017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4020 if $ac_first_candidate; then
4021 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4028 if test "$ac_aux_dir_found" = yes; then
4029 ac_aux_dir
="$as_dir"
4032 ac_first_candidate
=false
4041 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4045 # These three variables are undocumented and unsupported,
4046 # and are intended to be withdrawn in a future Autoconf release.
4047 # They can cause serious problems if a builder's source tree is in a directory
4048 # whose full name contains unusual characters.
4049 if test -f "${ac_aux_dir}config.guess"; then
4050 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4052 if test -f "${ac_aux_dir}config.sub"; then
4053 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4055 if test -f "$ac_aux_dir/configure"; then
4056 ac_configure
="$SHELL ${ac_aux_dir}configure"
4059 # Check that the precious variables saved in the cache have kept the same
4061 ac_cache_corrupted
=false
4062 for ac_var
in $ac_precious_vars; do
4063 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4064 eval ac_new_set
=\
$ac_env_${ac_var}_set
4065 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4066 eval ac_new_val
=\
$ac_env_${ac_var}_value
4067 case $ac_old_set,$ac_new_set in
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4071 ac_cache_corrupted
=: ;;
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4074 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4075 ac_cache_corrupted
=: ;;
4078 if test "x$ac_old_val" != "x$ac_new_val"; then
4079 # differences in whitespace do not lead to failure.
4080 ac_old_val_w
=`echo x $ac_old_val`
4081 ac_new_val_w
=`echo x $ac_new_val`
4082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4085 ac_cache_corrupted
=:
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4088 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4089 eval $ac_var=\
$ac_old_val
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4092 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4094 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4097 # Pass precious variables to config.status.
4098 if test "$ac_new_set" = set; then
4100 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4101 *) ac_arg
=$ac_var=$ac_new_val ;;
4103 case " $ac_configure_args " in
4104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4105 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4109 if $ac_cache_corrupted; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4113 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4114 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4115 and start over" "$LINENO" 5
4117 ## -------------------- ##
4118 ## Main body of script. ##
4119 ## -------------------- ##
4122 ac_cpp
='$CPP $CPPFLAGS'
4123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4129 ac_config_headers
="$ac_config_headers include/config.h"
4133 libwine_version
="1.0"
4136 # Check whether --enable-archs was given.
4137 if test ${enable_archs+y}
4139 enableval
=$enable_archs;
4142 # Check whether --enable-win16 was given.
4143 if test ${enable_win16+y}
4145 enableval
=$enable_win16;
4148 # Check whether --enable-win64 was given.
4149 if test ${enable_win64+y}
4151 enableval
=$enable_win64;
4154 # Check whether --enable-tests was given.
4155 if test ${enable_tests+y}
4157 enableval
=$enable_tests;
4160 # Check whether --enable-build-id was given.
4161 if test ${enable_build_id+y}
4163 enableval
=$enable_build_id;
4166 # Check whether --enable-maintainer-mode was given.
4167 if test ${enable_maintainer_mode+y}
4169 enableval
=$enable_maintainer_mode;
4172 # Check whether --enable-silent-rules was given.
4173 if test ${enable_silent_rules+y}
4175 enableval
=$enable_silent_rules;
4178 # Check whether --enable-werror was given.
4179 if test ${enable_werror+y}
4181 enableval
=$enable_werror;
4186 # Check whether --with-alsa was given.
4187 if test ${with_alsa+y}
4193 # Check whether --with-capi was given.
4194 if test ${with_capi+y}
4200 # Check whether --with-coreaudio was given.
4201 if test ${with_coreaudio+y}
4203 withval
=$with_coreaudio;
4207 # Check whether --with-cups was given.
4208 if test ${with_cups+y}
4214 # Check whether --with-dbus was given.
4215 if test ${with_dbus+y}
4221 # Check whether --with-float-abi was given.
4222 if test ${with_float_abi+y}
4224 withval
=$with_float_abi;
4228 # Check whether --with-fontconfig was given.
4229 if test ${with_fontconfig+y}
4231 withval
=$with_fontconfig;
4235 # Check whether --with-freetype was given.
4236 if test ${with_freetype+y}
4238 withval
=$with_freetype;
4242 # Check whether --with-gettext was given.
4243 if test ${with_gettext+y}
4245 withval
=$with_gettext;
4249 # Check whether --with-gettextpo was given.
4250 if test ${with_gettextpo+y}
4252 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4256 # Check whether --with-gphoto was given.
4257 if test ${with_gphoto+y}
4259 withval
=$with_gphoto;
4263 # Check whether --with-gnutls was given.
4264 if test ${with_gnutls+y}
4266 withval
=$with_gnutls;
4270 # Check whether --with-gssapi was given.
4271 if test ${with_gssapi+y}
4273 withval
=$with_gssapi;
4277 # Check whether --with-gstreamer was given.
4278 if test ${with_gstreamer+y}
4280 withval
=$with_gstreamer;
4284 # Check whether --with-inotify was given.
4285 if test ${with_inotify+y}
4287 withval
=$with_inotify;
4291 # Check whether --with-krb5 was given.
4292 if test ${with_krb5+y}
4298 # Check whether --with-mingw was given.
4299 if test ${with_mingw+y}
4301 withval
=$with_mingw;
4305 # Check whether --with-netapi was given.
4306 if test ${with_netapi+y}
4308 withval
=$with_netapi;
4312 # Check whether --with-opencl was given.
4313 if test ${with_opencl+y}
4315 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4319 # Check whether --with-opengl was given.
4320 if test ${with_opengl+y}
4322 withval
=$with_opengl;
4326 # Check whether --with-osmesa was given.
4327 if test ${with_osmesa+y}
4329 withval
=$with_osmesa;
4333 # Check whether --with-oss was given.
4334 if test ${with_oss+y}
4340 # Check whether --with-pcap was given.
4341 if test ${with_pcap+y}
4343 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4347 # Check whether --with-pcsclite was given.
4348 if test ${with_pcsclite+y}
4350 withval
=$with_pcsclite;
4354 # Check whether --with-pthread was given.
4355 if test ${with_pthread+y}
4357 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4361 # Check whether --with-pulse was given.
4362 if test ${with_pulse+y}
4364 withval
=$with_pulse;
4368 # Check whether --with-sane was given.
4369 if test ${with_sane+y}
4375 # Check whether --with-sdl was given.
4376 if test ${with_sdl+y}
4382 # Check whether --with-udev was given.
4383 if test ${with_udev+y}
4389 # Check whether --with-unwind was given.
4390 if test ${with_unwind+y}
4392 withval
=$with_unwind;
4396 # Check whether --with-usb was given.
4397 if test ${with_usb+y}
4403 # Check whether --with-v4l2 was given.
4404 if test ${with_v4l2+y}
4410 # Check whether --with-vulkan was given.
4411 if test ${with_vulkan+y}
4413 withval
=$with_vulkan;
4417 # Check whether --with-wayland was given.
4418 if test ${with_wayland+y}
4420 withval
=$with_wayland;
4424 # Check whether --with-xcomposite was given.
4425 if test ${with_xcomposite+y}
4427 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4431 # Check whether --with-xcursor was given.
4432 if test ${with_xcursor+y}
4434 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4438 # Check whether --with-xfixes was given.
4439 if test ${with_xfixes+y}
4441 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4445 # Check whether --with-xinerama was given.
4446 if test ${with_xinerama+y}
4448 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4452 # Check whether --with-xinput was given.
4453 if test ${with_xinput+y}
4455 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4459 # Check whether --with-xinput2 was given.
4460 if test ${with_xinput2+y}
4462 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4466 # Check whether --with-xrandr was given.
4467 if test ${with_xrandr+y}
4469 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4473 # Check whether --with-xrender was given.
4474 if test ${with_xrender+y}
4476 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4480 # Check whether --with-xshape was given.
4481 if test ${with_xshape+y}
4483 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4487 # Check whether --with-xshm was given.
4488 if test ${with_xshm+y}
4490 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4494 # Check whether --with-xxf86vm was given.
4495 if test ${with_xxf86vm+y}
4497 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
4502 # Check whether --with-system-dllpath was given.
4503 if test ${with_system_dllpath+y}
4505 withval
=$with_system_dllpath; system_dllpath
=$withval
4510 # Check whether --with-wine-tools was given.
4511 if test ${with_wine_tools+y}
4513 withval
=$with_wine_tools;
4517 # Check whether --with-wine64 was given.
4518 if test ${with_wine64+y}
4520 withval
=$with_wine64;
4527 # Make sure we can run config.sub.
4528 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4529 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4532 printf %s
"checking build system type... " >&6; }
4533 if test ${ac_cv_build+y}
4535 printf %s
"(cached) " >&6
4537 ac_build_alias
=$build_alias
4538 test "x$ac_build_alias" = x
&&
4539 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4540 test "x$ac_build_alias" = x
&&
4541 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4542 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4543 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4547 printf "%s\n" "$ac_cv_build" >&6; }
4548 case $ac_cv_build in
4550 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4553 ac_save_IFS
=$IFS; IFS
='-'
4559 # Remember, the first character of IFS is used to create $*,
4560 # except with old shells:
4563 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4567 printf %s
"checking host system type... " >&6; }
4568 if test ${ac_cv_host+y}
4570 printf %s
"(cached) " >&6
4572 if test "x$host_alias" = x
; then
4573 ac_cv_host
=$ac_cv_build
4575 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4576 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4581 printf "%s\n" "$ac_cv_host" >&6; }
4584 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4587 ac_save_IFS
=$IFS; IFS
='-'
4593 # Remember, the first character of IFS is used to create $*,
4594 # except with old shells:
4597 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4601 dlldir
=\
${libdir}/wine
4603 fontdir
=\
${datadir}/wine
/fonts
4605 nlsdir
=\
${datadir}/wine
/nls
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4611 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4613 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4614 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4616 printf %s
"(cached) " >&6
4618 cat >conftest.
make <<\_ACEOF
4621 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4626 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4628 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4632 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4634 printf "%s\n" "yes" >&6; }
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 printf "%s\n" "no" >&6; }
4639 SET_MAKE
="MAKE=${MAKE-make}"
4652 ac_cpp
='$CPP $CPPFLAGS'
4653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4658 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 printf %s
"checking for $ac_word... " >&6; }
4661 if test ${ac_cv_prog_CC+y}
4663 printf %s
"(cached) " >&6
4665 if test -n "$CC"; then
4666 ac_cv_prog_CC
="$CC" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 case $as_dir in #(((
4675 *) as_dir
=$as_dir/ ;;
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4690 if test -n "$CC"; then
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4692 printf "%s\n" "$CC" >&6; }
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 printf "%s\n" "no" >&6; }
4700 if test -z "$ac_cv_prog_CC"; then
4702 # Extract the first word of "gcc", so it can be a program name with args.
4703 set dummy gcc
; ac_word
=$2
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 printf %s
"checking for $ac_word... " >&6; }
4706 if test ${ac_cv_prog_ac_ct_CC+y}
4708 printf %s
"(cached) " >&6
4710 if test -n "$ac_ct_CC"; then
4711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 case $as_dir in #(((
4720 *) as_dir
=$as_dir/ ;;
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_ac_ct_CC
="gcc"
4725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4735 if test -n "$ac_ct_CC"; then
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4737 printf "%s\n" "$ac_ct_CC" >&6; }
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 printf "%s\n" "no" >&6; }
4743 if test "x$ac_ct_CC" = x
; then
4746 case $cross_compiling:$ac_tool_warned in
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4749 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4750 ac_tool_warned
=yes ;;
4758 if test -z "$CC"; then
4759 if test -n "$ac_tool_prefix"; then
4760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4761 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 printf %s
"checking for $ac_word... " >&6; }
4764 if test ${ac_cv_prog_CC+y}
4766 printf %s
"(cached) " >&6
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC
="$CC" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 case $as_dir in #(((
4778 *) as_dir
=$as_dir/ ;;
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4782 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4793 if test -n "$CC"; then
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795 printf "%s\n" "$CC" >&6; }
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 printf "%s\n" "no" >&6; }
4804 if test -z "$CC"; then
4805 # Extract the first word of "cc", so it can be a program name with args.
4806 set dummy cc
; ac_word
=$2
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 printf %s
"checking for $ac_word... " >&6; }
4809 if test ${ac_cv_prog_CC+y}
4811 printf %s
"(cached) " >&6
4813 if test -n "$CC"; then
4814 ac_cv_prog_CC
="$CC" # Let the user override the test.
4817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4821 case $as_dir in #(((
4824 *) as_dir
=$as_dir/ ;;
4826 for ac_exec_ext
in '' $ac_executable_extensions; do
4827 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4828 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4829 ac_prog_rejected
=yes
4833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4840 if test $ac_prog_rejected = yes; then
4841 # We found a bogon in the path, so make sure we never use it.
4842 set dummy
$ac_cv_prog_CC
4844 if test $# != 0; then
4845 # We chose a different compiler from the bogus one.
4846 # However, it has the same basename, so the bogon will be chosen
4847 # first if we set CC to just the basename; use the full file name.
4849 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4855 if test -n "$CC"; then
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4857 printf "%s\n" "$CC" >&6; }
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 printf "%s\n" "no" >&6; }
4865 if test -z "$CC"; then
4866 if test -n "$ac_tool_prefix"; then
4867 for ac_prog
in cl.exe
4869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 printf %s
"checking for $ac_word... " >&6; }
4873 if test ${ac_cv_prog_CC+y}
4875 printf %s
"(cached) " >&6
4877 if test -n "$CC"; then
4878 ac_cv_prog_CC
="$CC" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 case $as_dir in #(((
4887 *) as_dir
=$as_dir/ ;;
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4902 if test -n "$CC"; then
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4904 printf "%s\n" "$CC" >&6; }
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 printf "%s\n" "no" >&6; }
4911 test -n "$CC" && break
4914 if test -z "$CC"; then
4916 for ac_prog
in cl.exe
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 printf %s
"checking for $ac_word... " >&6; }
4922 if test ${ac_cv_prog_ac_ct_CC+y}
4924 printf %s
"(cached) " >&6
4926 if test -n "$ac_ct_CC"; then
4927 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 case $as_dir in #(((
4936 *) as_dir
=$as_dir/ ;;
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_CC
="$ac_prog"
4941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4950 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4951 if test -n "$ac_ct_CC"; then
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4953 printf "%s\n" "$ac_ct_CC" >&6; }
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 printf "%s\n" "no" >&6; }
4960 test -n "$ac_ct_CC" && break
4963 if test "x$ac_ct_CC" = x
; then
4966 case $cross_compiling:$ac_tool_warned in
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned
=yes ;;
4977 if test -z "$CC"; then
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4980 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 printf %s
"checking for $ac_word... " >&6; }
4983 if test ${ac_cv_prog_CC+y}
4985 printf %s
"(cached) " >&6
4987 if test -n "$CC"; then
4988 ac_cv_prog_CC
="$CC" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 case $as_dir in #(((
4997 *) as_dir
=$as_dir/ ;;
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5012 if test -n "$CC"; then
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5014 printf "%s\n" "$CC" >&6; }
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 printf "%s\n" "no" >&6; }
5022 if test -z "$ac_cv_prog_CC"; then
5024 # Extract the first word of "clang", so it can be a program name with args.
5025 set dummy clang
; ac_word
=$2
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 printf %s
"checking for $ac_word... " >&6; }
5028 if test ${ac_cv_prog_ac_ct_CC+y}
5030 printf %s
"(cached) " >&6
5032 if test -n "$ac_ct_CC"; then
5033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 case $as_dir in #(((
5042 *) as_dir
=$as_dir/ ;;
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_ac_ct_CC
="clang"
5047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5057 if test -n "$ac_ct_CC"; then
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5059 printf "%s\n" "$ac_ct_CC" >&6; }
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 printf "%s\n" "no" >&6; }
5065 if test "x$ac_ct_CC" = x
; then
5068 case $cross_compiling:$ac_tool_warned in
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned
=yes ;;
5083 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5085 as_fn_error $?
"no acceptable C compiler found in \$PATH
5086 See \`config.log' for more details" "$LINENO" 5; }
5088 # Provide some information about the compiler.
5089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5092 for ac_option
in --version -v -V -qversion -version; do
5093 { { ac_try
="$ac_compiler $ac_option >&5"
5095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5102 if test -s conftest.err; then
5104 ... rest of stderr output deleted ...
5105 10q' conftest.err >conftest.er1
5106 cat conftest.er1 >&5
5108 rm -f conftest.er1 conftest.err
5109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; }
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5124 ac_clean_files_save=$ac_clean_files
5125 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5126 # Try to create an executable without -o first, disregard a.out.
5127 # It will help us diagnose broken compilers, and finding out an intuition
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5130 printf %s "checking whether the C compiler works... " >&6; }
5131 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5133 # The possible output files:
5134 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5137 for ac_file in $ac_files
5140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5141 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5146 if { { ac_try="$ac_link_default"
5148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5149 *) ac_try_echo
=$ac_try;;
5151 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_link_default") 2>&5
5155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5158 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5159 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5160 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5161 # so that the user can short-circuit this test for compilers unknown to
5163 for ac_file
in $ac_files ''
5165 test -f "$ac_file" ||
continue
5167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5170 # We found the default executable, but exeext='' is most
5174 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5176 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5178 # We set ac_cv_exeext here because the later test for it is not
5179 # safe: cross compilers may not add the suffix if given an `-o'
5180 # argument, so we may need to know it at that point already.
5181 # Even if this section looks crufty: it has the advantage of
5188 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5193 if test -z "$ac_file"
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 printf "%s\n" "no" >&6; }
5197 printf "%s\n" "$as_me: failed program was:" >&5
5198 sed 's/^/| /' conftest.
$ac_ext >&5
5200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5201 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5202 as_fn_error
77 "C compiler cannot create executables
5203 See \`config.log' for more details" "$LINENO" 5; }
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5206 printf "%s\n" "yes" >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5209 printf %s
"checking for C compiler default output file name... " >&6; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5211 printf "%s\n" "$ac_file" >&6; }
5212 ac_exeext
=$ac_cv_exeext
5214 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5215 ac_clean_files
=$ac_clean_files_save
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5217 printf %s
"checking for suffix of executables... " >&6; }
5218 if { { ac_try
="$ac_link"
5220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5224 printf "%s\n" "$ac_try_echo"; } >&5
5225 (eval "$ac_link") 2>&5
5227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5228 test $ac_status = 0; }
5230 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5231 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5232 # work properly (i.e., refer to `conftest.exe'), while it won't with
5234 for ac_file
in conftest.exe conftest conftest.
*; do
5235 test -f "$ac_file" ||
continue
5237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5238 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5247 See \`config.log' for more details" "$LINENO" 5; }
5249 rm -f conftest conftest
$ac_cv_exeext
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5251 printf "%s\n" "$ac_cv_exeext" >&6; }
5253 rm -f conftest.
$ac_ext
5254 EXEEXT
=$ac_cv_exeext
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5262 FILE *f = fopen ("conftest.out", "w");
5263 return ferror (f) || fclose (f) != 0;
5269 ac_clean_files
="$ac_clean_files conftest.out"
5270 # Check that the compiler produces executables we can run. If not, either
5271 # the compiler is broken, or we cross compile.
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5273 printf %s
"checking whether we are cross compiling... " >&6; }
5274 if test "$cross_compiling" != yes; then
5275 { { ac_try
="$ac_link"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_link") 2>&5
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5286 if { ac_try='./conftest$ac_cv_exeext'
5287 { { case "(($ac_try" in
5288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5289 *) ac_try_echo
=$ac_try;;
5291 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5292 printf "%s\n" "$ac_try_echo"; } >&5
5293 (eval "$ac_try") 2>&5
5295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }; }; then
5299 if test "$cross_compiling" = maybe
; then
5302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error
77 "cannot run C compiled programs.
5305 If you meant to cross compile, use \`--host'.
5306 See \`config.log' for more details" "$LINENO" 5; }
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5311 printf "%s\n" "$cross_compiling" >&6; }
5313 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5314 ac_clean_files
=$ac_clean_files_save
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5316 printf %s
"checking for suffix of object files... " >&6; }
5317 if test ${ac_cv_objext+y}
5319 printf %s
"(cached) " >&6
5321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5332 rm -f conftest.o conftest.obj
5333 if { { ac_try
="$ac_compile"
5335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5336 *) ac_try_echo=$ac_try;;
5338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5339 printf "%s\n" "$ac_try_echo"; } >&5
5340 (eval "$ac_compile") 2>&5
5342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5343 test $ac_status = 0; }
5345 for ac_file in conftest.o conftest.obj conftest.*; do
5346 test -f "$ac_file" || continue;
5348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5354 printf "%s\n" "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5359 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5360 See \
`config.log' for more details" "$LINENO" 5; }
5362 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5365 printf "%s\n" "$ac_cv_objext" >&6; }
5366 OBJEXT=$ac_cv_objext
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5369 printf %s "checking whether the compiler supports GNU C... " >&6; }
5370 if test ${ac_cv_c_compiler_gnu+y}
5372 printf %s "(cached) " >&6
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5388 if ac_fn_c_try_compile "$LINENO"
5394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5395 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5399 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5402 if test $ac_compiler_gnu = yes; then
5407 ac_test_CFLAGS=${CFLAGS+y}
5408 ac_save_CFLAGS=$CFLAGS
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5410 printf %s "checking whether $CC accepts -g... " >&6; }
5411 if test ${ac_cv_prog_cc_g+y}
5413 printf %s "(cached) " >&6
5415 ac_save_c_werror_flag=$ac_c_werror_flag
5416 ac_c_werror_flag=yes
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5430 if ac_fn_c_try_compile "$LINENO"
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5446 if ac_fn_c_try_compile "$LINENO"
5450 ac_c_werror_flag=$ac_save_c_werror_flag
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5463 if ac_fn_c_try_compile "$LINENO"
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 ac_c_werror_flag=$ac_save_c_werror_flag
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5475 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5476 if test $ac_test_CFLAGS; then
5477 CFLAGS=$ac_save_CFLAGS
5478 elif test $ac_cv_prog_cc_g = yes; then
5479 if test "$GCC" = yes; then
5485 if test "$GCC" = yes; then
5492 if test x$ac_prog_cc_stdc = xno
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5495 printf %s "checking for $CC option to enable C11 features... " >&6; }
5496 if test ${ac_cv_prog_cc_c11+y}
5498 printf %s "(cached) " >&6
5500 ac_cv_prog_cc_c11=no
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 $ac_c_conftest_c11_program
5506 for ac_arg in '' -std=gnu11
5508 CC="$ac_save_CC $ac_arg"
5509 if ac_fn_c_try_compile "$LINENO"
5511 ac_cv_prog_cc_c11=$ac_arg
5513 rm -f core conftest.err conftest.$ac_objext conftest.beam
5514 test "x$ac_cv_prog_cc_c11" != "xno" && break
5516 rm -f conftest.$ac_ext
5520 if test "x$ac_cv_prog_cc_c11" = xno
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5523 printf "%s\n" "unsupported" >&6; }
5525 if test "x$ac_cv_prog_cc_c11" = x
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5528 printf "%s\n" "none needed" >&6; }
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5531 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5532 CC="$CC $ac_cv_prog_cc_c11"
5534 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5538 if test x$ac_prog_cc_stdc = xno
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5541 printf %s "checking for $CC option to enable C99 features... " >&6; }
5542 if test ${ac_cv_prog_cc_c99+y}
5544 printf %s "(cached) " >&6
5546 ac_cv_prog_cc_c99=no
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 $ac_c_conftest_c99_program
5552 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5554 CC="$ac_save_CC $ac_arg"
5555 if ac_fn_c_try_compile "$LINENO"
5557 ac_cv_prog_cc_c99=$ac_arg
5559 rm -f core conftest.err conftest.$ac_objext conftest.beam
5560 test "x$ac_cv_prog_cc_c99" != "xno" && break
5562 rm -f conftest.$ac_ext
5566 if test "x$ac_cv_prog_cc_c99" = xno
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5569 printf "%s\n" "unsupported" >&6; }
5571 if test "x$ac_cv_prog_cc_c99" = x
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5574 printf "%s\n" "none needed" >&6; }
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5577 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5578 CC="$CC $ac_cv_prog_cc_c99"
5580 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5584 if test x$ac_prog_cc_stdc = xno
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5587 printf %s "checking for $CC option to enable C89 features... " >&6; }
5588 if test ${ac_cv_prog_cc_c89+y}
5590 printf %s "(cached) " >&6
5592 ac_cv_prog_cc_c89=no
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 $ac_c_conftest_c89_program
5598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5600 CC="$ac_save_CC $ac_arg"
5601 if ac_fn_c_try_compile "$LINENO"
5603 ac_cv_prog_cc_c89=$ac_arg
5605 rm -f core conftest.err conftest.$ac_objext conftest.beam
5606 test "x$ac_cv_prog_cc_c89" != "xno" && break
5608 rm -f conftest.$ac_ext
5612 if test "x$ac_cv_prog_cc_c89" = xno
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5615 printf "%s\n" "unsupported" >&6; }
5617 if test "x$ac_cv_prog_cc_c89" = x
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5620 printf "%s\n" "none needed" >&6; }
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5623 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5624 CC="$CC $ac_cv_prog_cc_c89"
5626 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5632 ac_cpp='$CPP $CPPFLAGS'
5633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5644 ac_cpp='$CXXCPP $CPPFLAGS'
5645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5648 if test -z "$CXX"; then
5649 if test -n "$CCC"; then
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 printf %s "checking for $ac_word... " >&6; }
5659 if test ${ac_cv_prog_CXX+y}
5661 printf %s "(cached) " >&6
5663 if test -n "$CXX"; then
5664 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 case $as_dir in #(((
5673 *) as_dir=$as_dir/ ;;
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5688 if test -n "$CXX"; then
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5690 printf "%s\n" "$CXX" >&6; }
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 printf "%s\n" "no" >&6; }
5697 test -n "$CXX" && break
5700 if test -z "$CXX"; then
5702 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 printf %s "checking for $ac_word... " >&6; }
5708 if test ${ac_cv_prog_ac_ct_CXX+y}
5710 printf %s "(cached) " >&6
5712 if test -n "$ac_ct_CXX"; then
5713 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 case $as_dir in #(((
5722 *) as_dir=$as_dir/ ;;
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_ac_ct_CXX="$ac_prog"
5727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5736 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5737 if test -n "$ac_ct_CXX"; then
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5739 printf "%s\n" "$ac_ct_CXX" >&6; }
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 printf "%s\n" "no" >&6; }
5746 test -n "$ac_ct_CXX" && break
5749 if test "x$ac_ct_CXX" = x; then
5752 case $cross_compiling:$ac_tool_warned in
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5764 # Provide some information about the compiler.
5765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5768 for ac_option in --version -v -V -qversion; do
5769 { { ac_try="$ac_compiler $ac_option >&5"
5771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5772 *) ac_try_echo
=$ac_try;;
5774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5775 printf "%s\n" "$ac_try_echo"; } >&5
5776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5778 if test -s conftest.err
; then
5780 ... rest of stderr output deleted ...
5781 10q' conftest.err
>conftest.er1
5782 cat conftest.er1
>&5
5784 rm -f conftest.er1 conftest.err
5785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5786 test $ac_status = 0; }
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5790 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5791 if test ${ac_cv_cxx_compiler_gnu+y}
5793 printf %s
"(cached) " >&6
5795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5809 if ac_fn_cxx_try_compile
"$LINENO"
5815 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5816 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5820 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5823 if test $ac_compiler_gnu = yes; then
5828 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5829 ac_save_CXXFLAGS
=$CXXFLAGS
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5831 printf %s
"checking whether $CXX accepts -g... " >&6; }
5832 if test ${ac_cv_prog_cxx_g+y}
5834 printf %s
"(cached) " >&6
5836 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5837 ac_cxx_werror_flag
=yes
5840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5851 if ac_fn_cxx_try_compile
"$LINENO"
5853 ac_cv_prog_cxx_g
=yes
5856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5867 if ac_fn_cxx_try_compile
"$LINENO"
5871 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5884 if ac_fn_cxx_try_compile
"$LINENO"
5886 ac_cv_prog_cxx_g
=yes
5888 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5890 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5892 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5893 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5896 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5897 if test $ac_test_CXXFLAGS; then
5898 CXXFLAGS
=$ac_save_CXXFLAGS
5899 elif test $ac_cv_prog_cxx_g = yes; then
5900 if test "$GXX" = yes; then
5906 if test "$GXX" = yes; then
5912 ac_prog_cxx_stdcxx
=no
5913 if test x
$ac_prog_cxx_stdcxx = xno
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5916 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5917 if test ${ac_cv_prog_cxx_cxx11+y}
5919 printf %s
"(cached) " >&6
5921 ac_cv_prog_cxx_cxx11
=no
5923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5925 $ac_cxx_conftest_cxx11_program
5927 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5929 CXX
="$ac_save_CXX $ac_arg"
5930 if ac_fn_cxx_try_compile
"$LINENO"
5932 ac_cv_prog_cxx_cxx11
=$ac_arg
5934 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5935 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5937 rm -f conftest.
$ac_ext
5941 if test "x$ac_cv_prog_cxx_cxx11" = xno
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5944 printf "%s\n" "unsupported" >&6; }
5946 if test "x$ac_cv_prog_cxx_cxx11" = x
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5949 printf "%s\n" "none needed" >&6; }
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5952 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5953 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5955 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5956 ac_prog_cxx_stdcxx
=cxx11
5959 if test x
$ac_prog_cxx_stdcxx = xno
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5962 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5963 if test ${ac_cv_prog_cxx_cxx98+y}
5965 printf %s
"(cached) " >&6
5967 ac_cv_prog_cxx_cxx98
=no
5969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 $ac_cxx_conftest_cxx98_program
5973 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5975 CXX
="$ac_save_CXX $ac_arg"
5976 if ac_fn_cxx_try_compile
"$LINENO"
5978 ac_cv_prog_cxx_cxx98
=$ac_arg
5980 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5981 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5983 rm -f conftest.
$ac_ext
5987 if test "x$ac_cv_prog_cxx_cxx98" = xno
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5990 printf "%s\n" "unsupported" >&6; }
5992 if test "x$ac_cv_prog_cxx_cxx98" = x
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5995 printf "%s\n" "none needed" >&6; }
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5998 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5999 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6001 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6002 ac_prog_cxx_stdcxx
=cxx98
6007 ac_cpp
='$CPP $CPPFLAGS'
6008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6014 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 printf %s
"checking for $ac_word... " >&6; }
6017 if test ${ac_cv_prog_CPPBIN+y}
6019 printf %s
"(cached) " >&6
6021 if test -n "$CPPBIN"; then
6022 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 case $as_dir in #(((
6031 *) as_dir
=$as_dir/ ;;
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6045 CPPBIN
=$ac_cv_prog_CPPBIN
6046 if test -n "$CPPBIN"; then
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6048 printf "%s\n" "$CPPBIN" >&6; }
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 printf "%s\n" "no" >&6; }
6056 if test -z "$ac_cv_prog_CPPBIN"; then
6057 ac_ct_CPPBIN
=$CPPBIN
6058 # Extract the first word of "cpp", so it can be a program name with args.
6059 set dummy cpp
; ac_word
=$2
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 printf %s
"checking for $ac_word... " >&6; }
6062 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6064 printf %s
"(cached) " >&6
6066 if test -n "$ac_ct_CPPBIN"; then
6067 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6073 case $as_dir in #(((
6076 *) as_dir
=$as_dir/ ;;
6078 for ac_exec_ext
in '' $ac_executable_extensions; do
6079 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6091 if test -n "$ac_ct_CPPBIN"; then
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6093 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 printf "%s\n" "no" >&6; }
6099 if test "x$ac_ct_CPPBIN" = x
; then
6102 case $cross_compiling:$ac_tool_warned in
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned
=yes ;;
6108 CPPBIN
=$ac_ct_CPPBIN
6111 CPPBIN
="$ac_cv_prog_CPPBIN"
6115 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6119 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 printf %s
"checking for $ac_word... " >&6; }
6122 if test ${ac_cv_prog_LD+y}
6124 printf %s
"(cached) " >&6
6126 if test -n "$LD"; then
6127 ac_cv_prog_LD
="$LD" # Let the user override the test.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6133 case $as_dir in #(((
6136 *) as_dir
=$as_dir/ ;;
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6151 if test -n "$LD"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6153 printf "%s\n" "$LD" >&6; }
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 printf "%s\n" "no" >&6; }
6161 if test -z "$ac_cv_prog_LD"; then
6163 # Extract the first word of "ld", so it can be a program name with args.
6164 set dummy ld
; ac_word
=$2
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 printf %s
"checking for $ac_word... " >&6; }
6167 if test ${ac_cv_prog_ac_ct_LD+y}
6169 printf %s
"(cached) " >&6
6171 if test -n "$ac_ct_LD"; then
6172 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6178 case $as_dir in #(((
6181 *) as_dir
=$as_dir/ ;;
6183 for ac_exec_ext
in '' $ac_executable_extensions; do
6184 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_ac_ct_LD
="ld"
6186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6195 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6196 if test -n "$ac_ct_LD"; then
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6198 printf "%s\n" "$ac_ct_LD" >&6; }
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 printf "%s\n" "no" >&6; }
6204 if test "x$ac_ct_LD" = x
; then
6207 case $cross_compiling:$ac_tool_warned in
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned
=yes ;;
6222 with_fontconfig
=${with_fontconfig:-no}
6224 *-mingw32*|
*-cygwin*)
6225 enable_win16
=${enable_win16:-no}
6226 with_mingw
=${with_mingw:-no}
6233 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6239 printf %s
"checking whether $CC works... " >&6; }
6240 if test ${wine_cv_cc_m32+y}
6242 printf %s
"(cached) " >&6
6244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6255 if ac_fn_c_try_link
"$LINENO"
6261 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6262 conftest
$ac_exeext conftest.
$ac_ext
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6265 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6266 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
6268 notice_platform
="32-bit "
6269 TARGETFLAGS
="$TARGETFLAGS -m32"
6270 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6271 export PKG_CONFIG_LIBDIR
6272 with_unwind
=${with_unwind:-no}
6277 notice_platform
="64-bit "
6278 TARGETFLAGS
="$TARGETFLAGS -m64"
6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6283 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6284 if test ${wine_cv_thumb2+y}
6286 printf %s
"(cached) " >&6
6288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6294 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6299 if ac_fn_c_try_link
"$LINENO"
6305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6306 conftest
$ac_exeext conftest.
$ac_ext
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6309 printf "%s\n" "$wine_cv_thumb2" >&6; }
6310 if test x
"$wine_cv_thumb2" = xyes
6312 CFLAGS
="$CFLAGS -mthumb"
6313 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6315 CFLAGS
="$CFLAGS -marm"
6316 TARGETFLAGS
="$TARGETFLAGS -marm"
6318 case $with_float_abi in
6320 float_abi
=$with_float_abi ;;
6327 saved_CFLAGS
=$CFLAGS
6328 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6330 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6331 if test ${wine_cv_float_abi+y}
6333 printf %s
"(cached) " >&6
6335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6341 asm("vmrs r2,fpscr");
6346 if ac_fn_c_try_link
"$LINENO"
6348 wine_cv_float_abi
=yes
6350 wine_cv_float_abi
=no
6352 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6353 conftest
$ac_exeext conftest.
$ac_ext
6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6356 printf "%s\n" "$wine_cv_float_abi" >&6; }
6357 if test $wine_cv_float_abi = no
6360 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6362 CFLAGS
=$saved_CFLAGS
6366 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6367 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6370 with_unwind
=${with_unwind:-no}
6374 enable_win16
=${enable_win16:-i386}
6375 enable_win64
=${enable_win64:-no}
6376 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6377 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6378 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6380 enable_winetest
=${enable_winetest:-$enable_tests}
6382 if test "x$enable_win64" = "xyes"
6384 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6385 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6389 cygwin
*|mingw32
*) toolsext
=".exe"
6397 aarch64
*) HOST_ARCH
=aarch64
;;
6398 arm
*) HOST_ARCH
=arm
;;
6399 i
[3456789]86*) HOST_ARCH
=i386
;;
6400 x86_64
) HOST_ARCH
=x86_64
;;
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6405 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6406 if test ${wine_cv_toolsdir+y}
6408 printf %s
"(cached) " >&6
6410 wine_cv_toolsdir
="$with_wine_tools"
6411 if test -z "$with_wine_tools"; then
6412 if test "$cross_compiling" = "yes"; then
6413 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6414 elif test -n "$with_wine64"; then
6415 wine_cv_toolsdir
="$with_wine64"
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6420 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6421 if test -z "$wine_cv_toolsdir"; then
6422 wine_makedep
=tools
/makedep
$toolsext
6423 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6424 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6425 enable_tools
=${enable_tools:-no}
6426 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6428 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6430 toolsdir
=$wine_cv_toolsdir
6432 MAKEDEP
=$wine_makedep
6434 RUNTESTFLAGS
="-q -P wine"
6436 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'"
6439 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6441 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6446 # Extract the first word of "$ac_prog", so it can be a program name with args.
6447 set dummy
$ac_prog; ac_word
=$2
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 printf %s
"checking for $ac_word... " >&6; }
6450 if test ${ac_cv_prog_FLEX+y}
6452 printf %s
"(cached) " >&6
6454 if test -n "$FLEX"; then
6455 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6461 case $as_dir in #(((
6464 *) as_dir
=$as_dir/ ;;
6466 for ac_exec_ext
in '' $ac_executable_extensions; do
6467 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_FLEX
="$ac_prog"
6469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6478 FLEX
=$ac_cv_prog_FLEX
6479 if test -n "$FLEX"; then
6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6481 printf "%s\n" "$FLEX" >&6; }
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 printf "%s\n" "no" >&6; }
6488 test -n "$FLEX" && break
6490 test -n "$FLEX" || FLEX
="none"
6492 if test "$FLEX" = "none"
6494 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6497 printf %s
"checking whether flex is recent enough... " >&6; }
6498 if test ${wine_cv_recent_flex+y}
6500 printf %s
"(cached) " >&6
6502 cat >conftest.l
<<EOF
6504 #include "prediluvian.h"
6508 if $FLEX -t conftest.l
>/dev
/null
2>&5
6510 wine_cv_recent_flex
=yes
6512 wine_cv_recent_flex
=no
6515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6516 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6517 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
6519 for ac_prog
in bison
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy
$ac_prog; ac_word
=$2
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 printf %s
"checking for $ac_word... " >&6; }
6525 if test ${ac_cv_prog_BISON+y}
6527 printf %s
"(cached) " >&6
6529 if test -n "$BISON"; then
6530 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6536 case $as_dir in #(((
6539 *) as_dir
=$as_dir/ ;;
6541 for ac_exec_ext
in '' $ac_executable_extensions; do
6542 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_BISON
="$ac_prog"
6544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6553 BISON
=$ac_cv_prog_BISON
6554 if test -n "$BISON"; then
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6556 printf "%s\n" "$BISON" >&6; }
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 printf "%s\n" "no" >&6; }
6563 test -n "$BISON" && break
6565 test -n "$BISON" || BISON
="none"
6567 if test "$BISON" = "none"
6569 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6572 printf %s
"checking whether bison is recent enough... " >&6; }
6573 if test ${wine_cv_recent_bison+y}
6575 printf %s
"(cached) " >&6
6577 cat >conftest.y
<<EOF
6578 %define parse.error verbose
6582 if $BISON conftest.y
>/dev
/null
2>&5
6584 wine_cv_recent_bison
=yes
6586 wine_cv_recent_bison
=no
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6590 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6591 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
6593 if test -n "$ac_tool_prefix"; then
6594 for ac_prog
in ar gar
6596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6599 printf %s
"checking for $ac_word... " >&6; }
6600 if test ${ac_cv_prog_AR+y}
6602 printf %s
"(cached) " >&6
6604 if test -n "$AR"; then
6605 ac_cv_prog_AR
="$AR" # Let the user override the test.
6607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6611 case $as_dir in #(((
6614 *) as_dir
=$as_dir/ ;;
6616 for ac_exec_ext
in '' $ac_executable_extensions; do
6617 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6629 if test -n "$AR"; then
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6631 printf "%s\n" "$AR" >&6; }
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 printf "%s\n" "no" >&6; }
6638 test -n "$AR" && break
6641 if test -z "$AR"; then
6643 for ac_prog
in ar gar
6645 # Extract the first word of "$ac_prog", so it can be a program name with args.
6646 set dummy
$ac_prog; ac_word
=$2
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 printf %s
"checking for $ac_word... " >&6; }
6649 if test ${ac_cv_prog_ac_ct_AR+y}
6651 printf %s
"(cached) " >&6
6653 if test -n "$ac_ct_AR"; then
6654 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6660 case $as_dir in #(((
6663 *) as_dir
=$as_dir/ ;;
6665 for ac_exec_ext
in '' $ac_executable_extensions; do
6666 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ac_ct_AR
="$ac_prog"
6668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6677 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6678 if test -n "$ac_ct_AR"; then
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6680 printf "%s\n" "$ac_ct_AR" >&6; }
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 printf "%s\n" "no" >&6; }
6687 test -n "$ac_ct_AR" && break
6690 if test "x$ac_ct_AR" = x
; then
6693 case $cross_compiling:$ac_tool_warned in
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned
=yes ;;
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6705 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 printf %s
"checking for $ac_word... " >&6; }
6708 if test ${ac_cv_prog_STRIP+y}
6710 printf %s
"(cached) " >&6
6712 if test -n "$STRIP"; then
6713 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6719 case $as_dir in #(((
6722 *) as_dir
=$as_dir/ ;;
6724 for ac_exec_ext
in '' $ac_executable_extensions; do
6725 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6726 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6736 STRIP
=$ac_cv_prog_STRIP
6737 if test -n "$STRIP"; then
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6739 printf "%s\n" "$STRIP" >&6; }
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 printf "%s\n" "no" >&6; }
6747 if test -z "$ac_cv_prog_STRIP"; then
6749 # Extract the first word of "strip", so it can be a program name with args.
6750 set dummy strip
; ac_word
=$2
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 printf %s
"checking for $ac_word... " >&6; }
6753 if test ${ac_cv_prog_ac_ct_STRIP+y}
6755 printf %s
"(cached) " >&6
6757 if test -n "$ac_ct_STRIP"; then
6758 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 case $as_dir in #(((
6767 *) as_dir
=$as_dir/ ;;
6769 for ac_exec_ext
in '' $ac_executable_extensions; do
6770 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_ac_ct_STRIP
="strip"
6772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6781 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6782 if test -n "$ac_ct_STRIP"; then
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6784 printf "%s\n" "$ac_ct_STRIP" >&6; }
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 printf "%s\n" "no" >&6; }
6790 if test "x$ac_ct_STRIP" = x
; then
6793 case $cross_compiling:$ac_tool_warned in
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6797 ac_tool_warned
=yes ;;
6802 STRIP
="$ac_cv_prog_STRIP"
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6807 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 printf %s
"checking for $ac_word... " >&6; }
6810 if test ${ac_cv_prog_RANLIB+y}
6812 printf %s
"(cached) " >&6
6814 if test -n "$RANLIB"; then
6815 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6821 case $as_dir in #(((
6824 *) as_dir
=$as_dir/ ;;
6826 for ac_exec_ext
in '' $ac_executable_extensions; do
6827 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6838 RANLIB
=$ac_cv_prog_RANLIB
6839 if test -n "$RANLIB"; then
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6841 printf "%s\n" "$RANLIB" >&6; }
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 printf "%s\n" "no" >&6; }
6849 if test -z "$ac_cv_prog_RANLIB"; then
6850 ac_ct_RANLIB
=$RANLIB
6851 # Extract the first word of "ranlib", so it can be a program name with args.
6852 set dummy ranlib
; ac_word
=$2
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 printf %s
"checking for $ac_word... " >&6; }
6855 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6857 printf %s
"(cached) " >&6
6859 if test -n "$ac_ct_RANLIB"; then
6860 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6866 case $as_dir in #(((
6869 *) as_dir
=$as_dir/ ;;
6871 for ac_exec_ext
in '' $ac_executable_extensions; do
6872 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6883 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6884 if test -n "$ac_ct_RANLIB"; then
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6886 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 printf "%s\n" "no" >&6; }
6892 if test "x$ac_ct_RANLIB" = x
; then
6895 case $cross_compiling:$ac_tool_warned in
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned
=yes ;;
6901 RANLIB
=$ac_ct_RANLIB
6904 RANLIB
="$ac_cv_prog_RANLIB"
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6908 printf %s
"checking whether ln -s works... " >&6; }
6910 if test "$LN_S" = "ln -s"; then
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6912 printf "%s\n" "yes" >&6; }
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6915 printf "%s\n" "no, using $LN_S" >&6; }
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6919 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6920 if test ${ac_cv_path_GREP+y}
6922 printf %s
"(cached) " >&6
6924 if test -z "$GREP"; then
6925 ac_path_GREP_found
=false
6926 # Loop through the user's path and test for each of PROGNAME-LIST
6927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6928 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6931 case $as_dir in #(((
6934 *) as_dir
=$as_dir/ ;;
6936 for ac_prog
in grep ggrep
6938 for ac_exec_ext
in '' $ac_executable_extensions; do
6939 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6940 as_fn_executable_p
"$ac_path_GREP" ||
continue
6941 # Check for GNU ac_path_GREP and select it if it is found.
6942 # Check for GNU $ac_path_GREP
6943 case `"$ac_path_GREP" --version 2>&1` in
6945 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6948 printf %s
0123456789 >"conftest.in"
6951 cat "conftest.in" "conftest.in" >"conftest.tmp"
6952 mv "conftest.tmp" "conftest.in"
6953 cp "conftest.in" "conftest.nl"
6954 printf "%s\n" 'GREP' >> "conftest.nl"
6955 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6956 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6957 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6958 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6959 # Best one so far, save it but keep looking for a better one
6960 ac_cv_path_GREP
="$ac_path_GREP"
6961 ac_path_GREP_max
=$ac_count
6963 # 10*(2^10) chars as input seems more than enough
6964 test $ac_count -gt 10 && break
6966 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6969 $ac_path_GREP_found && break 3
6974 if test -z "$ac_cv_path_GREP"; then
6975 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6978 ac_cv_path_GREP
=$GREP
6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6983 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6984 GREP
="$ac_cv_path_GREP"
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6988 printf %s
"checking for egrep... " >&6; }
6989 if test ${ac_cv_path_EGREP+y}
6991 printf %s
"(cached) " >&6
6993 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6994 then ac_cv_path_EGREP
="$GREP -E"
6996 if test -z "$EGREP"; then
6997 ac_path_EGREP_found
=false
6998 # Loop through the user's path and test for each of PROGNAME-LIST
6999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7003 case $as_dir in #(((
7006 *) as_dir
=$as_dir/ ;;
7008 for ac_prog
in egrep
7010 for ac_exec_ext
in '' $ac_executable_extensions; do
7011 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7012 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7013 # Check for GNU ac_path_EGREP and select it if it is found.
7014 # Check for GNU $ac_path_EGREP
7015 case `"$ac_path_EGREP" --version 2>&1` in
7017 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7020 printf %s
0123456789 >"conftest.in"
7023 cat "conftest.in" "conftest.in" >"conftest.tmp"
7024 mv "conftest.tmp" "conftest.in"
7025 cp "conftest.in" "conftest.nl"
7026 printf "%s\n" 'EGREP' >> "conftest.nl"
7027 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7028 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7029 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7030 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7031 # Best one so far, save it but keep looking for a better one
7032 ac_cv_path_EGREP
="$ac_path_EGREP"
7033 ac_path_EGREP_max
=$ac_count
7035 # 10*(2^10) chars as input seems more than enough
7036 test $ac_count -gt 10 && break
7038 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7041 $ac_path_EGREP_found && break 3
7046 if test -z "$ac_cv_path_EGREP"; then
7047 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7050 ac_cv_path_EGREP
=$EGREP
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7056 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7057 EGREP
="$ac_cv_path_EGREP"
7060 # Extract the first word of "ldconfig", so it can be a program name with args.
7061 set dummy ldconfig
; ac_word
=$2
7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 printf %s
"checking for $ac_word... " >&6; }
7064 if test ${ac_cv_path_LDCONFIG+y}
7066 printf %s
"(cached) " >&6
7070 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7074 for as_dir
in /sbin
/usr
/sbin
$PATH
7077 case $as_dir in #(((
7080 *) as_dir
=$as_dir/ ;;
7082 for ac_exec_ext
in '' $ac_executable_extensions; do
7083 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7084 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7092 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7096 LDCONFIG
=$ac_cv_path_LDCONFIG
7097 if test -n "$LDCONFIG"; then
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7099 printf "%s\n" "$LDCONFIG" >&6; }
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 printf "%s\n" "no" >&6; }
7106 for ac_prog
in msgfmt
7108 # Extract the first word of "$ac_prog", so it can be a program name with args.
7109 set dummy
$ac_prog; ac_word
=$2
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 printf %s
"checking for $ac_word... " >&6; }
7112 if test ${ac_cv_prog_MSGFMT+y}
7114 printf %s
"(cached) " >&6
7116 if test -n "$MSGFMT"; then
7117 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7123 case $as_dir in #(((
7126 *) as_dir
=$as_dir/ ;;
7128 for ac_exec_ext
in '' $ac_executable_extensions; do
7129 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_MSGFMT
="$ac_prog"
7131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7140 MSGFMT
=$ac_cv_prog_MSGFMT
7141 if test -n "$MSGFMT"; then
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7143 printf "%s\n" "$MSGFMT" >&6; }
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 printf "%s\n" "no" >&6; }
7150 test -n "$MSGFMT" && break
7152 test -n "$MSGFMT" || MSGFMT
="false"
7154 if test ${ac_tool_prefix+y}
7156 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7157 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 printf %s
"checking for $ac_word... " >&6; }
7160 if test ${ac_cv_prog_PKG_CONFIG+y}
7162 printf %s
"(cached) " >&6
7164 if test -n "$PKG_CONFIG"; then
7165 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7171 case $as_dir in #(((
7174 *) as_dir
=$as_dir/ ;;
7176 for ac_exec_ext
in '' $ac_executable_extensions; do
7177 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7188 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7189 if test -n "$PKG_CONFIG"; then
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7191 printf "%s\n" "$PKG_CONFIG" >&6; }
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 printf "%s\n" "no" >&6; }
7199 if ${ac_cv_prog_PKG_CONFIG:+false} :
7201 if test "x$cross_compiling" = xyes
7205 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7206 # Extract the first word of "pkg-config", so it can be a program name with args.
7207 set dummy pkg-config
; ac_word
=$2
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 printf %s
"checking for $ac_word... " >&6; }
7210 if test ${ac_cv_prog_PKG_CONFIG+y}
7212 printf %s
"(cached) " >&6
7214 if test -n "$PKG_CONFIG"; then
7215 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7221 case $as_dir in #(((
7224 *) as_dir
=$as_dir/ ;;
7226 for ac_exec_ext
in '' $ac_executable_extensions; do
7227 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7228 ac_cv_prog_PKG_CONFIG
="pkg-config"
7229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7238 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7239 if test -n "$PKG_CONFIG"; then
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7241 printf "%s\n" "$PKG_CONFIG" >&6; }
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 printf "%s\n" "no" >&6; }
7250 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7253 if test "x$enable_maintainer_mode" != "xyes"
7260 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7261 for ac_prog
in fontforge
7263 # Extract the first word of "$ac_prog", so it can be a program name with args.
7264 set dummy
$ac_prog; ac_word
=$2
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 printf %s
"checking for $ac_word... " >&6; }
7267 if test ${ac_cv_prog_FONTFORGE+y}
7269 printf %s
"(cached) " >&6
7271 if test -n "$FONTFORGE"; then
7272 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7278 case $as_dir in #(((
7281 *) as_dir
=$as_dir/ ;;
7283 for ac_exec_ext
in '' $ac_executable_extensions; do
7284 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_FONTFORGE
="$ac_prog"
7286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7295 FONTFORGE
=$ac_cv_prog_FONTFORGE
7296 if test -n "$FONTFORGE"; then
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7298 printf "%s\n" "$FONTFORGE" >&6; }
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 printf "%s\n" "no" >&6; }
7305 test -n "$FONTFORGE" && break
7307 test -n "$FONTFORGE" || FONTFORGE
="false"
7309 for ac_prog
in rsvg-convert rsvg
7311 # Extract the first word of "$ac_prog", so it can be a program name with args.
7312 set dummy
$ac_prog; ac_word
=$2
7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7314 printf %s
"checking for $ac_word... " >&6; }
7315 if test ${ac_cv_prog_RSVG+y}
7317 printf %s
"(cached) " >&6
7319 if test -n "$RSVG"; then
7320 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7326 case $as_dir in #(((
7329 *) as_dir
=$as_dir/ ;;
7331 for ac_exec_ext
in '' $ac_executable_extensions; do
7332 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_RSVG
="$ac_prog"
7334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7343 RSVG
=$ac_cv_prog_RSVG
7344 if test -n "$RSVG"; then
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7346 printf "%s\n" "$RSVG" >&6; }
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 printf "%s\n" "no" >&6; }
7353 test -n "$RSVG" && break
7355 test -n "$RSVG" || RSVG
="false"
7357 for ac_prog
in convert
7359 # Extract the first word of "$ac_prog", so it can be a program name with args.
7360 set dummy
$ac_prog; ac_word
=$2
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 printf %s
"checking for $ac_word... " >&6; }
7363 if test ${ac_cv_prog_CONVERT+y}
7365 printf %s
"(cached) " >&6
7367 if test -n "$CONVERT"; then
7368 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 case $as_dir in #(((
7377 *) as_dir
=$as_dir/ ;;
7379 for ac_exec_ext
in '' $ac_executable_extensions; do
7380 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_CONVERT
="$ac_prog"
7382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7391 CONVERT
=$ac_cv_prog_CONVERT
7392 if test -n "$CONVERT"; then
7393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7394 printf "%s\n" "$CONVERT" >&6; }
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 printf "%s\n" "no" >&6; }
7401 test -n "$CONVERT" && break
7403 test -n "$CONVERT" || CONVERT
="false"
7405 for ac_prog
in icotool
7407 # Extract the first word of "$ac_prog", so it can be a program name with args.
7408 set dummy
$ac_prog; ac_word
=$2
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 printf %s
"checking for $ac_word... " >&6; }
7411 if test ${ac_cv_prog_ICOTOOL+y}
7413 printf %s
"(cached) " >&6
7415 if test -n "$ICOTOOL"; then
7416 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7422 case $as_dir in #(((
7425 *) as_dir
=$as_dir/ ;;
7427 for ac_exec_ext
in '' $ac_executable_extensions; do
7428 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_ICOTOOL
="$ac_prog"
7430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7439 ICOTOOL
=$ac_cv_prog_ICOTOOL
7440 if test -n "$ICOTOOL"; then
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7442 printf "%s\n" "$ICOTOOL" >&6; }
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 printf "%s\n" "no" >&6; }
7449 test -n "$ICOTOOL" && break
7451 test -n "$ICOTOOL" || ICOTOOL
="false"
7453 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7454 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7456 if test "$CONVERT" = false
7458 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7461 printf %s
"checking for recent enough imagemagick... " >&6; }
7462 convert_version
=`convert --version | head -n1`
7463 if test "x$convert_version" != "x"
7465 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7466 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7467 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7472 if test "$CONVERT" = false
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7475 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7476 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7479 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7483 if test "$ICOTOOL" = false
7485 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7488 printf %s
"checking for recent enough icotool... " >&6; }
7489 icotool_version
=`icotool --version | head -n1`
7490 if test "x$icotool_version" != "x"
7492 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7493 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7494 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7497 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7500 if test "$ICOTOOL" = false
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7503 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7504 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7507 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7517 test "x$with_gettext" != xno || MSGFMT
=false
7518 if test "$MSGFMT" != "false"
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7521 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7522 if test ${wine_cv_msgfmt_contexts+y}
7524 printf %s
"(cached) " >&6
7526 cat >conftest.po
<<EOF
7532 if $MSGFMT -o /dev
/null conftest.po
2>&5
7534 wine_cv_msgfmt_contexts
=yes
7536 wine_cv_msgfmt_contexts
=no
7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7540 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7541 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7543 if test "$MSGFMT" = false
7545 case "x$with_gettext" in
7546 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7548 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7549 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7551 enable_po
=${enable_po:-no}
7555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7556 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7557 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7559 printf %s
"(cached) " >&6
7561 ac_check_lib_save_LIBS
=$LIBS
7563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7566 /* Override any GCC internal prototype to avoid an error.
7567 Use char because int might match the return type of a GCC
7568 builtin and then its argument prototype would still apply. */
7569 char i386_set_ldt ();
7573 return i386_set_ldt ();
7578 if ac_fn_c_try_link
"$LINENO"
7580 ac_cv_lib_i386_i386_set_ldt
=yes
7582 ac_cv_lib_i386_i386_set_ldt
=no
7584 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7585 conftest
$ac_exeext conftest.
$ac_ext
7586 LIBS
=$ac_check_lib_save_LIBS
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7589 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7590 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7601 # Check whether --enable-largefile was given.
7602 if test ${enable_largefile+y}
7604 enableval
=$enable_largefile;
7607 if test "$enable_largefile" != no
; then
7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7610 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7611 if test ${ac_cv_sys_largefile_CC+y}
7613 printf %s
"(cached) " >&6
7615 ac_cv_sys_largefile_CC
=no
7616 if test "$GCC" != yes; then
7619 # IRIX 6.2 and later do not support large files by default,
7620 # so use the C compiler's -n32 option if that helps.
7621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7622 /* end confdefs.h. */
7623 #include <sys/types.h>
7624 /* Check that off_t can represent 2**63 - 1 correctly.
7625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7626 since some C++ compilers masquerading as C compilers
7627 incorrectly reject 9223372036854775807. */
7628 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7630 && LARGE_OFF_T % 2147483647 == 1)
7640 if ac_fn_c_try_compile
"$LINENO"
7644 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7646 if ac_fn_c_try_compile
"$LINENO"
7648 ac_cv_sys_largefile_CC
=' -n32'; break
7650 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7654 rm -f conftest.
$ac_ext
7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7658 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7659 if test "$ac_cv_sys_largefile_CC" != no
; then
7660 CC
=$CC$ac_cv_sys_largefile_CC
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7664 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7665 if test ${ac_cv_sys_file_offset_bits+y}
7667 printf %s
"(cached) " >&6
7670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #include <sys/types.h>
7673 /* Check that off_t can represent 2**63 - 1 correctly.
7674 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7675 since some C++ compilers masquerading as C compilers
7676 incorrectly reject 9223372036854775807. */
7677 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7678 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7679 && LARGE_OFF_T % 2147483647 == 1)
7689 if ac_fn_c_try_compile
"$LINENO"
7691 ac_cv_sys_file_offset_bits
=no
; break
7693 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7696 #define _FILE_OFFSET_BITS 64
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7714 if ac_fn_c_try_compile
"$LINENO"
7716 ac_cv_sys_file_offset_bits
=64; break
7718 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7719 ac_cv_sys_file_offset_bits
=unknown
7723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7724 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7725 case $ac_cv_sys_file_offset_bits in #(
7728 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7732 if test $ac_cv_sys_file_offset_bits = unknown
; then
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7734 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7735 if test ${ac_cv_sys_large_files+y}
7737 printf %s
"(cached) " >&6
7740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7742 #include <sys/types.h>
7743 /* Check that off_t can represent 2**63 - 1 correctly.
7744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7745 since some C++ compilers masquerading as C compilers
7746 incorrectly reject 9223372036854775807. */
7747 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7749 && LARGE_OFF_T % 2147483647 == 1)
7759 if ac_fn_c_try_compile
"$LINENO"
7761 ac_cv_sys_large_files
=no
; break
7763 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7766 #define _LARGE_FILES 1
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7784 if ac_fn_c_try_compile
"$LINENO"
7786 ac_cv_sys_large_files
=1; break
7788 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7789 ac_cv_sys_large_files
=unknown
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7794 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7795 case $ac_cv_sys_large_files in #(
7798 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7806 ac_header
= ac_cache
=
7807 for ac_item
in $ac_header_c_list
7809 if test $ac_cache; then
7810 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7811 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7812 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7814 ac_header
= ac_cache
=
7815 elif test $ac_header; then
7829 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7832 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7835 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_CL_cl_h" = xyes
7838 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_EGL_egl_h" = xyes
7844 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7850 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_arpa_inet_h" = xyes
7856 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7862 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_asm_types_h" = xyes
7868 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_asm_user_h" = xyes
7874 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_elf_h" = xyes
7880 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_float_h" = xyes
7886 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_gettext_po_h" = xyes
7892 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_libproc_h" = xyes
7898 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_link_h" = xyes
7904 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7910 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_linux_filter_h" = xyes
7916 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7922 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7928 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_linux_input_h" = xyes
7934 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7940 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_linux_major_h" = xyes
7946 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_param_h" = xyes
7952 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_serial_h" = xyes
7958 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_types_h" = xyes
7964 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7970 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_lwp_h" = xyes
7976 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7982 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_mach_mach_h" = xyes
7988 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_machine_cpu_h" = xyes
7994 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8000 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_mntent_h" = xyes
8006 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_netdb_h" = xyes
8012 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_netinet_in_h" = xyes
8018 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8024 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8030 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8036 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8042 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_port_h" = xyes
8048 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_pthread_h" = xyes
8054 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_pwd_h" = xyes
8060 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_sched_h" = xyes
8066 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8072 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8078 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_scsi_sg_h" = xyes
8084 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_stdint_h" = xyes
8090 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_sys_attr_h" = xyes
8096 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_sys_auxv_h" = xyes
8102 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_sys_cdio_h" = xyes
8108 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sys_epoll_h" = xyes
8114 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sys_event_h" = xyes
8120 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_sys_extattr_h" = xyes
8126 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sys_filio_h" = xyes
8132 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_sys_ipc_h" = xyes
8138 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_link_h" = xyes
8144 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_modem_h" = xyes
8150 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_mtio_h" = xyes
8156 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_param_h" = xyes
8162 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_prctl_h" = xyes
8168 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8174 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_queue_h" = xyes
8180 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_random_h" = xyes
8186 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_resource_h" = xyes
8192 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8198 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_shm_h" = xyes
8204 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_signal_h" = xyes
8210 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8216 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_sockio_h" = xyes
8222 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8228 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_strtio_h" = xyes
8234 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_syscall_h" = xyes
8240 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8246 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_times_h" = xyes
8252 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_uio_h" = xyes
8258 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_user_h" = xyes
8264 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_utsname_h" = xyes
8270 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_vnode_h" = xyes
8276 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_xattr_h" = xyes
8282 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_syscall_h" = xyes
8288 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_utime_h" = xyes
8294 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8300 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8306 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8314 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8318 if test $ac_cv_header_sys_mkdev_h = no
; then
8319 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8323 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8329 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8330 if test ${ac_cv_header_stat_broken+y}
8332 printf %s
"(cached) " >&6
8334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 #include <sys/types.h>
8337 #include <sys/stat.h>
8339 #if defined S_ISBLK && defined S_IFDIR
8340 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8343 #if defined S_ISBLK && defined S_IFCHR
8344 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8347 #if defined S_ISLNK && defined S_IFREG
8348 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8351 #if defined S_ISSOCK && defined S_IFREG
8352 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8356 if ac_fn_c_try_compile
"$LINENO"
8358 ac_cv_header_stat_broken
=no
8360 ac_cv_header_stat_broken
=yes
8362 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8365 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8366 if test $ac_cv_header_stat_broken = yes; then
8368 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8374 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8375 #ifdef HAVE_SYS_PARAM_H
8376 # include <sys/param.h>
8379 if test "x$ac_cv_header_sys_conf_h" = xyes
8381 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8384 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8385 #ifdef HAVE_SYS_PARAM_H
8386 # include <sys/param.h>
8389 if test "x$ac_cv_header_sys_mount_h" = xyes
8391 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8395 #ifdef HAVE_SYS_PARAM_H
8396 # include <sys/param.h>
8399 if test "x$ac_cv_header_sys_statfs_h" = xyes
8401 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8405 #ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8409 if test "x$ac_cv_header_sys_user_h" = xyes
8411 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8419 if test "x$ac_cv_header_sys_vfs_h" = xyes
8421 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8426 saved_sysctl_h_CFLAGS
=$CFLAGS
8427 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8428 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8433 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8435 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8439 CFLAGS
=$saved_sysctl_h_CFLAGS
8441 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8442 #include <sys/socket.h>
8443 #ifdef HAVE_SYS_SOCKETVAR_H
8444 # include <sys/socketvar.h>
8446 #ifdef HAVE_NET_ROUTE_H
8447 # include <net/route.h>
8449 #ifdef HAVE_NETINET_IN_H
8450 # include <netinet/in.h>
8452 #ifdef HAVE_NETINET_IN_SYSTM_H
8453 # include <netinet/in_systm.h>
8455 #ifdef HAVE_NET_IF_H
8456 # include <net/if.h>
8458 #ifdef HAVE_NETINET_IP_H
8459 # include <netinet/ip.h>
8462 if test "x$ac_cv_header_netinet_ip_h" = xyes
8464 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8468 #include <sys/socket.h>
8469 #ifdef HAVE_SYS_SOCKETVAR_H
8470 # include <sys/socketvar.h>
8472 #ifdef HAVE_NET_ROUTE_H
8473 # include <net/route.h>
8475 #ifdef HAVE_NETINET_IN_H
8476 # include <netinet/in.h>
8478 #ifdef HAVE_NETINET_IN_SYSTM_H
8479 # include <netinet/in_systm.h>
8481 #ifdef HAVE_NET_IF_H
8482 # include <net/if.h>
8484 #ifdef HAVE_NETINET_IP_H
8485 # include <netinet/ip.h>
8488 if test "x$ac_cv_header_net_if_h" = xyes
8490 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8493 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8514 if test "x$ac_cv_header_net_if_arp_h" = xyes
8516 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8540 if test "x$ac_cv_header_net_if_dl_h" = xyes
8542 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8566 if test "x$ac_cv_header_net_if_types_h" = xyes
8568 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8592 if test "x$ac_cv_header_net_route_h" = xyes
8594 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8618 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8620 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8644 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8646 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8670 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8672 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8696 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8698 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8722 if test "x$ac_cv_header_netinet_udp_h" = xyes
8724 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8748 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8750 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8774 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8776 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8780 #include <sys/socket.h>
8781 #ifdef HAVE_SYS_SOCKETVAR_H
8782 # include <sys/socketvar.h>
8784 #ifdef HAVE_NET_ROUTE_H
8785 # include <net/route.h>
8787 #ifdef HAVE_NETINET_IN_H
8788 # include <netinet/in.h>
8790 #ifdef HAVE_NETINET_IN_SYSTM_H
8791 # include <netinet/in_systm.h>
8793 #ifdef HAVE_NET_IF_H
8794 # include <net/if.h>
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8800 if test "x$ac_cv_header_sys_un_h" = xyes
8802 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8812 #ifdef HAVE_NETINET_IN_H
8813 # include <netinet/in.h>
8815 #ifdef HAVE_NETINET_IN_SYSTM_H
8816 # include <netinet/in_systm.h>
8818 #ifdef HAVE_NETINET_IP_H
8819 # include <netinet/ip.h>
8821 #ifdef HAVE_NETINET_IP_VAR_H
8822 # include <netinet/ip_var.h>
8824 #ifdef HAVE_NETINET_IP_ICMP_H
8825 # include <netinet/ip_icmp.h>
8827 #ifdef HAVE_NETINET_UDP_H
8828 # include <netinet/udp.h>
8830 #ifdef HAVE_NETINET_TCP_H
8831 # include <netinet/tcp.h>
8834 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8836 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8853 #ifdef HAVE_NETINET_IP_VAR_H
8854 # include <netinet/ip_var.h>
8856 #ifdef HAVE_NETINET_IP_ICMP_H
8857 # include <netinet/ip_icmp.h>
8859 #ifdef HAVE_NETINET_UDP_H
8860 # include <netinet/udp.h>
8862 #ifdef HAVE_NETINET_TCP_H
8863 # include <netinet/tcp.h>
8866 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8868 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8871 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8872 #include <sys/socket.h>
8873 #ifdef HAVE_SYS_SOCKETVAR_H
8874 # include <sys/socketvar.h>
8876 #ifdef HAVE_NETINET_IN_H
8877 # include <netinet/in.h>
8879 #ifdef HAVE_NETINET_IN_SYSTM_H
8880 # include <netinet/in_systm.h>
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8885 #ifdef HAVE_NETINET_IP_VAR_H
8886 # include <netinet/ip_var.h>
8888 #ifdef HAVE_NETINET_IP_ICMP_H
8889 # include <netinet/ip_icmp.h>
8891 #ifdef HAVE_NETINET_UDP_H
8892 # include <netinet/udp.h>
8894 #ifdef HAVE_NETINET_TCP_H
8895 # include <netinet/tcp.h>
8898 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8900 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8903 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8904 #include <sys/socket.h>
8905 #ifdef HAVE_SYS_SOCKETVAR_H
8906 # include <sys/socketvar.h>
8908 #ifdef HAVE_NETINET_IN_H
8909 # include <netinet/in.h>
8911 #ifdef HAVE_NETINET_IN_SYSTM_H
8912 # include <netinet/in_systm.h>
8914 #ifdef HAVE_NETINET_IP_H
8915 # include <netinet/ip.h>
8917 #ifdef HAVE_NETINET_IP_VAR_H
8918 # include <netinet/ip_var.h>
8920 #ifdef HAVE_NETINET_IP_ICMP_H
8921 # include <netinet/ip_icmp.h>
8923 #ifdef HAVE_NETINET_UDP_H
8924 # include <netinet/udp.h>
8926 #ifdef HAVE_NETINET_TCP_H
8927 # include <netinet/tcp.h>
8930 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8932 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8937 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8938 #include <sys/socket.h>
8939 #ifdef HAVE_ASM_TYPES_H
8940 # include <asm/types.h>
8942 #ifdef HAVE_LINUX_TYPES_H
8943 # include <linux/types.h>
8946 if test "x$ac_cv_header_linux_ipx_h" = xyes
8948 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8951 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8952 #include <sys/socket.h>
8953 #ifdef HAVE_ASM_TYPES_H
8954 # include <asm/types.h>
8956 #ifdef HAVE_LINUX_TYPES_H
8957 # include <linux/types.h>
8960 if test "x$ac_cv_header_linux_irda_h" = xyes
8962 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8974 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8976 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_NETINET_IN_H
8984 # include <netinet/in.h>
8986 #ifdef HAVE_ARPA_NAMESER_H
8987 # include <arpa/nameser.h>
8990 if test "x$ac_cv_header_resolv_h" = xyes
8992 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8999 if test "x$ac_cv_header_ifaddrs_h" = xyes
9001 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9008 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9010 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9016 #ifdef HAVE_SYS_UCONTEXT_H
9017 #include <sys/ucontext.h>
9020 if test "x$ac_cv_header_sys_thr_h" = xyes
9022 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9028 #include <pthread.h>
9031 if test "x$ac_cv_header_pthread_np_h" = xyes
9033 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9039 #include <sys/types.h>
9040 #ifdef HAVE_ASM_TYPES_H
9041 #include <asm/types.h>
9044 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9046 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9052 #include <sys/param.h>
9054 #include <sys/socket.h>
9055 #ifdef HAVE_SYS_QUEUE_H
9056 #include <sys/queue.h>
9059 if test "x$ac_cv_header_libprocstat_h" = xyes
9061 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9066 if test "x$ac_cv_header_sys_xattr_h" = xyes
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9069 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9070 if test ${wine_cv_xattr_extra_args+y}
9072 printf %s
"(cached) " >&6
9074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <sys/xattr.h>
9080 getxattr("", "", "", 0, 0, 0);
9085 if ac_fn_c_try_compile
"$LINENO"
9087 wine_cv_xattr_extra_args
=yes
9089 wine_cv_xattr_extra_args
=no
9091 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9094 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9095 test $wine_cv_xattr_extra_args != yes ||
9096 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9109 UNIXDLLFLAGS
="-fPIC"
9111 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9117 WINELOADER_LDFLAGS
=""
9119 WINEPRELOADER_LDFLAGS
=""
9124 # Extract the first word of "ldd", so it can be a program name with args.
9125 set dummy ldd
; ac_word
=$2
9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9127 printf %s
"checking for $ac_word... " >&6; }
9128 if test ${ac_cv_path_LDD+y}
9130 printf %s
"(cached) " >&6
9134 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9138 as_dummy
="/sbin:/usr/sbin:$PATH"
9139 for as_dir
in $as_dummy
9142 case $as_dir in #(((
9145 *) as_dir
=$as_dir/ ;;
9147 for ac_exec_ext
in '' $ac_executable_extensions; do
9148 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9149 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9157 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9162 if test -n "$LDD"; then
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9164 printf "%s\n" "$LDD" >&6; }
9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 printf "%s\n" "no" >&6; }
9171 if test -n "$ac_tool_prefix"; then
9172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9173 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9175 printf %s
"checking for $ac_word... " >&6; }
9176 if test ${ac_cv_prog_OTOOL+y}
9178 printf %s
"(cached) " >&6
9180 if test -n "$OTOOL"; then
9181 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9187 case $as_dir in #(((
9190 *) as_dir
=$as_dir/ ;;
9192 for ac_exec_ext
in '' $ac_executable_extensions; do
9193 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9194 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9204 OTOOL
=$ac_cv_prog_OTOOL
9205 if test -n "$OTOOL"; then
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9207 printf "%s\n" "$OTOOL" >&6; }
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 printf "%s\n" "no" >&6; }
9215 if test -z "$ac_cv_prog_OTOOL"; then
9217 # Extract the first word of "otool", so it can be a program name with args.
9218 set dummy otool
; ac_word
=$2
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 printf %s
"checking for $ac_word... " >&6; }
9221 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9223 printf %s
"(cached) " >&6
9225 if test -n "$ac_ct_OTOOL"; then
9226 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9232 case $as_dir in #(((
9235 *) as_dir
=$as_dir/ ;;
9237 for ac_exec_ext
in '' $ac_executable_extensions; do
9238 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9239 ac_cv_prog_ac_ct_OTOOL
="otool"
9240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9249 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9250 if test -n "$ac_ct_OTOOL"; then
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9252 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 printf "%s\n" "no" >&6; }
9258 if test "x$ac_ct_OTOOL" = x
; then
9261 case $cross_compiling:$ac_tool_warned in
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9264 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9265 ac_tool_warned
=yes ;;
9270 OTOOL
="$ac_cv_prog_OTOOL"
9273 if test -n "$ac_tool_prefix"; then
9274 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9275 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9277 printf %s
"checking for $ac_word... " >&6; }
9278 if test ${ac_cv_prog_READELF+y}
9280 printf %s
"(cached) " >&6
9282 if test -n "$READELF"; then
9283 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9289 case $as_dir in #(((
9292 *) as_dir
=$as_dir/ ;;
9294 for ac_exec_ext
in '' $ac_executable_extensions; do
9295 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9296 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9306 READELF
=$ac_cv_prog_READELF
9307 if test -n "$READELF"; then
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9309 printf "%s\n" "$READELF" >&6; }
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312 printf "%s\n" "no" >&6; }
9317 if test -z "$ac_cv_prog_READELF"; then
9318 ac_ct_READELF
=$READELF
9319 # Extract the first word of "readelf", so it can be a program name with args.
9320 set dummy readelf
; ac_word
=$2
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9322 printf %s
"checking for $ac_word... " >&6; }
9323 if test ${ac_cv_prog_ac_ct_READELF+y}
9325 printf %s
"(cached) " >&6
9327 if test -n "$ac_ct_READELF"; then
9328 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9334 case $as_dir in #(((
9337 *) as_dir
=$as_dir/ ;;
9339 for ac_exec_ext
in '' $ac_executable_extensions; do
9340 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9341 ac_cv_prog_ac_ct_READELF
="readelf"
9342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9351 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9352 if test -n "$ac_ct_READELF"; then
9353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9354 printf "%s\n" "$ac_ct_READELF" >&6; }
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9357 printf "%s\n" "no" >&6; }
9360 if test "x$ac_ct_READELF" = x
; then
9363 case $cross_compiling:$ac_tool_warned in
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9366 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9367 ac_tool_warned
=yes ;;
9369 READELF
=$ac_ct_READELF
9372 READELF
="$ac_cv_prog_READELF"
9380 CONFIGURE_TARGETS
=""
9383 wine_fn_config_makefile
()
9385 as_fn_append SUBDIRS
" \\$as_nl $1"
9388 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9389 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9390 if test -n "$PE_ARCHS"
9394 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9397 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9402 wine_fn_config_symlink
()
9405 as_fn_append wine_rules
"
9407 @./config.status \$@"
9408 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9415 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9417 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9418 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9419 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9421 printf %s
"(cached) " >&6
9423 ac_wine_try_cflags_saved
=$CFLAGS
9424 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9427 int main(int argc, char **argv) { return 0; }
9429 if ac_fn_c_try_link
"$LINENO"
9431 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9433 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9436 conftest
$ac_exeext conftest.
$ac_ext
9437 CFLAGS
=$ac_wine_try_cflags_saved
9439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9440 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9441 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9443 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9446 enable_loader
=${enable_loader:-no}
9447 enable_server
=${enable_server:-no}
9448 with_x
=${with_x:-no}
9449 with_pthread
=${with_pthread:-no}
9454 DLLFLAGS
="$DLLFLAGS -fPIC"
9456 enable_winemac_drv
=${enable_winemac_drv:-yes}
9457 CARBON_LIBS
="-framework Carbon"
9459 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9461 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9463 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9465 METAL_LIBS
="-framework Metal"
9467 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9469 CORESERVICES_LIBS
="-framework CoreServices"
9471 APPKIT_LIBS
="-framework AppKit"
9473 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9475 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9478 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9480 wine_can_build_preloader
=yes
9481 WINEPRELOADER_LDFLAGS
="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9483 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9484 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9486 printf %s
"(cached) " >&6
9488 ac_wine_try_cflags_saved
=$CFLAGS
9489 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9494 if ac_fn_c_try_link
"$LINENO"
9496 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9498 ac_cv_cflags__Wl__no_new_main__e__main
=no
9500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9501 conftest
$ac_exeext conftest.
$ac_ext
9502 CFLAGS
=$ac_wine_try_cflags_saved
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9505 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9506 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9508 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9510 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9511 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9513 printf %s
"(cached) " >&6
9515 ac_wine_try_cflags_saved
=$CFLAGS
9516 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9519 int main(int argc, char **argv) { return 0; }
9521 if ac_fn_c_try_link
"$LINENO"
9523 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9525 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9527 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9528 conftest
$ac_exeext conftest.
$ac_ext
9529 CFLAGS
=$ac_wine_try_cflags_saved
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9532 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9533 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9535 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9537 wine_can_build_preloader
=no
9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9541 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9542 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9544 printf %s
"(cached) " >&6
9546 ac_wine_try_cflags_saved
=$CFLAGS
9547 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9550 int main(int argc, char **argv) { return 0; }
9552 if ac_fn_c_try_link
"$LINENO"
9554 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9556 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9558 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9559 conftest
$ac_exeext conftest.
$ac_ext
9560 CFLAGS
=$ac_wine_try_cflags_saved
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9563 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9564 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9566 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9568 wine_can_build_preloader
=no
9571 if test "$wine_can_build_preloader" = "yes"
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9574 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9575 if test ${ac_cv_cflags__Wl__no_pie+y}
9577 printf %s
"(cached) " >&6
9579 ac_wine_try_cflags_saved
=$CFLAGS
9580 CFLAGS
="$CFLAGS -Wl,-no_pie"
9581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9583 int main(int argc, char **argv) { return 0; }
9585 if ac_fn_c_try_link
"$LINENO"
9587 ac_cv_cflags__Wl__no_pie
=yes
9589 ac_cv_cflags__Wl__no_pie
=no
9591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9592 conftest
$ac_exeext conftest.
$ac_ext
9593 CFLAGS
=$ac_wine_try_cflags_saved
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9596 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9597 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9599 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9601 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9603 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9606 if test "x$with_coreaudio" != "xno";
9608 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9610 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9612 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9614 OPENCL_LIBS
="-framework OpenCL"
9616 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9620 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9622 ac_cpp
='$OBJCPP $CPPFLAGS'
9623 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9624 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9625 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9628 ac_cpp
='$OBJCPP $CPPFLAGS'
9629 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9630 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9631 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9632 if test -n "$ac_tool_prefix"; then
9633 for ac_prog
in gcc objcc objc cc CC clang
9635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9636 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9638 printf %s
"checking for $ac_word... " >&6; }
9639 if test ${ac_cv_prog_OBJC+y}
9641 printf %s
"(cached) " >&6
9643 if test -n "$OBJC"; then
9644 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9650 case $as_dir in #(((
9653 *) as_dir
=$as_dir/ ;;
9655 for ac_exec_ext
in '' $ac_executable_extensions; do
9656 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9667 OBJC
=$ac_cv_prog_OBJC
9668 if test -n "$OBJC"; then
9669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9670 printf "%s\n" "$OBJC" >&6; }
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9673 printf "%s\n" "no" >&6; }
9677 test -n "$OBJC" && break
9680 if test -z "$OBJC"; then
9682 for ac_prog
in gcc objcc objc cc CC clang
9684 # Extract the first word of "$ac_prog", so it can be a program name with args.
9685 set dummy
$ac_prog; ac_word
=$2
9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 printf %s
"checking for $ac_word... " >&6; }
9688 if test ${ac_cv_prog_ac_ct_OBJC+y}
9690 printf %s
"(cached) " >&6
9692 if test -n "$ac_ct_OBJC"; then
9693 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9699 case $as_dir in #(((
9702 *) as_dir
=$as_dir/ ;;
9704 for ac_exec_ext
in '' $ac_executable_extensions; do
9705 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9716 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9717 if test -n "$ac_ct_OBJC"; then
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9719 printf "%s\n" "$ac_ct_OBJC" >&6; }
9721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 printf "%s\n" "no" >&6; }
9726 test -n "$ac_ct_OBJC" && break
9729 if test "x$ac_ct_OBJC" = x
; then
9732 case $cross_compiling:$ac_tool_warned in
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9735 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9736 ac_tool_warned
=yes ;;
9742 # Provide some information about the compiler.
9743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9746 for ac_option
in --version -v -V -qversion; do
9747 { { ac_try
="$ac_compiler $ac_option >&5"
9749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9750 *) ac_try_echo=$ac_try;;
9752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9753 printf "%s\n" "$ac_try_echo"; } >&5
9754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9756 if test -s conftest.err; then
9758 ... rest of stderr output deleted ...
9759 10q' conftest.err >conftest.er1
9760 cat conftest.er1 >&5
9762 rm -f conftest.er1 conftest.err
9763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9764 test $ac_status = 0; }
9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9768 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9769 if test ${ac_cv_objc_compiler_gnu+y}
9771 printf %s "(cached) " >&6
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9787 if ac_fn_objc_try_compile "$LINENO"
9793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9794 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9798 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9799 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9801 if test $ac_compiler_gnu = yes; then
9806 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9807 ac_save_OBJCFLAGS=$OBJCFLAGS
9808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9809 printf %s "checking whether $OBJC accepts -g... " >&6; }
9810 if test ${ac_cv_prog_objc_g+y}
9812 printf %s "(cached) " >&6
9814 ac_save_objc_werror_flag=$ac_objc_werror_flag
9815 ac_objc_werror_flag=yes
9816 ac_cv_prog_objc_g=no
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9829 if ac_fn_objc_try_compile "$LINENO"
9831 ac_cv_prog_objc_g=yes
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9845 if ac_fn_objc_try_compile "$LINENO"
9849 ac_objc_werror_flag=$ac_save_objc_werror_flag
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9862 if ac_fn_objc_try_compile "$LINENO"
9864 ac_cv_prog_objc_g=yes
9866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 ac_objc_werror_flag=$ac_save_objc_werror_flag
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9874 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9875 if test $ac_test_OBJCFLAGS; then
9876 OBJCFLAGS=$ac_save_OBJCFLAGS
9877 elif test $ac_cv_prog_objc_g = yes; then
9878 if test "$GOBJC" = yes; then
9884 if test "$GOBJC" = yes; then
9891 ac_cpp='$OBJCPP $CPPFLAGS'
9892 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9893 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9894 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 #include <Metal/Metal.h>
9903 id<MTLDevice> device; device.registryID;
9908 if ac_fn_objc_try_compile "$LINENO"
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9911 printf "%s\n" "yes" >&6; }
9913 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9917 printf "%s\n" "no" >&6; }
9919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9921 ac_cpp='$CPP $CPPFLAGS'
9922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9927 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9928 WINELOADER_DEPENDS="wine_info.plist"
9934 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9936 DLLFLAGS="$DLLFLAGS -fPIC"
9938 LDEXECFLAGS="-Wl,-pie"
9939 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9941 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9942 if test ${ac_cv_cflags__Wl__z_defs+y}
9944 printf %s "(cached) " >&6
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 CFLAGS="$CFLAGS -Wl,-z,defs"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int main(int argc, char **argv) { return 0; }
9952 if ac_fn_c_try_link "$LINENO"
9954 ac_cv_cflags__Wl__z_defs=yes
9956 ac_cv_cflags__Wl__z_defs=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9963 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9964 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9966 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9969 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9970 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9972 printf %s "(cached) " >&6
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int main(int argc, char **argv) { return 0; }
9980 if ac_fn_c_try_link "$LINENO"
9982 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9984 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9987 conftest$ac_exeext conftest.$ac_ext
9988 CFLAGS=$ac_wine_try_cflags_saved
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9991 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9992 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9994 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9996 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9999 printf %s "checking for -lEGL... " >&6; }
10000 if test ${ac_cv_lib_soname_EGL+y}
10002 printf %s "(cached) " >&6
10004 ac_check_soname_save_LIBS=$LIBS
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10012 char eglGetProcAddress ();
10016 return eglGetProcAddress ();
10021 if ac_fn_c_try_link "$LINENO"
10024 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_EGL:+false} :
10029 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10033 ac_cv_lib_soname_EGL=
10035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_EGL:+false} :
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 printf "%s\n" "not found" >&6; }
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10046 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10048 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10053 printf %s "checking for -lGLESv2... " >&6; }
10054 if test ${ac_cv_lib_soname_GLESv2+y}
10056 printf %s "(cached) " >&6
10058 ac_check_soname_save_LIBS=$LIBS
10059 LIBS="-lGLESv2 $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10075 if ac_fn_c_try_link "$LINENO"
10078 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10079 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'` ;;
10080 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10081 if ${ac_cv_lib_soname_GLESv2:+false} :
10083 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 ac_cv_lib_soname_GLESv2=
10089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_soname_save_LIBS
10093 if ${ac_cv_lib_soname_GLESv2:+false} :
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 printf "%s\n" "not found" >&6; }
10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10100 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10102 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10107 if test "x$exec_prefix" = xNONE
10110 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10111 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10112 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10113 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10120 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10122 test "$ac_cv_sys_file_offset_bits" = 64 &&
10123 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10127 DLLFLAGS="$DLLFLAGS -fno-PIC"
10128 LDDLLFLAGS="-fno-PIC"
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10130 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10131 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10133 printf %s "(cached) " >&6
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 int main(int argc, char **argv) { return 0; }
10141 if ac_fn_c_try_link "$LINENO"
10143 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10145 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10152 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10153 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10155 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10159 DLLFLAGS="$DLLFLAGS -fPIC"
10160 LDDLLFLAGS="-fPIC" ;;
10163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10164 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10165 if test ${ac_cv_cflags__Wl__z_defs+y}
10167 printf %s "(cached) " >&6
10169 ac_wine_try_cflags_saved=$CFLAGS
10170 CFLAGS="$CFLAGS -Wl,-z,defs"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173 int main(int argc, char **argv) { return 0; }
10175 if ac_fn_c_try_link "$LINENO"
10177 ac_cv_cflags__Wl__z_defs=yes
10179 ac_cv_cflags__Wl__z_defs=no
10181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10186 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10187 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10189 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10192 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10193 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10195 printf %s "(cached) " >&6
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 int main(int argc, char **argv) { return 0; }
10203 if ac_fn_c_try_link "$LINENO"
10205 ac_cv_cflags__Wl___export_dynamic=yes
10207 ac_cv_cflags__Wl___export_dynamic=no
10209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10210 conftest$ac_exeext conftest.$ac_ext
10211 CFLAGS=$ac_wine_try_cflags_saved
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10214 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10215 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10217 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10219 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10223 as_fn_append WINELOADER_LDFLAGS " -pie"
10226 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10229 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10230 if test ${ac_cv_cflags__static_pie+y}
10232 printf %s "(cached) " >&6
10234 ac_wine_try_cflags_saved=$CFLAGS
10235 CFLAGS="$CFLAGS -static-pie"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10238 int main(int argc, char **argv) { return 0; }
10240 if ac_fn_c_try_link "$LINENO"
10242 ac_cv_cflags__static_pie=yes
10244 ac_cv_cflags__static_pie=no
10246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10247 conftest$ac_exeext conftest.$ac_ext
10248 CFLAGS=$ac_wine_try_cflags_saved
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10251 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10252 if test "x$ac_cv_cflags__static_pie" = xyes
10254 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10265 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10266 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10268 printf %s "(cached) " >&6
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10274 int main(int argc, char **argv) { return 0; }
10276 if ac_fn_c_try_link "$LINENO"
10278 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10280 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10283 conftest$ac_exeext conftest.$ac_ext
10284 CFLAGS=$ac_wine_try_cflags_saved
10286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10287 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10288 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10290 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10293 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10294 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10296 printf %s "(cached) " >&6
10298 ac_wine_try_cflags_saved=$CFLAGS
10299 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10302 int main(int argc, char **argv) { return 0; }
10304 if ac_fn_c_try_link "$LINENO"
10306 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10308 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10311 conftest$ac_exeext conftest.$ac_ext
10312 CFLAGS=$ac_wine_try_cflags_saved
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10315 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10316 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10318 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10323 as_fn_append WINELOADER_LDFLAGS " -pie"
10331 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10332 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10333 enable_winemac_drv=${enable_winemac_drv:-no}
10338 if test ${enable_archs+y}
10340 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10343 set x $enable_archs
10349 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10350 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10354 if test "x$with_mingw" != xno
10356 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10357 case "x$with_mingw" in
10359 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10364 for wine_arch in $cross_archs
10366 if eval \${${wine_arch}_CC:+false} :
10370 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10372 # Extract the first word of "$ac_prog", so it can be a program name with args.
10373 set dummy $ac_prog; ac_word=$2
10374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10375 printf %s "checking for $ac_word... " >&6; }
10376 if test ${ac_cv_prog_aarch64_CC+y}
10378 printf %s "(cached) " >&6
10380 if test -n "$aarch64_CC"; then
10381 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10387 case $as_dir in #(((
10390 *) as_dir=$as_dir/ ;;
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10394 ac_cv_prog_aarch64_CC="$ac_prog"
10395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10404 aarch64_CC=$ac_cv_prog_aarch64_CC
10405 if test -n "$aarch64_CC"; then
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10407 printf "%s\n" "$aarch64_CC" >&6; }
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 printf "%s\n" "no" >&6; }
10414 test -n "$aarch64_CC" && break
10416 test -n "$aarch64_CC" || aarch64_CC="false"
10420 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10422 # Extract the first word of "$ac_prog", so it can be a program name with args.
10423 set dummy $ac_prog; ac_word=$2
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 printf %s "checking for $ac_word... " >&6; }
10426 if test ${ac_cv_prog_arm_CC+y}
10428 printf %s "(cached) " >&6
10430 if test -n "$arm_CC"; then
10431 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434 for as_dir in $PATH
10437 case $as_dir in #(((
10440 *) as_dir=$as_dir/ ;;
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_arm_CC="$ac_prog"
10445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10454 arm_CC=$ac_cv_prog_arm_CC
10455 if test -n "$arm_CC"; then
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10457 printf "%s\n" "$arm_CC" >&6; }
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 printf "%s\n" "no" >&6; }
10464 test -n "$arm_CC" && break
10466 test -n "$arm_CC" || arm_CC="false"
10470 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 "
10471 for ac_prog in $ac_prefix_list clang
10473 # Extract the first word of "$ac_prog", so it can be a program name with args.
10474 set dummy $ac_prog; ac_word=$2
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10476 printf %s "checking for $ac_word... " >&6; }
10477 if test ${ac_cv_prog_i386_CC+y}
10479 printf %s "(cached) " >&6
10481 if test -n "$i386_CC"; then
10482 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10488 case $as_dir in #(((
10491 *) as_dir=$as_dir/ ;;
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10495 ac_cv_prog_i386_CC="$ac_prog"
10496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10505 i386_CC=$ac_cv_prog_i386_CC
10506 if test -n "$i386_CC"; then
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10508 printf "%s\n" "$i386_CC" >&6; }
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 printf "%s\n" "no" >&6; }
10515 test -n "$i386_CC" && break
10517 test -n "$i386_CC" || i386_CC="false"
10521 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10522 for ac_prog in $ac_prefix_list clang
10524 # Extract the first word of "$ac_prog", so it can be a program name with args.
10525 set dummy $ac_prog; ac_word=$2
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527 printf %s "checking for $ac_word... " >&6; }
10528 if test ${ac_cv_prog_x86_64_CC+y}
10530 printf %s "(cached) " >&6
10532 if test -n "$x86_64_CC"; then
10533 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10539 case $as_dir in #(((
10542 *) as_dir=$as_dir/ ;;
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_x86_64_CC="$ac_prog"
10547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10556 x86_64_CC=$ac_cv_prog_x86_64_CC
10557 if test -n "$x86_64_CC"; then
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10559 printf "%s\n" "$x86_64_CC" >&6; }
10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10562 printf "%s\n" "no" >&6; }
10566 test -n "$x86_64_CC" && break
10568 test -n "$x86_64_CC" || x86_64_CC="false"
10574 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10580 saved_CFLAGS=$CFLAGS
10581 saved_LDFLAGS=$LDFLAGS
10583 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10584 LDFLAGS=$CROSSLDFLAGS
10585 eval CC=\$${wine_arch}_CC
10586 eval ${wine_arch}_CFLAGS=\$CFLAGS
10587 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10588 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10591 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10594 printf %s "checking whether $CC works... " >&6; }
10595 if eval test \${$as_wine_cv_crosscc+y}
10597 printf %s "(cached) " >&6
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10610 if ac_fn_c_try_compile "$LINENO"
10612 eval "$as_wine_cv_crosscc=yes"
10614 eval "$as_wine_cv_crosscc=no"
10616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10618 eval ac_res=\$$as_wine_cv_crosscc
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10620 printf "%s\n" "$ac_res" >&6; }
10621 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10625 while test $# -ge 1
10628 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10629 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10634 llvm_target=$target
10635 if test -z "$llvm_target"
10638 i386) llvm_target=i686-windows ;;
10639 arm) llvm_target=armv7-windows ;;
10640 *) llvm_target=$wine_arch-windows ;;
10643 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10644 case $llvm_target in
10645 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10647 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10649 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10650 if eval test \${$as_ac_var+y}
10652 printf %s "(cached) " >&6
10654 ac_wine_try_cflags_saved=$CFLAGS
10655 ac_wine_try_cflags_saved_exeext=$ac_exeext
10656 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10660 int __cdecl mainCRTStartup(void) { return 0; }
10662 if ac_fn_c_try_link "$LINENO"
10664 eval "$as_ac_var=yes"
10666 eval "$as_ac_var=no"
10668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10669 conftest$ac_exeext conftest.$ac_ext
10670 CFLAGS=$ac_wine_try_cflags_saved
10671 ac_exeext=$ac_wine_try_cflags_saved_exeext
10673 eval ac_res=\$$as_ac_var
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10675 printf "%s\n" "$ac_res" >&6; }
10676 if eval test \"x\$"$as_ac_var"\" = x"yes"
10678 target=$llvm_target
10679 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10680 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10681 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10683 eval "${wine_arch}_TARGET=\$target"
10687 if test -z "$target"
10690 CFLAGS=$saved_CFLAGS
10691 LDFLAGS=$saved_LDFLAGS
10694 as_fn_append PE_ARCHS " $wine_arch"
10696 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10699 printf %s "checking for $CC option to enable C99 features... " >&6; }
10700 if eval test \${$as_wine_cv_crosscc_c99+y}
10702 printf %s "(cached) " >&6
10704 eval "$as_wine_cv_crosscc_c99=no"
10705 for arg in '' '-std=gnu99'
10707 test -z "$arg" || CC="$CC $arg"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 $ac_c_conftest_c99_program
10712 if ac_fn_c_try_compile "$LINENO"
10714 eval "$as_wine_cv_crosscc_c99=\$arg"
10716 eval "$as_wine_cv_crosscc_c99=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10719 eval CC=\$${wine_arch}_CC
10720 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10729 eval res=\$$as_wine_cv_crosscc_c99
10731 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10732 printf "%s\n" "none needed" >&6; } ;;
10733 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10734 printf "%s\n" "unsupported" >&6; } ;;
10735 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10736 printf "%s\n" "$res" >&6; }
10737 as_fn_append ${wine_arch}_CC " $res" ;;
10741 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10743 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10744 if eval test \${$as_ac_var+y}
10746 printf %s "(cached) " >&6
10748 ac_wine_try_cflags_saved=$CFLAGS
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10754 int __cdecl mainCRTStartup(void) { return 0; }
10756 if ac_fn_c_try_link "$LINENO"
10758 eval "$as_ac_var=yes"
10760 eval "$as_ac_var=no"
10762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 ac_exeext=$ac_wine_try_cflags_saved_exeext
10767 eval ac_res=\$$as_ac_var
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10769 printf "%s\n" "$ac_res" >&6; }
10770 if eval test \"x\$"$as_ac_var"\" = x"yes"
10772 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10774 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10776 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10777 if eval test \${$as_ac_var+y}
10779 printf %s "(cached) " >&6
10781 ac_wine_try_cflags_saved=$CFLAGS
10782 ac_wine_try_cflags_saved_exeext=$ac_exeext
10783 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 int __cdecl mainCRTStartup(void) { return 0; }
10789 if ac_fn_c_try_link "$LINENO"
10791 eval "$as_ac_var=yes"
10793 eval "$as_ac_var=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10796 conftest$ac_exeext conftest.$ac_ext
10797 CFLAGS=$ac_wine_try_cflags_saved
10798 ac_exeext=$ac_wine_try_cflags_saved_exeext
10800 eval ac_res=\$$as_ac_var
10801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10802 printf "%s\n" "$ac_res" >&6; }
10803 if eval test \"x\$"$as_ac_var"\" = x"yes"
10805 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10807 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10809 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10810 if eval test \${$as_ac_var+y}
10812 printf %s "(cached) " >&6
10814 ac_wine_try_cflags_saved=$CFLAGS
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 int __cdecl mainCRTStartup(void) { return 0; }
10822 if ac_fn_c_try_link "$LINENO"
10824 eval "$as_ac_var=yes"
10826 eval "$as_ac_var=no"
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 CFLAGS=$ac_wine_try_cflags_saved
10831 ac_exeext=$ac_wine_try_cflags_saved_exeext
10833 eval ac_res=\$$as_ac_var
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10835 printf "%s\n" "$ac_res" >&6; }
10836 if eval test \"x\$"$as_ac_var"\" = x"yes"
10838 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10840 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10842 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10843 if eval test \${$as_ac_var+y}
10845 printf %s "(cached) " >&6
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_exeext=$ac_exeext
10849 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 int __cdecl mainCRTStartup(void) { return 0; }
10855 if ac_fn_c_try_link "$LINENO"
10857 eval "$as_ac_var=yes"
10859 eval "$as_ac_var=no"
10861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10862 conftest$ac_exeext conftest.$ac_ext
10863 CFLAGS=$ac_wine_try_cflags_saved
10864 ac_exeext=$ac_wine_try_cflags_saved_exeext
10866 eval ac_res=\$$as_ac_var
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10868 printf "%s\n" "$ac_res" >&6; }
10869 if eval test \"x\$"$as_ac_var"\" = x"yes"
10871 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10873 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10875 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10876 if eval test \${$as_ac_var+y}
10878 printf %s "(cached) " >&6
10880 ac_wine_try_cflags_saved=$CFLAGS
10881 ac_wine_try_cflags_saved_exeext=$ac_exeext
10882 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 int __cdecl mainCRTStartup(void) { return 0; }
10888 if ac_fn_c_try_link "$LINENO"
10890 eval "$as_ac_var=yes"
10892 eval "$as_ac_var=no"
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 ac_exeext=$ac_wine_try_cflags_saved_exeext
10899 eval ac_res=\$$as_ac_var
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10901 printf "%s\n" "$ac_res" >&6; }
10902 if eval test \"x\$"$as_ac_var"\" = x"yes"
10904 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10906 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10908 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10909 if eval test \${$as_ac_var+y}
10911 printf %s "(cached) " >&6
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919 int __cdecl mainCRTStartup(void) { return 0; }
10921 if ac_fn_c_try_link "$LINENO"
10923 eval "$as_ac_var=yes"
10925 eval "$as_ac_var=no"
10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10928 conftest$ac_exeext conftest.$ac_ext
10929 CFLAGS=$ac_wine_try_cflags_saved
10930 ac_exeext=$ac_wine_try_cflags_saved_exeext
10932 eval ac_res=\$$as_ac_var
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10934 printf "%s\n" "$ac_res" >&6; }
10935 if eval test \"x\$"$as_ac_var"\" = x"yes"
10937 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10939 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10941 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10942 if eval test \${$as_ac_var+y}
10944 printf %s "(cached) " >&6
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_exeext=$ac_exeext
10948 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 int __cdecl mainCRTStartup(void) { return 0; }
10954 if ac_fn_c_try_link "$LINENO"
10956 eval "$as_ac_var=yes"
10958 eval "$as_ac_var=no"
10960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10961 conftest$ac_exeext conftest.$ac_ext
10962 CFLAGS=$ac_wine_try_cflags_saved
10963 ac_exeext=$ac_wine_try_cflags_saved_exeext
10965 eval ac_res=\$$as_ac_var
10966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10967 printf "%s\n" "$ac_res" >&6; }
10968 if eval test \"x\$"$as_ac_var"\" = x"yes"
10970 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10972 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10974 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10975 if eval test \${$as_ac_var+y}
10977 printf %s "(cached) " >&6
10979 ac_wine_try_cflags_saved=$CFLAGS
10980 ac_wine_try_cflags_saved_exeext=$ac_exeext
10981 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10985 int __cdecl mainCRTStartup(void) { return 0; }
10987 if ac_fn_c_try_link "$LINENO"
10989 eval "$as_ac_var=yes"
10991 eval "$as_ac_var=no"
10993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10994 conftest$ac_exeext conftest.$ac_ext
10995 CFLAGS=$ac_wine_try_cflags_saved
10996 ac_exeext=$ac_wine_try_cflags_saved_exeext
10998 eval ac_res=\$$as_ac_var
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11000 printf "%s\n" "$ac_res" >&6; }
11001 if eval test \"x\$"$as_ac_var"\" = x"yes"
11003 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11005 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11007 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11008 if eval test \${$as_ac_var+y}
11010 printf %s "(cached) " >&6
11012 ac_wine_try_cflags_saved=$CFLAGS
11013 ac_wine_try_cflags_saved_exeext=$ac_exeext
11014 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11018 int __cdecl mainCRTStartup(void) { return 0; }
11020 if ac_fn_c_try_link "$LINENO"
11022 eval "$as_ac_var=yes"
11024 eval "$as_ac_var=no"
11026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11027 conftest$ac_exeext conftest.$ac_ext
11028 CFLAGS=$ac_wine_try_cflags_saved
11029 ac_exeext=$ac_wine_try_cflags_saved_exeext
11031 eval ac_res=\$$as_ac_var
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11033 printf "%s\n" "$ac_res" >&6; }
11034 if eval test \"x\$"$as_ac_var"\" = x"yes"
11036 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11038 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11040 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11041 if eval test \${$as_ac_var+y}
11043 printf %s "(cached) " >&6
11045 ac_wine_try_cflags_saved=$CFLAGS
11046 ac_wine_try_cflags_saved_exeext=$ac_exeext
11047 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11051 int __cdecl mainCRTStartup(void) { return 0; }
11053 if ac_fn_c_try_link "$LINENO"
11055 eval "$as_ac_var=yes"
11057 eval "$as_ac_var=no"
11059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11060 conftest$ac_exeext conftest.$ac_ext
11061 CFLAGS=$ac_wine_try_cflags_saved
11062 ac_exeext=$ac_wine_try_cflags_saved_exeext
11064 eval ac_res=\$$as_ac_var
11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11066 printf "%s\n" "$ac_res" >&6; }
11067 if eval test \"x\$"$as_ac_var"\" = x"yes"
11069 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11071 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11073 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11074 if eval test \${$as_ac_var+y}
11076 printf %s "(cached) " >&6
11078 ac_wine_try_cflags_saved=$CFLAGS
11079 ac_wine_try_cflags_saved_exeext=$ac_exeext
11080 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11084 int __cdecl mainCRTStartup(void) { return 0; }
11086 if ac_fn_c_try_link "$LINENO"
11088 eval "$as_ac_var=yes"
11090 eval "$as_ac_var=no"
11092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11093 conftest$ac_exeext conftest.$ac_ext
11094 CFLAGS=$ac_wine_try_cflags_saved
11095 ac_exeext=$ac_wine_try_cflags_saved_exeext
11097 eval ac_res=\$$as_ac_var
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11099 printf "%s\n" "$ac_res" >&6; }
11100 if eval test \"x\$"$as_ac_var"\" = x"yes"
11102 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11104 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11106 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11107 if eval test \${$as_ac_var+y}
11109 printf %s "(cached) " >&6
11111 ac_wine_try_cflags_saved=$CFLAGS
11112 ac_wine_try_cflags_saved_exeext=$ac_exeext
11113 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11117 int __cdecl mainCRTStartup(void) { return 0; }
11119 if ac_fn_c_try_link "$LINENO"
11121 eval "$as_ac_var=yes"
11123 eval "$as_ac_var=no"
11125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11126 conftest$ac_exeext conftest.$ac_ext
11127 CFLAGS=$ac_wine_try_cflags_saved
11128 ac_exeext=$ac_wine_try_cflags_saved_exeext
11130 eval ac_res=\$$as_ac_var
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11132 printf "%s\n" "$ac_res" >&6; }
11133 if eval test \"x\$"$as_ac_var"\" = x"yes"
11135 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11137 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11139 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11140 if eval test \${$as_ac_var+y}
11142 printf %s "(cached) " >&6
11144 ac_wine_try_cflags_saved=$CFLAGS
11145 ac_wine_try_cflags_saved_exeext=$ac_exeext
11146 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11150 int __cdecl mainCRTStartup(void) { return 0; }
11152 if ac_fn_c_try_link "$LINENO"
11154 eval "$as_ac_var=yes"
11156 eval "$as_ac_var=no"
11158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11159 conftest$ac_exeext conftest.$ac_ext
11160 CFLAGS=$ac_wine_try_cflags_saved
11161 ac_exeext=$ac_wine_try_cflags_saved_exeext
11163 eval ac_res=\$$as_ac_var
11164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11165 printf "%s\n" "$ac_res" >&6; }
11166 if eval test \"x\$"$as_ac_var"\" = x"yes"
11168 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11170 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11172 printf %s "checking whether $CC supports -Wvla... " >&6; }
11173 if eval test \${$as_ac_var+y}
11175 printf %s "(cached) " >&6
11177 ac_wine_try_cflags_saved=$CFLAGS
11178 ac_wine_try_cflags_saved_exeext=$ac_exeext
11179 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11183 int __cdecl mainCRTStartup(void) { return 0; }
11185 if ac_fn_c_try_link "$LINENO"
11187 eval "$as_ac_var=yes"
11189 eval "$as_ac_var=no"
11191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11192 conftest$ac_exeext conftest.$ac_ext
11193 CFLAGS=$ac_wine_try_cflags_saved
11194 ac_exeext=$ac_wine_try_cflags_saved_exeext
11196 eval ac_res=\$$as_ac_var
11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11198 printf "%s\n" "$ac_res" >&6; }
11199 if eval test \"x\$"$as_ac_var"\" = x"yes"
11201 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11203 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11205 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11206 if eval test \${$as_ac_var+y}
11208 printf %s "(cached) " >&6
11210 ac_wine_try_cflags_saved=$CFLAGS
11211 ac_wine_try_cflags_saved_exeext=$ac_exeext
11212 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11216 int __cdecl mainCRTStartup(void) { return 0; }
11218 if ac_fn_c_try_link "$LINENO"
11220 eval "$as_ac_var=yes"
11222 eval "$as_ac_var=no"
11224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11225 conftest$ac_exeext conftest.$ac_ext
11226 CFLAGS=$ac_wine_try_cflags_saved
11227 ac_exeext=$ac_wine_try_cflags_saved_exeext
11229 eval ac_res=\$$as_ac_var
11230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11231 printf "%s\n" "$ac_res" >&6; }
11232 if eval test \"x\$"$as_ac_var"\" = x"yes"
11234 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11236 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11238 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11239 if eval test \${$as_ac_var+y}
11241 printf %s "(cached) " >&6
11243 ac_wine_try_cflags_saved=$CFLAGS
11244 ac_wine_try_cflags_saved_exeext=$ac_exeext
11245 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 int __cdecl mainCRTStartup(void) { return 0; }
11251 if ac_fn_c_try_link "$LINENO"
11253 eval "$as_ac_var=yes"
11255 eval "$as_ac_var=no"
11257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11258 conftest$ac_exeext conftest.$ac_ext
11259 CFLAGS=$ac_wine_try_cflags_saved
11260 ac_exeext=$ac_wine_try_cflags_saved_exeext
11262 eval ac_res=\$$as_ac_var
11263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11264 printf "%s\n" "$ac_res" >&6; }
11265 if eval test \"x\$"$as_ac_var"\" = x"yes"
11267 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11269 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11271 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11272 if eval test \${$as_ac_var+y}
11274 printf %s "(cached) " >&6
11276 ac_wine_try_cflags_saved=$CFLAGS
11277 ac_wine_try_cflags_saved_exeext=$ac_exeext
11278 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282 int __cdecl mainCRTStartup(void) { return 0; }
11284 if ac_fn_c_try_link "$LINENO"
11286 eval "$as_ac_var=yes"
11288 eval "$as_ac_var=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11291 conftest$ac_exeext conftest.$ac_ext
11292 CFLAGS=$ac_wine_try_cflags_saved
11293 ac_exeext=$ac_wine_try_cflags_saved_exeext
11295 eval ac_res=\$$as_ac_var
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11297 printf "%s\n" "$ac_res" >&6; }
11298 if eval test \"x\$"$as_ac_var"\" = x"yes"
11300 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11302 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11304 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11305 if eval test \${$as_ac_var+y}
11307 printf %s "(cached) " >&6
11309 ac_wine_try_cflags_saved=$CFLAGS
11310 ac_wine_try_cflags_saved_exeext=$ac_exeext
11311 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11315 int __cdecl mainCRTStartup(void) { return 0; }
11317 if ac_fn_c_try_link "$LINENO"
11319 eval "$as_ac_var=yes"
11321 eval "$as_ac_var=no"
11323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11324 conftest$ac_exeext conftest.$ac_ext
11325 CFLAGS=$ac_wine_try_cflags_saved
11326 ac_exeext=$ac_wine_try_cflags_saved_exeext
11328 eval ac_res=\$$as_ac_var
11329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11330 printf "%s\n" "$ac_res" >&6; }
11331 if eval test \"x\$"$as_ac_var"\" = x"yes"
11333 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11337 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11339 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11340 if eval test \${$as_ac_var+y}
11342 printf %s "(cached) " >&6
11344 ac_wine_try_cflags_saved=$CFLAGS
11345 ac_wine_try_cflags_saved_exeext=$ac_exeext
11346 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11350 int __cdecl mainCRTStartup(void) { return 0; }
11352 if ac_fn_c_try_link "$LINENO"
11354 eval "$as_ac_var=yes"
11356 eval "$as_ac_var=no"
11358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11359 conftest$ac_exeext conftest.$ac_ext
11360 CFLAGS=$ac_wine_try_cflags_saved
11361 ac_exeext=$ac_wine_try_cflags_saved_exeext
11363 eval ac_res=\$$as_ac_var
11364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11365 printf "%s\n" "$ac_res" >&6; }
11366 if eval test \"x\$"$as_ac_var"\" = x"yes"
11368 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11370 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11372 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11373 if eval test \${$as_ac_var+y}
11375 printf %s "(cached) " >&6
11377 ac_wine_try_cflags_saved=$CFLAGS
11378 ac_wine_try_cflags_saved_exeext=$ac_exeext
11379 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 int __cdecl mainCRTStartup(void) { return 0; }
11385 if ac_fn_c_try_link "$LINENO"
11387 eval "$as_ac_var=yes"
11389 eval "$as_ac_var=no"
11391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11392 conftest$ac_exeext conftest.$ac_ext
11393 CFLAGS=$ac_wine_try_cflags_saved
11394 ac_exeext=$ac_wine_try_cflags_saved_exeext
11396 eval ac_res=\$$as_ac_var
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11398 printf "%s\n" "$ac_res" >&6; }
11399 if eval test \"x\$"$as_ac_var"\" = x"yes"
11401 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11403 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11405 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11406 if eval test \${$as_ac_var+y}
11408 printf %s "(cached) " >&6
11410 ac_wine_try_cflags_saved=$CFLAGS
11411 ac_wine_try_cflags_saved_exeext=$ac_exeext
11412 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11416 int __cdecl mainCRTStartup(void) { return 0; }
11418 if ac_fn_c_try_link "$LINENO"
11420 eval "$as_ac_var=yes"
11422 eval "$as_ac_var=no"
11424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11425 conftest$ac_exeext conftest.$ac_ext
11426 CFLAGS=$ac_wine_try_cflags_saved
11427 ac_exeext=$ac_wine_try_cflags_saved_exeext
11429 eval ac_res=\$$as_ac_var
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11431 printf "%s\n" "$ac_res" >&6; }
11432 if eval test \"x\$"$as_ac_var"\" = x"yes"
11434 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11436 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11438 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11439 if eval test \${$as_ac_var+y}
11441 printf %s "(cached) " >&6
11443 ac_wine_try_cflags_saved=$CFLAGS
11444 ac_wine_try_cflags_saved_exeext=$ac_exeext
11445 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11449 int __cdecl mainCRTStartup(void) { return 0; }
11451 if ac_fn_c_try_link "$LINENO"
11453 eval "$as_ac_var=yes"
11455 eval "$as_ac_var=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11458 conftest$ac_exeext conftest.$ac_ext
11459 CFLAGS=$ac_wine_try_cflags_saved
11460 ac_exeext=$ac_wine_try_cflags_saved_exeext
11462 eval ac_res=\$$as_ac_var
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11464 printf "%s\n" "$ac_res" >&6; }
11465 if eval test \"x\$"$as_ac_var"\" = x"yes"
11467 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11469 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11471 printf %s "checking whether $CC supports -mcx16... " >&6; }
11472 if eval test \${$as_ac_var+y}
11474 printf %s "(cached) " >&6
11476 ac_wine_try_cflags_saved=$CFLAGS
11477 ac_wine_try_cflags_saved_exeext=$ac_exeext
11478 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11482 int __cdecl mainCRTStartup(void) { return 0; }
11484 if ac_fn_c_try_link "$LINENO"
11486 eval "$as_ac_var=yes"
11488 eval "$as_ac_var=no"
11490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11491 conftest$ac_exeext conftest.$ac_ext
11492 CFLAGS=$ac_wine_try_cflags_saved
11493 ac_exeext=$ac_wine_try_cflags_saved_exeext
11495 eval ac_res=\$$as_ac_var
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11497 printf "%s\n" "$ac_res" >&6; }
11498 if eval test \"x\$"$as_ac_var"\" = x"yes"
11500 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11502 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11504 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11505 if eval test \${$as_ac_var+y}
11507 printf %s "(cached) " >&6
11509 ac_wine_try_cflags_saved=$CFLAGS
11510 ac_wine_try_cflags_saved_exeext=$ac_exeext
11511 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 int __cdecl mainCRTStartup(void) { return 0; }
11517 if ac_fn_c_try_link "$LINENO"
11519 eval "$as_ac_var=yes"
11521 eval "$as_ac_var=no"
11523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11524 conftest$ac_exeext conftest.$ac_ext
11525 CFLAGS=$ac_wine_try_cflags_saved
11526 ac_exeext=$ac_wine_try_cflags_saved_exeext
11528 eval ac_res=\$$as_ac_var
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11530 printf "%s\n" "$ac_res" >&6; }
11531 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11537 wine_crossdebug=$CROSSDEBUG
11538 if test -z "$wine_crossdebug"
11540 for ac_flag in $CFLAGS; do
11542 -gdwarf*) wine_crossdebug=dwarf ;;
11543 -gcodeview) wine_crossdebug=pdb ;;
11544 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11549 ac_debug_format_seen=""
11550 for ac_flag in $CFLAGS; do
11552 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11555 if test "x$ac_debug_format_seen" = x
11557 case $wine_crossdebug in
11558 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11560 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11561 if eval test \${$as_ac_var+y}
11563 printf %s "(cached) " >&6
11565 ac_wine_try_cflags_saved=$CFLAGS
11566 ac_wine_try_cflags_saved_exeext=$ac_exeext
11567 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11573 if ac_fn_c_try_link "$LINENO"
11575 eval "$as_ac_var=yes"
11577 eval "$as_ac_var=no"
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 ac_exeext=$ac_wine_try_cflags_saved_exeext
11584 eval ac_res=\$$as_ac_var
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11586 printf "%s\n" "$ac_res" >&6; }
11587 if eval test \"x\$"$as_ac_var"\" = x"yes"
11589 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11591 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11593 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11594 if eval test \${$as_ac_var+y}
11596 printf %s "(cached) " >&6
11598 ac_wine_try_cflags_saved=$CFLAGS
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11604 int __cdecl mainCRTStartup(void) { return 0; }
11606 if ac_fn_c_try_link "$LINENO"
11608 eval "$as_ac_var=yes"
11610 eval "$as_ac_var=no"
11612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11613 conftest$ac_exeext conftest.$ac_ext
11614 CFLAGS=$ac_wine_try_cflags_saved
11615 ac_exeext=$ac_wine_try_cflags_saved_exeext
11617 eval ac_res=\$$as_ac_var
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11619 printf "%s\n" "$ac_res" >&6; }
11620 if eval test \"x\$"$as_ac_var"\" = x"yes"
11622 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11626 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11628 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11630 printf %s "checking whether $CC supports -Werror... " >&6; }
11631 if eval test \${$as_ac_var+y}
11633 printf %s "(cached) " >&6
11635 ac_wine_try_cflags_saved=$CFLAGS
11636 ac_wine_try_cflags_saved_exeext=$ac_exeext
11637 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 int __cdecl mainCRTStartup(void) { return 0; }
11643 if ac_fn_c_try_link "$LINENO"
11645 eval "$as_ac_var=yes"
11647 eval "$as_ac_var=no"
11649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11650 conftest$ac_exeext conftest.$ac_ext
11651 CFLAGS=$ac_wine_try_cflags_saved
11652 ac_exeext=$ac_wine_try_cflags_saved_exeext
11654 eval ac_res=\$$as_ac_var
11655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11656 printf "%s\n" "$ac_res" >&6; }
11657 if eval test \"x\$"$as_ac_var"\" = x"yes"
11659 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11661 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11663 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11664 if eval test \${$as_ac_var+y}
11666 printf %s "(cached) " >&6
11668 ac_wine_try_cflags_saved=$CFLAGS
11669 ac_wine_try_cflags_saved_exeext=$ac_exeext
11670 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11674 int __cdecl mainCRTStartup(void) { return 0; }
11676 if ac_fn_c_try_link "$LINENO"
11678 eval "$as_ac_var=yes"
11680 eval "$as_ac_var=no"
11682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11683 conftest$ac_exeext conftest.$ac_ext
11684 CFLAGS=$ac_wine_try_cflags_saved
11685 ac_exeext=$ac_wine_try_cflags_saved_exeext
11687 eval ac_res=\$$as_ac_var
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11689 printf "%s\n" "$ac_res" >&6; }
11690 if eval test \"x\$"$as_ac_var"\" = x"yes"
11692 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11693 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11697 CFLAGS=$saved_CFLAGS
11698 LDFLAGS=$saved_LDFLAGS
11701 if test $HOST_ARCH = aarch64
11703 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
11706 if test "x$PE_ARCHS" = "x"
11708 case "x$with_mingw" in
11709 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11711 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11712 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11719 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11721 case "$host_cpu" in
11723 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11725 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11727 for ac_prog in $ac_prefix_list
11729 # Extract the first word of "$ac_prog", so it can be a program name with args.
11730 set dummy $ac_prog; ac_word=$2
11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 printf %s "checking for $ac_word... " >&6; }
11733 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11735 printf %s "(cached) " >&6
11737 if test -n "$MINGW_PKG_CONFIG"; then
11738 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $PATH
11744 case $as_dir in #(((
11747 *) as_dir=$as_dir/ ;;
11749 for ac_exec_ext in '' $ac_executable_extensions; do
11750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11751 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11761 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11762 if test -n "$MINGW_PKG_CONFIG"; then
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11764 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 printf "%s\n" "no" >&6; }
11771 test -n "$MINGW_PKG_CONFIG" && break
11773 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11775 if ${FAUDIO_PE_CFLAGS:+false} :
11777 if test ${MINGW_PKG_CONFIG+y}
11779 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11782 if ${FAUDIO_PE_LIBS:+false} :
11784 if test ${MINGW_PKG_CONFIG+y}
11786 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11789 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11790 ac_save_CPPFLAGS=$CPPFLAGS
11791 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11793 printf %s "checking for MinGW FAudio.h... " >&6; }
11794 if test ${ac_cv_mingw_header_FAudio_h+y}
11796 printf %s "(cached) " >&6
11798 ac_wine_check_headers_saved_cc=$CC
11799 ac_wine_check_headers_saved_exeext=$ac_exeext
11800 eval CC=\$${wine_arch}_CC
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 #include <FAudio.h>
11814 if ac_fn_c_try_compile "$LINENO"
11816 ac_cv_mingw_header_FAudio_h=yes
11818 ac_cv_mingw_header_FAudio_h=no
11820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11821 CC=$ac_wine_check_headers_saved_cc
11822 ac_exeext=$ac_wine_check_headers_saved_exeext
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11825 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11826 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11829 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11830 if test ${ac_cv_mingw_lib_FAudio+y}
11832 printf %s "(cached) " >&6
11834 ac_wine_check_headers_saved_cc=$CC
11835 ac_wine_check_headers_saved_exeext=$ac_exeext
11836 ac_wine_check_headers_saved_libs=$LIBS
11837 eval CC=\$${wine_arch}_CC
11839 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 char FAudio_CommitOperationSet ();
11850 return FAudio_CommitOperationSet ();
11855 if ac_fn_c_try_link "$LINENO"
11857 ac_cv_mingw_lib_FAudio=yes
11859 ac_cv_mingw_lib_FAudio=no
11861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11862 conftest$ac_exeext conftest.$ac_ext
11863 CC=$ac_wine_check_headers_saved_cc
11864 ac_exeext=$ac_wine_check_headers_saved_exeext
11865 LIBS=$ac_wine_check_headers_saved_libs
11867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11868 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11869 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11873 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11876 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11878 CPPFLAGS=$ac_save_CPPFLAGS
11880 if test "x$FAUDIO_PE_LIBS" = "x"
11882 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11885 if ${JPEG_PE_CFLAGS:+false} :
11887 if test ${MINGW_PKG_CONFIG+y}
11889 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11892 if ${JPEG_PE_LIBS:+false} :
11894 if test ${MINGW_PKG_CONFIG+y}
11896 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11900 ac_save_CPPFLAGS=$CPPFLAGS
11901 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11903 printf %s "checking for MinGW jpeglib.h... " >&6; }
11904 if test ${ac_cv_mingw_header_jpeglib_h+y}
11906 printf %s "(cached) " >&6
11908 ac_wine_check_headers_saved_cc=$CC
11909 ac_wine_check_headers_saved_exeext=$ac_exeext
11910 eval CC=\$${wine_arch}_CC
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 #include <stddef.h>
11916 #include <jpeglib.h>
11925 if ac_fn_c_try_compile "$LINENO"
11927 ac_cv_mingw_header_jpeglib_h=yes
11929 ac_cv_mingw_header_jpeglib_h=no
11931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11932 CC=$ac_wine_check_headers_saved_cc
11933 ac_exeext=$ac_wine_check_headers_saved_exeext
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11936 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11937 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11940 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11941 if test ${ac_cv_mingw_lib_jpeg+y}
11943 printf %s "(cached) " >&6
11945 ac_wine_check_headers_saved_cc=$CC
11946 ac_wine_check_headers_saved_exeext=$ac_exeext
11947 ac_wine_check_headers_saved_libs=$LIBS
11948 eval CC=\$${wine_arch}_CC
11950 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 char jpeg_start_decompress ();
11961 return jpeg_start_decompress ();
11966 if ac_fn_c_try_link "$LINENO"
11968 ac_cv_mingw_lib_jpeg=yes
11970 ac_cv_mingw_lib_jpeg=no
11972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11973 conftest$ac_exeext conftest.$ac_ext
11974 CC=$ac_wine_check_headers_saved_cc
11975 ac_exeext=$ac_wine_check_headers_saved_exeext
11976 LIBS=$ac_wine_check_headers_saved_libs
11978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11979 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11980 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11984 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11987 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11989 CPPFLAGS=$ac_save_CPPFLAGS
11991 if test "x$JPEG_PE_LIBS" = "x"
11993 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11996 if ${LCMS2_PE_CFLAGS:+false} :
11998 if test ${MINGW_PKG_CONFIG+y}
12000 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12003 if ${LCMS2_PE_LIBS:+false} :
12005 if test ${MINGW_PKG_CONFIG+y}
12007 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12010 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12011 ac_save_CPPFLAGS=$CPPFLAGS
12012 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12014 printf %s "checking for MinGW lcms2.h... " >&6; }
12015 if test ${ac_cv_mingw_header_lcms2_h+y}
12017 printf %s "(cached) " >&6
12019 ac_wine_check_headers_saved_cc=$CC
12020 ac_wine_check_headers_saved_exeext=$ac_exeext
12021 eval CC=\$${wine_arch}_CC
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12035 if ac_fn_c_try_compile "$LINENO"
12037 ac_cv_mingw_header_lcms2_h=yes
12039 ac_cv_mingw_header_lcms2_h=no
12041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12042 CC=$ac_wine_check_headers_saved_cc
12043 ac_exeext=$ac_wine_check_headers_saved_exeext
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12046 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12047 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12050 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12051 if test ${ac_cv_mingw_lib_lcms2+y}
12053 printf %s "(cached) " >&6
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 ac_wine_check_headers_saved_libs=$LIBS
12058 eval CC=\$${wine_arch}_CC
12060 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 char cmsOpenProfileFromFile ();
12071 return cmsOpenProfileFromFile ();
12076 if ac_fn_c_try_link "$LINENO"
12078 ac_cv_mingw_lib_lcms2=yes
12080 ac_cv_mingw_lib_lcms2=no
12082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12083 conftest$ac_exeext conftest.$ac_ext
12084 CC=$ac_wine_check_headers_saved_cc
12085 ac_exeext=$ac_wine_check_headers_saved_exeext
12086 LIBS=$ac_wine_check_headers_saved_libs
12088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12089 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12090 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12094 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12097 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12099 CPPFLAGS=$ac_save_CPPFLAGS
12101 if test "x$LCMS2_PE_LIBS" = "x"
12103 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12106 if ${MPG123_PE_CFLAGS:+false} :
12108 if test ${MINGW_PKG_CONFIG+y}
12110 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12113 if ${MPG123_PE_LIBS:+false} :
12115 if test ${MINGW_PKG_CONFIG+y}
12117 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12120 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12121 ac_save_CPPFLAGS=$CPPFLAGS
12122 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12124 printf %s "checking for MinGW mpg123.h... " >&6; }
12125 if test ${ac_cv_mingw_header_mpg123_h+y}
12127 printf %s "(cached) " >&6
12129 ac_wine_check_headers_saved_cc=$CC
12130 ac_wine_check_headers_saved_exeext=$ac_exeext
12131 eval CC=\$${wine_arch}_CC
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 #include <mpg123.h>
12145 if ac_fn_c_try_compile "$LINENO"
12147 ac_cv_mingw_header_mpg123_h=yes
12149 ac_cv_mingw_header_mpg123_h=no
12151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12152 CC=$ac_wine_check_headers_saved_cc
12153 ac_exeext=$ac_wine_check_headers_saved_exeext
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12156 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12157 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12160 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12161 if test ${ac_cv_mingw_lib_mpg123+y}
12163 printf %s "(cached) " >&6
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 ac_wine_check_headers_saved_libs=$LIBS
12168 eval CC=\$${wine_arch}_CC
12170 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12177 char mpg123_feed ();
12181 return mpg123_feed ();
12186 if ac_fn_c_try_link "$LINENO"
12188 ac_cv_mingw_lib_mpg123=yes
12190 ac_cv_mingw_lib_mpg123=no
12192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12193 conftest$ac_exeext conftest.$ac_ext
12194 CC=$ac_wine_check_headers_saved_cc
12195 ac_exeext=$ac_wine_check_headers_saved_exeext
12196 LIBS=$ac_wine_check_headers_saved_libs
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12199 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12200 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12204 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12207 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12209 CPPFLAGS=$ac_save_CPPFLAGS
12211 if test "x$MPG123_PE_LIBS" = "x"
12213 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12216 if ${PNG_PE_CFLAGS:+false} :
12218 if test ${MINGW_PKG_CONFIG+y}
12220 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12223 if ${PNG_PE_LIBS:+false} :
12225 if test ${MINGW_PKG_CONFIG+y}
12227 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12231 ac_save_CPPFLAGS=$CPPFLAGS
12232 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12234 printf %s "checking for MinGW png.h... " >&6; }
12235 if test ${ac_cv_mingw_header_png_h+y}
12237 printf %s "(cached) " >&6
12239 ac_wine_check_headers_saved_cc=$CC
12240 ac_wine_check_headers_saved_exeext=$ac_exeext
12241 eval CC=\$${wine_arch}_CC
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12255 if ac_fn_c_try_compile "$LINENO"
12257 ac_cv_mingw_header_png_h=yes
12259 ac_cv_mingw_header_png_h=no
12261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12262 CC=$ac_wine_check_headers_saved_cc
12263 ac_exeext=$ac_wine_check_headers_saved_exeext
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12266 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12267 if test "x$ac_cv_mingw_header_png_h" = xyes
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12270 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12271 if test ${ac_cv_mingw_lib_png+y}
12273 printf %s "(cached) " >&6
12275 ac_wine_check_headers_saved_cc=$CC
12276 ac_wine_check_headers_saved_exeext=$ac_exeext
12277 ac_wine_check_headers_saved_libs=$LIBS
12278 eval CC=\$${wine_arch}_CC
12280 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 char png_create_read_struct ();
12291 return png_create_read_struct ();
12296 if ac_fn_c_try_link "$LINENO"
12298 ac_cv_mingw_lib_png=yes
12300 ac_cv_mingw_lib_png=no
12302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12303 conftest$ac_exeext conftest.$ac_ext
12304 CC=$ac_wine_check_headers_saved_cc
12305 ac_exeext=$ac_wine_check_headers_saved_exeext
12306 LIBS=$ac_wine_check_headers_saved_libs
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12309 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12310 if test "x$ac_cv_mingw_lib_png" = xyes
12314 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12317 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12319 CPPFLAGS=$ac_save_CPPFLAGS
12321 if test "x$PNG_PE_LIBS" = "x"
12323 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12326 if ${TIFF_PE_CFLAGS:+false} :
12328 if test ${MINGW_PKG_CONFIG+y}
12330 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12333 if ${TIFF_PE_LIBS:+false} :
12335 if test ${MINGW_PKG_CONFIG+y}
12337 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12341 ac_save_CPPFLAGS=$CPPFLAGS
12342 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12344 printf %s "checking for MinGW tiffio.h... " >&6; }
12345 if test ${ac_cv_mingw_header_tiffio_h+y}
12347 printf %s "(cached) " >&6
12349 ac_wine_check_headers_saved_cc=$CC
12350 ac_wine_check_headers_saved_exeext=$ac_exeext
12351 eval CC=\$${wine_arch}_CC
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 #include <tiffio.h>
12365 if ac_fn_c_try_compile "$LINENO"
12367 ac_cv_mingw_header_tiffio_h=yes
12369 ac_cv_mingw_header_tiffio_h=no
12371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12372 CC=$ac_wine_check_headers_saved_cc
12373 ac_exeext=$ac_wine_check_headers_saved_exeext
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12376 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12377 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12380 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12381 if test ${ac_cv_mingw_lib_tiff+y}
12383 printf %s "(cached) " >&6
12385 ac_wine_check_headers_saved_cc=$CC
12386 ac_wine_check_headers_saved_exeext=$ac_exeext
12387 ac_wine_check_headers_saved_libs=$LIBS
12388 eval CC=\$${wine_arch}_CC
12390 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 char TIFFClientOpen ();
12401 return TIFFClientOpen ();
12406 if ac_fn_c_try_link "$LINENO"
12408 ac_cv_mingw_lib_tiff=yes
12410 ac_cv_mingw_lib_tiff=no
12412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12413 conftest$ac_exeext conftest.$ac_ext
12414 CC=$ac_wine_check_headers_saved_cc
12415 ac_exeext=$ac_wine_check_headers_saved_exeext
12416 LIBS=$ac_wine_check_headers_saved_libs
12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12419 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12420 if test "x$ac_cv_mingw_lib_tiff" = xyes
12424 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12427 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12429 CPPFLAGS=$ac_save_CPPFLAGS
12431 if test "x$TIFF_PE_LIBS" = "x"
12433 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12436 if ${XML2_PE_CFLAGS:+false} :
12438 if test ${MINGW_PKG_CONFIG+y}
12440 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12443 if ${XML2_PE_LIBS:+false} :
12445 if test ${MINGW_PKG_CONFIG+y}
12447 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12450 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12451 ac_save_CPPFLAGS=$CPPFLAGS
12452 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12454 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12455 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12457 printf %s "(cached) " >&6
12459 ac_wine_check_headers_saved_cc=$CC
12460 ac_wine_check_headers_saved_exeext=$ac_exeext
12461 eval CC=\$${wine_arch}_CC
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 #include <libxml/parser.h>
12475 if ac_fn_c_try_compile "$LINENO"
12477 ac_cv_mingw_header_libxml_parser_h=yes
12479 ac_cv_mingw_header_libxml_parser_h=no
12481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12482 CC=$ac_wine_check_headers_saved_cc
12483 ac_exeext=$ac_wine_check_headers_saved_exeext
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12486 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12487 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12492 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12493 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12495 printf %s "(cached) " >&6
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 eval CC=\$${wine_arch}_CC
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 #include <libxml/xmlsave.h>
12513 if ac_fn_c_try_compile "$LINENO"
12515 ac_cv_mingw_header_libxml_xmlsave_h=yes
12517 ac_cv_mingw_header_libxml_xmlsave_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12525 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12530 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12531 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12533 printf %s "(cached) " >&6
12535 ac_wine_check_headers_saved_cc=$CC
12536 ac_wine_check_headers_saved_exeext=$ac_exeext
12537 eval CC=\$${wine_arch}_CC
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 #include <libxml/SAX2.h>
12551 if ac_fn_c_try_compile "$LINENO"
12553 ac_cv_mingw_header_libxml_SAX2_h=yes
12555 ac_cv_mingw_header_libxml_SAX2_h=no
12557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12558 CC=$ac_wine_check_headers_saved_cc
12559 ac_exeext=$ac_wine_check_headers_saved_exeext
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12562 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12563 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12567 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"
12569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12570 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12571 if test ${ac_cv_mingw_lib_xml2+y}
12573 printf %s "(cached) " >&6
12575 ac_wine_check_headers_saved_cc=$CC
12576 ac_wine_check_headers_saved_exeext=$ac_exeext
12577 ac_wine_check_headers_saved_libs=$LIBS
12578 eval CC=\$${wine_arch}_CC
12580 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 char xmlFirstElementChild ();
12591 return xmlFirstElementChild ();
12596 if ac_fn_c_try_link "$LINENO"
12598 ac_cv_mingw_lib_xml2=yes
12600 ac_cv_mingw_lib_xml2=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12603 conftest$ac_exeext conftest.$ac_ext
12604 CC=$ac_wine_check_headers_saved_cc
12605 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 LIBS=$ac_wine_check_headers_saved_libs
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12609 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12610 if test "x$ac_cv_mingw_lib_xml2" = xyes
12614 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12620 CPPFLAGS=$ac_save_CPPFLAGS
12622 if test "x$XML2_PE_LIBS" = "x"
12624 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12627 if ${XSLT_PE_CFLAGS:+false} :
12629 if test ${MINGW_PKG_CONFIG+y}
12631 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12634 if ${XSLT_PE_LIBS:+false} :
12636 if test ${MINGW_PKG_CONFIG+y}
12638 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12641 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12642 ac_save_CPPFLAGS=$CPPFLAGS
12643 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12645 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12646 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12648 printf %s "(cached) " >&6
12650 ac_wine_check_headers_saved_cc=$CC
12651 ac_wine_check_headers_saved_exeext=$ac_exeext
12652 eval CC=\$${wine_arch}_CC
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 #include <libxslt/pattern.h>
12666 if ac_fn_c_try_compile "$LINENO"
12668 ac_cv_mingw_header_libxslt_pattern_h=yes
12670 ac_cv_mingw_header_libxslt_pattern_h=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12673 CC=$ac_wine_check_headers_saved_cc
12674 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12677 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12678 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12683 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12684 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12686 printf %s "(cached) " >&6
12688 ac_wine_check_headers_saved_cc=$CC
12689 ac_wine_check_headers_saved_exeext=$ac_exeext
12690 eval CC=\$${wine_arch}_CC
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12695 #include <libxslt/transform.h>
12704 if ac_fn_c_try_compile "$LINENO"
12706 ac_cv_mingw_header_libxslt_transform_h=yes
12708 ac_cv_mingw_header_libxslt_transform_h=no
12710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12711 CC=$ac_wine_check_headers_saved_cc
12712 ac_exeext=$ac_wine_check_headers_saved_exeext
12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12715 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12716 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12720 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12723 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12724 if test ${ac_cv_mingw_lib_xslt+y}
12726 printf %s "(cached) " >&6
12728 ac_wine_check_headers_saved_cc=$CC
12729 ac_wine_check_headers_saved_exeext=$ac_exeext
12730 ac_wine_check_headers_saved_libs=$LIBS
12731 eval CC=\$${wine_arch}_CC
12733 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 char xsltCompilePattern ();
12744 return xsltCompilePattern ();
12749 if ac_fn_c_try_link "$LINENO"
12751 ac_cv_mingw_lib_xslt=yes
12753 ac_cv_mingw_lib_xslt=no
12755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12756 conftest$ac_exeext conftest.$ac_ext
12757 CC=$ac_wine_check_headers_saved_cc
12758 ac_exeext=$ac_wine_check_headers_saved_exeext
12759 LIBS=$ac_wine_check_headers_saved_libs
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12762 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12763 if test "x$ac_cv_mingw_lib_xslt" = xyes
12767 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12773 CPPFLAGS=$ac_save_CPPFLAGS
12775 if test "x$XSLT_PE_LIBS" = "x"
12777 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12780 if ${VKD3D_PE_CFLAGS:+false} :
12782 if test ${MINGW_PKG_CONFIG+y}
12784 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12787 if ${VKD3D_PE_LIBS:+false} :
12789 if test ${MINGW_PKG_CONFIG+y}
12791 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12794 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12795 ac_save_CPPFLAGS=$CPPFLAGS
12796 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12798 printf %s "checking for MinGW vkd3d.h... " >&6; }
12799 if test ${ac_cv_mingw_header_vkd3d_h+y}
12801 printf %s "(cached) " >&6
12803 ac_wine_check_headers_saved_cc=$CC
12804 ac_wine_check_headers_saved_exeext=$ac_exeext
12805 eval CC=\$${wine_arch}_CC
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12819 if ac_fn_c_try_compile "$LINENO"
12821 ac_cv_mingw_header_vkd3d_h=yes
12823 ac_cv_mingw_header_vkd3d_h=no
12825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12826 CC=$ac_wine_check_headers_saved_cc
12827 ac_exeext=$ac_wine_check_headers_saved_exeext
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12830 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12831 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12836 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12837 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12839 printf %s "(cached) " >&6
12841 ac_wine_check_headers_saved_cc=$CC
12842 ac_wine_check_headers_saved_exeext=$ac_exeext
12843 eval CC=\$${wine_arch}_CC
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 #include <vkd3d_shader.h>
12857 if ac_fn_c_try_compile "$LINENO"
12859 ac_cv_mingw_header_vkd3d_shader_h=yes
12861 ac_cv_mingw_header_vkd3d_shader_h=no
12863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12864 CC=$ac_wine_check_headers_saved_cc
12865 ac_exeext=$ac_wine_check_headers_saved_exeext
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12868 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12869 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12873 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12876 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12877 if test ${ac_cv_mingw_lib_vkd3d+y}
12879 printf %s "(cached) " >&6
12881 ac_wine_check_headers_saved_cc=$CC
12882 ac_wine_check_headers_saved_exeext=$ac_exeext
12883 ac_wine_check_headers_saved_libs=$LIBS
12884 eval CC=\$${wine_arch}_CC
12886 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12893 char vkd3d_set_log_callback ();
12897 return vkd3d_set_log_callback ();
12902 if ac_fn_c_try_link "$LINENO"
12904 ac_cv_mingw_lib_vkd3d=yes
12906 ac_cv_mingw_lib_vkd3d=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12909 conftest$ac_exeext conftest.$ac_ext
12910 CC=$ac_wine_check_headers_saved_cc
12911 ac_exeext=$ac_wine_check_headers_saved_exeext
12912 LIBS=$ac_wine_check_headers_saved_libs
12914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12915 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12916 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12923 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12924 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12926 printf %s "(cached) " >&6
12928 ac_wine_check_headers_saved_cc=$CC
12929 ac_wine_check_headers_saved_exeext=$ac_exeext
12930 ac_wine_check_headers_saved_libs=$LIBS
12931 eval CC=\$${wine_arch}_CC
12933 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 char vkd3d_shader_serialize_dxbc ();
12944 return vkd3d_shader_serialize_dxbc ();
12949 if ac_fn_c_try_link "$LINENO"
12951 ac_cv_mingw_lib_vkd3d_shader=yes
12953 ac_cv_mingw_lib_vkd3d_shader=no
12955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12956 conftest$ac_exeext conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12959 LIBS=$ac_wine_check_headers_saved_libs
12961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12962 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12963 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12969 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12978 CPPFLAGS=$ac_save_CPPFLAGS
12980 if test "x$VKD3D_PE_LIBS" = "x"
12982 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12985 if ${ZLIB_PE_CFLAGS:+false} :
12987 if test ${MINGW_PKG_CONFIG+y}
12989 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12992 if ${ZLIB_PE_LIBS:+false} :
12994 if test ${MINGW_PKG_CONFIG+y}
12996 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12999 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13003 printf %s "checking for MinGW zlib.h... " >&6; }
13004 if test ${ac_cv_mingw_header_zlib_h+y}
13006 printf %s "(cached) " >&6
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13010 eval CC=\$${wine_arch}_CC
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13024 if ac_fn_c_try_compile "$LINENO"
13026 ac_cv_mingw_header_zlib_h=yes
13028 ac_cv_mingw_header_zlib_h=no
13030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13031 CC=$ac_wine_check_headers_saved_cc
13032 ac_exeext=$ac_wine_check_headers_saved_exeext
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13035 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13036 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13039 printf %s "checking for inflate in MinGW -lz... " >&6; }
13040 if test ${ac_cv_mingw_lib_z+y}
13042 printf %s "(cached) " >&6
13044 ac_wine_check_headers_saved_cc=$CC
13045 ac_wine_check_headers_saved_exeext=$ac_exeext
13046 ac_wine_check_headers_saved_libs=$LIBS
13047 eval CC=\$${wine_arch}_CC
13049 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13065 if ac_fn_c_try_link "$LINENO"
13067 ac_cv_mingw_lib_z=yes
13069 ac_cv_mingw_lib_z=no
13071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13072 conftest$ac_exeext conftest.$ac_ext
13073 CC=$ac_wine_check_headers_saved_cc
13074 ac_exeext=$ac_wine_check_headers_saved_exeext
13075 LIBS=$ac_wine_check_headers_saved_libs
13077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13078 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13079 if test "x$ac_cv_mingw_lib_z" = xyes
13083 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13086 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13088 CPPFLAGS=$ac_save_CPPFLAGS
13090 if test "x$ZLIB_PE_LIBS" = "x"
13092 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13096 if ${FAUDIO_PE_LIBS:+false} :
13098 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13099 if ${FAUDIO_PE_CFLAGS:+false} :
13101 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13111 if ${GSM_PE_LIBS:+false} :
13114 if ${GSM_PE_CFLAGS:+false} :
13116 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13126 if ${JPEG_PE_LIBS:+false} :
13129 if ${JPEG_PE_CFLAGS:+false} :
13131 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13141 if ${JXR_PE_LIBS:+false} :
13144 if ${JXR_PE_CFLAGS:+false} :
13146 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13156 if ${LCMS2_PE_LIBS:+false} :
13158 LCMS2_PE_LIBS=lcms2
13159 if ${LCMS2_PE_CFLAGS:+false} :
13161 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13171 if ${LDAP_PE_LIBS:+false} :
13174 if ${LDAP_PE_CFLAGS:+false} :
13176 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13186 if ${MPG123_PE_LIBS:+false} :
13188 MPG123_PE_LIBS=mpg123
13189 if ${MPG123_PE_CFLAGS:+false} :
13191 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13201 if ${MUSL_PE_LIBS:+false} :
13204 if ${MUSL_PE_CFLAGS:+false} :
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13216 if ${PNG_PE_LIBS:+false} :
13218 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13219 if ${PNG_PE_CFLAGS:+false} :
13221 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13231 if ${TIFF_PE_LIBS:+false} :
13233 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13234 if ${TIFF_PE_CFLAGS:+false} :
13236 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13246 if ${VKD3D_PE_LIBS:+false} :
13248 VKD3D_PE_LIBS=vkd3d
13249 if ${VKD3D_PE_CFLAGS:+false} :
13251 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13261 if ${XML2_PE_LIBS:+false} :
13264 if ${XML2_PE_CFLAGS:+false} :
13266 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13276 if ${XSLT_PE_LIBS:+false} :
13279 if ${XSLT_PE_CFLAGS:+false} :
13281 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13291 if ${ZLIB_PE_LIBS:+false} :
13294 if ${ZLIB_PE_CFLAGS:+false} :
13296 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13306 if ${ZYDIS_PE_LIBS:+false} :
13308 ZYDIS_PE_LIBS=zydis
13309 if ${ZYDIS_PE_CFLAGS:+false} :
13311 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13323 if test "$ac_cv_header_pthread_h" = "yes"
13325 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13326 if test "x$ac_cv_func_pthread_create" = xyes
13330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13331 printf %s "checking for pthread_create in -lpthread... " >&6; }
13332 if test ${ac_cv_lib_pthread_pthread_create+y}
13334 printf %s "(cached) " >&6
13336 ac_check_lib_save_LIBS=$LIBS
13337 LIBS="-lpthread $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 char pthread_create ();
13348 return pthread_create ();
13353 if ac_fn_c_try_link "$LINENO"
13355 ac_cv_lib_pthread_pthread_create=yes
13357 ac_cv_lib_pthread_pthread_create=no
13359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13364 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13365 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13367 PTHREAD_LIBS="-lpthread"
13374 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13376 case "x$with_pthread" in
13378 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13379 Wine cannot support threads without libpthread.
13380 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13392 printf %s "checking how to run the C preprocessor... " >&6; }
13393 # On Suns, sometimes $CPP names a directory.
13394 if test -n "$CPP" && test -d "$CPP"; then
13397 if test -z "$CPP"; then
13398 if test ${ac_cv_prog_CPP+y}
13400 printf %s "(cached) " >&6
13402 # Double quotes because $CC needs to be expanded
13403 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13405 ac_preproc_ok=false
13406 for ac_c_preproc_warn_flag in '' yes
13408 # Use a header file that comes with gcc, so configuring glibc
13409 # with a fresh cross-compiler works.
13410 # On the NeXT, cc -E runs the code through the compiler's parser,
13411 # not just through cpp. "Syntax error" is here to catch this case.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <limits.h>
13417 if ac_fn_c_try_cpp "$LINENO"
13421 # Broken: fails on valid input.
13424 rm -f conftest.err conftest.i conftest.$ac_ext
13426 # OK, works on sane cases. Now check whether nonexistent headers
13427 # can be detected and how.
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 #include <ac_nonexistent.h>
13432 if ac_fn_c_try_cpp "$LINENO"
13434 # Broken: success on invalid input.
13437 # Passes both tests.
13441 rm -f conftest.err conftest.i conftest.$ac_ext
13444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13445 rm -f conftest.i conftest.err conftest.
$ac_ext
13452 ac_cv_prog_CPP
=$CPP
13455 CPP
=$ac_cv_prog_CPP
13457 ac_cv_prog_CPP
=$CPP
13459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13460 printf "%s\n" "$CPP" >&6; }
13461 ac_preproc_ok
=false
13462 for ac_c_preproc_warn_flag
in '' yes
13464 # Use a header file that comes with gcc, so configuring glibc
13465 # with a fresh cross-compiler works.
13466 # On the NeXT, cc -E runs the code through the compiler's parser,
13467 # not just through cpp. "Syntax error" is here to catch this case.
13468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13470 #include <limits.h>
13473 if ac_fn_c_try_cpp
"$LINENO"
13477 # Broken: fails on valid input.
13480 rm -f conftest.err conftest.i conftest.
$ac_ext
13482 # OK, works on sane cases. Now check whether nonexistent headers
13483 # can be detected and how.
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <ac_nonexistent.h>
13488 if ac_fn_c_try_cpp
"$LINENO"
13490 # Broken: success on invalid input.
13493 # Passes both tests.
13497 rm -f conftest.err conftest.i conftest.
$ac_ext
13500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13501 rm -f conftest.i conftest.err conftest.
$ac_ext
13506 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13507 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13508 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13509 See \`config.log' for more details" "$LINENO" 5; }
13513 ac_cpp
='$CPP $CPPFLAGS'
13514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13520 printf %s
"checking for X... " >&6; }
13523 # Check whether --with-x was given.
13524 if test ${with_x+y}
13529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13530 if test "x$with_x" = xno
; then
13531 # The user explicitly disabled X.
13534 case $x_includes,$x_libraries in #(
13535 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13536 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13538 printf %s
"(cached) " >&6
13540 # One or both of the vars are not set, and there is no cached value.
13543 # Do we need to do anything special at all?
13546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13548 #include <X11/Xlib.h>
13557 if ac_fn_c_try_link
"$LINENO"
13559 # We can compile and link X programs with no special options.
13563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13564 conftest
$ac_exeext conftest.
$ac_ext
13565 LIBS
="$ac_save_LIBS"
13566 # If that didn't work, only try xmkmf and file system searches
13567 # for native compilation.
13568 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13570 rm -f -r conftest.dir
13571 if mkdir conftest.dir
; then
13573 cat >Imakefile
<<'_ACEOF'
13575 @echo incroot='${INCROOT}'
13577 @echo usrlibdir='${USRLIBDIR}'
13579 @echo libdir='${LIBDIR}'
13581 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13583 for ac_var
in incroot usrlibdir libdir
; do
13584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13587 for ac_extension
in a so sl dylib la dll
; do
13588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13590 ac_im_usrlibdir
=$ac_im_libdir; break
13593 # Screen out bogus values from the imake configuration. They are
13594 # bogus both because they are the default anyway, and because
13595 # using them would break gcc on systems where it needs fixed includes.
13596 case $ac_im_incroot in
13597 /usr
/include
) ac_x_includes
= ;;
13598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13600 case $ac_im_usrlibdir in
13601 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13606 rm -f -r conftest.dir
13609 # Standard set of common directories for X headers.
13610 # Check X11 before X11Rn because it is often a symlink to the current release.
13624 /usr/local/X11/include
13625 /usr/local/X11R7/include
13626 /usr/local/X11R6/include
13627 /usr/local/X11R5/include
13628 /usr/local/X11R4/include
13630 /usr/local/include/X11
13631 /usr/local/include/X11R7
13632 /usr/local/include/X11R6
13633 /usr/local/include/X11R5
13634 /usr/local/include/X11R4
13640 /usr/XFree86/include/X11
13644 /usr/unsupported/include
13645 /usr/athena/include
13646 /usr/local/x11r5/include
13647 /usr/lpp/Xamples/include
13649 /usr/openwin/include
13650 /usr/openwin/share/include'
13652 if test "$ac_x_includes" = no
; then
13653 # Guess where to find include files, by looking for Xlib.h.
13654 # First, try using that file with no special directory specified.
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <X11/Xlib.h>
13659 if ac_fn_c_try_cpp
"$LINENO"
13661 # We can compile using X headers with no special include directory.
13664 for ac_dir
in $ac_x_header_dirs; do
13665 if test -r "$ac_dir/X11/Xlib.h"; then
13666 ac_x_includes
=$ac_dir
13671 rm -f conftest.err conftest.i conftest.
$ac_ext
13672 fi # $ac_x_includes = no
13674 if test "$ac_x_libraries" = no
; then
13675 # Check for the libraries.
13676 # See if we find them without any special options.
13677 # Don't add to $LIBS permanently.
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <X11/Xlib.h>
13691 if ac_fn_c_try_link
"$LINENO"
13694 # We can link X programs with no special library path.
13698 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13700 # Don't even attempt the hair of trying to link an X program!
13701 for ac_extension
in a so sl dylib la dll
; do
13702 if test -r "$ac_dir/libX11.$ac_extension"; then
13703 ac_x_libraries
=$ac_dir
13709 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13710 conftest
$ac_exeext conftest.
$ac_ext
13711 fi # $ac_x_libraries = no
13714 # Record the results.
13715 case $ac_x_includes,$ac_x_libraries in #(
13716 no
,* |
*,no |
*\'*) :
13717 # Didn't find X, or a directory has "'" in its name.
13718 ac_cv_have_x
="have_x=no" ;; #(
13720 # Record where we found X for the cache.
13721 ac_cv_have_x
="have_x=yes\
13722 ac_x_includes='$ac_x_includes'\
13723 ac_x_libraries='$ac_x_libraries'" ;;
13729 eval "$ac_cv_have_x"
13732 if test "$have_x" != yes; then
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13734 printf "%s\n" "$have_x" >&6; }
13737 # If each of the values was on the command line, it overrides each guess.
13738 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13739 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13740 # Update the cache value to reflect the command line values.
13741 ac_cv_have_x
="have_x=yes\
13742 ac_x_includes='$x_includes'\
13743 ac_x_libraries='$x_libraries'"
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13745 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13748 if test "$no_x" = yes; then
13749 # Not all programs may use this symbol, but it does not hurt to define it.
13751 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13753 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13755 if test -n "$x_includes"; then
13756 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13759 # It would also be nice to do this for all -L options, not just this one.
13760 if test -n "$x_libraries"; then
13761 X_LIBS
="$X_LIBS -L$x_libraries"
13762 # For Solaris; some versions of Sun CC require a space after -R and
13763 # others require no space. Words are not sufficient . . . .
13764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13765 printf %s
"checking whether -R must be followed by a space... " >&6; }
13766 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13767 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13768 ac_c_werror_flag
=yes
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13780 if ac_fn_c_try_link
"$LINENO"
13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13783 printf "%s\n" "no" >&6; }
13784 X_LIBS
="$X_LIBS -R$x_libraries"
13786 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13798 if ac_fn_c_try_link
"$LINENO"
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13801 printf "%s\n" "yes" >&6; }
13802 X_LIBS
="$X_LIBS -R $x_libraries"
13804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13805 printf "%s\n" "neither works" >&6; }
13807 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13808 conftest
$ac_exeext conftest.
$ac_ext
13810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13811 conftest
$ac_exeext conftest.
$ac_ext
13812 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13813 LIBS
=$ac_xsave_LIBS
13816 # Check for system-dependent libraries X programs must link with.
13817 # Do this before checking for the system-independent R6 libraries
13818 # (-lICE), since we may need -lsocket or whatever for X linking.
13820 if test "$ISC" = yes; then
13821 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13823 # Martyn Johnson says this is needed for Ultrix, if the X
13824 # libraries were built with DECnet support. And Karl Berry says
13825 # the Alpha needs dnet_stub (dnet does not exist).
13826 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 char XOpenDisplay ();
13837 return XOpenDisplay ();
13842 if ac_fn_c_try_link
"$LINENO"
13846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13847 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13848 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13850 printf %s
"(cached) " >&6
13852 ac_check_lib_save_LIBS
=$LIBS
13853 LIBS
="-ldnet $LIBS"
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13864 return dnet_ntoa ();
13869 if ac_fn_c_try_link
"$LINENO"
13871 ac_cv_lib_dnet_dnet_ntoa
=yes
13873 ac_cv_lib_dnet_dnet_ntoa
=no
13875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13876 conftest
$ac_exeext conftest.
$ac_ext
13877 LIBS
=$ac_check_lib_save_LIBS
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13880 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13881 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13883 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13886 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13888 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13889 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13891 printf %s
"(cached) " >&6
13893 ac_check_lib_save_LIBS
=$LIBS
13894 LIBS
="-ldnet_stub $LIBS"
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13898 /* Override any GCC internal prototype to avoid an error.
13899 Use char because int might match the return type of a GCC
13900 builtin and then its argument prototype would still apply. */
13905 return dnet_ntoa ();
13910 if ac_fn_c_try_link
"$LINENO"
13912 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13914 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13916 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13917 conftest
$ac_exeext conftest.
$ac_ext
13918 LIBS
=$ac_check_lib_save_LIBS
13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13921 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13922 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13924 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 LIBS
="$ac_xsave_LIBS"
13933 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13934 # to get the SysV transport functions.
13935 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13937 # The nsl library prevents programs from opening the X display
13938 # on Irix 5.2, according to T.E. Dickey.
13939 # The functions gethostbyname, getservbyname, and inet_addr are
13940 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13941 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13942 if test "x$ac_cv_func_gethostbyname" = xyes
13947 if test $ac_cv_func_gethostbyname = no
; then
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13949 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13950 if test ${ac_cv_lib_nsl_gethostbyname+y}
13952 printf %s
"(cached) " >&6
13954 ac_check_lib_save_LIBS
=$LIBS
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13962 char gethostbyname ();
13966 return gethostbyname ();
13971 if ac_fn_c_try_link
"$LINENO"
13973 ac_cv_lib_nsl_gethostbyname
=yes
13975 ac_cv_lib_nsl_gethostbyname
=no
13977 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13978 conftest
$ac_exeext conftest.
$ac_ext
13979 LIBS
=$ac_check_lib_save_LIBS
13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13982 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13983 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13985 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13988 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13990 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13991 if test ${ac_cv_lib_bsd_gethostbyname+y}
13993 printf %s
"(cached) " >&6
13995 ac_check_lib_save_LIBS
=$LIBS
13997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 char gethostbyname ();
14007 return gethostbyname ();
14012 if ac_fn_c_try_link
"$LINENO"
14014 ac_cv_lib_bsd_gethostbyname
=yes
14016 ac_cv_lib_bsd_gethostbyname
=no
14018 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14019 conftest
$ac_exeext conftest.
$ac_ext
14020 LIBS
=$ac_check_lib_save_LIBS
14022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14023 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14024 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14026 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14032 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14033 # socket/setsockopt and other routines are undefined under SCO ODT
14034 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14035 # on later versions), says Simon Leinen: it contains gethostby*
14036 # variants that don't use the name server (or something). -lsocket
14037 # must be given before -lnsl if both are needed. We assume that
14038 # if connect needs -lnsl, so does gethostbyname.
14039 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14040 if test "x$ac_cv_func_connect" = xyes
14045 if test $ac_cv_func_connect = no
; then
14046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14047 printf %s
"checking for connect in -lsocket... " >&6; }
14048 if test ${ac_cv_lib_socket_connect+y}
14050 printf %s
"(cached) " >&6
14052 ac_check_lib_save_LIBS
=$LIBS
14053 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14069 if ac_fn_c_try_link
"$LINENO"
14071 ac_cv_lib_socket_connect
=yes
14073 ac_cv_lib_socket_connect
=no
14075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14076 conftest
$ac_exeext conftest.
$ac_ext
14077 LIBS
=$ac_check_lib_save_LIBS
14079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14080 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14081 if test "x$ac_cv_lib_socket_connect" = xyes
14083 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14088 # Guillermo Gomez says -lposix is necessary on A/UX.
14089 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14090 if test "x$ac_cv_func_remove" = xyes
14095 if test $ac_cv_func_remove = no
; then
14096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14097 printf %s
"checking for remove in -lposix... " >&6; }
14098 if test ${ac_cv_lib_posix_remove+y}
14100 printf %s
"(cached) " >&6
14102 ac_check_lib_save_LIBS
=$LIBS
14103 LIBS
="-lposix $LIBS"
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 /* Override any GCC internal prototype to avoid an error.
14108 Use char because int might match the return type of a GCC
14109 builtin and then its argument prototype would still apply. */
14119 if ac_fn_c_try_link
"$LINENO"
14121 ac_cv_lib_posix_remove
=yes
14123 ac_cv_lib_posix_remove
=no
14125 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14126 conftest
$ac_exeext conftest.
$ac_ext
14127 LIBS
=$ac_check_lib_save_LIBS
14129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14130 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14131 if test "x$ac_cv_lib_posix_remove" = xyes
14133 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14138 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14139 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14140 if test "x$ac_cv_func_shmat" = xyes
14145 if test $ac_cv_func_shmat = no
; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14147 printf %s
"checking for shmat in -lipc... " >&6; }
14148 if test ${ac_cv_lib_ipc_shmat+y}
14150 printf %s
"(cached) " >&6
14152 ac_check_lib_save_LIBS
=$LIBS
14154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14169 if ac_fn_c_try_link
"$LINENO"
14171 ac_cv_lib_ipc_shmat
=yes
14173 ac_cv_lib_ipc_shmat
=no
14175 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14176 conftest
$ac_exeext conftest.
$ac_ext
14177 LIBS
=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14180 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14181 if test "x$ac_cv_lib_ipc_shmat" = xyes
14183 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14189 # Check for libraries that X11R6 Xt/Xaw programs need.
14190 ac_save_LDFLAGS
=$LDFLAGS
14191 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14192 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14193 # check for ICE first), but we must link in the order -lSM -lICE or
14194 # we get undefined symbols. So assume we have SM if we have ICE.
14195 # These have to be linked with before -lX11, unlike the other
14196 # libraries we check for below, so use a different variable.
14197 # John Interrante, Karl Berry
14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14199 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14200 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14202 printf %s
"(cached) " >&6
14204 ac_check_lib_save_LIBS
=$LIBS
14205 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14209 /* Override any GCC internal prototype to avoid an error.
14210 Use char because int might match the return type of a GCC
14211 builtin and then its argument prototype would still apply. */
14212 char IceConnectionNumber ();
14216 return IceConnectionNumber ();
14221 if ac_fn_c_try_link
"$LINENO"
14223 ac_cv_lib_ICE_IceConnectionNumber
=yes
14225 ac_cv_lib_ICE_IceConnectionNumber
=no
14227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14228 conftest
$ac_exeext conftest.
$ac_ext
14229 LIBS
=$ac_check_lib_save_LIBS
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14232 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14233 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14235 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14238 LDFLAGS
=$ac_save_LDFLAGS
14243 if test "$have_x" = "yes"
14245 ac_save_CPPFLAGS
="$CPPFLAGS"
14246 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14249 printf %s
"checking for -lX11... " >&6; }
14250 if test ${ac_cv_lib_soname_X11+y}
14252 printf %s
"(cached) " >&6
14254 ac_check_soname_save_LIBS
=$LIBS
14255 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 char XCreateWindow ();
14266 return XCreateWindow ();
14271 if ac_fn_c_try_link
"$LINENO"
14274 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14275 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'` ;;
14276 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14277 if ${ac_cv_lib_soname_X11:+false} :
14279 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14283 ac_cv_lib_soname_X11
=
14285 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 LIBS
=$ac_check_soname_save_LIBS
14289 if ${ac_cv_lib_soname_X11:+false} :
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14292 printf "%s\n" "not found" >&6; }
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14296 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14298 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14303 printf %s
"checking for -lXext... " >&6; }
14304 if test ${ac_cv_lib_soname_Xext+y}
14306 printf %s
"(cached) " >&6
14308 ac_check_soname_save_LIBS
=$LIBS
14309 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14316 char XextCreateExtension ();
14320 return XextCreateExtension ();
14325 if ac_fn_c_try_link
"$LINENO"
14328 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14329 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'` ;;
14330 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14331 if ${ac_cv_lib_soname_Xext:+false} :
14333 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14337 ac_cv_lib_soname_Xext
=
14339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14340 conftest
$ac_exeext conftest.
$ac_ext
14341 LIBS
=$ac_check_soname_save_LIBS
14343 if ${ac_cv_lib_soname_Xext:+false} :
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14346 printf "%s\n" "not found" >&6; }
14349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14350 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14352 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14354 X_LIBS
="$X_LIBS -lXext"
14356 X_LIBS
="$X_LIBS -lX11"
14358 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14365 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14367 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14377 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14379 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14389 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14391 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14401 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14403 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14413 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14425 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14437 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14449 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14461 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14466 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14467 # include <X11/Xlib.h>
14469 #ifdef HAVE_X11_XUTIL_H
14470 # include <X11/Xutil.h>
14473 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14475 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14479 # include <X11/Xlib.h>
14481 #ifdef HAVE_X11_XUTIL_H
14482 # include <X11/Xutil.h>
14485 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14487 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14490 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14491 # include <X11/Xlib.h>
14493 #ifdef HAVE_X11_XUTIL_H
14494 # include <X11/Xutil.h>
14497 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14499 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14502 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14503 # include <X11/Xlib.h>
14505 #ifdef HAVE_X11_XUTIL_H
14506 # include <X11/Xutil.h>
14509 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14511 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14515 # include <X11/Xlib.h>
14517 #ifdef HAVE_X11_XUTIL_H
14518 # include <X11/Xutil.h>
14521 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14526 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14527 # include <X11/Xlib.h>
14529 #ifdef HAVE_X11_XUTIL_H
14530 # include <X11/Xutil.h>
14533 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14535 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14543 printf %s
"checking for -lXcursor... " >&6; }
14544 if test ${ac_cv_lib_soname_Xcursor+y}
14546 printf %s
"(cached) " >&6
14548 ac_check_soname_save_LIBS
=$LIBS
14549 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 char XcursorImageLoadCursor ();
14560 return XcursorImageLoadCursor ();
14565 if ac_fn_c_try_link
"$LINENO"
14568 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_Xcursor:+false} :
14573 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14577 ac_cv_lib_soname_Xcursor
=
14579 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14580 conftest
$ac_exeext conftest.
$ac_ext
14581 LIBS
=$ac_check_soname_save_LIBS
14583 if ${ac_cv_lib_soname_Xcursor:+false} :
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14586 printf "%s\n" "not found" >&6; }
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14590 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14592 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14597 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14599 case "x$with_xcursor" in
14600 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14602 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14603 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14608 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14611 printf %s
"checking for -lXi... " >&6; }
14612 if test ${ac_cv_lib_soname_Xi+y}
14614 printf %s
"(cached) " >&6
14616 ac_check_soname_save_LIBS
=$LIBS
14617 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 char XOpenDevice ();
14628 return XOpenDevice ();
14633 if ac_fn_c_try_link
"$LINENO"
14636 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14637 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'` ;;
14638 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14639 if ${ac_cv_lib_soname_Xi:+false} :
14641 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14645 ac_cv_lib_soname_Xi
=
14647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14648 conftest
$ac_exeext conftest.
$ac_ext
14649 LIBS
=$ac_check_soname_save_LIBS
14651 if ${ac_cv_lib_soname_Xi:+false} :
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14654 printf "%s\n" "not found" >&6; }
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14658 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14660 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14665 if test "x$ac_cv_lib_soname_Xi" = "x"
14667 case "x$with_xinput" in
14668 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14670 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14671 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14676 if test "x$ac_cv_lib_soname_Xi" != x
14678 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14680 case "x$with_xinput2" in
14681 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14683 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14684 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14690 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14693 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14696 printf %s
"(cached) " >&6
14698 ac_check_lib_save_LIBS
=$LIBS
14699 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShmQueryExtension ();
14710 return XShmQueryExtension ();
14715 if ac_fn_c_try_link
"$LINENO"
14717 ac_cv_lib_Xext_XShmQueryExtension
=yes
14719 ac_cv_lib_Xext_XShmQueryExtension
=no
14721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14730 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14737 case "x$with_xshm" in
14738 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14740 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14741 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14746 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14749 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14750 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14752 printf %s
"(cached) " >&6
14754 ac_check_lib_save_LIBS
=$LIBS
14755 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XShapeQueryExtension ();
14766 return XShapeQueryExtension ();
14771 if ac_fn_c_try_link
"$LINENO"
14773 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14775 ac_cv_lib_Xext_XShapeQueryExtension
=no
14777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 LIBS
=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14786 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14791 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14793 case "x$with_xshape" in
14794 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14796 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14797 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14802 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14805 printf %s
"checking for -lXxf86vm... " >&6; }
14806 if test ${ac_cv_lib_soname_Xxf86vm+y}
14808 printf %s
"(cached) " >&6
14810 ac_check_soname_save_LIBS
=$LIBS
14811 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 char XF86VidModeQueryExtension ();
14822 return XF86VidModeQueryExtension ();
14827 if ac_fn_c_try_link
"$LINENO"
14830 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14831 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'` ;;
14832 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14833 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14835 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14839 ac_cv_lib_soname_Xxf86vm
=
14841 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14842 conftest
$ac_exeext conftest.
$ac_ext
14843 LIBS
=$ac_check_soname_save_LIBS
14845 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14848 printf "%s\n" "not found" >&6; }
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14852 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14854 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14859 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14861 case "x$with_xxf86vm" in
14862 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14864 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14865 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14870 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14873 printf %s
"checking for -lXrender... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrender+y}
14876 printf %s
"(cached) " >&6
14878 ac_check_soname_save_LIBS
=$LIBS
14879 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRenderQueryExtension ();
14890 return XRenderQueryExtension ();
14895 if ac_fn_c_try_link
"$LINENO"
14898 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrender:+false} :
14903 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14907 ac_cv_lib_soname_Xrender
=
14909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14910 conftest
$ac_exeext conftest.
$ac_ext
14911 LIBS
=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrender:+false} :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14925 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14926 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14928 printf %s
"(cached) " >&6
14930 ac_check_lib_save_LIBS
=$LIBS
14931 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 char XRenderSetPictureTransform ();
14942 return XRenderSetPictureTransform ();
14947 if ac_fn_c_try_link
"$LINENO"
14949 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14951 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14954 conftest
$ac_exeext conftest.
$ac_ext
14955 LIBS
=$ac_check_lib_save_LIBS
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14958 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14959 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14962 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14967 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14968 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14970 printf %s
"(cached) " >&6
14972 ac_check_lib_save_LIBS
=$LIBS
14973 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 char XRenderCreateLinearGradient ();
14984 return XRenderCreateLinearGradient ();
14989 if ac_fn_c_try_link
"$LINENO"
14991 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14993 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14995 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14996 conftest
$ac_exeext conftest.
$ac_ext
14997 LIBS
=$ac_check_lib_save_LIBS
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15000 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15001 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15004 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xrender" = "x"
15013 case "x$with_xrender" in
15014 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15016 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15017 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15022 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <X11/Xlib.h>
15027 #include <X11/extensions/Xrandr.h>
15031 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15036 if ac_fn_c_try_compile
"$LINENO"
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15039 printf %s
"checking for -lXrandr... " >&6; }
15040 if test ${ac_cv_lib_soname_Xrandr+y}
15042 printf %s
"(cached) " >&6
15044 ac_check_soname_save_LIBS
=$LIBS
15045 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char XRRQueryExtension ();
15056 return XRRQueryExtension ();
15061 if ac_fn_c_try_link
"$LINENO"
15064 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15065 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'` ;;
15066 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15067 if ${ac_cv_lib_soname_Xrandr:+false} :
15069 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15073 ac_cv_lib_soname_Xrandr
=
15075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15076 conftest
$ac_exeext conftest.
$ac_ext
15077 LIBS
=$ac_check_soname_save_LIBS
15079 if ${ac_cv_lib_soname_Xrandr:+false} :
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15082 printf "%s\n" "not found" >&6; }
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15086 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15088 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 #include <X11/Xlib.h>
15093 #include <X11/extensions/Xrandr.h>
15097 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15102 if ac_fn_c_try_compile
"$LINENO"
15105 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15108 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15110 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15113 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15115 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15117 case "x$with_xrandr" in
15118 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15120 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15121 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15126 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <X11/Xlib.h>
15131 #include <X11/extensions/Xfixes.h>
15135 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15140 if ac_fn_c_try_compile
"$LINENO"
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15143 printf %s
"checking for -lXfixes... " >&6; }
15144 if test ${ac_cv_lib_soname_Xfixes+y}
15146 printf %s
"(cached) " >&6
15148 ac_check_soname_save_LIBS
=$LIBS
15149 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15153 /* Override any GCC internal prototype to avoid an error.
15154 Use char because int might match the return type of a GCC
15155 builtin and then its argument prototype would still apply. */
15156 char XFixesQueryVersion ();
15160 return XFixesQueryVersion ();
15165 if ac_fn_c_try_link
"$LINENO"
15168 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15169 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'` ;;
15170 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15171 if ${ac_cv_lib_soname_Xfixes:+false} :
15173 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15177 ac_cv_lib_soname_Xfixes
=
15179 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15180 conftest
$ac_exeext conftest.
$ac_ext
15181 LIBS
=$ac_check_soname_save_LIBS
15183 if ${ac_cv_lib_soname_Xfixes:+false} :
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15186 printf "%s\n" "not found" >&6; }
15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15190 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15192 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15197 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15199 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15201 case "x$with_xfixes" in
15202 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15204 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15205 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 #include <X11/Xlib.h>
15215 #include <X11/extensions/Xinerama.h>
15219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15224 if ac_fn_c_try_compile
"$LINENO"
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15227 printf %s
"checking for -lXinerama... " >&6; }
15228 if test ${ac_cv_lib_soname_Xinerama+y}
15230 printf %s
"(cached) " >&6
15232 ac_check_soname_save_LIBS
=$LIBS
15233 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char XineramaQueryScreens ();
15244 return XineramaQueryScreens ();
15249 if ac_fn_c_try_link
"$LINENO"
15252 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_Xinerama:+false} :
15257 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15261 ac_cv_lib_soname_Xinerama
=
15263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15264 conftest
$ac_exeext conftest.
$ac_ext
15265 LIBS
=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_Xinerama:+false} :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15276 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15281 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15283 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15285 case "x$with_xinerama" in
15286 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15288 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15297 printf %s
"checking for -lXcomposite... " >&6; }
15298 if test ${ac_cv_lib_soname_Xcomposite+y}
15300 printf %s
"(cached) " >&6
15302 ac_check_soname_save_LIBS
=$LIBS
15303 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XCompositeRedirectWindow ();
15314 return XCompositeRedirectWindow ();
15319 if ac_fn_c_try_link
"$LINENO"
15322 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xcomposite:+false} :
15327 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 ac_cv_lib_soname_Xcomposite
=
15333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15334 conftest
$ac_exeext conftest.
$ac_ext
15335 LIBS
=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xcomposite:+false} :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15353 case "x$with_xcomposite" in
15354 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15356 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15357 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15362 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15363 #include <X11/Xlib.h>
15366 if test "x$ac_cv_member_XICCallback_callback" = xyes
15369 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15373 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15374 #include <X11/Xlib.h>
15377 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15380 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15388 if test "x$with_opengl" != "xno"
15390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15391 printf %s
"checking for -lGL... " >&6; }
15392 if test ${ac_cv_lib_soname_GL+y}
15394 printf %s
"(cached) " >&6
15396 ac_check_soname_save_LIBS
=$LIBS
15397 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 char glXCreateContext ();
15408 return glXCreateContext ();
15413 if ac_fn_c_try_link
"$LINENO"
15416 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_GL:+false} :
15421 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 ac_cv_lib_soname_GL
=
15427 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15428 conftest
$ac_exeext conftest.
$ac_ext
15429 LIBS
=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_GL:+false} :
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 printf "%s\n" "not found" >&6; }
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15436 printf %s
"checking for -lGL... " >&6; }
15437 if test ${ac_cv_lib_soname_GL+y}
15439 printf %s
"(cached) " >&6
15441 ac_check_soname_save_LIBS
=$LIBS
15442 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"
15443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15449 char glXCreateContext ();
15453 return glXCreateContext ();
15458 if ac_fn_c_try_link
"$LINENO"
15461 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15462 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'` ;;
15463 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15464 if ${ac_cv_lib_soname_GL:+false} :
15466 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15470 ac_cv_lib_soname_GL
=
15472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15473 conftest
$ac_exeext conftest.
$ac_ext
15474 LIBS
=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_GL:+false} :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 printf "%s\n" "not found" >&6; }
15480 if test -f /usr
/X11R
6/lib
/libGL.a
15482 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15485 opengl_msg
="No OpenGL library found on this system."
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15489 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15491 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15493 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"
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15499 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15503 if test "x$with_osmesa" != "xno"
15505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15506 printf %s
"checking for -lOSMesa... " >&6; }
15507 if test ${ac_cv_lib_soname_OSMesa+y}
15509 printf %s
"(cached) " >&6
15511 ac_check_soname_save_LIBS
=$LIBS
15512 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15516 /* Override any GCC internal prototype to avoid an error.
15517 Use char because int might match the return type of a GCC
15518 builtin and then its argument prototype would still apply. */
15519 char OSMesaGetProcAddress ();
15523 return OSMesaGetProcAddress ();
15528 if ac_fn_c_try_link
"$LINENO"
15531 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_OSMesa:+false} :
15536 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 ac_cv_lib_soname_OSMesa
=
15542 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15543 conftest
$ac_exeext conftest.
$ac_ext
15544 LIBS
=$ac_check_soname_save_LIBS
15546 if ${ac_cv_lib_soname_OSMesa:+false} :
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15549 printf "%s\n" "not found" >&6; }
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15553 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15555 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15559 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15561 case "x$with_osmesa" in
15562 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15564 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15565 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15571 if test -n "$opengl_msg"
15573 case "x$with_opengl" in
15574 x
) as_fn_append wine_warnings
"|$opengl_msg
15575 OpenGL and Direct3D won't be supported." ;;
15577 *) as_fn_error $?
"$opengl_msg
15578 OpenGL and Direct3D won't be supported.
15579 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15584 CPPFLAGS
="$ac_save_CPPFLAGS"
15590 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15592 if test "x$X_LIBS" = "x"
15596 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15597 without X support, which probably isn't what you want. You will need
15598 to install ${notice_platform}development packages of Xlib at the very least.
15599 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15601 enable_winex11_drv
=${enable_winex11_drv:-no}
15604 if test "x$X_LIBS" = "x"
15607 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15609 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15610 This is an error since --with-x was requested." "$LINENO" 5 ;;
15612 enable_winex11_drv
=${enable_winex11_drv:-no}
15616 if test "x$with_wayland" != "xno"
15619 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15621 if test ${PKG_CONFIG+y}
15623 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15627 if ${WAYLAND_CLIENT_LIBS:+false} :
15629 if test ${PKG_CONFIG+y}
15631 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15638 if test -s conftest.err
; then
15639 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15640 cat conftest.err
>&5
15643 ac_save_CPPFLAGS
=$CPPFLAGS
15644 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15645 for ac_header
in wayland-client.h
15647 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15648 if test "x$ac_cv_header_wayland_client_h" = xyes
15650 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15652 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15653 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15655 printf %s
"(cached) " >&6
15657 ac_check_lib_save_LIBS
=$LIBS
15658 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 char wl_display_connect ();
15669 return wl_display_connect ();
15674 if ac_fn_c_try_link
"$LINENO"
15676 ac_cv_lib_wayland_client_wl_display_connect
=yes
15678 ac_cv_lib_wayland_client_wl_display_connect
=no
15680 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_check_lib_save_LIBS
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15685 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15686 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15688 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15689 set dummy wayland-scanner
; ac_word
=$2
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15691 printf %s
"checking for $ac_word... " >&6; }
15692 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15694 printf %s
"(cached) " >&6
15696 case $WAYLAND_SCANNER in
15698 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15702 for as_dir
in $PATH
15705 case $as_dir in #(((
15708 *) as_dir
=$as_dir/ ;;
15710 for ac_exec_ext
in '' $ac_executable_extensions; do
15711 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15712 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15720 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`"
15724 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15725 if test -n "$WAYLAND_SCANNER"; then
15726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15727 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730 printf "%s\n" "no" >&6; }
15735 WAYLAND_CLIENT_LIBS
=""
15741 CPPFLAGS
=$ac_save_CPPFLAGS
15744 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15746 case "x$with_wayland" in
15747 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15749 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15750 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15752 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15755 if test "$ac_cv_header_CL_cl_h" = "yes"
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15758 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15759 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15761 printf %s
"(cached) " >&6
15763 ac_check_lib_save_LIBS
=$LIBS
15764 LIBS
="-lOpenCL $LIBS"
15765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 char clGetPlatformInfo ();
15775 return clGetPlatformInfo ();
15780 if ac_fn_c_try_link
"$LINENO"
15782 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15784 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15787 conftest
$ac_exeext conftest.
$ac_ext
15788 LIBS
=$ac_check_lib_save_LIBS
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15791 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15792 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15794 OPENCL_LIBS
="-lOpenCL"
15799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15801 case "x$with_opencl" in
15802 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15804 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15805 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15807 enable_opencl
=${enable_opencl:-no}
15810 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15813 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15814 if test ${ac_cv_lib_pcap_pcap_init+y}
15816 printf %s
"(cached) " >&6
15818 ac_check_lib_save_LIBS
=$LIBS
15819 LIBS
="-lpcap $LIBS"
15820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15823 /* Override any GCC internal prototype to avoid an error.
15824 Use char because int might match the return type of a GCC
15825 builtin and then its argument prototype would still apply. */
15830 return pcap_init ();
15835 if ac_fn_c_try_link
"$LINENO"
15837 ac_cv_lib_pcap_pcap_init
=yes
15839 ac_cv_lib_pcap_pcap_init
=no
15841 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15842 conftest
$ac_exeext conftest.
$ac_ext
15843 LIBS
=$ac_check_lib_save_LIBS
15845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15846 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15847 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15854 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15856 case "x$with_pcap" in
15857 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15859 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15860 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15862 enable_wpcap
=${enable_wpcap:-no}
15865 if test "x$with_pcsclite" != "xno"
15867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15868 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15869 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15871 printf %s
"(cached) " >&6
15873 ac_check_lib_save_LIBS
=$LIBS
15874 LIBS
="-lpcsclite $LIBS"
15875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15881 char SCardEstablishContext ();
15885 return SCardEstablishContext ();
15890 if ac_fn_c_try_link
"$LINENO"
15892 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15894 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15897 conftest
$ac_exeext conftest.
$ac_ext
15898 LIBS
=$ac_check_lib_save_LIBS
15900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15901 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15902 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15904 PCSCLITE_LIBS
="-lpcsclite"
15909 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15911 case "x$with_pcsclite" in
15912 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15914 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15915 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15917 enable_winscard
=${enable_winscard:-no}
15920 if test "x$with_inotify" != "xno"
15923 if ${INOTIFY_CFLAGS:+false} :
15925 if test ${PKG_CONFIG+y}
15927 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15931 if ${INOTIFY_LIBS:+false} :
15933 if test ${PKG_CONFIG+y}
15935 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15942 if test -s conftest.err
; then
15943 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15944 cat conftest.err
>&5
15947 ac_save_CPPFLAGS
=$CPPFLAGS
15948 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15949 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15950 if test "x$ac_cv_header_sys_inotify_h" = xyes
15952 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15957 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15958 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15960 printf %s
"(cached) " >&6
15962 ac_check_lib_save_LIBS
=$LIBS
15963 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15967 /* Override any GCC internal prototype to avoid an error.
15968 Use char because int might match the return type of a GCC
15969 builtin and then its argument prototype would still apply. */
15970 char inotify_add_watch ();
15974 return inotify_add_watch ();
15979 if ac_fn_c_try_link
"$LINENO"
15981 ac_cv_lib_inotify_inotify_add_watch
=yes
15983 ac_cv_lib_inotify_inotify_add_watch
=no
15985 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15986 conftest
$ac_exeext conftest.
$ac_ext
15987 LIBS
=$ac_check_lib_save_LIBS
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15990 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15991 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15998 CPPFLAGS
=$ac_save_CPPFLAGS
16001 if test "$ac_cv_header_sys_inotify_h" != "yes"
16003 case "x$with_inotify" in
16004 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16006 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16007 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16012 if test "x$with_dbus" != "xno"
16015 if ${DBUS_CFLAGS:+false} :
16017 if test ${PKG_CONFIG+y}
16019 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16023 if ${DBUS_LIBS:+false} :
16025 if test ${PKG_CONFIG+y}
16027 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16034 if test -s conftest.err
; then
16035 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16036 cat conftest.err
>&5
16039 ac_save_CPPFLAGS
=$CPPFLAGS
16040 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16041 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16042 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16045 printf %s
"checking for -ldbus-1... " >&6; }
16046 if test ${ac_cv_lib_soname_dbus_1+y}
16048 printf %s
"(cached) " >&6
16050 ac_check_soname_save_LIBS
=$LIBS
16051 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16058 char dbus_connection_close ();
16062 return dbus_connection_close ();
16067 if ac_fn_c_try_link
"$LINENO"
16070 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16071 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'` ;;
16072 *) 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'`
16073 if ${ac_cv_lib_soname_dbus_1:+false} :
16075 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16079 ac_cv_lib_soname_dbus_1
=
16081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16082 conftest
$ac_exeext conftest.
$ac_ext
16083 LIBS
=$ac_check_soname_save_LIBS
16085 if ${ac_cv_lib_soname_dbus_1:+false} :
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16088 printf "%s\n" "not found" >&6; }
16091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16092 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16094 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16102 CPPFLAGS
=$ac_save_CPPFLAGS
16106 darwin
*|macosx
*) ;;
16107 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16109 case "x$with_dbus" in
16110 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16112 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16113 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16119 if test "x$with_gnutls" != "xno"
16122 if ${GNUTLS_CFLAGS:+false} :
16124 if test ${PKG_CONFIG+y}
16126 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16130 if ${GNUTLS_LIBS:+false} :
16132 if test ${PKG_CONFIG+y}
16134 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16138 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16141 if test -s conftest.err
; then
16142 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16143 cat conftest.err
>&5
16146 ac_save_CPPFLAGS
=$CPPFLAGS
16147 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16148 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16149 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <gnutls/gnutls.h>
16154 #include <gnutls/crypto.h>
16158 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16163 if ac_fn_c_try_compile
"$LINENO"
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16166 printf %s
"checking for -lgnutls... " >&6; }
16167 if test ${ac_cv_lib_soname_gnutls+y}
16169 printf %s
"(cached) " >&6
16171 ac_check_soname_save_LIBS
=$LIBS
16172 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 char gnutls_global_init ();
16183 return gnutls_global_init ();
16188 if ac_fn_c_try_link
"$LINENO"
16191 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16192 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'` ;;
16193 *) 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'`
16194 if ${ac_cv_lib_soname_gnutls:+false} :
16196 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'`
16200 ac_cv_lib_soname_gnutls
=
16202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16203 conftest
$ac_exeext conftest.
$ac_ext
16204 LIBS
=$ac_check_soname_save_LIBS
16206 if ${ac_cv_lib_soname_gnutls:+false} :
16208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16209 printf "%s\n" "not found" >&6; }
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16213 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16215 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16219 ac_wine_check_funcs_save_LIBS
="$LIBS"
16220 LIBS
="$LIBS $GNUTLS_LIBS"
16222 for ac_func
in gnutls_cipher_init
16224 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16225 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16227 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16230 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16234 LIBS
="$ac_wine_check_funcs_save_LIBS"
16236 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16241 CPPFLAGS
=$ac_save_CPPFLAGS
16244 if test "x$ac_cv_lib_soname_gnutls" = "x"
16246 case "x$with_gnutls" in
16247 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16249 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16250 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16255 if test "x$with_sane" != "xno"
16258 if ${SANE_CFLAGS:+false} :
16260 if test ${PKG_CONFIG+y}
16262 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16265 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16266 if ${SANE_LIBS:+false} :
16268 if test ${PKG_CONFIG+y}
16270 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16273 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16277 if test -s conftest.err
; then
16278 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16279 cat conftest.err
>&5
16282 ac_save_CPPFLAGS
=$CPPFLAGS
16283 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16284 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_sane_sane_h" = xyes
16287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16288 printf %s
"checking for sane_init in -lsane... " >&6; }
16289 if test ${ac_cv_lib_sane_sane_init+y}
16291 printf %s
"(cached) " >&6
16293 ac_check_lib_save_LIBS
=$LIBS
16294 LIBS
="-lsane $SANE_LIBS $LIBS"
16295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16298 /* Override any GCC internal prototype to avoid an error.
16299 Use char because int might match the return type of a GCC
16300 builtin and then its argument prototype would still apply. */
16305 return sane_init ();
16310 if ac_fn_c_try_link
"$LINENO"
16312 ac_cv_lib_sane_sane_init
=yes
16314 ac_cv_lib_sane_sane_init
=no
16316 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16317 conftest
$ac_exeext conftest.
$ac_ext
16318 LIBS
=$ac_check_lib_save_LIBS
16320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16321 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16322 if test "x$ac_cv_lib_sane_sane_init" = xyes
16329 CPPFLAGS
=$ac_save_CPPFLAGS
16332 if test "$ac_cv_lib_sane_sane_init" != "yes"
16334 case "x$with_sane" in
16335 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16337 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16338 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16340 enable_sane_ds
=${enable_sane_ds:-no}
16343 if test "x$with_usb" != "xno"
16346 if ${USB_CFLAGS:+false} :
16348 if test ${PKG_CONFIG+y}
16350 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16354 if ${USB_LIBS:+false} :
16356 if test ${PKG_CONFIG+y}
16358 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16362 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16365 if test -s conftest.err
; then
16366 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16367 cat conftest.err
>&5
16370 ac_save_CPPFLAGS
=$CPPFLAGS
16371 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16372 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_libusb_h" = xyes
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16376 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16377 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16379 printf %s
"(cached) " >&6
16381 ac_check_lib_save_LIBS
=$LIBS
16382 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char libusb_interrupt_event_handler ();
16393 return libusb_interrupt_event_handler ();
16398 if ac_fn_c_try_link
"$LINENO"
16400 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16402 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16404 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16405 conftest
$ac_exeext conftest.
$ac_ext
16406 LIBS
=$ac_check_lib_save_LIBS
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16409 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16410 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16421 CPPFLAGS
=$ac_save_CPPFLAGS
16424 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16426 case "x$with_usb" in
16427 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16429 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16430 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16432 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16435 if test "x$with_v4l2" != "xno"
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16438 printf %s
"checking for -lv4l2... " >&6; }
16439 if test ${ac_cv_lib_soname_v4l2+y}
16441 printf %s
"(cached) " >&6
16443 ac_check_soname_save_LIBS
=$LIBS
16444 LIBS
="-lv4l2 $LIBS"
16445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16455 return v4l2_open ();
16460 if ac_fn_c_try_link
"$LINENO"
16463 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16464 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'` ;;
16465 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16466 if ${ac_cv_lib_soname_v4l2:+false} :
16468 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16472 ac_cv_lib_soname_v4l2
=
16474 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16475 conftest
$ac_exeext conftest.
$ac_ext
16476 LIBS
=$ac_check_soname_save_LIBS
16478 if ${ac_cv_lib_soname_v4l2:+false} :
16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16481 printf "%s\n" "not found" >&6; }
16484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16485 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16487 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16492 if test "x$ac_cv_lib_soname_v4l2" = "x"
16494 case "x$with_v4l2" in
16495 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16497 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16498 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16503 if test "x$with_gphoto" != "xno"
16506 if ${GPHOTO2_CFLAGS:+false} :
16508 if test ${PKG_CONFIG+y}
16510 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16513 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16514 if ${GPHOTO2_LIBS:+false} :
16516 if test ${PKG_CONFIG+y}
16518 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16521 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16522 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16525 if test -s conftest.err
; then
16526 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16527 cat conftest.err
>&5
16530 ac_save_CPPFLAGS
=$CPPFLAGS
16531 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16532 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16533 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16536 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16537 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16539 printf %s
"(cached) " >&6
16541 ac_check_lib_save_LIBS
=$LIBS
16542 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16546 /* Override any GCC internal prototype to avoid an error.
16547 Use char because int might match the return type of a GCC
16548 builtin and then its argument prototype would still apply. */
16549 char gp_camera_new ();
16553 return gp_camera_new ();
16558 if ac_fn_c_try_link
"$LINENO"
16560 ac_cv_lib_gphoto2_gp_camera_new
=yes
16562 ac_cv_lib_gphoto2_gp_camera_new
=no
16564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16565 conftest
$ac_exeext conftest.
$ac_ext
16566 LIBS
=$ac_check_lib_save_LIBS
16568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16569 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16570 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16577 CPPFLAGS
=$ac_save_CPPFLAGS
16580 if ${GPHOTO2_PORT_CFLAGS:+false} :
16582 if test ${PKG_CONFIG+y}
16584 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16587 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16588 if ${GPHOTO2_PORT_LIBS:+false} :
16590 if test ${PKG_CONFIG+y}
16592 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16595 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16596 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16599 if test -s conftest.err
; then
16600 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16601 cat conftest.err
>&5
16604 ac_save_CPPFLAGS
=$CPPFLAGS
16605 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16606 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16607 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16610 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16611 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16613 printf %s
"(cached) " >&6
16615 ac_check_lib_save_LIBS
=$LIBS
16616 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16623 char gp_port_info_list_new ();
16627 return gp_port_info_list_new ();
16632 if ac_fn_c_try_link
"$LINENO"
16634 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16636 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16638 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16639 conftest
$ac_exeext conftest.
$ac_ext
16640 LIBS
=$ac_check_lib_save_LIBS
16642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16643 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16644 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16647 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16650 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16654 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16657 CPPFLAGS
=$ac_save_CPPFLAGS
16660 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16662 case "x$with_gphoto" in
16663 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16665 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16666 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16668 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16670 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16672 case "x$with_gphoto" in
16673 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16675 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16676 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16682 if test "$ac_cv_header_resolv_h" = "yes"
16684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16685 printf %s
"checking for resolver library... " >&6; }
16686 if test ${ac_cv_have_resolv+y}
16688 printf %s
"(cached) " >&6
16690 ac_save_LIBS
="$LIBS"
16691 for lib
in '' -lresolv
16693 LIBS
="$lib $ac_save_LIBS"
16694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #ifdef HAVE_NETINET_IN_H
16697 #include <netinet/in.h>
16699 #include <resolv.h>
16703 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16708 if ac_fn_c_try_link
"$LINENO"
16710 ac_cv_have_resolv
=${lib:-"none required"}
16712 ac_cv_have_resolv
="not found"
16714 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16715 conftest
$ac_exeext conftest.
$ac_ext
16716 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16718 LIBS
="$ac_save_LIBS"
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16721 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16723 case "$ac_cv_have_resolv" in
16727 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16730 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16732 RESOLV_LIBS
=$ac_cv_have_resolv
16736 if test "x$ac_cv_have_resolv" != "xnot found"
16738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16739 printf %s
"checking for res_getservers... " >&6; }
16740 if test ${ac_cv_have_res_getservers+y}
16742 printf %s
"(cached) " >&6
16744 ac_save_LIBS
="$LIBS"
16745 LIBS
="$RESOLV_LIBS $LIBS"
16746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <resolv.h>
16752 res_getservers(NULL, NULL, 0);
16757 if ac_fn_c_try_link
"$LINENO"
16759 ac_cv_have_res_getservers
=yes
16761 ac_cv_have_res_getservers
=no
16763 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16764 conftest
$ac_exeext conftest.
$ac_ext
16765 LIBS
="$ac_save_LIBS"
16767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16768 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16769 if test "$ac_cv_have_res_getservers" = "yes"
16772 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16778 if test "x$with_freetype" != "xno"
16781 if ${FREETYPE_CFLAGS:+false} :
16783 if test ${PKG_CONFIG+y}
16785 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16788 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16789 if ${FREETYPE_LIBS:+false} :
16791 if test ${PKG_CONFIG+y}
16793 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16796 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16797 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16800 if test -s conftest.err
; then
16801 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16802 cat conftest.err
>&5
16805 ac_save_CPPFLAGS
=$CPPFLAGS
16806 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16807 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16808 if test "x$ac_cv_header_ft2build_h" = xyes
16810 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16814 if test "$ac_cv_header_ft2build_h" = "yes"
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16817 printf %s
"checking for -lfreetype... " >&6; }
16818 if test ${ac_cv_lib_soname_freetype+y}
16820 printf %s
"(cached) " >&6
16822 ac_check_soname_save_LIBS
=$LIBS
16823 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16830 char FT_Init_FreeType ();
16834 return FT_Init_FreeType ();
16839 if ac_fn_c_try_link
"$LINENO"
16842 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16843 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'` ;;
16844 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16845 if ${ac_cv_lib_soname_freetype:+false} :
16847 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16851 ac_cv_lib_soname_freetype
=
16853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16854 conftest
$ac_exeext conftest.
$ac_ext
16855 LIBS
=$ac_check_soname_save_LIBS
16857 if ${ac_cv_lib_soname_freetype:+false} :
16859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16860 printf "%s\n" "not found" >&6; }
16863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16864 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16866 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16869 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16871 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16872 #include FT_MODULE_H
16874 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16877 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16887 CPPFLAGS
=$ac_save_CPPFLAGS
16890 if test "x$ac_cv_lib_soname_freetype" = x
16892 case "x$with_freetype" in
16894 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16895 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16897 enable_fonts
=${enable_fonts:-no}
16900 ac_wine_check_funcs_save_LIBS
="$LIBS"
16901 LIBS
="$LIBS $PTHREAD_LIBS"
16902 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16903 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16905 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16909 LIBS
="$ac_wine_check_funcs_save_LIBS"
16911 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16913 if test "$ac_cv_header_gettext_po_h" = "yes"
16915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16916 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16917 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16919 printf %s
"(cached) " >&6
16921 ac_check_lib_save_LIBS
=$LIBS
16922 LIBS
="-lgettextpo $LIBS"
16923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16926 /* Override any GCC internal prototype to avoid an error.
16927 Use char because int might match the return type of a GCC
16928 builtin and then its argument prototype would still apply. */
16929 char po_message_msgctxt ();
16933 return po_message_msgctxt ();
16938 if ac_fn_c_try_link
"$LINENO"
16940 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16942 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16944 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16945 conftest
$ac_exeext conftest.
$ac_ext
16946 LIBS
=$ac_check_lib_save_LIBS
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16949 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16950 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16953 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16955 GETTEXTPO_LIBS
="-lgettextpo"
16960 if test "x$GETTEXTPO_LIBS" = "x"
16962 case "x$with_gettextpo" in
16963 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16965 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16966 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16970 if test "$srcdir" != .
16972 case "x$with_gettextpo" in
16973 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16975 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16976 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16982 if test "x$with_pulse" != "xno";
16985 if ${PULSE_CFLAGS:+false} :
16987 if test ${PKG_CONFIG+y}
16989 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16993 if ${PULSE_LIBS:+false} :
16995 if test ${PKG_CONFIG+y}
16997 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17004 if test -s conftest.err
; then
17005 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17006 cat conftest.err
>&5
17009 ac_save_CPPFLAGS
=$CPPFLAGS
17010 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17011 for ac_header
in pulse
/pulseaudio.h
17013 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17014 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17016 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17018 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17019 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17021 printf %s
"(cached) " >&6
17023 ac_check_lib_save_LIBS
=$LIBS
17024 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17031 char pa_stream_is_corked ();
17035 return pa_stream_is_corked ();
17040 if ac_fn_c_try_link
"$LINENO"
17042 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17044 ac_cv_lib_pulse_pa_stream_is_corked
=no
17046 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17047 conftest
$ac_exeext conftest.
$ac_ext
17048 LIBS
=$ac_check_lib_save_LIBS
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17051 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17052 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17064 CPPFLAGS
=$ac_save_CPPFLAGS
17067 if test -z "$PULSE_LIBS"
17069 case "x$with_pulse" in
17070 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17072 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17073 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17075 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17078 if test "x$with_gstreamer" != "xno"
17081 if ${GSTREAMER_CFLAGS:+false} :
17083 if test ${PKG_CONFIG+y}
17085 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17089 if ${GSTREAMER_LIBS:+false} :
17091 if test ${PKG_CONFIG+y}
17093 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17098 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
17099 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
17100 if test -s conftest.err
; then
17101 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17102 cat conftest.err
>&5
17105 ac_save_CPPFLAGS
=$CPPFLAGS
17106 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17107 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17108 if test "x$ac_cv_header_gst_gst_h" = xyes
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17111 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #include <gst/gst.h>
17118 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17123 if ac_fn_c_try_compile
"$LINENO"
17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17126 printf "%s\n" "yes" >&6; }
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17128 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17129 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17131 printf %s
"(cached) " >&6
17133 ac_check_lib_save_LIBS
=$LIBS
17134 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17138 /* Override any GCC internal prototype to avoid an error.
17139 Use char because int might match the return type of a GCC
17140 builtin and then its argument prototype would still apply. */
17141 char gst_pad_new ();
17145 return gst_pad_new ();
17150 if ac_fn_c_try_link
"$LINENO"
17152 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17154 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17156 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17157 conftest
$ac_exeext conftest.
$ac_ext
17158 LIBS
=$ac_check_lib_save_LIBS
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17161 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17162 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17169 printf "%s\n" "no" >&6; }
17170 ac_glib2_broken
=yes
17171 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17173 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17176 CPPFLAGS
=$ac_save_CPPFLAGS
17179 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17181 case "x$with_gstreamer" in
17182 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17184 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17185 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17187 enable_winegstreamer
=${enable_winegstreamer:-no}
17192 if test "x$with_alsa" != "xno"
17194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17195 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17196 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17198 printf %s
"(cached) " >&6
17200 ac_check_lib_save_LIBS
=$LIBS
17201 LIBS
="-lasound $LIBS"
17202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17205 /* Override any GCC internal prototype to avoid an error.
17206 Use char because int might match the return type of a GCC
17207 builtin and then its argument prototype would still apply. */
17208 char snd_pcm_hw_params_get_access_mask ();
17212 return snd_pcm_hw_params_get_access_mask ();
17217 if ac_fn_c_try_link
"$LINENO"
17219 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17221 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17223 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17224 conftest
$ac_exeext conftest.
$ac_ext
17225 LIBS
=$ac_check_lib_save_LIBS
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17228 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17229 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 #include <alsa/asoundlib.h>
17237 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17242 if ac_fn_c_try_compile
"$LINENO"
17244 ALSA_LIBS
="-lasound"
17246 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17250 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17252 if test "x$with_oss" != xno
17254 ac_save_CPPFLAGS
="$CPPFLAGS"
17255 if test -f /etc
/oss.conf
17259 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17260 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17261 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17262 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17264 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17266 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17269 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17271 OSS4_CFLAGS
="$ac_oss_incl"
17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17274 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17275 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17277 printf %s
"(cached) " >&6
17279 ac_check_lib_save_LIBS
=$LIBS
17280 LIBS
="-lossaudio $LIBS"
17281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17284 /* Override any GCC internal prototype to avoid an error.
17285 Use char because int might match the return type of a GCC
17286 builtin and then its argument prototype would still apply. */
17287 char _oss_ioctl ();
17291 return _oss_ioctl ();
17296 if ac_fn_c_try_link
"$LINENO"
17298 ac_cv_lib_ossaudio__oss_ioctl
=yes
17300 ac_cv_lib_ossaudio__oss_ioctl
=no
17302 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17303 conftest
$ac_exeext conftest.
$ac_ext
17304 LIBS
=$ac_check_lib_save_LIBS
17306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17307 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17308 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17310 OSS4_LIBS
="-lossaudio"
17318 CPPFLAGS
="$ac_save_CPPFLAGS"
17320 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17322 case "x$with_oss" in
17323 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17325 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17326 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17328 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17331 if test "x$with_udev" != "xno"
17334 if ${UDEV_CFLAGS:+false} :
17336 if test ${PKG_CONFIG+y}
17338 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17342 if ${UDEV_LIBS:+false} :
17344 if test ${PKG_CONFIG+y}
17346 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17350 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17353 if test -s conftest.err
; then
17354 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17355 cat conftest.err
>&5
17358 ac_save_CPPFLAGS
=$CPPFLAGS
17359 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17360 for ac_header
in libudev.h
17362 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17363 if test "x$ac_cv_header_libudev_h" = xyes
17365 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17367 printf %s
"checking for udev_new in -ludev... " >&6; }
17368 if test ${ac_cv_lib_udev_udev_new+y}
17370 printf %s
"(cached) " >&6
17372 ac_check_lib_save_LIBS
=$LIBS
17373 LIBS
="-ludev $UDEV_LIBS $LIBS"
17374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17377 /* Override any GCC internal prototype to avoid an error.
17378 Use char because int might match the return type of a GCC
17379 builtin and then its argument prototype would still apply. */
17384 return udev_new ();
17389 if ac_fn_c_try_link
"$LINENO"
17391 ac_cv_lib_udev_udev_new
=yes
17393 ac_cv_lib_udev_udev_new
=no
17395 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17396 conftest
$ac_exeext conftest.
$ac_ext
17397 LIBS
=$ac_check_lib_save_LIBS
17399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17400 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17401 if test "x$ac_cv_lib_udev_udev_new" = xyes
17404 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17415 CPPFLAGS
=$ac_save_CPPFLAGS
17418 if test "x$UDEV_LIBS" = "x"
17420 case "x$with_udev" in
17421 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17423 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17424 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17429 if test "x$with_unwind" != xno
17432 if ${UNWIND_CFLAGS:+false} :
17434 if test ${PKG_CONFIG+y}
17436 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17440 if ${UNWIND_LIBS:+false} :
17442 if test ${PKG_CONFIG+y}
17444 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17448 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17451 if test -s conftest.err
; then
17452 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17453 cat conftest.err
>&5
17456 ac_save_CPPFLAGS
=$CPPFLAGS
17457 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17459 printf %s
"checking for unw_step... " >&6; }
17460 if test ${wine_cv_have_unw_step+y}
17462 printf %s
"(cached) " >&6
17464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #define UNW_LOCAL_ONLY
17467 #include <libunwind.h>
17471 unw_cursor_t cursor; unw_step( &cursor );
17476 if ac_fn_c_try_link
"$LINENO"
17478 wine_cv_have_unw_step
="yes"
17480 wine_cv_have_unw_step
="no"
17482 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17483 conftest
$ac_exeext conftest.
$ac_ext
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17486 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17487 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17490 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17491 LIBS
="$UNWIND_LIBS $LIBS"
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17493 printf %s
"checking for unw_step in libunwind... " >&6; }
17494 if test ${wine_cv_have_libunwind_unw_step+y}
17496 printf %s
"(cached) " >&6
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #define UNW_LOCAL_ONLY
17501 #include <libunwind.h>
17505 unw_cursor_t cursor; unw_step( &cursor );
17510 if ac_fn_c_try_link
"$LINENO"
17512 wine_cv_have_libunwind_unw_step
="yes"
17514 wine_cv_have_libunwind_unw_step
="no"
17516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17517 conftest
$ac_exeext conftest.
$ac_ext
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17520 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17523 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17524 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17527 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17530 CPPFLAGS
=$ac_save_CPPFLAGS
17534 aarch64
*|
*-darwin*)
17535 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17537 case "x$with_unwind" in
17538 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17540 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17541 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17547 if test "x$with_sdl" != "xno"
17550 if ${SDL2_CFLAGS:+false} :
17552 if test ${PKG_CONFIG+y}
17554 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17558 if ${SDL2_LIBS:+false} :
17560 if test ${PKG_CONFIG+y}
17562 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17566 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17569 if test -s conftest.err
; then
17570 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17571 cat conftest.err
>&5
17574 ac_save_CPPFLAGS
=$CPPFLAGS
17575 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17576 for ac_header
in SDL.h
17578 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17579 if test "x$ac_cv_header_SDL_h" = xyes
17581 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17583 printf %s
"checking for -lSDL2... " >&6; }
17584 if test ${ac_cv_lib_soname_SDL2+y}
17586 printf %s
"(cached) " >&6
17588 ac_check_soname_save_LIBS
=$LIBS
17589 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17593 /* Override any GCC internal prototype to avoid an error.
17594 Use char because int might match the return type of a GCC
17595 builtin and then its argument prototype would still apply. */
17600 return SDL_Init ();
17605 if ac_fn_c_try_link
"$LINENO"
17608 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17609 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'` ;;
17610 *) 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'`
17611 if ${ac_cv_lib_soname_SDL2:+false} :
17613 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17617 ac_cv_lib_soname_SDL2
=
17619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17620 conftest
$ac_exeext conftest.
$ac_ext
17621 LIBS
=$ac_check_soname_save_LIBS
17623 if ${ac_cv_lib_soname_SDL2:+false} :
17625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17626 printf "%s\n" "not found" >&6; }
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17630 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17632 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17639 CPPFLAGS
=$ac_save_CPPFLAGS
17642 if test "x$ac_cv_lib_soname_SDL2" = "x"
17644 case "x$with_sdl" in
17645 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17647 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17648 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17653 if test "x$with_capi" != "xno"
17656 if ${CAPI20_CFLAGS:+false} :
17658 if test ${PKG_CONFIG+y}
17660 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17664 if ${CAPI20_LIBS:+false} :
17666 if test ${PKG_CONFIG+y}
17668 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17675 if test -s conftest.err
; then
17676 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17677 cat conftest.err
>&5
17680 ac_save_CPPFLAGS
=$CPPFLAGS
17681 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17682 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17684 if test "x$ac_cv_header_capi20_h" = xyes
17686 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17689 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17691 if test "x$ac_cv_header_linux_capi_h" = xyes
17693 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17697 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17700 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17701 if test ${ac_cv_lib_capi20_capi20_register+y}
17703 printf %s
"(cached) " >&6
17705 ac_check_lib_save_LIBS
=$LIBS
17706 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 /* Override any GCC internal prototype to avoid an error.
17711 Use char because int might match the return type of a GCC
17712 builtin and then its argument prototype would still apply. */
17713 char capi20_register ();
17717 return capi20_register ();
17722 if ac_fn_c_try_link
"$LINENO"
17724 ac_cv_lib_capi20_capi20_register
=yes
17726 ac_cv_lib_capi20_capi20_register
=no
17728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17729 conftest
$ac_exeext conftest.
$ac_ext
17730 LIBS
=$ac_check_lib_save_LIBS
17732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17733 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17734 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17742 CPPFLAGS
=$ac_save_CPPFLAGS
17745 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17747 case "x$with_capi" in
17748 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17750 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17751 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17753 enable_capi2032
=${enable_capi2032:-no}
17756 if test "x$with_cups" != "xno"
17759 if ${CUPS_CFLAGS:+false} :
17761 if test ${PKG_CONFIG+y}
17763 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17766 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17767 if ${CUPS_LIBS:+false} :
17769 if test ${PKG_CONFIG+y}
17771 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17774 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17775 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17778 if test -s conftest.err
; then
17779 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17780 cat conftest.err
>&5
17783 ac_save_CPPFLAGS
=$CPPFLAGS
17784 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17785 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_cups_cups_h" = xyes
17788 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17791 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_ppd_h" = xyes
17794 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17798 if test "$ac_cv_header_cups_cups_h" = "yes"
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17801 printf %s
"checking for -lcups... " >&6; }
17802 if test ${ac_cv_lib_soname_cups+y}
17804 printf %s
"(cached) " >&6
17806 ac_check_soname_save_LIBS
=$LIBS
17807 LIBS
="-lcups $CUPS_LIBS $LIBS"
17808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 /* Override any GCC internal prototype to avoid an error.
17812 Use char because int might match the return type of a GCC
17813 builtin and then its argument prototype would still apply. */
17814 char cupsGetDefault ();
17818 return cupsGetDefault ();
17823 if ac_fn_c_try_link
"$LINENO"
17826 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17827 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'` ;;
17828 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17829 if ${ac_cv_lib_soname_cups:+false} :
17831 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17835 ac_cv_lib_soname_cups
=
17837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17838 conftest
$ac_exeext conftest.
$ac_ext
17839 LIBS
=$ac_check_soname_save_LIBS
17841 if ${ac_cv_lib_soname_cups:+false} :
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17844 printf "%s\n" "not found" >&6; }
17847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17848 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17850 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17858 CPPFLAGS
=$ac_save_CPPFLAGS
17861 if test "x$ac_cv_lib_soname_cups" = "x"
17863 case "x$with_cups" in
17864 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17866 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17867 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17872 if test "x$with_fontconfig" != "xno"
17875 if ${FONTCONFIG_CFLAGS:+false} :
17877 if test ${PKG_CONFIG+y}
17879 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17882 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17883 if ${FONTCONFIG_LIBS:+false} :
17885 if test ${PKG_CONFIG+y}
17887 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17890 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17894 if test -s conftest.err
; then
17895 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17896 cat conftest.err
>&5
17899 ac_save_CPPFLAGS
=$CPPFLAGS
17900 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17901 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17902 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17904 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17908 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17911 printf %s
"checking for -lfontconfig... " >&6; }
17912 if test ${ac_cv_lib_soname_fontconfig+y}
17914 printf %s
"(cached) " >&6
17916 ac_check_soname_save_LIBS
=$LIBS
17917 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17933 if ac_fn_c_try_link
"$LINENO"
17936 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17937 dylib
) ac_cv_lib_soname_fontconfig
=`$OTOOL -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17938 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17939 if ${ac_cv_lib_soname_fontconfig:+false} :
17941 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17945 ac_cv_lib_soname_fontconfig
=
17947 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17948 conftest
$ac_exeext conftest.
$ac_ext
17949 LIBS
=$ac_check_soname_save_LIBS
17951 if ${ac_cv_lib_soname_fontconfig:+false} :
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17954 printf "%s\n" "not found" >&6; }
17955 FONTCONFIG_CFLAGS
=""
17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17958 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17960 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17965 FONTCONFIG_CFLAGS
=""
17967 CPPFLAGS
=$ac_save_CPPFLAGS
17970 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17972 case "x$with_fontconfig" in
17973 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17975 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17976 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17981 if test "x$with_krb5" != "xno"
17984 if ${KRB5_CFLAGS:+false} :
17986 if test ${PKG_CONFIG+y}
17988 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17991 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17992 if ${KRB5_LIBS:+false} :
17994 if test ${PKG_CONFIG+y}
17996 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17999 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18003 if test -s conftest.err
; then
18004 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18005 cat conftest.err
>&5
18008 ac_save_CPPFLAGS
=$CPPFLAGS
18009 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18010 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18011 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18013 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18017 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18020 printf %s
"checking for -lkrb5... " >&6; }
18021 if test ${ac_cv_lib_soname_krb5+y}
18023 printf %s
"(cached) " >&6
18025 ac_check_soname_save_LIBS
=$LIBS
18026 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18030 /* Override any GCC internal prototype to avoid an error.
18031 Use char because int might match the return type of a GCC
18032 builtin and then its argument prototype would still apply. */
18033 char krb5_is_config_principal ();
18037 return krb5_is_config_principal ();
18042 if ac_fn_c_try_link
"$LINENO"
18045 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18046 dylib
) ac_cv_lib_soname_krb5
=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18047 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18048 if ${ac_cv_lib_soname_krb5:+false} :
18050 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18054 ac_cv_lib_soname_krb5
=
18056 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18057 conftest
$ac_exeext conftest.
$ac_ext
18058 LIBS
=$ac_check_soname_save_LIBS
18060 if ${ac_cv_lib_soname_krb5:+false} :
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18063 printf "%s\n" "not found" >&6; }
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18067 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18069 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18076 CPPFLAGS
=$ac_save_CPPFLAGS
18079 if test "x$ac_cv_lib_soname_krb5" = "x"
18081 case "x$with_krb5" in
18082 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18084 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18085 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18089 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18091 if test "x$with_gssapi" != "xno"
18094 if ${GSSAPI_CFLAGS:+false} :
18096 if test ${PKG_CONFIG+y}
18098 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18101 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18102 if ${GSSAPI_LIBS:+false} :
18104 if test ${PKG_CONFIG+y}
18106 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18109 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18113 if test -s conftest.err
; then
18114 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18115 cat conftest.err
>&5
18118 ac_save_CPPFLAGS
=$CPPFLAGS
18119 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18120 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18121 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18123 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18126 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18127 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18129 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18133 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18136 printf %s
"checking for -lgssapi_krb5... " >&6; }
18137 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18139 printf %s
"(cached) " >&6
18141 ac_check_soname_save_LIBS
=$LIBS
18142 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18146 /* Override any GCC internal prototype to avoid an error.
18147 Use char because int might match the return type of a GCC
18148 builtin and then its argument prototype would still apply. */
18149 char gss_init_sec_context ();
18153 return gss_init_sec_context ();
18158 if ac_fn_c_try_link
"$LINENO"
18161 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18162 dylib
) ac_cv_lib_soname_gssapi_krb5
=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18163 *) ac_cv_lib_soname_gssapi_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18164 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18166 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18170 ac_cv_lib_soname_gssapi_krb5
=
18172 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18173 conftest
$ac_exeext conftest.
$ac_ext
18174 LIBS
=$ac_check_soname_save_LIBS
18176 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18179 printf "%s\n" "not found" >&6; }
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18183 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18185 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18192 CPPFLAGS
=$ac_save_CPPFLAGS
18195 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18197 case "x$with_gssapi" in
18198 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18200 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18201 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18206 if test "$ac_cv_header_libprocstat_h" = "yes"
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18209 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18210 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18212 printf %s
"(cached) " >&6
18214 ac_check_lib_save_LIBS
=$LIBS
18215 LIBS
="-lprocstat $LIBS"
18216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18222 char procstat_open_sysctl ();
18226 return procstat_open_sysctl ();
18231 if ac_fn_c_try_link
"$LINENO"
18233 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18235 ac_cv_lib_procstat_procstat_open_sysctl
=no
18237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18238 conftest
$ac_exeext conftest.
$ac_ext
18239 LIBS
=$ac_check_lib_save_LIBS
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18242 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18243 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18246 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18248 PROCSTAT_LIBS
="-lprocstat"
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18255 printf %s
"checking for -lodbc... " >&6; }
18256 if test ${ac_cv_lib_soname_odbc+y}
18258 printf %s
"(cached) " >&6
18260 ac_check_soname_save_LIBS
=$LIBS
18261 LIBS
="-lodbc $LIBS"
18262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 char SQLConnect ();
18272 return SQLConnect ();
18277 if ac_fn_c_try_link
"$LINENO"
18280 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18281 dylib
) ac_cv_lib_soname_odbc
=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18282 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18283 if ${ac_cv_lib_soname_odbc:+false} :
18285 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18289 ac_cv_lib_soname_odbc
=
18291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18292 conftest
$ac_exeext conftest.
$ac_ext
18293 LIBS
=$ac_check_soname_save_LIBS
18295 if ${ac_cv_lib_soname_odbc:+false} :
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18298 printf "%s\n" "not found" >&6; }
18299 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18303 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18305 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18310 if test "x$with_netapi" != "xno"
18313 if ${NETAPI_CFLAGS:+false} :
18315 if test ${PKG_CONFIG+y}
18317 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18321 if ${NETAPI_LIBS:+false} :
18323 if test ${PKG_CONFIG+y}
18325 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18332 if test -s conftest.err
; then
18333 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18334 cat conftest.err
>&5
18337 ac_save_CPPFLAGS
=$CPPFLAGS
18338 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18340 printf %s
"checking for -lnetapi... " >&6; }
18341 if test ${ac_cv_lib_soname_netapi+y}
18343 printf %s
"(cached) " >&6
18345 ac_check_soname_save_LIBS
=$LIBS
18346 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18350 /* Override any GCC internal prototype to avoid an error.
18351 Use char because int might match the return type of a GCC
18352 builtin and then its argument prototype would still apply. */
18353 char libnetapi_init ();
18357 return libnetapi_init ();
18362 if ac_fn_c_try_link
"$LINENO"
18365 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18366 dylib
) ac_cv_lib_soname_netapi
=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18367 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18368 if ${ac_cv_lib_soname_netapi:+false} :
18370 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18374 ac_cv_lib_soname_netapi
=
18376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18377 conftest
$ac_exeext conftest.
$ac_ext
18378 LIBS
=$ac_check_soname_save_LIBS
18380 if ${ac_cv_lib_soname_netapi:+false} :
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18383 printf "%s\n" "not found" >&6; }
18384 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18388 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18390 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18394 CPPFLAGS
=$ac_save_CPPFLAGS
18397 if test "x$ac_cv_lib_soname_netapi" = "x"
18399 case "x$with_netapi" in
18400 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18402 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18403 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18405 enable_netapi
=${enable_netapi:-no}
18409 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18410 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18412 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18415 if test "x$with_vulkan" != "xno"
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18418 printf %s
"checking for -lvulkan... " >&6; }
18419 if test ${ac_cv_lib_soname_vulkan+y}
18421 printf %s
"(cached) " >&6
18423 ac_check_soname_save_LIBS
=$LIBS
18424 LIBS
="-lvulkan $LIBS"
18425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18431 char vkGetInstanceProcAddr ();
18435 return vkGetInstanceProcAddr ();
18440 if ac_fn_c_try_link
"$LINENO"
18443 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18444 dylib
) ac_cv_lib_soname_vulkan
=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18445 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18446 if ${ac_cv_lib_soname_vulkan:+false} :
18448 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18452 ac_cv_lib_soname_vulkan
=
18454 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18455 conftest
$ac_exeext conftest.
$ac_ext
18456 LIBS
=$ac_check_soname_save_LIBS
18458 if ${ac_cv_lib_soname_vulkan:+false} :
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18461 printf "%s\n" "not found" >&6; }
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18465 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18467 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18471 if test "x$ac_cv_lib_soname_vulkan" = "x"
18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18474 printf %s
"checking for -lMoltenVK... " >&6; }
18475 if test ${ac_cv_lib_soname_MoltenVK+y}
18477 printf %s
"(cached) " >&6
18479 ac_check_soname_save_LIBS
=$LIBS
18480 LIBS
="-lMoltenVK $LIBS"
18481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 /* Override any GCC internal prototype to avoid an error.
18485 Use char because int might match the return type of a GCC
18486 builtin and then its argument prototype would still apply. */
18487 char vkGetInstanceProcAddr ();
18491 return vkGetInstanceProcAddr ();
18496 if ac_fn_c_try_link
"$LINENO"
18499 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18500 dylib
) ac_cv_lib_soname_MoltenVK
=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18501 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18502 if ${ac_cv_lib_soname_MoltenVK:+false} :
18504 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18508 ac_cv_lib_soname_MoltenVK
=
18510 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18511 conftest
$ac_exeext conftest.
$ac_ext
18512 LIBS
=$ac_check_soname_save_LIBS
18514 if ${ac_cv_lib_soname_MoltenVK:+false} :
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18517 printf "%s\n" "not found" >&6; }
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18521 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18523 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18529 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18531 case "x$with_vulkan" in
18532 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18534 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18535 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18541 if test "x${GCC}" = "xyes"
18543 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18545 saved_CFLAGS
=$CFLAGS
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18547 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18548 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18550 printf %s
"(cached) " >&6
18552 ac_wine_try_cflags_saved
=$CFLAGS
18553 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 int main(int argc, char **argv) { return 0; }
18558 if ac_fn_c_try_link
"$LINENO"
18560 ac_cv_cflags__Werror_unknown_warning_option
=yes
18562 ac_cv_cflags__Werror_unknown_warning_option
=no
18564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18565 conftest
$ac_exeext conftest.
$ac_ext
18566 CFLAGS
=$ac_wine_try_cflags_saved
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18569 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18570 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18572 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18575 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18576 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18578 printf %s
"(cached) " >&6
18580 ac_wine_try_cflags_saved
=$CFLAGS
18581 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 int main(int argc, char **argv) { return 0; }
18586 if ac_fn_c_try_link
"$LINENO"
18588 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18590 ac_cv_cflags__Werror_unused_command_line_argument
=no
18592 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18593 conftest
$ac_exeext conftest.
$ac_ext
18594 CFLAGS
=$ac_wine_try_cflags_saved
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18597 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18598 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18600 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18603 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18604 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18606 printf %s
"(cached) " >&6
18608 ac_wine_try_cflags_saved
=$CFLAGS
18609 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 int main(int argc, char **argv) { return 0; }
18614 if ac_fn_c_try_link
"$LINENO"
18616 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18618 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18621 conftest
$ac_exeext conftest.
$ac_ext
18622 CFLAGS
=$ac_wine_try_cflags_saved
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18625 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18626 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18628 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18631 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18632 if test ${ac_cv_cflags__fcf_protection_none+y}
18634 printf %s
"(cached) " >&6
18636 ac_wine_try_cflags_saved
=$CFLAGS
18637 CFLAGS
="$CFLAGS -fcf-protection=none"
18638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 int main(int argc, char **argv) { return 0; }
18642 if ac_fn_c_try_link
"$LINENO"
18644 ac_cv_cflags__fcf_protection_none
=yes
18646 ac_cv_cflags__fcf_protection_none
=no
18648 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18649 conftest
$ac_exeext conftest.
$ac_ext
18650 CFLAGS
=$ac_wine_try_cflags_saved
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18653 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18654 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18656 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18659 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18660 if test ${ac_cv_cflags__fno_stack_protector+y}
18662 printf %s
"(cached) " >&6
18664 ac_wine_try_cflags_saved
=$CFLAGS
18665 CFLAGS
="$CFLAGS -fno-stack-protector"
18666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 int main(int argc, char **argv) { return 0; }
18670 if ac_fn_c_try_link
"$LINENO"
18672 ac_cv_cflags__fno_stack_protector
=yes
18674 ac_cv_cflags__fno_stack_protector
=no
18676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18677 conftest
$ac_exeext conftest.
$ac_ext
18678 CFLAGS
=$ac_wine_try_cflags_saved
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18681 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18682 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18684 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18687 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18688 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18690 printf %s
"(cached) " >&6
18692 ac_wine_try_cflags_saved
=$CFLAGS
18693 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 int main(int argc, char **argv) { return 0; }
18698 if ac_fn_c_try_link
"$LINENO"
18700 ac_cv_cflags__fno_strict_aliasing
=yes
18702 ac_cv_cflags__fno_strict_aliasing
=no
18704 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18705 conftest
$ac_exeext conftest.
$ac_ext
18706 CFLAGS
=$ac_wine_try_cflags_saved
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18709 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18710 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18712 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18715 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18716 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18718 printf %s
"(cached) " >&6
18720 ac_wine_try_cflags_saved
=$CFLAGS
18721 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 int main(int argc, char **argv) { return 0; }
18726 if ac_fn_c_try_link
"$LINENO"
18728 ac_cv_cflags__Wdeclaration_after_statement
=yes
18730 ac_cv_cflags__Wdeclaration_after_statement
=no
18732 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18733 conftest
$ac_exeext conftest.
$ac_ext
18734 CFLAGS
=$ac_wine_try_cflags_saved
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18737 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18738 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18740 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18743 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18744 if test ${ac_cv_cflags__Wempty_body+y}
18746 printf %s
"(cached) " >&6
18748 ac_wine_try_cflags_saved
=$CFLAGS
18749 CFLAGS
="$CFLAGS -Wempty-body"
18750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18752 int main(int argc, char **argv) { return 0; }
18754 if ac_fn_c_try_link
"$LINENO"
18756 ac_cv_cflags__Wempty_body
=yes
18758 ac_cv_cflags__Wempty_body
=no
18760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18761 conftest
$ac_exeext conftest.
$ac_ext
18762 CFLAGS
=$ac_wine_try_cflags_saved
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18765 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18766 if test "x$ac_cv_cflags__Wempty_body" = xyes
18768 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18771 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18772 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18774 printf %s
"(cached) " >&6
18776 ac_wine_try_cflags_saved
=$CFLAGS
18777 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 int main(int argc, char **argv) { return 0; }
18782 if ac_fn_c_try_link
"$LINENO"
18784 ac_cv_cflags__Wignored_qualifiers
=yes
18786 ac_cv_cflags__Wignored_qualifiers
=no
18788 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18789 conftest
$ac_exeext conftest.
$ac_ext
18790 CFLAGS
=$ac_wine_try_cflags_saved
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18793 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18794 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18796 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18799 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18800 if test ${ac_cv_cflags__Winit_self+y}
18802 printf %s
"(cached) " >&6
18804 ac_wine_try_cflags_saved
=$CFLAGS
18805 CFLAGS
="$CFLAGS -Winit-self"
18806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 int main(int argc, char **argv) { return 0; }
18810 if ac_fn_c_try_link
"$LINENO"
18812 ac_cv_cflags__Winit_self
=yes
18814 ac_cv_cflags__Winit_self
=no
18816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18817 conftest
$ac_exeext conftest.
$ac_ext
18818 CFLAGS
=$ac_wine_try_cflags_saved
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18821 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18822 if test "x$ac_cv_cflags__Winit_self" = xyes
18824 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18827 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18828 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18830 printf %s
"(cached) " >&6
18832 ac_wine_try_cflags_saved
=$CFLAGS
18833 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 int main(int argc, char **argv) { return 0; }
18838 if ac_fn_c_try_link
"$LINENO"
18840 ac_cv_cflags__Wpacked_not_aligned
=yes
18842 ac_cv_cflags__Wpacked_not_aligned
=no
18844 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18845 conftest
$ac_exeext conftest.
$ac_ext
18846 CFLAGS
=$ac_wine_try_cflags_saved
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18849 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18850 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18852 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18855 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18856 if test ${ac_cv_cflags__Wpragma_pack+y}
18858 printf %s
"(cached) " >&6
18860 ac_wine_try_cflags_saved
=$CFLAGS
18861 CFLAGS
="$CFLAGS -Wpragma-pack"
18862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 int main(int argc, char **argv) { return 0; }
18866 if ac_fn_c_try_link
"$LINENO"
18868 ac_cv_cflags__Wpragma_pack
=yes
18870 ac_cv_cflags__Wpragma_pack
=no
18872 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18873 conftest
$ac_exeext conftest.
$ac_ext
18874 CFLAGS
=$ac_wine_try_cflags_saved
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18877 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18878 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18880 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18883 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18884 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18886 printf %s
"(cached) " >&6
18888 ac_wine_try_cflags_saved
=$CFLAGS
18889 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 int main(int argc, char **argv) { return 0; }
18894 if ac_fn_c_try_link
"$LINENO"
18896 ac_cv_cflags__Wshift_overflow_2
=yes
18898 ac_cv_cflags__Wshift_overflow_2
=no
18900 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18901 conftest
$ac_exeext conftest.
$ac_ext
18902 CFLAGS
=$ac_wine_try_cflags_saved
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18905 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18906 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18908 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18911 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18912 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18914 printf %s
"(cached) " >&6
18916 ac_wine_try_cflags_saved
=$CFLAGS
18917 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 int main(int argc, char **argv) { return 0; }
18922 if ac_fn_c_try_link
"$LINENO"
18924 ac_cv_cflags__Wstrict_prototypes
=yes
18926 ac_cv_cflags__Wstrict_prototypes
=no
18928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18929 conftest
$ac_exeext conftest.
$ac_ext
18930 CFLAGS
=$ac_wine_try_cflags_saved
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18933 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18934 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18936 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18939 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18940 if test ${ac_cv_cflags__Wtype_limits+y}
18942 printf %s
"(cached) " >&6
18944 ac_wine_try_cflags_saved
=$CFLAGS
18945 CFLAGS
="$CFLAGS -Wtype-limits"
18946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 int main(int argc, char **argv) { return 0; }
18950 if ac_fn_c_try_link
"$LINENO"
18952 ac_cv_cflags__Wtype_limits
=yes
18954 ac_cv_cflags__Wtype_limits
=no
18956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18957 conftest
$ac_exeext conftest.
$ac_ext
18958 CFLAGS
=$ac_wine_try_cflags_saved
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18961 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18962 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18964 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18967 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18968 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18970 printf %s
"(cached) " >&6
18972 ac_wine_try_cflags_saved
=$CFLAGS
18973 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 int main(int argc, char **argv) { return 0; }
18978 if ac_fn_c_try_link
"$LINENO"
18980 ac_cv_cflags__Wunused_but_set_parameter
=yes
18982 ac_cv_cflags__Wunused_but_set_parameter
=no
18984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18985 conftest
$ac_exeext conftest.
$ac_ext
18986 CFLAGS
=$ac_wine_try_cflags_saved
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18989 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18990 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18992 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18995 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18996 if test ${ac_cv_cflags__Wvla+y}
18998 printf %s
"(cached) " >&6
19000 ac_wine_try_cflags_saved
=$CFLAGS
19001 CFLAGS
="$CFLAGS -Wvla"
19002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 int main(int argc, char **argv) { return 0; }
19006 if ac_fn_c_try_link
"$LINENO"
19008 ac_cv_cflags__Wvla
=yes
19010 ac_cv_cflags__Wvla
=no
19012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19013 conftest
$ac_exeext conftest.
$ac_ext
19014 CFLAGS
=$ac_wine_try_cflags_saved
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19017 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19018 if test "x$ac_cv_cflags__Wvla" = xyes
19020 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19023 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19024 if test ${ac_cv_cflags__Wwrite_strings+y}
19026 printf %s
"(cached) " >&6
19028 ac_wine_try_cflags_saved
=$CFLAGS
19029 CFLAGS
="$CFLAGS -Wwrite-strings"
19030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 int main(int argc, char **argv) { return 0; }
19034 if ac_fn_c_try_link
"$LINENO"
19036 ac_cv_cflags__Wwrite_strings
=yes
19038 ac_cv_cflags__Wwrite_strings
=no
19040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19041 conftest
$ac_exeext conftest.
$ac_ext
19042 CFLAGS
=$ac_wine_try_cflags_saved
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19045 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19046 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19048 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19052 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19053 if test ${ac_cv_cflags__Wpointer_arith+y}
19055 printf %s
"(cached) " >&6
19057 ac_wine_try_cflags_saved
=$CFLAGS
19058 CFLAGS
="$CFLAGS -Wpointer-arith"
19059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19063 if ac_fn_c_try_link
"$LINENO"
19065 ac_cv_cflags__Wpointer_arith
=yes
19067 ac_cv_cflags__Wpointer_arith
=no
19069 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19070 conftest
$ac_exeext conftest.
$ac_ext
19071 CFLAGS
=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19075 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19077 saved_string_h_CFLAGS
=$CFLAGS
19078 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19080 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19081 if test ${ac_cv_c_string_h_warnings+y}
19083 printf %s
"(cached) " >&6
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #include <string.h>
19096 if ac_fn_c_try_compile
"$LINENO"
19098 ac_cv_c_string_h_warnings
=no
19100 ac_cv_c_string_h_warnings
=yes
19102 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19105 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19106 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19107 CFLAGS
=$saved_string_h_CFLAGS
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19111 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19112 if test ${ac_cv_cflags__Wlogical_op+y}
19114 printf %s
"(cached) " >&6
19116 ac_wine_try_cflags_saved
=$CFLAGS
19117 CFLAGS
="$CFLAGS -Wlogical-op"
19118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 int main(int argc, char **argv) { return 0; }
19122 if ac_fn_c_try_link
"$LINENO"
19124 ac_cv_cflags__Wlogical_op
=yes
19126 ac_cv_cflags__Wlogical_op
=no
19128 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19129 conftest
$ac_exeext conftest.
$ac_ext
19130 CFLAGS
=$ac_wine_try_cflags_saved
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19133 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19134 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19136 saved_string_h_CFLAGS
=$CFLAGS
19137 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19139 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19140 if test ${ac_cv_c_logicalop_noisy+y}
19142 printf %s
"(cached) " >&6
19144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146 #include <string.h>
19147 char*f(const char *h,char n) {return strchr(h,n);}
19156 if ac_fn_c_try_compile
"$LINENO"
19158 ac_cv_c_logicalop_noisy
=no
19160 ac_cv_c_logicalop_noisy
=yes
19162 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19165 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19166 CFLAGS
=$saved_string_h_CFLAGS
19167 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19171 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19172 if test ${wine_cv_64bit_compare_swap+y}
19174 printf %s
"(cached) " >&6
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19189 if ac_fn_c_try_compile
"$LINENO"
19191 wine_cv_64bit_compare_swap
="none needed"
19194 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19195 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19196 *) wine_cv_64bit_compare_swap
="unknown" ;;
19198 if test "x$wine_cv_64bit_compare_swap" != xunknown
19200 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19214 if ac_fn_c_try_compile
"$LINENO"
19218 wine_cv_64bit_compare_swap
="unknown"
19220 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19221 CFLAGS
=$saved_CFLAGS
19224 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19227 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19228 case "$wine_cv_64bit_compare_swap" in
19229 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19231 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19234 ac_debug_format_seen
=""
19235 for ac_flag
in $CFLAGS; do
19237 -gdwarf*) ac_debug_format_seen
=yes ;;
19238 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19241 if test "x$ac_debug_format_seen" = xdefault
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19244 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19245 if test ${ac_cv_cflags__gdwarf_4+y}
19247 printf %s
"(cached) " >&6
19249 ac_wine_try_cflags_saved
=$CFLAGS
19250 CFLAGS
="$CFLAGS -gdwarf-4"
19251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 int main(int argc, char **argv) { return 0; }
19255 if ac_fn_c_try_link
"$LINENO"
19257 ac_cv_cflags__gdwarf_4
=yes
19259 ac_cv_cflags__gdwarf_4
=no
19261 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19262 conftest
$ac_exeext conftest.
$ac_ext
19263 CFLAGS
=$ac_wine_try_cflags_saved
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19266 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19267 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19269 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19276 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19277 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19278 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19280 printf %s
"(cached) " >&6
19282 ac_wine_try_cflags_saved
=$CFLAGS
19283 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19288 if ac_fn_c_try_link
"$LINENO"
19290 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19292 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19295 conftest
$ac_exeext conftest.
$ac_ext
19296 CFLAGS
=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19299 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19300 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19302 DELAYLOADFLAG
="-Wl,-delayload,"
19305 *) MSVCRTFLAGS
="-D_WIN32"
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19307 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19308 if test ${ac_cv_cflags__fno_builtin+y}
19310 printf %s
"(cached) " >&6
19312 ac_wine_try_cflags_saved
=$CFLAGS
19313 CFLAGS
="$CFLAGS -fno-builtin"
19314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 int main(int argc, char **argv) { return 0; }
19318 if ac_fn_c_try_link
"$LINENO"
19320 ac_cv_cflags__fno_builtin
=yes
19322 ac_cv_cflags__fno_builtin
=no
19324 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19325 conftest
$ac_exeext conftest.
$ac_ext
19326 CFLAGS
=$ac_wine_try_cflags_saved
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19329 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19330 if test "x$ac_cv_cflags__fno_builtin" = xyes
19332 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19335 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19336 if test ${ac_cv_cflags__fshort_wchar+y}
19338 printf %s
"(cached) " >&6
19340 ac_wine_try_cflags_saved
=$CFLAGS
19341 CFLAGS
="$CFLAGS -fshort-wchar"
19342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 int main(int argc, char **argv) { return 0; }
19346 if ac_fn_c_try_link
"$LINENO"
19348 ac_cv_cflags__fshort_wchar
=yes
19350 ac_cv_cflags__fshort_wchar
=no
19352 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19353 conftest
$ac_exeext conftest.
$ac_ext
19354 CFLAGS
=$ac_wine_try_cflags_saved
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19357 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19358 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19360 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19363 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19364 if test ${ac_cv_cflags__fvisibility_hidden+y}
19366 printf %s
"(cached) " >&6
19368 ac_wine_try_cflags_saved
=$CFLAGS
19369 CFLAGS
="$CFLAGS -fvisibility=hidden"
19370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19374 if ac_fn_c_try_link
"$LINENO"
19376 ac_cv_cflags__fvisibility_hidden
=yes
19378 ac_cv_cflags__fvisibility_hidden
=no
19380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19381 conftest
$ac_exeext conftest.
$ac_ext
19382 CFLAGS
=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19385 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19386 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19388 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19391 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19392 if test ${ac_cv_cflags__Wno_format+y}
19394 printf %s
"(cached) " >&6
19396 ac_wine_try_cflags_saved
=$CFLAGS
19397 CFLAGS
="$CFLAGS -Wno-format"
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19402 if ac_fn_c_try_link
"$LINENO"
19404 ac_cv_cflags__Wno_format
=yes
19406 ac_cv_cflags__Wno_format
=no
19408 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19409 conftest
$ac_exeext conftest.
$ac_ext
19410 CFLAGS
=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19414 if test "x$ac_cv_cflags__Wno_format" = xyes
19416 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19421 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19422 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19423 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19425 printf %s
"(cached) " >&6
19427 ac_wine_try_cflags_saved
=$CFLAGS
19428 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19433 if ac_fn_c_try_link
"$LINENO"
19435 ac_cv_cflags__fno_omit_frame_pointer
=yes
19437 ac_cv_cflags__fno_omit_frame_pointer
=no
19439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19440 conftest
$ac_exeext conftest.
$ac_ext
19441 CFLAGS
=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19444 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19445 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19447 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19451 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19452 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19453 if test ${ac_cv_cflags__Wno_format+y}
19455 printf %s
"(cached) " >&6
19457 ac_wine_try_cflags_saved
=$CFLAGS
19458 CFLAGS
="$CFLAGS -Wno-format"
19459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19463 if ac_fn_c_try_link
"$LINENO"
19465 ac_cv_cflags__Wno_format
=yes
19467 ac_cv_cflags__Wno_format
=no
19469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19470 conftest
$ac_exeext conftest.
$ac_ext
19471 CFLAGS
=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19474 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19475 if test "x$ac_cv_cflags__Wno_format" = xyes
19477 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19479 *) if test -z "$PE_ARCHS"
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19482 printf %s
"checking for working -mabi=ms... " >&6; }
19483 if test ${ac_cv_mabi_ms+y}
19485 printf %s
"(cached) " >&6
19487 CFLAGS
="$CFLAGS -mabi=ms"
19488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 #include <stdarg.h>
19491 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19500 if ac_fn_c_try_compile
"$LINENO"
19506 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19507 CFLAGS
=$saved_CFLAGS
19509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19510 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19511 test $ac_cv_mabi_ms = yes || as_fn_error $?
"The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19513 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19517 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19518 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19520 printf %s
"(cached) " >&6
19522 ac_wine_try_cflags_saved
=$CFLAGS
19523 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19526 int main(int argc, char **argv) { return 0; }
19528 if ac_fn_c_try_link
"$LINENO"
19530 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19532 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19535 conftest
$ac_exeext conftest.
$ac_ext
19536 CFLAGS
=$ac_wine_try_cflags_saved
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19539 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19540 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19542 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19546 CFLAGS
=$saved_CFLAGS
19548 if test "x$enable_werror" = "xyes"
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19551 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19552 if test ${ac_cv_cflags__Werror+y}
19554 printf %s
"(cached) " >&6
19556 ac_wine_try_cflags_saved
=$CFLAGS
19557 CFLAGS
="$CFLAGS -Werror"
19558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560 int main(int argc, char **argv) { return 0; }
19562 if ac_fn_c_try_link
"$LINENO"
19564 ac_cv_cflags__Werror
=yes
19566 ac_cv_cflags__Werror
=no
19568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19569 conftest
$ac_exeext conftest.
$ac_ext
19570 CFLAGS
=$ac_wine_try_cflags_saved
19572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19573 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19574 if test "x$ac_cv_cflags__Werror" = xyes
19576 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19579 if test "x$enable_build_id" = "xyes"
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19582 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19583 if test ${ac_cv_cflags__Wl___build_id+y}
19585 printf %s
"(cached) " >&6
19587 ac_wine_try_cflags_saved
=$CFLAGS
19588 CFLAGS
="$CFLAGS -Wl,--build-id"
19589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 int main(int argc, char **argv) { return 0; }
19593 if ac_fn_c_try_link
"$LINENO"
19595 ac_cv_cflags__Wl___build_id
=yes
19597 ac_cv_cflags__Wl___build_id
=no
19599 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19600 conftest
$ac_exeext conftest.
$ac_ext
19601 CFLAGS
=$ac_wine_try_cflags_saved
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19604 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19605 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19607 CFLAGS
="$CFLAGS -Wl,--build-id"
19608 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19615 printf %s
"checking for the need to disable Fortify... " >&6; }
19616 if test ${ac_cv_c_fortify_enabled+y}
19618 printf %s
"(cached) " >&6
19620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #include <string.h>
19626 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19627 #error Fortify enabled
19633 if ac_fn_c_try_compile
"$LINENO"
19635 ac_cv_c_fortify_enabled
=no
19637 ac_cv_c_fortify_enabled
=yes
19639 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19642 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19643 if test "$ac_cv_c_fortify_enabled" = yes
19645 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19650 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19651 if test ${ac_cv_c_cfi_support+y}
19653 printf %s
"(cached) " >&6
19655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19666 if ac_fn_c_try_compile
"$LINENO"
19668 ac_cv_c_cfi_support
="yes"
19670 ac_cv_c_cfi_support
="no"
19672 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19675 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19676 if test "$ac_cv_c_cfi_support" = "yes"
19678 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19679 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19680 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19681 elif test $HOST_ARCH = x86_64
19683 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19687 case "$HOST_ARCH,$PE_ARCHS" in
19688 x86_64
,*i386
*) wine_binary
="wine" ;;
19689 x86_64
,*) wine_binary
="wine64" ;;
19690 *) wine_binary
="wine" ;;
19692 WINELOADER_PROGRAMS
="$wine_binary"
19698 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19699 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19700 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19705 if test "$wine_can_build_preloader" = "yes"
19707 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19708 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19715 printf %s
"checking for library containing dlopen... " >&6; }
19716 if test ${ac_cv_search_dlopen+y}
19718 printf %s
"(cached) " >&6
19720 ac_func_search_save_LIBS
=$LIBS
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 /* Override any GCC internal prototype to avoid an error.
19725 Use char because int might match the return type of a GCC
19726 builtin and then its argument prototype would still apply. */
19736 for ac_lib
in '' dl
19738 if test -z "$ac_lib"; then
19739 ac_res
="none required"
19742 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19744 if ac_fn_c_try_link
"$LINENO"
19746 ac_cv_search_dlopen
=$ac_res
19748 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19750 if test ${ac_cv_search_dlopen+y}
19755 if test ${ac_cv_search_dlopen+y}
19759 ac_cv_search_dlopen
=no
19761 rm conftest.
$ac_ext
19762 LIBS
=$ac_func_search_save_LIBS
19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19765 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19766 ac_res
=$ac_cv_search_dlopen
19767 if test "$ac_res" != no
19769 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19775 printf %s
"checking for library containing gethostbyname... " >&6; }
19776 if test ${ac_cv_search_gethostbyname+y}
19778 printf %s
"(cached) " >&6
19780 ac_func_search_save_LIBS
=$LIBS
19781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19787 char gethostbyname ();
19791 return gethostbyname ();
19796 for ac_lib
in '' nsl
19798 if test -z "$ac_lib"; then
19799 ac_res
="none required"
19802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19804 if ac_fn_c_try_link
"$LINENO"
19806 ac_cv_search_gethostbyname
=$ac_res
19808 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19810 if test ${ac_cv_search_gethostbyname+y}
19815 if test ${ac_cv_search_gethostbyname+y}
19819 ac_cv_search_gethostbyname
=no
19821 rm conftest.
$ac_ext
19822 LIBS
=$ac_func_search_save_LIBS
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19825 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19826 ac_res
=$ac_cv_search_gethostbyname
19827 if test "$ac_res" != no
19829 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19835 printf %s
"checking for library containing connect... " >&6; }
19836 if test ${ac_cv_search_connect+y}
19838 printf %s
"(cached) " >&6
19840 ac_func_search_save_LIBS
=$LIBS
19841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19844 /* Override any GCC internal prototype to avoid an error.
19845 Use char because int might match the return type of a GCC
19846 builtin and then its argument prototype would still apply. */
19856 for ac_lib
in '' socket
19858 if test -z "$ac_lib"; then
19859 ac_res
="none required"
19862 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19864 if ac_fn_c_try_link
"$LINENO"
19866 ac_cv_search_connect
=$ac_res
19868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19870 if test ${ac_cv_search_connect+y}
19875 if test ${ac_cv_search_connect+y}
19879 ac_cv_search_connect
=no
19881 rm conftest.
$ac_ext
19882 LIBS
=$ac_func_search_save_LIBS
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19885 printf "%s\n" "$ac_cv_search_connect" >&6; }
19886 ac_res
=$ac_cv_search_connect
19887 if test "$ac_res" != no
19889 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19895 printf %s
"checking for library containing inet_aton... " >&6; }
19896 if test ${ac_cv_search_inet_aton+y}
19898 printf %s
"(cached) " >&6
19900 ac_func_search_save_LIBS
=$LIBS
19901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 /* Override any GCC internal prototype to avoid an error.
19905 Use char because int might match the return type of a GCC
19906 builtin and then its argument prototype would still apply. */
19911 return inet_aton ();
19916 for ac_lib
in '' resolv
19918 if test -z "$ac_lib"; then
19919 ac_res
="none required"
19922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19924 if ac_fn_c_try_link
"$LINENO"
19926 ac_cv_search_inet_aton
=$ac_res
19928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19930 if test ${ac_cv_search_inet_aton+y}
19935 if test ${ac_cv_search_inet_aton+y}
19939 ac_cv_search_inet_aton
=no
19941 rm conftest.
$ac_ext
19942 LIBS
=$ac_func_search_save_LIBS
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19945 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19946 ac_res
=$ac_cv_search_inet_aton
19947 if test "$ac_res" != no
19949 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19954 ac_save_CFLAGS
="$CFLAGS"
19955 CFLAGS
="$CFLAGS $BUILTINFLAG"
19956 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19957 if test "x$ac_cv_func_dladdr1" = xyes
19959 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19962 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19963 if test "x$ac_cv_func_dlinfo" = xyes
19965 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19968 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19969 if test "x$ac_cv_func_epoll_create" = xyes
19971 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19974 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19975 if test "x$ac_cv_func_fstatfs" = xyes
19977 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19980 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19981 if test "x$ac_cv_func_futimens" = xyes
19983 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19986 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19987 if test "x$ac_cv_func_futimes" = xyes
19989 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19992 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19993 if test "x$ac_cv_func_futimesat" = xyes
19995 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19998 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19999 if test "x$ac_cv_func_getaddrinfo" = xyes
20001 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20004 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20005 if test "x$ac_cv_func_getattrlist" = xyes
20007 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20010 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20011 if test "x$ac_cv_func_getauxval" = xyes
20013 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20016 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20017 if test "x$ac_cv_func_getifaddrs" = xyes
20019 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20022 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20023 if test "x$ac_cv_func_getrandom" = xyes
20025 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20028 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20029 if test "x$ac_cv_func_kqueue" = xyes
20031 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20034 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20035 if test "x$ac_cv_func_mach_continuous_time" = xyes
20037 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20040 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20041 if test "x$ac_cv_func_pipe2" = xyes
20043 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20046 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20047 if test "x$ac_cv_func_port_create" = xyes
20049 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20052 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20053 if test "x$ac_cv_func_posix_fadvise" = xyes
20055 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20058 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20059 if test "x$ac_cv_func_posix_fallocate" = xyes
20061 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20064 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20065 if test "x$ac_cv_func_prctl" = xyes
20067 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20070 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20071 if test "x$ac_cv_func_proc_pidinfo" = xyes
20073 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20076 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20077 if test "x$ac_cv_func_sched_yield" = xyes
20079 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20082 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20083 if test "x$ac_cv_func_setproctitle" = xyes
20085 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20088 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20089 if test "x$ac_cv_func_setprogname" = xyes
20091 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20094 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20095 if test "x$ac_cv_func_sigprocmask" = xyes
20097 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20100 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20101 if test "x$ac_cv_func_sysinfo" = xyes
20103 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20106 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20107 if test "x$ac_cv_func_tcdrain" = xyes
20109 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20112 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20113 if test "x$ac_cv_func_thr_kill2" = xyes
20115 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20119 CFLAGS
="$ac_save_CFLAGS"
20122 darwin
*|macosx
*) ;;
20123 *) ac_save_LIBS
=$LIBS
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20125 printf %s
"checking for library containing clock_gettime... " >&6; }
20126 if test ${ac_cv_search_clock_gettime+y}
20128 printf %s
"(cached) " >&6
20130 ac_func_search_save_LIBS
=$LIBS
20131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20134 /* Override any GCC internal prototype to avoid an error.
20135 Use char because int might match the return type of a GCC
20136 builtin and then its argument prototype would still apply. */
20137 char clock_gettime ();
20141 return clock_gettime ();
20146 for ac_lib
in '' rt
20148 if test -z "$ac_lib"; then
20149 ac_res
="none required"
20152 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20154 if ac_fn_c_try_link
"$LINENO"
20156 ac_cv_search_clock_gettime
=$ac_res
20158 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20160 if test ${ac_cv_search_clock_gettime+y}
20165 if test ${ac_cv_search_clock_gettime+y}
20169 ac_cv_search_clock_gettime
=no
20171 rm conftest.
$ac_ext
20172 LIBS
=$ac_func_search_save_LIBS
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20175 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20176 ac_res
=$ac_cv_search_clock_gettime
20177 if test "$ac_res" != no
20179 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20181 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20183 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20192 printf %s
"checking for sched_setaffinity... " >&6; }
20193 if test ${wine_cv_have_sched_setaffinity+y}
20195 printf %s
"(cached) " >&6
20197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20203 sched_setaffinity(0, 0, 0);
20208 if ac_fn_c_try_link
"$LINENO"
20210 wine_cv_have_sched_setaffinity
=yes
20212 wine_cv_have_sched_setaffinity
=no
20214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20215 conftest
$ac_exeext conftest.
$ac_ext
20217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20218 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20219 if test "$wine_cv_have_sched_setaffinity" = "yes"
20222 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20228 printf %s
"checking for inline... " >&6; }
20229 if test ${ac_cv_c_inline+y}
20231 printf %s
"(cached) " >&6
20234 for ac_kw
in inline __inline__ __inline
; do
20235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 #ifndef __cplusplus
20239 static $ac_kw foo_t static_foo (void) {return 0; }
20240 $ac_kw foo_t foo (void) {return 0; }
20244 if ac_fn_c_try_compile
"$LINENO"
20246 ac_cv_c_inline
=$ac_kw
20248 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20249 test "$ac_cv_c_inline" != no
&& break
20253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20254 printf "%s\n" "$ac_cv_c_inline" >&6; }
20256 case $ac_cv_c_inline in
20259 case $ac_cv_c_inline in
20261 *) ac_val
=$ac_cv_c_inline;;
20263 cat >>confdefs.h
<<_ACEOF
20264 #ifndef __cplusplus
20265 #define inline $ac_val
20271 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20273 if test "x$ac_cv_type_request_sense" = xyes
20276 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20282 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20283 #include <sys/socket.h>
20284 #ifdef HAVE_SYS_SOCKETVAR_H
20285 #include <sys/socketvar.h>
20287 #ifdef HAVE_NET_ROUTE_H
20288 #include <net/route.h>
20290 #ifdef HAVE_NETINET_IN_H
20291 #include <netinet/in.h>
20293 #ifdef HAVE_NETINET_IN_SYSTM_H
20294 #include <netinet/in_systm.h>
20296 #ifdef HAVE_NETINET_IP_H
20297 #include <netinet/ip.h>
20299 #ifdef HAVE_NETINET_IN_PCB_H
20300 #include <netinet/in_pcb.h>
20303 if test "x$ac_cv_type_struct_xinpgen" = xyes
20306 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20313 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20314 if test ${wine_cv_linux_gethostbyname_r_6+y}
20316 printf %s
"(cached) " >&6
20318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20327 struct hostent *result;
20334 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20335 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20341 if ac_fn_c_try_link
"$LINENO"
20343 wine_cv_linux_gethostbyname_r_6
=yes
20345 wine_cv_linux_gethostbyname_r_6
=no
20348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20349 conftest
$ac_exeext conftest.
$ac_ext
20352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20353 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20354 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20357 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20362 #include <sys/socket.h>
20363 #ifdef HAVE_SYS_UN_H
20364 # include <sys/un.h>
20367 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20370 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20374 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20375 #include <sys/socket.h>
20376 #ifdef HAVE_SYS_UN_H
20377 # include <sys/un.h>
20380 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20383 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20389 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20390 #ifdef HAVE_SCSI_SG_H
20391 #include <scsi/sg.h>
20394 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20397 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20401 ac_fn_c_check_member
"$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
20402 #ifdef HAVE_SCSI_SG_H
20403 #include <scsi/sg.h>
20406 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20409 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20415 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20417 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20420 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20426 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20431 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20434 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20438 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20439 #ifdef HAVE_SYS_MTIO_H
20440 #include <sys/mtio.h>
20443 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20446 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20450 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20451 #ifdef HAVE_SYS_MTIO_H
20452 #include <sys/mtio.h>
20455 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20458 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20464 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20488 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20504 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20512 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20516 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20520 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20521 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20524 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20528 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20529 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20532 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20536 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20537 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20540 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20544 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20545 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20548 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20554 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20555 #ifdef HAVE_NETINET_IN_H
20556 #include <netinet/in.h>
20559 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20562 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20568 ac_fn_c_check_member
"$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
20569 #include <resolv.h>
20572 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20575 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20581 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20582 #include <netinet/in.h>
20585 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20588 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20594 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20595 #ifdef HAVE_SYS_SOCKETVAR_H
20596 #include <sys/socketvar.h>
20598 #ifdef HAVE_NETINET_IN_H
20599 #include <netinet/in.h>
20601 #ifdef HAVE_NETINET_IP_VAR_H
20602 #include <netinet/ip_var.h>
20605 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20608 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20614 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
20615 #include <netinet/ip_var.h>
20618 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20621 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20627 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20628 #ifdef HAVE_SYS_SOCKETVAR_H
20629 #include <sys/socketvar.h>
20631 #ifdef HAVE_NETINET_IN_H
20632 #include <netinet/in.h>
20634 #ifdef HAVE_NETINET6_IP6_VAR_H
20635 #include <netinet6/ip6_var.h>
20638 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20641 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20647 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20654 #ifdef HAVE_NETINET_IP_H
20655 #include <netinet/ip.h>
20657 #ifdef HAVE_NETINET_IP_ICMP_H
20658 #include <netinet/ip_icmp.h>
20660 #ifdef HAVE_NETINET_ICMP_VAR_H
20661 #include <netinet/icmp_var.h>
20664 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20667 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20673 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20674 #ifdef HAVE_SYS_SOCKETVAR_H
20675 #include <sys/socketvar.h>
20677 #ifdef HAVE_NETINET_IN_H
20678 #include <netinet/in.h>
20680 #ifdef HAVE_NETINET_ICMP6_H
20681 #include <netinet/icmp6.h>
20684 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20687 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20693 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20694 #ifdef HAVE_SYS_SOCKETVAR_H
20695 #include <sys/socketvar.h>
20697 #ifdef HAVE_NETINET_IN_H
20698 #include <netinet/in.h>
20700 #ifdef HAVE_NETINET_TCP_H
20701 #include <netinet/tcp.h>
20703 #ifdef HAVE_NETINET_TCP_VAR_H
20704 #include <netinet/tcp_var.h>
20707 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20710 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20716 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
20717 #include <netinet/tcp_var.h>
20720 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20723 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20729 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20733 #ifdef HAVE_NETINET_IP_VAR_H
20734 #include <netinet/ip_var.h>
20736 #ifdef HAVE_NETINET_UDP_H
20737 #include <netinet/udp.h>
20739 #ifdef HAVE_NETINET_UDP_VAR_H
20740 #include <netinet/udp_var.h>
20743 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20746 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20752 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20753 #ifdef HAVE_NET_IF_H
20754 # include <net/if.h>
20757 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20760 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20766 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20767 # include <sys/sysinfo.h>
20770 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20773 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20777 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20778 # include <sys/sysinfo.h>
20781 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20784 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20790 LIBS
="$ac_save_LIBS"
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20793 printf %s
"checking for __builtin_popcount... " >&6; }
20794 if test ${ac_cv_have___builtin_popcount+y}
20796 printf %s
"(cached) " >&6
20798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20804 return __builtin_popcount(1)
20809 if ac_fn_c_try_link
"$LINENO"
20811 ac_cv_have___builtin_popcount
="yes"
20813 ac_cv_have___builtin_popcount
="no"
20815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20816 conftest
$ac_exeext conftest.
$ac_ext
20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20819 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20820 if test "$ac_cv_have___builtin_popcount" = "yes"
20823 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20828 printf %s
"checking for __clear_cache... " >&6; }
20829 if test ${ac_cv_have___clear_cache+y}
20831 printf %s
"(cached) " >&6
20833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20839 __clear_cache((void*)0, (void*)0); return 0;
20844 if ac_fn_c_try_link
"$LINENO"
20846 ac_cv_have___clear_cache
="yes"
20848 ac_cv_have___clear_cache
="no"
20850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20851 conftest
$ac_exeext conftest.
$ac_ext
20853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20854 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20855 if test "$ac_cv_have___clear_cache" = "yes"
20858 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20864 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20865 printf %s
"checking whether we need to define __i386__... " >&6; }
20866 if test ${ac_cv_cpp_def___i386__+y}
20868 printf %s
"(cached) " >&6
20870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20877 $EGREP "yes" >/dev
/null
2>&1
20879 ac_cv_cpp_def___i386__
=yes
20881 ac_cv_cpp_def___i386__
=no
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20887 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20888 if test "x$ac_cv_cpp_def___i386__" = xyes
20890 CFLAGS
="$CFLAGS -D__i386__"
20891 LINTFLAGS
="$LINTFLAGS -D__i386__"
20893 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20894 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20895 if test ${ac_cv_cpp_def___x86_64__+y}
20897 printf %s
"(cached) " >&6
20899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev
/null
2>&1
20908 ac_cv_cpp_def___x86_64__
=yes
20910 ac_cv_cpp_def___x86_64__
=no
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20917 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20919 CFLAGS
="$CFLAGS -D__x86_64__"
20920 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20922 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20923 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20924 if test ${ac_cv_cpp_def___sparc64__+y}
20926 printf %s
"(cached) " >&6
20928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 #ifndef __sparc64__
20934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20935 $EGREP "yes" >/dev
/null
2>&1
20937 ac_cv_cpp_def___sparc64__
=yes
20939 ac_cv_cpp_def___sparc64__
=no
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20945 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20946 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20948 CFLAGS
="$CFLAGS -D__sparc64__"
20949 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20951 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20952 printf %s
"checking whether we need to define __sparc__... " >&6; }
20953 if test ${ac_cv_cpp_def___sparc__+y}
20955 printf %s
"(cached) " >&6
20957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20964 $EGREP "yes" >/dev
/null
2>&1
20966 ac_cv_cpp_def___sparc__
=yes
20968 ac_cv_cpp_def___sparc__
=no
20973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20974 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20975 if test "x$ac_cv_cpp_def___sparc__" = xyes
20977 CFLAGS
="$CFLAGS -D__sparc__"
20978 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20980 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20981 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20982 if test ${ac_cv_cpp_def___powerpc64__+y}
20984 printf %s
"(cached) " >&6
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __powerpc64__
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev
/null
2>&1
20995 ac_cv_cpp_def___powerpc64__
=yes
20997 ac_cv_cpp_def___powerpc64__
=no
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21004 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21006 CFLAGS
="$CFLAGS -D__powerpc64__"
21007 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21009 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21010 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21011 if test ${ac_cv_cpp_def___powerpc__+y}
21013 printf %s
"(cached) " >&6
21015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21017 #ifndef __powerpc__
21021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21022 $EGREP "yes" >/dev
/null
2>&1
21024 ac_cv_cpp_def___powerpc__
=yes
21026 ac_cv_cpp_def___powerpc__
=no
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21032 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21033 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21035 CFLAGS
="$CFLAGS -D__powerpc__"
21036 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21038 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21039 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21040 if test ${ac_cv_cpp_def___aarch64__+y}
21042 printf %s
"(cached) " >&6
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __aarch64__
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev
/null
2>&1
21053 ac_cv_cpp_def___aarch64__
=yes
21055 ac_cv_cpp_def___aarch64__
=no
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21062 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21064 CFLAGS
="$CFLAGS -D__aarch64__"
21065 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21067 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21068 printf %s
"checking whether we need to define __arm__... " >&6; }
21069 if test ${ac_cv_cpp_def___arm__+y}
21071 printf %s
"(cached) " >&6
21073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev
/null
2>&1
21082 ac_cv_cpp_def___arm__
=yes
21084 ac_cv_cpp_def___arm__
=no
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21091 if test "x$ac_cv_cpp_def___arm__" = xyes
21093 CFLAGS
="$CFLAGS -D__arm__"
21094 LINTFLAGS
="$LINTFLAGS -D__arm__"
21098 case $host_vendor in
21099 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21100 printf %s
"checking whether we need to define __sun__... " >&6; }
21101 if test ${ac_cv_cpp_def___sun__+y}
21103 printf %s
"(cached) " >&6
21105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21112 $EGREP "yes" >/dev
/null
2>&1
21114 ac_cv_cpp_def___sun__
=yes
21116 ac_cv_cpp_def___sun__
=no
21121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21122 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21123 if test "x$ac_cv_cpp_def___sun__" = xyes
21125 CFLAGS
="$CFLAGS -D__sun__"
21126 LINTFLAGS
="$LINTFLAGS -D__sun__"
21134 ac_config_commands
="$ac_config_commands include/stamp-h"
21136 printf %s
"creating Makefile rules..." >&6
21139 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21142 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21144 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21145 wine_fn_config_symlink wine
21146 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21147 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21148 wine_fn_config_symlink wine64
21151 wine_fn_config_makefile dlls
/acledit enable_acledit
21152 wine_fn_config_makefile dlls
/aclui enable_aclui
21153 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21154 wine_fn_config_makefile dlls
/activeds enable_activeds
21155 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21156 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21157 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21158 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21159 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21160 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21161 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21162 wine_fn_config_makefile dlls
/advpack enable_advpack
21163 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21164 wine_fn_config_makefile dlls
/amsi enable_amsi
21165 wine_fn_config_makefile dlls
/amstream enable_amstream
21166 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21167 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21168 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21169 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21170 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21171 wine_fn_config_makefile dlls
/atl enable_atl
21172 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21173 wine_fn_config_makefile dlls
/atl100 enable_atl100
21174 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21175 wine_fn_config_makefile dlls
/atl110 enable_atl110
21176 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21177 wine_fn_config_makefile dlls
/atl80 enable_atl80
21178 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21179 wine_fn_config_makefile dlls
/atl90 enable_atl90
21180 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21181 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21182 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21183 wine_fn_config_makefile dlls
/authz enable_authz
21184 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21185 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21186 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21187 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21188 wine_fn_config_makefile dlls
/avrt enable_avrt
21189 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21190 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21191 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21192 wine_fn_config_makefile dlls
/browseui enable_browseui
21193 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21194 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21195 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21196 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21197 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21198 wine_fn_config_makefile dlls
/cards enable_cards
21199 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21200 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21201 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21202 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21203 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21204 wine_fn_config_makefile dlls
/combase enable_combase
21205 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21206 wine_fn_config_makefile dlls
/comcat enable_comcat
21207 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21208 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21209 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21210 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21211 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21212 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21213 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21214 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21215 wine_fn_config_makefile dlls
/compstui enable_compstui
21216 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21217 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21218 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21219 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21220 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21221 wine_fn_config_makefile dlls
/connect enable_connect
21222 wine_fn_config_makefile dlls
/credui enable_credui
21223 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21224 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21225 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21226 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21227 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21228 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21229 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21230 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21231 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21232 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21233 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21234 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21235 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21236 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21237 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21238 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21239 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21240 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21241 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21242 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21243 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21244 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21245 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21246 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21248 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21249 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21250 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21251 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21252 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21253 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21254 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21255 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21257 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21258 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21259 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21260 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21261 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21262 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21263 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21264 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21265 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21266 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21267 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21268 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21269 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21270 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21271 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21272 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21273 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21274 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21275 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21276 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21277 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21278 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21279 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21280 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21281 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21282 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21283 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21284 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21285 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21286 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21287 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21288 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21289 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21290 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21291 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21292 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21293 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21294 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21295 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21296 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21297 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21298 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21299 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21300 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21301 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21302 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21303 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21304 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21305 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21306 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21307 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21308 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21309 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21310 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21311 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21312 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21313 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21314 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21315 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21316 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21317 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21318 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21319 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21320 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21321 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21322 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21323 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21324 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21325 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21326 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21327 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21328 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21329 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21330 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21331 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21333 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21334 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21335 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21336 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21337 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21338 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21339 wine_fn_config_makefile dlls
/devenum enable_devenum
21340 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21341 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21342 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21343 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21344 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21345 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21346 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21347 wine_fn_config_makefile dlls
/dinput enable_dinput
21348 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21350 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21351 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21353 wine_fn_config_makefile dlls
/dispex enable_dispex
21354 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21355 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21356 wine_fn_config_makefile dlls
/dmband enable_dmband
21357 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21358 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21359 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21360 wine_fn_config_makefile dlls
/dmime enable_dmime
21361 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21362 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21363 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21364 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21365 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21366 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21367 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21368 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21369 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21370 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21371 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21372 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21373 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21374 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21375 wine_fn_config_makefile dlls
/dplay enable_dplay
21376 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21377 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21378 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21379 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21380 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21381 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21382 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21383 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21384 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21385 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21386 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21387 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21388 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21389 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21390 wine_fn_config_makefile dlls
/dsound enable_dsound
21391 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21392 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21393 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21394 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21395 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21396 wine_fn_config_makefile dlls
/dswave enable_dswave
21397 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21398 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21399 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21400 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21401 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21402 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21403 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21404 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21405 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21406 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21407 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21408 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21409 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21410 wine_fn_config_makefile dlls
/esent enable_esent
21411 wine_fn_config_makefile dlls
/evr enable_evr
21412 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21413 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21414 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21415 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21416 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21417 wine_fn_config_makefile dlls
/feclient enable_feclient
21418 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21419 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21420 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21421 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21422 wine_fn_config_makefile dlls
/fusion enable_fusion
21423 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21424 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21425 wine_fn_config_makefile dlls
/gameux enable_gameux
21426 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21427 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21428 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21429 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21430 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21431 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21432 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21433 wine_fn_config_makefile dlls
/glu32 enable_glu32
21434 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21435 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21436 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21437 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21438 wine_fn_config_makefile dlls
/hal enable_hal
21439 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21440 wine_fn_config_makefile dlls
/hid enable_hid
21441 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21442 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21443 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21444 wine_fn_config_makefile dlls
/hlink enable_hlink
21445 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21446 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21447 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21448 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21449 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21450 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21451 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21452 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21453 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21454 wine_fn_config_makefile dlls
/icmp enable_icmp
21455 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21456 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21457 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21458 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21459 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21460 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21461 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21462 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21463 wine_fn_config_makefile dlls
/imm32 enable_imm32
21464 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21465 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21466 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21467 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21468 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21469 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21470 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21471 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21472 wine_fn_config_makefile dlls
/initpki enable_initpki
21473 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21474 wine_fn_config_makefile dlls
/inseng enable_inseng
21475 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21476 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21477 wine_fn_config_makefile dlls
/iprop enable_iprop
21478 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21479 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21480 wine_fn_config_makefile dlls
/itircl enable_itircl
21481 wine_fn_config_makefile dlls
/itss enable_itss
21482 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21483 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21484 wine_fn_config_makefile dlls
/jscript enable_jscript
21485 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21486 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21487 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21488 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21489 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21490 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21491 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21492 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21493 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21494 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21495 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21496 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21497 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21498 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21499 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21500 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21501 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21502 wine_fn_config_makefile dlls
/localspl enable_localspl
21503 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21504 wine_fn_config_makefile dlls
/localui enable_localui
21505 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21506 wine_fn_config_makefile dlls
/lz32 enable_lz32
21507 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21508 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21509 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21510 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21511 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21512 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21513 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21514 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21515 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21516 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21517 wine_fn_config_makefile dlls
/mf enable_mf
21518 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21519 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21520 wine_fn_config_makefile dlls
/mferror enable_mferror
21521 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21522 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21523 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21524 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21525 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21526 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21527 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21528 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21529 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21530 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21531 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21532 wine_fn_config_makefile dlls
/midimap enable_midimap
21533 wine_fn_config_makefile dlls
/mlang enable_mlang
21534 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21535 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21536 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21537 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21538 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21539 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21540 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21541 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21542 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21543 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21544 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21545 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21546 wine_fn_config_makefile dlls
/mpr enable_mpr
21547 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21548 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21549 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21550 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21551 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21552 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21553 wine_fn_config_makefile dlls
/msado15 enable_msado15
21554 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21555 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21556 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21557 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21558 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21559 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21560 wine_fn_config_makefile dlls
/mscms enable_mscms
21561 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21562 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21563 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21564 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21565 wine_fn_config_makefile dlls
/msctf enable_msctf
21566 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21567 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21568 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21569 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21570 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21571 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21572 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21573 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21574 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21575 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21576 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21577 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21579 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21580 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21581 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21582 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msi enable_msi
21584 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msident enable_msident
21586 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21587 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21588 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21589 wine_fn_config_makefile dlls
/msisip enable_msisip
21590 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21591 wine_fn_config_makefile dlls
/msls31 enable_msls31
21592 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21593 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21594 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21595 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21596 wine_fn_config_makefile dlls
/msports enable_msports
21597 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21598 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21599 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21600 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21601 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21602 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21603 wine_fn_config_makefile dlls
/mstask enable_mstask
21604 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21605 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21606 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21607 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21608 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21609 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21610 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21611 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21612 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21613 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21614 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21615 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21616 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21617 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21618 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21619 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21620 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21621 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21622 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21623 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21625 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21626 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21627 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21628 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21629 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21630 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21631 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21632 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21633 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21634 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21635 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21636 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21637 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21638 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21639 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21640 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21641 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21642 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21643 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21644 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21645 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21646 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21647 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21648 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21650 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21651 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21652 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21653 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21654 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21655 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21656 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21657 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21658 wine_fn_config_makefile dlls
/msxml enable_msxml
21659 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21660 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21661 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21662 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21663 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21664 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21665 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21666 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21667 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21668 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21669 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21670 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21671 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21672 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21673 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21674 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21675 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21676 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21677 wine_fn_config_makefile dlls
/netutils enable_netutils
21678 wine_fn_config_makefile dlls
/newdev enable_newdev
21679 wine_fn_config_makefile dlls
/ninput enable_ninput
21680 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21681 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21682 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21683 wine_fn_config_makefile dlls
/npptools enable_npptools
21684 wine_fn_config_makefile dlls
/nsi enable_nsi
21685 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21686 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21687 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21688 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21689 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21690 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21691 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21692 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21693 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21694 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21695 wine_fn_config_makefile dlls
/objsel enable_objsel
21696 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21697 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21698 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21699 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21700 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21701 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21702 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21703 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21704 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21705 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21706 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21707 wine_fn_config_makefile dlls
/ole32 enable_ole32
21708 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21709 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21710 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21711 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21712 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21713 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21714 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21715 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21716 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21717 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21718 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21719 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21720 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21721 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21722 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21723 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21724 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21725 wine_fn_config_makefile dlls
/opencl enable_opencl
21726 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21727 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21728 wine_fn_config_makefile dlls
/packager enable_packager
21729 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21730 wine_fn_config_makefile dlls
/pdh enable_pdh
21731 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21732 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21733 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21734 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21735 wine_fn_config_makefile dlls
/printui enable_printui
21736 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21737 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21738 wine_fn_config_makefile dlls
/propsys enable_propsys
21739 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21740 wine_fn_config_makefile dlls
/psapi enable_psapi
21741 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21742 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21743 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21744 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21745 wine_fn_config_makefile dlls
/qasf enable_qasf
21746 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21747 wine_fn_config_makefile dlls
/qcap enable_qcap
21748 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21749 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21750 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21751 wine_fn_config_makefile dlls
/qedit enable_qedit
21752 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21753 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21754 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21755 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21756 wine_fn_config_makefile dlls
/quartz enable_quartz
21757 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21758 wine_fn_config_makefile dlls
/query enable_query
21759 wine_fn_config_makefile dlls
/qwave enable_qwave
21760 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21761 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21762 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21763 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21764 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21765 wine_fn_config_makefile dlls
/regapi enable_regapi
21766 wine_fn_config_makefile dlls
/resutils enable_resutils
21767 wine_fn_config_makefile dlls
/riched20 enable_riched20
21768 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21769 wine_fn_config_makefile dlls
/riched32 enable_riched32
21770 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21771 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21772 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21773 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21774 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21775 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21776 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21777 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21778 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21779 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21780 wine_fn_config_makefile dlls
/samlib enable_samlib
21781 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21782 wine_fn_config_makefile dlls
/sapi enable_sapi
21783 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21784 wine_fn_config_makefile dlls
/sas enable_sas
21785 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21786 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21787 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21788 wine_fn_config_makefile dlls
/schannel enable_schannel
21789 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21790 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21791 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21792 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21793 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21794 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21795 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21796 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21797 wine_fn_config_makefile dlls
/sechost enable_sechost
21798 wine_fn_config_makefile dlls
/secur32 enable_secur32
21799 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21800 wine_fn_config_makefile dlls
/security enable_security
21801 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21802 wine_fn_config_makefile dlls
/serialui enable_serialui
21803 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21804 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21805 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21806 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21807 wine_fn_config_makefile dlls
/sfc enable_sfc
21808 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21809 wine_fn_config_makefile dlls
/shcore enable_shcore
21810 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21811 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21812 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21813 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21814 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21815 wine_fn_config_makefile dlls
/shell32 enable_shell32
21816 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21817 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21818 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21819 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21820 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21821 wine_fn_config_makefile dlls
/slc enable_slc
21822 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21823 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21824 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21825 wine_fn_config_makefile dlls
/softpub enable_softpub
21826 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21827 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21828 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21829 wine_fn_config_makefile dlls
/sppc enable_sppc
21830 wine_fn_config_makefile dlls
/srclient enable_srclient
21831 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21832 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21833 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21834 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21835 wine_fn_config_makefile dlls
/sti enable_sti
21836 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21837 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21838 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21839 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21840 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21841 wine_fn_config_makefile dlls
/sxs enable_sxs
21842 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21843 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21844 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21845 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21846 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21847 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21848 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21849 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21850 wine_fn_config_makefile dlls
/tbs enable_tbs
21851 wine_fn_config_makefile dlls
/tdh enable_tdh
21852 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21853 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21854 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21855 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21856 wine_fn_config_makefile dlls
/traffic enable_traffic
21857 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21858 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21859 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21860 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21861 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21862 wine_fn_config_makefile dlls
/tzres enable_tzres
21863 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21864 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21865 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21866 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21867 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21868 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21869 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21870 wine_fn_config_makefile dlls
/unicows enable_unicows
21871 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21872 wine_fn_config_makefile dlls
/url enable_url
21873 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21874 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21875 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21876 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21877 wine_fn_config_makefile dlls
/user32 enable_user32
21878 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21879 wine_fn_config_makefile dlls
/userenv enable_userenv
21880 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21881 wine_fn_config_makefile dlls
/usp10 enable_usp10
21882 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21883 wine_fn_config_makefile dlls
/utildll enable_utildll
21884 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21885 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21886 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21887 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21888 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21889 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21890 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21891 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21892 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21893 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21894 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21895 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21896 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21897 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21898 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21899 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21900 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21901 wine_fn_config_makefile dlls
/version enable_version
21902 wine_fn_config_makefile dlls
/version
/tests enable_tests
21903 wine_fn_config_makefile dlls
/vga enable_vga
21904 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21905 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21906 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21907 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21908 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21909 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21910 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21911 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21912 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21913 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21914 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21915 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21916 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21917 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21918 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21919 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21920 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21921 wine_fn_config_makefile dlls
/webservices enable_webservices
21922 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21923 wine_fn_config_makefile dlls
/websocket enable_websocket
21924 wine_fn_config_makefile dlls
/wer enable_wer
21925 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21926 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21927 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21928 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21929 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21930 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21931 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21932 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21933 wine_fn_config_makefile dlls
/win32u enable_win32u
21934 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21935 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21936 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21937 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21938 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21939 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21940 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21941 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21942 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21943 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21944 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21945 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21946 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21947 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21948 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21949 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21950 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21951 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21952 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21953 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21954 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21955 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21956 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21957 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21958 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21959 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21960 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21961 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21962 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21963 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21964 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21965 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21966 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21967 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21968 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21969 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21970 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21971 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21972 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21973 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21974 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21975 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21976 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21977 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21978 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21979 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21980 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21981 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21982 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21983 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21984 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21985 wine_fn_config_makefile dlls
/wing32 enable_wing32
21986 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21987 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21988 wine_fn_config_makefile dlls
/wininet enable_wininet
21989 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21990 wine_fn_config_makefile dlls
/winmm enable_winmm
21991 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21992 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21993 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21994 wine_fn_config_makefile dlls
/winprint enable_winprint
21995 wine_fn_config_makefile dlls
/winscard enable_winscard
21996 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21997 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21998 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21999 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22000 wine_fn_config_makefile dlls
/winsta enable_winsta
22001 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22002 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22003 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22004 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22005 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22006 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22007 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22008 wine_fn_config_makefile dlls
/winusb enable_winusb
22009 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22010 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22011 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22012 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22013 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22014 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22015 wine_fn_config_makefile dlls
/wmi enable_wmi
22016 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22017 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22018 wine_fn_config_makefile dlls
/wmp enable_wmp
22019 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22020 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22021 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22022 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22023 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22024 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22025 wine_fn_config_makefile dlls
/wow32 enable_win16
22026 wine_fn_config_makefile dlls
/wow64 enable_wow64
22027 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22028 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22029 wine_fn_config_makefile dlls
/wpc enable_wpc
22030 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22031 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22032 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22033 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22034 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22035 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22036 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22037 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22038 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22039 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22040 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22041 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22042 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22043 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22044 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22045 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22046 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22047 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22048 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22049 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22050 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22051 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22052 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22053 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22054 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22055 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22056 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22057 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22058 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22059 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22060 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22061 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22062 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22063 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22064 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22065 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22066 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22067 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22068 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22069 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22070 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22071 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22072 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22073 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22074 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22075 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22076 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22077 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22078 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22079 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22080 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22081 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22082 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22083 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22084 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22085 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22086 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22087 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22088 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22089 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22090 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22091 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22092 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22093 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22094 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22095 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22096 wine_fn_config_makefile fonts enable_fonts
22097 wine_fn_config_makefile include enable_include
22098 wine_fn_config_makefile libs
/adsiid enable_adsiid
22099 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22100 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22101 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22102 wine_fn_config_makefile libs
/dxguid enable_dxguid
22103 wine_fn_config_makefile libs
/faudio enable_faudio
22104 wine_fn_config_makefile libs
/gsm enable_gsm
22105 wine_fn_config_makefile libs
/jpeg enable_jpeg
22106 wine_fn_config_makefile libs
/jxr enable_jxr
22107 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22108 wine_fn_config_makefile libs
/ldap enable_ldap
22109 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22110 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22111 wine_fn_config_makefile libs
/musl enable_musl
22112 wine_fn_config_makefile libs
/png enable_png
22113 wine_fn_config_makefile libs
/strmbase enable_strmbase
22114 wine_fn_config_makefile libs
/strmiids enable_strmiids
22115 wine_fn_config_makefile libs
/tiff enable_tiff
22116 wine_fn_config_makefile libs
/uuid enable_uuid
22117 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22118 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22119 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22120 wine_fn_config_makefile libs
/xml2 enable_xml2
22121 wine_fn_config_makefile libs
/xslt enable_xslt
22122 wine_fn_config_makefile libs
/zlib enable_zlib
22123 wine_fn_config_makefile libs
/zydis enable_zydis
22124 wine_fn_config_makefile loader enable_loader
22125 wine_fn_config_makefile nls enable_nls
22126 wine_fn_config_makefile po enable_po
22127 wine_fn_config_makefile programs
/arp enable_arp
22128 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22129 wine_fn_config_makefile programs
/attrib enable_attrib
22130 wine_fn_config_makefile programs
/cabarc enable_cabarc
22131 wine_fn_config_makefile programs
/cacls enable_cacls
22132 wine_fn_config_makefile programs
/certutil enable_certutil
22133 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22134 wine_fn_config_makefile programs
/clock enable_clock
22135 wine_fn_config_makefile programs
/cmd enable_cmd
22136 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22137 wine_fn_config_makefile programs
/conhost enable_conhost
22138 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22139 wine_fn_config_makefile programs
/control enable_control
22140 wine_fn_config_makefile programs
/cscript enable_cscript
22141 wine_fn_config_makefile programs
/dism enable_dism
22142 wine_fn_config_makefile programs
/dllhost enable_dllhost
22143 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22144 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22145 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22146 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22147 wine_fn_config_makefile programs
/eject enable_eject
22148 wine_fn_config_makefile programs
/expand enable_expand
22149 wine_fn_config_makefile programs
/explorer enable_explorer
22150 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22151 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22152 wine_fn_config_makefile programs
/fc enable_fc
22153 wine_fn_config_makefile programs
/find enable_find
22154 wine_fn_config_makefile programs
/find
/tests enable_tests
22155 wine_fn_config_makefile programs
/findstr enable_findstr
22156 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22157 wine_fn_config_makefile programs
/fsutil enable_fsutil
22158 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22159 wine_fn_config_makefile programs
/hh enable_hh
22160 wine_fn_config_makefile programs
/hostname enable_hostname
22161 wine_fn_config_makefile programs
/icacls enable_icacls
22162 wine_fn_config_makefile programs
/icinfo enable_icinfo
22163 wine_fn_config_makefile programs
/iexplore enable_iexplore
22164 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22165 wine_fn_config_makefile programs
/lodctr enable_lodctr
22166 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22167 wine_fn_config_makefile programs
/mshta enable_mshta
22168 wine_fn_config_makefile programs
/msidb enable_msidb
22169 wine_fn_config_makefile programs
/msiexec enable_msiexec
22170 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22171 wine_fn_config_makefile programs
/net enable_net
22172 wine_fn_config_makefile programs
/netsh enable_netsh
22173 wine_fn_config_makefile programs
/netstat enable_netstat
22174 wine_fn_config_makefile programs
/ngen enable_ngen
22175 wine_fn_config_makefile programs
/notepad enable_notepad
22176 wine_fn_config_makefile programs
/oleview enable_oleview
22177 wine_fn_config_makefile programs
/ping enable_ping
22178 wine_fn_config_makefile programs
/plugplay enable_plugplay
22179 wine_fn_config_makefile programs
/pnputil enable_pnputil
22180 wine_fn_config_makefile programs
/powershell enable_powershell
22181 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22182 wine_fn_config_makefile programs
/progman enable_progman
22183 wine_fn_config_makefile programs
/reg enable_reg
22184 wine_fn_config_makefile programs
/reg
/tests enable_tests
22185 wine_fn_config_makefile programs
/regasm enable_regasm
22186 wine_fn_config_makefile programs
/regedit enable_regedit
22187 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22188 wine_fn_config_makefile programs
/regini enable_regini
22189 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22190 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22191 wine_fn_config_makefile programs
/robocopy enable_robocopy
22192 wine_fn_config_makefile programs
/rpcss enable_rpcss
22193 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22194 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22195 wine_fn_config_makefile programs
/sc enable_sc
22196 wine_fn_config_makefile programs
/sc
/tests enable_tests
22197 wine_fn_config_makefile programs
/schtasks enable_schtasks
22198 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22199 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22200 wine_fn_config_makefile programs
/secedit enable_secedit
22201 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22202 wine_fn_config_makefile programs
/services enable_services
22203 wine_fn_config_makefile programs
/services
/tests enable_tests
22204 wine_fn_config_makefile programs
/setx enable_setx
22205 wine_fn_config_makefile programs
/shutdown enable_shutdown
22206 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22207 wine_fn_config_makefile programs
/start enable_start
22208 wine_fn_config_makefile programs
/subst enable_subst
22209 wine_fn_config_makefile programs
/svchost enable_svchost
22210 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22211 wine_fn_config_makefile programs
/taskkill enable_taskkill
22212 wine_fn_config_makefile programs
/tasklist enable_tasklist
22213 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22214 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22215 wine_fn_config_makefile programs
/termsv enable_termsv
22216 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22217 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22218 wine_fn_config_makefile programs
/view enable_view
22219 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22220 wine_fn_config_makefile programs
/where enable_where
22221 wine_fn_config_makefile programs
/whoami enable_whoami
22222 wine_fn_config_makefile programs
/wineboot enable_wineboot
22223 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22224 wine_fn_config_makefile programs
/winecfg enable_winecfg
22225 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22226 wine_fn_config_makefile programs
/winedbg enable_winedbg
22227 wine_fn_config_makefile programs
/winedevice enable_winedevice
22228 wine_fn_config_makefile programs
/winefile enable_winefile
22229 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22230 wine_fn_config_makefile programs
/winemine enable_winemine
22231 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22232 wine_fn_config_makefile programs
/winepath enable_winepath
22233 wine_fn_config_makefile programs
/winetest enable_winetest
22234 wine_fn_config_makefile programs
/winevdm enable_win16
22235 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22236 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22237 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22238 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22239 wine_fn_config_makefile programs
/winver enable_winver
22240 wine_fn_config_makefile programs
/wmic enable_wmic
22241 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22242 wine_fn_config_makefile programs
/wordpad enable_wordpad
22243 wine_fn_config_makefile programs
/write enable_write
22244 wine_fn_config_makefile programs
/wscript enable_wscript
22245 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22246 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22247 wine_fn_config_makefile programs
/wusa enable_wusa
22248 wine_fn_config_makefile programs
/xcopy enable_xcopy
22249 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22250 wine_fn_config_makefile server enable_server
22251 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22252 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22253 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22254 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22255 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22256 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22257 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22262 as_fn_append CONFIGURE_TARGETS
" TAGS"
22263 as_fn_append CONFIGURE_TARGETS
" tags"
22264 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22265 as_fn_append CONFIGURE_TARGETS
" config.log"
22266 as_fn_append CONFIGURE_TARGETS
" config.status"
22267 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22268 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22269 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22271 if test "x$enable_tools" != xno
22273 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22274 ac_config_commands
="$ac_config_commands tools/makedep"
22278 ac_config_commands
="$ac_config_commands Makefile"
22285 as_fn_append wine_rules
"
22287 @echo \"Wine build complete.\"
22291 Makefile: config.status \$(MAKEDEP)
22292 @./config.status Makefile
22293 depend: \$(MAKEDEP)
22294 \$(MAKEDEP)$makedep_flags"
22297 as_fn_append wine_rules
"
22298 config.status: ${wine_srcdir}configure
22299 @./config.status --recheck
22300 include/config.h: include/stamp-h
22301 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22302 @./config.status include/config.h include/stamp-h"
22304 if test "x$enable_maintainer_mode" = xyes
22306 as_fn_append wine_rules
"
22307 configure: configure.ac aclocal.m4
22308 autoconf --warnings=all
22309 include/config.h.in: include/stamp-h.in
22310 include/stamp-h.in: configure.ac aclocal.m4
22311 autoheader --warnings=all
22312 @echo timestamp > \$@"
22315 if test "x$enable_tools" != xno
22317 as_fn_append wine_rules
"
22318 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22319 @./config.status tools/makedep
22320 Makefile: tools/makedep$ac_exeext"
22322 as_fn_append wine_rules
"
22324 @echo \"You need to run make in $toolsdir first\" && false"
22328 if test -n "$with_wine64"
22330 case "$with_wine64" in
22334 rm -f fonts server
2>/dev
/null
22335 as_fn_append wine_rules
"
22336 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22337 loader/wine64 loader/wine64-preloader:
22338 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22339 $with_wine64/loader/wine:
22340 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22341 $with_wine64/loader/wine-preloader:
22342 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22344 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22346 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22347 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22351 programs/msidb/msidb \
22352 programs/msiexec/msiexec \
22353 programs/notepad/notepad \
22354 programs/regedit/regedit \
22355 programs/regsvr32/regsvr32 \
22356 programs/wineboot/wineboot \
22357 programs/winecfg/winecfg \
22358 programs/wineconsole/wineconsole \
22359 programs/winedbg/winedbg \
22360 programs/winefile/winefile \
22361 programs/winemine/winemine \
22362 programs/winepath/winepath \
22366 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22367 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22372 as_fn_append wine_rules
"
22374 rm -rf autom4te.cache
22376 rm -f configure include/config.h.in"
22379 as_fn_append wine_rules
"
22380 dlls/ntdll/unix/version.c: dummy
22381 @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)
22382 programs/winetest/build.rc: dummy
22383 @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)
22384 programs/winetest/build.nfo:
22386 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
22387 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22388 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22391 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22393 as_fn_append wine_rules
"
22396 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22399 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22401 .PHONY: depend dummy install-manpages"
22403 printf "%s\n" " done" >&6
22404 cat >confcache
<<\_ACEOF
22405 # This file is a shell script that caches the results of configure
22406 # tests run on this system so they can be shared between configure
22407 # scripts and configure runs, see configure's option --config-cache.
22408 # It is not useful on other systems. If it contains results you don't
22409 # want to keep, you may remove or edit it.
22411 # config.status only pays attention to the cache file if you give it
22412 # the --recheck option to rerun configure.
22414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22416 # following values.
22420 # The following way of writing the cache mishandles newlines in values,
22421 # but we know of no workaround that is simple, portable, and efficient.
22422 # So, we kill variables containing newlines.
22423 # Ultrix sh set writes to stderr and can't be redirected directly,
22424 # and sets the high bit in the cache file unless we assign to the vars.
22426 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22427 eval ac_val
=\$
$ac_var
22431 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22432 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22435 _ | IFS | as_nl
) ;; #(
22436 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22437 *) { eval $ac_var=; unset $ac_var;} ;;
22443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22444 *${as_nl}ac_space
=\
*)
22445 # `set' does not quote correctly, so add quotes: double-quote
22446 # substitution turns \\\\ into \\, and sed turns \\ into \.
22449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22452 # `set' quotes correctly as required by POSIX, so do not add quotes.
22453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22462 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22466 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22467 if test -w "$cache_file"; then
22468 if test "x$cache_file" != "x/dev/null"; then
22469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22470 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22471 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22472 cat confcache
>"$cache_file"
22474 case $cache_file in #(
22476 mv -f confcache
"$cache_file"$$
&&
22477 mv -f "$cache_file"$$
"$cache_file" ;; #(
22479 mv -f confcache
"$cache_file" ;;
22484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22485 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22490 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22491 # Let make expand exec_prefix.
22492 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22494 DEFS
=-DHAVE_CONFIG_H
22499 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22500 # 1. Remove the extension, and $U if already installed.
22501 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22502 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22504 # will be set to the directory where LIBOBJS objects are built.
22505 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22506 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22508 LIBOBJS
=$ac_libobjs
22510 LTLIBOBJS
=$ac_ltlibobjs
22514 : "${CONFIG_STATUS=./config.status}"
22516 ac_clean_files_save
=$ac_clean_files
22517 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22519 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22521 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22523 # Generated by $as_me.
22524 # Run this file to recreate the current configuration.
22525 # Compiler output produced by configure, useful for debugging
22526 # configure, is in config.log if it exists.
22529 ac_cs_recheck=false
22532 SHELL=\${CONFIG_SHELL-$SHELL}
22535 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22536 ## -------------------- ##
22537 ## M4sh Initialization. ##
22538 ## -------------------- ##
22540 # Be more Bourne compatible
22541 DUALCASE
=1; export DUALCASE
# for MKS sh
22543 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22548 # is contrary to our usage. Disable this feature.
22549 alias -g '${1+"$@"}'='"$@"'
22550 setopt NO_GLOB_SUBST
22552 case `(set -o) 2>/dev/null` in #(
22562 # Reset variables that may have inherited troublesome values from
22565 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22566 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22567 # side effect of setting IFS to empty, thus disabling word splitting.)
22568 # Quoting is to prevent editors from complaining about space-tab.
22578 # Ensure predictable behavior from utilities with locale-dependent output.
22584 # We cannot yet rely on "unset" to work, but we need these variables
22585 # to be unset--not just set to an empty or harmless value--now, to
22586 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22587 # also avoids known problems related to "unset" and subshell syntax
22588 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22589 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22590 do eval test \
${$as_var+y} \
22591 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22594 # Ensure that fds 0, 1, and 2 are open.
22595 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22596 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22597 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22599 # The user is always right.
22600 if ${PATH_SEPARATOR+false} :; then
22602 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22603 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22609 # Find who we are. Look in the path if we contain no directory separator.
22612 *[\\/]* ) as_myself
=$0 ;;
22613 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22614 for as_dir
in $PATH
22617 case $as_dir in #(((
22620 *) as_dir
=$as_dir/ ;;
22622 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22628 # We did not find ourselves, most probably we were run as `sh COMMAND'
22629 # in which case we are not to be found in the path.
22630 if test "x$as_myself" = x
; then
22633 if test ! -f "$as_myself"; then
22634 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22640 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22641 # ----------------------------------------
22642 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22643 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22644 # script with STATUS, using 1 if that was 0.
22647 as_status
=$1; test $as_status -eq 0 && as_status
=1
22649 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22652 printf "%s\n" "$as_me: error: $2" >&2
22653 as_fn_exit
$as_status
22658 # as_fn_set_status STATUS
22659 # -----------------------
22660 # Set $? to STATUS, without forking.
22661 as_fn_set_status
()
22664 } # as_fn_set_status
22666 # as_fn_exit STATUS
22667 # -----------------
22668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22672 as_fn_set_status
$1
22678 # Portably unset VAR.
22681 { eval $1=; unset $1;}
22683 as_unset
=as_fn_unset
22685 # as_fn_append VAR VALUE
22686 # ----------------------
22687 # Append the text in VALUE to the end of the definition contained in VAR. Take
22688 # advantage of any shell optimizations that allow amortized linear growth over
22689 # repeated appends, instead of the typical quadratic growth present in naive
22691 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22693 eval 'as_fn_append ()
22704 # as_fn_arith ARG...
22705 # ------------------
22706 # Perform arithmetic evaluation on the ARGs, and store the result in the
22707 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22708 # must be portable across $(()) and expr.
22709 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22711 eval 'as_fn_arith ()
22718 as_val
=`expr "$@" || test $? -eq 1`
22723 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22724 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22730 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22731 as_basename
=basename
22736 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22742 as_me
=`$as_basename -- "$0" ||
22743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22744 X"$0" : 'X\(//\)$' \| \
22745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22746 printf "%s\n" X/"$0" |
22747 sed '/^.*\/\([^/][^/]*\)\/*$/{
22761 # Avoid depending upon Character Ranges.
22762 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22763 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22764 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22765 as_cr_digits
='0123456789'
22766 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22769 # Determine whether it's possible to make 'echo' print without a newline.
22770 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22771 # for compatibility with existing Makefiles.
22772 ECHO_C
= ECHO_N
= ECHO_T
=
22773 case `echo -n x` in #(((((
22775 case `echo 'xy\c'` in
22776 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22778 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22785 # For backward compatibility with old third-party macros, we provide
22786 # the shell variables $as_echo and $as_echo_n. New code should use
22787 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22788 as_echo
='printf %s\n'
22789 as_echo_n
='printf %s'
22791 rm -f conf$$ conf$$.exe conf$$.
file
22792 if test -d conf$$.dir
; then
22793 rm -f conf$$.dir
/conf$$.
file
22796 mkdir conf$$.dir
2>/dev
/null
22798 if (echo >conf$$.
file) 2>/dev
/null
; then
22799 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22801 # ... but there are two gotchas:
22802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22804 # In both cases, we have to default to `cp -pR'.
22805 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22807 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22815 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22816 rmdir conf$$.dir
2>/dev
/null
22821 # Create "$as_dir" as a directory, including parents if necessary.
22826 -*) as_dir
=.
/$as_dir;;
22828 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22832 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22833 *) as_qdir
=$as_dir;;
22835 as_dirs
="'$as_qdir' $as_dirs"
22836 as_dir
=`$as_dirname -- "$as_dir" ||
22837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22838 X"$as_dir" : 'X\(//\)[^/]' \| \
22839 X"$as_dir" : 'X\(//\)$' \| \
22840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22841 printf "%s\n" X"$as_dir" |
22842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22846 /^X\(\/\/\)[^/].*/{
22859 test -d "$as_dir" && break
22861 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22862 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22866 if mkdir
-p .
2>/dev
/null
; then
22867 as_mkdir_p
='mkdir -p "$as_dir"'
22869 test -d .
/-p && rmdir .
/-p
22874 # as_fn_executable_p FILE
22875 # -----------------------
22876 # Test if FILE is an executable regular file.
22877 as_fn_executable_p
()
22879 test -f "$1" && test -x "$1"
22880 } # as_fn_executable_p
22881 as_test_x
='test -x'
22882 as_executable_p
=as_fn_executable_p
22884 # Sed expression to map a string onto a valid CPP name.
22885 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22887 # Sed expression to map a string onto a valid variable name.
22888 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22892 ## ----------------------------------- ##
22893 ## Main body of $CONFIG_STATUS script. ##
22894 ## ----------------------------------- ##
22896 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22899 # Save the log message, to keep $0 and so on meaningful, and to
22900 # report actual input values of CONFIG_FILES etc. instead of their
22901 # values after options handling.
22903 This file was extended by Wine $as_me 8.11, which was
22904 generated by GNU Autoconf 2.71. Invocation command line was
22906 CONFIG_FILES = $CONFIG_FILES
22907 CONFIG_HEADERS = $CONFIG_HEADERS
22908 CONFIG_LINKS = $CONFIG_LINKS
22909 CONFIG_COMMANDS = $CONFIG_COMMANDS
22912 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22918 case $ac_config_headers in *"
22919 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22924 # Files that config.status was made for.
22925 config_headers="$ac_config_headers"
22926 config_links="$ac_config_links"
22927 config_commands="$ac_config_commands"
22931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22933 \`$as_me' instantiates files and other configuration actions
22934 from templates according to the current configuration. Unless the files
22935 and actions are specified as TAGs, all are instantiated by default.
22937 Usage: $0 [OPTION]... [TAG]...
22939 -h, --help print this help, then exit
22940 -V, --version print version number and configuration settings, then exit
22941 --config print configuration, then exit
22942 -q, --quiet, --silent
22943 do not print progress messages
22944 -d, --debug don't remove temporary files
22945 --recheck update $as_me by reconfiguring in the same conditions
22946 --header=FILE[:TEMPLATE]
22947 instantiate the configuration header FILE
22949 Configuration headers:
22952 Configuration links:
22955 Configuration commands:
22958 Report bugs to <wine-devel@winehq.org>.
22959 Wine home page: <https://www.winehq.org>."
22962 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22963 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22965 ac_cs_config='$ac_cs_config_escaped'
22967 Wine config.status 8.11
22968 configured by $0, generated by GNU Autoconf 2.71,
22969 with options \\"\$ac_cs_config\\"
22971 Copyright (C) 2021 Free Software Foundation, Inc.
22972 This config.status script is free software; the Free Software Foundation
22973 gives unlimited permission to copy, distribute and modify it."
22977 test -n "\$AWK" || AWK=awk
22980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22981 # The default lists apply if the user does not specify any file.
22987 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22988 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22992 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23004 # Handling of the options.
23005 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23007 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23008 printf "%s\n" "$ac_cs_version"; exit ;;
23009 --config |
--confi |
--conf |
--con |
--co |
--c )
23010 printf "%s\n" "$ac_cs_config"; exit ;;
23011 --debug |
--debu |
--deb |
--de |
--d |
-d )
23013 --header |
--heade |
--head |
--hea )
23016 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23018 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23019 ac_need_defaults
=false
;;
23021 # Conflict between --help and --header
23022 as_fn_error $?
"ambiguous option: \`$1'
23023 Try \`$0 --help' for more information.";;
23024 --help |
--hel |
-h )
23025 printf "%s\n" "$ac_cs_usage"; exit ;;
23026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23027 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23030 # This is an error.
23031 -*) as_fn_error $?
"unrecognized option: \`$1'
23032 Try \`$0 --help' for more information." ;;
23034 *) as_fn_append ac_config_targets
" $1"
23035 ac_need_defaults
=false
;;
23041 ac_configure_extra_args
=
23043 if $ac_cs_silent; then
23045 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23050 if \$ac_cs_recheck; then
23051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23053 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23054 CONFIG_SHELL='$SHELL'
23055 export CONFIG_SHELL
23060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23065 ## Running $as_me. ##
23067 printf "%s\n" "$ac_log"
23071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23075 wine_fn_output_makedep ()
23077 as_dir=tools; as_fn_mkdir_p
23078 $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
23080 wine_fn_output_makefile ()
23082 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23083 # This Makefile understands the following targets:
23085 # all (default): build wine
23086 # clean: remove all intermediate files
23087 # distclean: also remove all files created by configure
23089 # testclean: clean test results to force running all tests again
23090 # install-lib: install libraries needed to run applications
23091 # install-dev: install development environment
23092 # install: install everything
23093 # uninstall: uninstall everything
23094 # ctags: create a tags file for vim and others.
23095 # etags: create a TAGS file for Emacs.
23098 PATH_SEPARATOR = $PATH_SEPARATOR
23099 PACKAGE_NAME = $PACKAGE_NAME
23100 PACKAGE_TARNAME = $PACKAGE_TARNAME
23101 PACKAGE_VERSION = $PACKAGE_VERSION
23102 PACKAGE_STRING = $PACKAGE_STRING
23103 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23104 PACKAGE_URL = $PACKAGE_URL
23105 exec_prefix = $exec_prefix
23107 program_transform_name = $program_transform_name
23110 libexecdir = $libexecdir
23111 datarootdir = $datarootdir
23113 sysconfdir = $sysconfdir
23114 sharedstatedir = $sharedstatedir
23115 localstatedir = $localstatedir
23116 runstatedir = $runstatedir
23117 includedir = $includedir
23118 oldincludedir = $oldincludedir
23126 localedir = $localedir
23133 build_alias = $build_alias
23134 host_alias = $host_alias
23135 target_alias = $target_alias
23136 system_dllpath = $system_dllpath
23138 build_cpu = $build_cpu
23139 build_vendor = $build_vendor
23140 build_os = $build_os
23142 host_cpu = $host_cpu
23143 host_vendor = $host_vendor
23149 SET_MAKE = $SET_MAKE
23153 CPPFLAGS = $CPPFLAGS
23154 ac_ct_CC = $ac_ct_CC
23158 CXXFLAGS = $CXXFLAGS
23159 ac_ct_CXX = $ac_ct_CXX
23162 TARGETFLAGS = $TARGETFLAGS
23163 toolsext = $toolsext
23164 HOST_ARCH = $HOST_ARCH
23165 aarch64_CC = $aarch64_CC
23166 aarch64_CFLAGS = $aarch64_CFLAGS
23167 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23168 aarch64_LDFLAGS = $aarch64_LDFLAGS
23169 aarch64_DEBUG = $aarch64_DEBUG
23170 aarch64_TARGET = $aarch64_TARGET
23171 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23172 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23174 arm_CFLAGS = $arm_CFLAGS
23175 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23176 arm_LDFLAGS = $arm_LDFLAGS
23177 arm_DEBUG = $arm_DEBUG
23178 arm_TARGET = $arm_TARGET
23179 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23180 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23182 i386_CFLAGS = $i386_CFLAGS
23183 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23184 i386_LDFLAGS = $i386_LDFLAGS
23185 i386_DEBUG = $i386_DEBUG
23186 i386_TARGET = $i386_TARGET
23187 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23188 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23189 x86_64_CC = $x86_64_CC
23190 x86_64_CFLAGS = $x86_64_CFLAGS
23191 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23192 x86_64_LDFLAGS = $x86_64_LDFLAGS
23193 x86_64_DEBUG = $x86_64_DEBUG
23194 x86_64_TARGET = $x86_64_TARGET
23195 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23196 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23197 toolsdir = $toolsdir
23199 RUNTESTFLAGS = $RUNTESTFLAGS
23204 ac_ct_AR = $ac_ct_AR
23210 LDCONFIG = $LDCONFIG
23212 PKG_CONFIG = $PKG_CONFIG
23213 FONTFORGE = $FONTFORGE
23217 I386_LIBS = $I386_LIBS
23218 OPENGL_LIBS = $OPENGL_LIBS
23219 DLLFLAGS = $DLLFLAGS
23220 LDDLLFLAGS = $LDDLLFLAGS
23221 LDEXECFLAGS = $LDEXECFLAGS
23222 EXTRACFLAGS = $EXTRACFLAGS
23223 UNIXDLLFLAGS = $UNIXDLLFLAGS
23224 UNIXLDFLAGS = $UNIXLDFLAGS
23225 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23226 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23227 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23228 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23234 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23235 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23236 CARBON_LIBS = $CARBON_LIBS
23237 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23238 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23239 IOKIT_LIBS = $IOKIT_LIBS
23240 METAL_LIBS = $METAL_LIBS
23241 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23242 CORESERVICES_LIBS = $CORESERVICES_LIBS
23243 APPKIT_LIBS = $APPKIT_LIBS
23244 SECURITY_LIBS = $SECURITY_LIBS
23245 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23246 COREAUDIO_LIBS = $COREAUDIO_LIBS
23247 OPENCL_LIBS = $OPENCL_LIBS
23249 OBJCFLAGS = $OBJCFLAGS
23250 ac_ct_OBJC = $ac_ct_OBJC
23251 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23252 PE_ARCHS = $PE_ARCHS
23253 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23254 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23255 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23256 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23257 GSM_PE_LIBS = $GSM_PE_LIBS
23258 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23259 JPEG_PE_LIBS = $JPEG_PE_LIBS
23260 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23261 JXR_PE_LIBS = $JXR_PE_LIBS
23262 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23263 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23264 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23265 LDAP_PE_LIBS = $LDAP_PE_LIBS
23266 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23267 MPG123_PE_LIBS = $MPG123_PE_LIBS
23268 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23269 MUSL_PE_LIBS = $MUSL_PE_LIBS
23270 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23271 PNG_PE_LIBS = $PNG_PE_LIBS
23272 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23273 TIFF_PE_LIBS = $TIFF_PE_LIBS
23274 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23275 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23276 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23277 XML2_PE_LIBS = $XML2_PE_LIBS
23278 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23279 XSLT_PE_LIBS = $XSLT_PE_LIBS
23280 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23281 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23282 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23283 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23284 PTHREAD_LIBS = $PTHREAD_LIBS
23287 X_CFLAGS = $X_CFLAGS
23288 X_PRE_LIBS = $X_PRE_LIBS
23290 X_EXTRA_LIBS = $X_EXTRA_LIBS
23291 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23292 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23293 WAYLAND_SCANNER = $WAYLAND_SCANNER
23294 PCAP_LIBS = $PCAP_LIBS
23295 PCSCLITE_LIBS = $PCSCLITE_LIBS
23296 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23297 INOTIFY_LIBS = $INOTIFY_LIBS
23298 DBUS_CFLAGS = $DBUS_CFLAGS
23299 DBUS_LIBS = $DBUS_LIBS
23300 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23301 GNUTLS_LIBS = $GNUTLS_LIBS
23302 SANE_CFLAGS = $SANE_CFLAGS
23303 SANE_LIBS = $SANE_LIBS
23304 USB_CFLAGS = $USB_CFLAGS
23305 USB_LIBS = $USB_LIBS
23306 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23307 GPHOTO2_LIBS = $GPHOTO2_LIBS
23308 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23309 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23310 RESOLV_LIBS = $RESOLV_LIBS
23311 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23312 FREETYPE_LIBS = $FREETYPE_LIBS
23313 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23314 PULSE_CFLAGS = $PULSE_CFLAGS
23315 PULSE_LIBS = $PULSE_LIBS
23316 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23317 GSTREAMER_LIBS = $GSTREAMER_LIBS
23318 ALSA_LIBS = $ALSA_LIBS
23319 OSS4_CFLAGS = $OSS4_CFLAGS
23320 OSS4_LIBS = $OSS4_LIBS
23321 UDEV_CFLAGS = $UDEV_CFLAGS
23322 UDEV_LIBS = $UDEV_LIBS
23323 UNWIND_CFLAGS = $UNWIND_CFLAGS
23324 UNWIND_LIBS = $UNWIND_LIBS
23325 SDL2_CFLAGS = $SDL2_CFLAGS
23326 SDL2_LIBS = $SDL2_LIBS
23327 CAPI20_CFLAGS = $CAPI20_CFLAGS
23328 CAPI20_LIBS = $CAPI20_LIBS
23329 CUPS_CFLAGS = $CUPS_CFLAGS
23330 CUPS_LIBS = $CUPS_LIBS
23331 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23332 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23333 KRB5_CFLAGS = $KRB5_CFLAGS
23334 KRB5_LIBS = $KRB5_LIBS
23335 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23336 GSSAPI_LIBS = $GSSAPI_LIBS
23337 PROCSTAT_LIBS = $PROCSTAT_LIBS
23338 NETAPI_CFLAGS = $NETAPI_CFLAGS
23339 NETAPI_LIBS = $NETAPI_LIBS
23340 MSVCRTFLAGS = $MSVCRTFLAGS
23341 DELAYLOADFLAG = $DELAYLOADFLAG
23342 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23344 TAGSFLAGS = $TAGSFLAGS
23346 LTLIBOBJS = $LTLIBOBJS
23350 as_fn_error $? "could not create Makefile" "$LINENO" 5
23355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23357 # Handling of arguments.
23358 for ac_config_target
in $ac_config_targets
23360 case $ac_config_target in
23361 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23362 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23363 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23364 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23365 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23366 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23368 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23373 # If the user did not use the arguments to specify the items to instantiate,
23374 # then the envvar interface is used. Set only those that are not.
23375 # We use the long form for the default assignment because of an extremely
23376 # bizarre bug on SunOS 4.1.3.
23377 if $ac_need_defaults; then
23378 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23379 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23380 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23383 # Have a temporary directory for convenience. Make it in the build tree
23384 # simply because there is no reason against having it here, and in addition,
23385 # creating and moving files from /tmp can sometimes cause problems.
23386 # Hook for its removal unless debugging.
23387 # Note that there is a small window in which the directory will not be cleaned:
23388 # after its creation but before its name has been assigned to `$tmp'.
23392 trap 'exit_status=$?
23393 : "${ac_tmp:=$tmp}"
23394 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23396 trap 'as_fn_exit 1' 1 2 13 15
23398 # Create a (secure) tmp directory for tmp files.
23401 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23405 tmp
=.
/conf$$
-$RANDOM
23406 (umask 077 && mkdir
"$tmp")
23407 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23410 # Set up the scripts for CONFIG_HEADERS section.
23411 # No need to generate them if there are no CONFIG_HEADERS.
23412 # This happens for instance with `./config.status Makefile'.
23413 if test -n "$CONFIG_HEADERS"; then
23414 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23418 # Transform confdefs.h into an awk script `defines.awk', embedded as
23419 # here-document in config.status, that substitutes the proper values into
23420 # config.h.in to produce config.h.
23422 # Create a delimiter string that does not exist in confdefs.h, to ease
23423 # handling of long lines.
23425 for ac_last_try
in false false
:; do
23426 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23427 if test -z "$ac_tt"; then
23429 elif $ac_last_try; then
23430 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23432 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23436 # For the awk script, D is an array of macro values keyed by name,
23437 # likewise P contains macro parameters if any. Preserve backslash
23438 # newline sequences.
23440 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23442 s/.\{148\}/&'"$ac_delim"'/g
23445 s/^[ ]*#[ ]*define[ ][ ]*/ /
23452 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23459 D["\1"]=" \3\\\\\\n"\\/p
23461 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23466 s/.\{148\}/&'"$ac_delim"'/g
23471 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23474 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23476 ' <confdefs.h |
sed '
23477 s/'"$ac_delim"'/"\\\
23478 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23481 for (key in D) D_is_set[key] = 1
23484 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23486 split(line, arg, " ")
23487 if (arg[1] == "#") {
23491 defundef = substr(arg[1], 2)
23494 split(mac1, mac2, "(") #)
23496 prefix = substr(line, 1, index(line, defundef) - 1)
23497 if (D_is_set[macro]) {
23498 # Preserve the white space surrounding the "#".
23499 print prefix "define", macro P[macro] D[macro]
23502 # Replace #undef with comments. This is necessary, for example,
23503 # in the case of _POSIX_SOURCE, which is predefined and required
23504 # on some systems where configure will not decide to define it.
23505 if (defundef == "undef") {
23506 print "/*", prefix defundef, macro, "*/"
23514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23515 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23516 fi # test -n "$CONFIG_HEADERS"
23519 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23524 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23526 case $ac_mode$ac_tag in
23528 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23529 :[FH
]-) ac_tag
=-:-;;
23530 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23547 -) ac_f
="$ac_tmp/stdin";;
23548 *) # Look for the file first in the build tree, then in the source tree
23549 # (if the path is not absolute). The absolute path cannot be DOS-style,
23550 # because $ac_f cannot contain `:'.
23554 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23556 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23558 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23559 as_fn_append ac_file_inputs
" '$ac_f'"
23562 # Let's still pretend it is `configure' which instantiates (i.e., don't
23563 # use $as_me), people would be surprised to read:
23564 # /* config.h. Generated by config.status. */
23565 configure_input
='Generated from '`
23566 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23568 if test x
"$ac_file" != x-
; then
23569 configure_input
="$ac_file. $configure_input"
23570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23571 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23573 # Neutralize special characters interpreted by sed in replacement strings.
23574 case $configure_input in #(
23575 *\
&* |
*\|
* |
*\\* )
23576 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23578 *) ac_sed_conf_input
=$configure_input;;
23582 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23583 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23588 ac_dir
=`$as_dirname -- "$ac_file" ||
23589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23590 X"$ac_file" : 'X\(//\)[^/]' \| \
23591 X"$ac_file" : 'X\(//\)$' \| \
23592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23593 printf "%s\n" X"$ac_file" |
23594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23598 /^X\(\/\/\)[^/].*/{
23611 as_dir
="$ac_dir"; as_fn_mkdir_p
23615 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23617 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23618 # A ".." for each directory in $ac_dir_suffix.
23619 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23620 case $ac_top_builddir_sub in
23621 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23622 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23625 ac_abs_top_builddir
=$ac_pwd
23626 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23627 # for backward compatibility:
23628 ac_top_builddir
=$ac_top_build_prefix
23631 .
) # We are building in place.
23633 ac_top_srcdir
=$ac_top_builddir_sub
23634 ac_abs_top_srcdir
=$ac_pwd ;;
23635 [\\/]* | ?
:[\\/]* ) # Absolute name.
23636 ac_srcdir
=$srcdir$ac_dir_suffix;
23637 ac_top_srcdir
=$srcdir
23638 ac_abs_top_srcdir
=$srcdir ;;
23639 *) # Relative name.
23640 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23641 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23642 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23644 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23653 if test x
"$ac_file" != x-
; then
23655 printf "%s\n" "/* $configure_input */" >&1 \
23656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23657 } >"$ac_tmp/config.h" \
23658 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23659 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23661 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23664 mv "$ac_tmp/config.h" "$ac_file" \
23665 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23668 printf "%s\n" "/* $configure_input */" >&1 \
23669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23670 || as_fn_error $?
"could not create -" "$LINENO" 5
23678 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23681 # Prefer the file from the source tree if names are identical.
23682 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23683 ac_source
=$srcdir/$ac_source
23686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23687 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23689 if test ! -r "$ac_source"; then
23690 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23694 # Try a relative symlink, then a hard link, then a copy.
23696 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23697 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23699 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23700 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23701 cp -p "$ac_source" "$ac_file" ||
23702 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23705 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23706 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23711 case $ac_file$ac_mode in
23712 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23713 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23714 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23722 ac_clean_files
=$ac_clean_files_save
23724 test $ac_write_fail = 0 ||
23725 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23728 # configure is writing to config.log, and then calls config.status.
23729 # config.status does its own redirection, appending to config.log.
23730 # Unfortunately, on DOS this fails, as config.log is still kept open
23731 # by configure, so config.status won't be able to write to it; its
23732 # output is simply discarded. So we exec the FD to /dev/null,
23733 # effectively closing config.log, so it can be properly (re)opened and
23734 # appended to by config.status. When coming back to configure, we
23735 # need to make the FD available again.
23736 if test "$no_create" != yes; then
23738 ac_config_status_args
=
23739 test "$silent" = yes &&
23740 ac_config_status_args
="$ac_config_status_args --quiet"
23742 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23744 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23745 # would make configure fail if this is the last instruction.
23746 $ac_cs_success || as_fn_exit
1
23748 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23750 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23754 if test "$no_create" = "yes"
23760 if test "x$wine_notices" != x
; then
23763 for msg
in $wine_notices; do
23769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23770 printf "%s\n" "$as_me: $msg" >&6;}
23775 for msg
in $wine_warnings; do
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23783 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23789 $as_me: Finished. Do '${ac_make}' to compile Wine.