2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.12.
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.12'
615 PACKAGE_STRING
='Wine 8.12'
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
989 enable_bcryptprimitives
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1095 enable_directmanipulation
1132 enable_explorerframe
1149 enable_graphicscapture
1192 enable_light_msstyles
1207 enable_mfmediaengine
1272 enable_msvcp140_atomic_wait
1338 enable_photometadatahandler
1415 enable_threadpoolwinrt
1418 enable_twinapi_appcore
1422 enable_uiautomationcore
1442 enable_vcruntime140_1
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_gaming_input
1463 enable_windows_gaming_ui_gamebar
1464 enable_windows_globalization
1465 enable_windows_media_devices
1466 enable_windows_media_speech
1467 enable_windows_media
1468 enable_windows_networking_hostname
1469 enable_windows_networking
1470 enable_windows_perception_stub
1471 enable_windows_system_profile_systemmanufacturers
1473 enable_windowscodecs
1474 enable_windowscodecsext
1476 enable_wineandroid_drv
1478 enable_winecoreaudio_drv
1481 enable_winegstreamer
1487 enable_winepulse_drv
1490 enable_winewayland_drv
1492 enable_winexinput_sys
1538 enable_xactengine2_0
1539 enable_xactengine2_4
1540 enable_xactengine2_7
1541 enable_xactengine2_9
1542 enable_xactengine3_0
1543 enable_xactengine3_1
1544 enable_xactengine3_2
1545 enable_xactengine3_3
1546 enable_xactengine3_4
1547 enable_xactengine3_5
1548 enable_xactengine3_6
1549 enable_xactengine3_7
1598 enable_wmcodecdspuuid
1607 enable_aspnet_regiis
1654 enable_presentationfontcache
1669 enable_servicemodelreg
1695 enable_winemenubuilder
1697 enable_winemsibuilder
1722 ac_precious_vars
='build_alias
1767 WAYLAND_CLIENT_CFLAGS
1809 # Initialize some variables set by options.
1811 ac_init_version
=false
1812 ac_unrecognized_opts
=
1813 ac_unrecognized_sep
=
1814 # The variables have the same names as the options, with
1815 # dashes changed to underlines.
1816 cache_file
=/dev
/null
1823 program_transform_name
=s
,x
,x
,
1831 # Installation directory options.
1832 # These are left unexpanded so users can "make install exec_prefix=/foo"
1833 # and all the variables that are supposed to be based on exec_prefix
1834 # by default will actually change.
1835 # Use braces instead of parens because sh, perl, etc. also accept them.
1836 # (The list follows the same order as the GNU Coding Standards.)
1837 bindir
='${exec_prefix}/bin'
1838 sbindir
='${exec_prefix}/sbin'
1839 libexecdir
='${exec_prefix}/libexec'
1840 datarootdir
='${prefix}/share'
1841 datadir
='${datarootdir}'
1842 sysconfdir
='${prefix}/etc'
1843 sharedstatedir
='${prefix}/com'
1844 localstatedir
='${prefix}/var'
1845 runstatedir
='${localstatedir}/run'
1846 includedir
='${prefix}/include'
1847 oldincludedir
='/usr/include'
1848 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1849 infodir
='${datarootdir}/info'
1854 libdir
='${exec_prefix}/lib'
1855 localedir
='${datarootdir}/locale'
1856 mandir
='${datarootdir}/man'
1862 # If the previous option needs an argument, assign it.
1863 if test -n "$ac_prev"; then
1864 eval $ac_prev=\
$ac_option
1870 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1875 case $ac_dashdash$ac_option in
1879 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1881 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1882 bindir
=$ac_optarg ;;
1884 -build |
--build |
--buil |
--bui |
--bu)
1885 ac_prev
=build_alias
;;
1886 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1887 build_alias
=$ac_optarg ;;
1889 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1890 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1891 ac_prev
=cache_file
;;
1892 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1893 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1894 cache_file
=$ac_optarg ;;
1896 --config-cache |
-C)
1897 cache_file
=config.cache
;;
1899 -datadir |
--datadir |
--datadi |
--datad)
1901 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1902 datadir
=$ac_optarg ;;
1904 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1905 |
--dataroo |
--dataro |
--datar)
1906 ac_prev
=datarootdir
;;
1907 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1908 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1909 datarootdir
=$ac_optarg ;;
1911 -disable-* |
--disable-*)
1912 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1913 # Reject names that are not valid shell variable names.
1914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1915 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1916 ac_useropt_orig
=$ac_useropt
1917 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1918 case $ac_user_opts in
1920 "enable_
$ac_useropt"
1922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1923 ac_unrecognized_sep
=', ';;
1925 eval enable_
$ac_useropt=no
;;
1927 -docdir |
--docdir |
--docdi |
--doc |
--do)
1929 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1930 docdir
=$ac_optarg ;;
1932 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1934 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1935 dvidir
=$ac_optarg ;;
1937 -enable-* |
--enable-*)
1938 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1939 # Reject names that are not valid shell variable names.
1940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1941 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1942 ac_useropt_orig
=$ac_useropt
1943 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1944 case $ac_user_opts in
1946 "enable_
$ac_useropt"
1948 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1949 ac_unrecognized_sep
=', ';;
1951 eval enable_
$ac_useropt=\
$ac_optarg ;;
1953 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1954 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1955 |
--exec |
--exe |
--ex)
1956 ac_prev
=exec_prefix
;;
1957 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1958 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1959 |
--exec=* |
--exe=* |
--ex=*)
1960 exec_prefix
=$ac_optarg ;;
1962 -gas |
--gas |
--ga |
--g)
1963 # Obsolete; use --with-gas.
1966 -help |
--help |
--hel |
--he |
-h)
1967 ac_init_help
=long
;;
1968 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1969 ac_init_help
=recursive
;;
1970 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1971 ac_init_help
=short
;;
1973 -host |
--host |
--hos |
--ho)
1974 ac_prev
=host_alias
;;
1975 -host=* |
--host=* |
--hos=* |
--ho=*)
1976 host_alias
=$ac_optarg ;;
1978 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1980 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1982 htmldir
=$ac_optarg ;;
1984 -includedir |
--includedir |
--includedi |
--included |
--include \
1985 |
--includ |
--inclu |
--incl |
--inc)
1986 ac_prev
=includedir
;;
1987 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1988 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1989 includedir
=$ac_optarg ;;
1991 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1993 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1994 infodir
=$ac_optarg ;;
1996 -libdir |
--libdir |
--libdi |
--libd)
1998 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1999 libdir
=$ac_optarg ;;
2001 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2002 |
--libexe |
--libex |
--libe)
2003 ac_prev
=libexecdir
;;
2004 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2005 |
--libexe=* |
--libex=* |
--libe=*)
2006 libexecdir
=$ac_optarg ;;
2008 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2009 ac_prev
=localedir
;;
2010 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2011 localedir
=$ac_optarg ;;
2013 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2014 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2015 ac_prev
=localstatedir
;;
2016 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2017 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2018 localstatedir
=$ac_optarg ;;
2020 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2022 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2023 mandir
=$ac_optarg ;;
2025 -nfp |
--nfp |
--nf)
2026 # Obsolete; use --without-fp.
2029 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2030 |
--no-cr |
--no-c |
-n)
2033 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2034 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2037 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2038 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2039 |
--oldin |
--oldi |
--old |
--ol |
--o)
2040 ac_prev
=oldincludedir
;;
2041 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2042 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2043 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2044 oldincludedir
=$ac_optarg ;;
2046 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2048 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2049 prefix
=$ac_optarg ;;
2051 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2052 |
--program-pre |
--program-pr |
--program-p)
2053 ac_prev
=program_prefix
;;
2054 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2055 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2056 program_prefix
=$ac_optarg ;;
2058 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2059 |
--program-suf |
--program-su |
--program-s)
2060 ac_prev
=program_suffix
;;
2061 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2062 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2063 program_suffix
=$ac_optarg ;;
2065 -program-transform-name |
--program-transform-name \
2066 |
--program-transform-nam |
--program-transform-na \
2067 |
--program-transform-n |
--program-transform- \
2068 |
--program-transform |
--program-transfor \
2069 |
--program-transfo |
--program-transf \
2070 |
--program-trans |
--program-tran \
2071 |
--progr-tra |
--program-tr |
--program-t)
2072 ac_prev
=program_transform_name
;;
2073 -program-transform-name=* |
--program-transform-name=* \
2074 |
--program-transform-nam=* |
--program-transform-na=* \
2075 |
--program-transform-n=* |
--program-transform-=* \
2076 |
--program-transform=* |
--program-transfor=* \
2077 |
--program-transfo=* |
--program-transf=* \
2078 |
--program-trans=* |
--program-tran=* \
2079 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2080 program_transform_name
=$ac_optarg ;;
2082 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2084 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2085 pdfdir
=$ac_optarg ;;
2087 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2089 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2092 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2093 |
-silent |
--silent |
--silen |
--sile |
--sil)
2096 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2097 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2098 |
--run |
--ru |
--r)
2099 ac_prev
=runstatedir
;;
2100 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2101 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2102 |
--run=* |
--ru=* |
--r=*)
2103 runstatedir
=$ac_optarg ;;
2105 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2107 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2109 sbindir
=$ac_optarg ;;
2111 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2112 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2113 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2115 ac_prev
=sharedstatedir
;;
2116 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2117 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2118 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2120 sharedstatedir
=$ac_optarg ;;
2122 -site |
--site |
--sit)
2124 -site=* |
--site=* |
--sit=*)
2127 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2129 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2130 srcdir
=$ac_optarg ;;
2132 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2133 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2134 ac_prev
=sysconfdir
;;
2135 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2136 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2137 sysconfdir
=$ac_optarg ;;
2139 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2140 ac_prev
=target_alias
;;
2141 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2142 target_alias
=$ac_optarg ;;
2144 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2147 -version |
--version |
--versio |
--versi |
--vers |
-V)
2148 ac_init_version
=: ;;
2151 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2152 # Reject names that are not valid shell variable names.
2153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2154 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2155 ac_useropt_orig
=$ac_useropt
2156 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2157 case $ac_user_opts in
2161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2162 ac_unrecognized_sep
=', ';;
2164 eval with_
$ac_useropt=\
$ac_optarg ;;
2166 -without-* |
--without-*)
2167 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2168 # Reject names that are not valid shell variable names.
2169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2170 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2171 ac_useropt_orig
=$ac_useropt
2172 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2173 case $ac_user_opts in
2177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2178 ac_unrecognized_sep
=', ';;
2180 eval with_
$ac_useropt=no
;;
2183 # Obsolete; use --with-x.
2186 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2187 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2188 ac_prev
=x_includes
;;
2189 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2190 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2191 x_includes
=$ac_optarg ;;
2193 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2194 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2195 ac_prev
=x_libraries
;;
2196 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2197 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2198 x_libraries
=$ac_optarg ;;
2200 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2201 Try \`$0 --help' for more information"
2205 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2206 # Reject names that are not valid shell variable names.
2207 case $ac_envvar in #(
2208 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2209 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2211 eval $ac_envvar=\
$ac_optarg
2212 export $ac_envvar ;;
2215 # FIXME: should be removed in autoconf 3.0.
2216 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2218 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2219 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2225 if test -n "$ac_prev"; then
2226 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2227 as_fn_error $?
"missing argument to $ac_option"
2230 if test -n "$ac_unrecognized_opts"; then
2231 case $enable_option_checking in
2233 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2234 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2238 # Check all directory arguments for consistency.
2239 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2240 datadir sysconfdir sharedstatedir localstatedir includedir \
2241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2242 libdir localedir mandir runstatedir
2244 eval ac_val
=\$
$ac_var
2245 # Remove trailing slashes.
2248 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2249 eval $ac_var=\
$ac_val;;
2251 # Be sure to have absolute directory names.
2253 [\\/$
]* | ?
:[\\/]* ) continue;;
2254 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2256 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2259 # There might be people who depend on the old broken behavior: `$host'
2260 # used to hold the argument of --host etc.
2261 # FIXME: To remove some day.
2264 target
=$target_alias
2266 # FIXME: To remove some day.
2267 if test "x$host_alias" != x
; then
2268 if test "x$build_alias" = x
; then
2269 cross_compiling
=maybe
2270 elif test "x$build_alias" != "x$host_alias"; then
2276 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2278 test "$silent" = yes && exec 6>/dev
/null
2281 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2282 ac_ls_di
=`ls -di .` &&
2283 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2284 as_fn_error $?
"working directory cannot be determined"
2285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2286 as_fn_error $?
"pwd does not report name of working directory"
2289 # Find the source files, if location was not specified.
2290 if test -z "$srcdir"; then
2291 ac_srcdir_defaulted
=yes
2292 # Try the directory containing this script, then the parent directory.
2293 ac_confdir
=`$as_dirname -- "$as_myself" ||
2294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2295 X"$as_myself" : 'X\(//\)[^/]' \| \
2296 X"$as_myself" : 'X\(//\)$' \| \
2297 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2298 printf "%s\n" X"$as_myself" |
2299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2317 if test ! -r "$srcdir/$ac_unique_file"; then
2321 ac_srcdir_defaulted
=no
2323 if test ! -r "$srcdir/$ac_unique_file"; then
2324 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2325 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2327 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2329 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2331 # When building in place, set srcdir=.
2332 if test "$ac_abs_confdir" = "$ac_pwd"; then
2335 # Remove unnecessary trailing slashes from srcdir.
2336 # Double slashes in file names in object file debugging info
2337 # mess up M-x gdb in Emacs.
2339 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2341 for ac_var
in $ac_precious_vars; do
2342 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2343 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2344 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2345 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2349 # Report the --help message.
2351 if test "$ac_init_help" = "long"; then
2352 # Omit some internal or obsolete options to make the list less imposing.
2353 # This message is too long to be a string in the A/UX 3.1 sh.
2355 \`configure' configures Wine 8.12 to adapt to many kinds of systems.
2357 Usage: $0 [OPTION]... [VAR=VALUE]...
2359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2360 VAR=VALUE. See below for descriptions of some of the useful variables.
2362 Defaults for the options are specified in brackets.
2365 -h, --help display this help and exit
2366 --help=short display options specific to this package
2367 --help=recursive display the short help of all the included packages
2368 -V, --version display version information and exit
2369 -q, --quiet, --silent do not print \`checking ...' messages
2370 --cache-file=FILE cache test results in FILE [disabled]
2371 -C, --config-cache alias for \`--cache-file=config.cache'
2372 -n, --no-create do not create output files
2373 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2375 Installation directories:
2376 --prefix=PREFIX install architecture-independent files in PREFIX
2377 [$ac_default_prefix]
2378 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2381 By default, \`make install' will install all the files in
2382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2384 for instance \`--prefix=\$HOME'.
2386 For better control, use the options below.
2388 Fine tuning of the installation directories:
2389 --bindir=DIR user executables [EPREFIX/bin]
2390 --sbindir=DIR system admin executables [EPREFIX/sbin]
2391 --libexecdir=DIR program executables [EPREFIX/libexec]
2392 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2393 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2394 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2395 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2396 --libdir=DIR object code libraries [EPREFIX/lib]
2397 --includedir=DIR C header files [PREFIX/include]
2398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2401 --infodir=DIR info documentation [DATAROOTDIR/info]
2402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2403 --mandir=DIR man documentation [DATAROOTDIR/man]
2404 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2405 --htmldir=DIR html documentation [DOCDIR]
2406 --dvidir=DIR dvi documentation [DOCDIR]
2407 --pdfdir=DIR pdf documentation [DOCDIR]
2408 --psdir=DIR ps documentation [DOCDIR]
2414 --x-includes=DIR X include files are
in DIR
2415 --x-libraries=DIR X library files are
in DIR
2418 --build=BUILD configure
for building on BUILD
[guessed
]
2419 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2423 if test -n "$ac_init_help"; then
2424 case $ac_init_help in
2425 short | recursive
) echo "Configuration of Wine 8.12:";;
2430 --disable-option-checking ignore unrecognized
--enable/--with options
2431 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2432 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2433 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2434 enable multiple architectures
for PE compilation
2435 --disable-win16 do not include Win16 support
2436 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2438 --disable-tests do not build the regression tests
2439 --enable-build-id include .buildid section in output objects
2440 --enable-maintainer-mode
2441 enable maintainer-specific build rules
2442 --enable-silent-rules use silent build rules (override: "make V=1")
2443 --enable-werror treat compilation warnings as errors
2444 --disable-largefile omit support for large files
2447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2449 --without-alsa do not use the Alsa sound support
2450 --without-capi do not use CAPI (ISDN support)
2451 --without-coreaudio do not use the CoreAudio sound support
2452 --without-cups do not use CUPS
2453 --without-dbus do not use DBus (dynamic device support)
2454 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2455 --without-fontconfig do not use fontconfig
2456 --without-freetype do not use the FreeType library
2457 --without-gettext do not use gettext
2458 --with-gettextpo use the GetTextPO library to rebuild po files
2459 --without-gphoto do not use gphoto (Digital Camera support)
2460 --without-gnutls do not use GnuTLS (schannel support)
2461 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2462 --without-gstreamer do not use GStreamer (codecs support)
2463 --without-inotify do not use inotify (filesystem change notifications)
2464 --without-krb5 do not use krb5 (Kerberos)
2465 --without-mingw do not use the MinGW cross-compiler
2466 --without-netapi do not use the Samba NetAPI library
2467 --without-opencl do not use OpenCL
2468 --without-opengl do not use OpenGL
2469 --without-osmesa do not use the OSMesa library
2470 --without-oss do not use the OSS sound support
2471 --without-pcap do not use the Packet Capture library
2472 --without-pcsclite do not use PCSC lite
2473 --without-pthread do not use the pthread library
2474 --without-pulse do not use PulseAudio sound support
2475 --without-sane do not use SANE (scanner support)
2476 --without-sdl do not use SDL
2477 --without-udev do not use udev (plug and play support)
2478 --without-unwind do not use the libunwind library (exception
2480 --without-usb do not use the libusb library
2481 --without-v4l2 do not use v4l2 (video capture)
2482 --without-vulkan do not use Vulkan
2483 --without-wayland do not build the Wayland driver
2484 --without-xcomposite do not use the Xcomposite extension
2485 --without-xcursor do not use the Xcursor extension
2486 --without-xfixes do not use Xfixes for clipboard change notifications
2487 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2488 --without-xinput do not use the Xinput extension
2489 --without-xinput2 do not use the Xinput 2 extension
2490 --without-xrandr do not use Xrandr (multi-monitor support)
2491 --without-xrender do not use the Xrender extension
2492 --without-xshape do not use the Xshape extension
2493 --without-xshm do not use XShm (shared memory extension)
2494 --without-xxf86vm do not use XFree video mode extension
2495 --with-system-dllpath=PATH
2496 load external PE dependencies from colon-separated
2498 --with-wine-tools=DIR use Wine tools from directory DIR
2499 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2500 --with-x use the X Window System
2502 Some influential environment variables:
2503 CC C compiler command
2504 CFLAGS C compiler flags
2505 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2506 nonstandard directory <lib dir>
2507 LIBS libraries to pass to the linker, e.g. -l<library>
2508 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2509 you have headers in a nonstandard directory <include dir>
2510 CXX C++ compiler command
2511 CXXFLAGS C++ compiler flags
2512 OBJC Objective C compiler command
2513 OBJCFLAGS Objective C compiler flags
2515 C compiler flags for the PE faudio, overriding the bundled
2518 Linker flags for the PE faudio, overriding the bundled version
2520 C compiler flags for the PE gsm, overriding the bundled version
2521 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2523 C compiler flags for the PE jpeg, overriding the bundled version
2525 Linker flags for the PE jpeg, overriding the bundled version
2527 C compiler flags for the PE jxr, overriding the bundled version
2528 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2530 C compiler flags for the PE lcms2, overriding the bundled
2533 Linker flags for the PE lcms2, overriding the bundled version
2535 C compiler flags for the PE ldap, overriding the bundled version
2537 Linker flags for the PE ldap, overriding the bundled version
2539 C compiler flags for the PE mpg123, overriding the bundled
2542 Linker flags for the PE mpg123, overriding the bundled version
2544 C compiler flags for the PE musl, overriding the bundled version
2546 Linker flags for the PE musl, overriding the bundled version
2548 C compiler flags for the PE png, overriding the bundled version
2549 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2551 C compiler flags for the PE tiff, overriding the bundled version
2553 Linker flags for the PE tiff, overriding the bundled version
2555 C compiler flags for the PE vkd3d, overriding the bundled
2558 Linker flags for the PE vkd3d, overriding the bundled version
2560 C compiler flags for the PE xml2, overriding the bundled version
2562 Linker flags for the PE xml2, overriding the bundled version
2564 C compiler flags for the PE xslt, overriding the bundled version
2566 Linker flags for the PE xslt, overriding the bundled version
2568 C compiler flags for the PE zlib, overriding the bundled version
2570 Linker flags for the PE zlib, overriding the bundled version
2572 C compiler flags for the PE zydis, overriding the bundled
2575 Linker flags for the PE zydis, overriding the bundled version
2576 XMKMF Path to xmkmf, Makefile generator for X Window System
2578 WAYLAND_CLIENT_CFLAGS
2579 C compiler flags for wayland-client, overriding pkg-config
2581 Linker flags for wayland-client, overriding pkg-config
2583 C compiler flags for libinotify, overriding pkg-config
2585 Linker flags for libinotify, overriding pkg-config
2586 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2587 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2592 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2593 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2594 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2596 C compiler flags for libgphoto2, overriding pkg-config
2598 Linker flags for libgphoto2, overriding pkg-config
2600 C compiler flags for libgphoto2_port, overriding pkg-config
2602 Linker flags for libgphoto2_port, overriding pkg-config
2604 C compiler flags for freetype2, overriding pkg-config
2606 Linker flags for freetype2, overriding pkg-config
2608 C compiler flags for libpulse, overriding pkg-config
2609 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2611 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2612 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2614 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2615 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2616 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2617 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2619 C compiler flags for libunwind, overriding pkg-config
2620 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2621 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2622 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2624 C compiler flags for capi20, overriding pkg-config
2625 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2626 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2627 CUPS_LIBS Linker flags for cups, overriding pkg-config
2629 C compiler flags for fontconfig, overriding pkg-config
2631 Linker flags for fontconfig, overriding pkg-config
2632 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2633 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2635 C compiler flags for krb5-gssapi, overriding pkg-config
2636 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2638 C compiler flags for netapi, overriding pkg-config
2639 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2641 Use these variables to override the choices made by `configure' or to
help
2642 it to
find libraries and programs with nonstandard names
/locations.
2644 Report bugs to
<wine-devel@winehq.org
>.
2645 Wine home page
: <https
://www.winehq.org
>.
2650 if test "$ac_init_help" = "recursive"; then
2651 # If there are subdirs, report their specific --help.
2652 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2653 test -d "$ac_dir" ||
2654 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2661 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2662 # A ".." for each directory in $ac_dir_suffix.
2663 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2664 case $ac_top_builddir_sub in
2665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2669 ac_abs_top_builddir
=$ac_pwd
2670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2671 # for backward compatibility:
2672 ac_top_builddir
=$ac_top_build_prefix
2675 .
) # We are building in place.
2677 ac_top_srcdir
=$ac_top_builddir_sub
2678 ac_abs_top_srcdir
=$ac_pwd ;;
2679 [\\/]* | ?
:[\\/]* ) # Absolute name.
2680 ac_srcdir
=$srcdir$ac_dir_suffix;
2681 ac_top_srcdir
=$srcdir
2682 ac_abs_top_srcdir
=$srcdir ;;
2684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2690 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2691 # Check for configure.gnu first; this name is used for a wrapper for
2692 # Metaconfig's "Configure" on case-insensitive file systems.
2693 if test -f "$ac_srcdir/configure.gnu"; then
2695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2696 elif test -f "$ac_srcdir/configure"; then
2698 $SHELL "$ac_srcdir/configure" --help=recursive
2700 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2702 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2706 test -n "$ac_init_help" && exit $ac_status
2707 if $ac_init_version; then
2710 generated by GNU Autoconf
2.71
2712 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2713 This configure
script is free software
; the Free Software Foundation
2714 gives unlimited permission to copy
, distribute and modify it.
2719 ## ------------------------ ##
2720 ## Autoconf initialization. ##
2721 ## ------------------------ ##
2723 # ac_fn_c_try_compile LINENO
2724 # --------------------------
2725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2726 ac_fn_c_try_compile
()
2728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2729 rm -f conftest.
$ac_objext conftest.beam
2730 if { { ac_try
="$ac_compile"
2732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 printf "%s\n" "$ac_try_echo"; } >&5
2737 (eval "$ac_compile") 2>conftest.err
2739 if test -s conftest.err; then
2740 grep -v '^ *+' conftest.err >conftest.er1
2741 cat conftest.er1 >&5
2742 mv -f conftest.er1 conftest.err
2744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && {
2746 test -z "$ac_c_werror_flag" ||
2747 test ! -s conftest.err
2748 } && test -s conftest.$ac_objext
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 as_fn_set_status $ac_retval
2760 } # ac_fn_c_try_compile
2762 # ac_fn_cxx_try_compile LINENO
2763 # ----------------------------
2764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2765 ac_fn_cxx_try_compile ()
2767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2768 rm -f conftest.$ac_objext conftest.beam
2769 if { { ac_try="$ac_compile"
2771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2772 *) ac_try_echo
=$ac_try;;
2774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 printf "%s\n" "$ac_try_echo"; } >&5
2776 (eval "$ac_compile") 2>conftest.err
2778 if test -s conftest.err
; then
2779 grep -v '^ *+' conftest.err
>conftest.er1
2780 cat conftest.er1
>&5
2781 mv -f conftest.er1 conftest.err
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } && {
2785 test -z "$ac_cxx_werror_flag" ||
2786 test ! -s conftest.err
2787 } && test -s conftest.
$ac_objext
2791 printf "%s\n" "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.
$ac_ext >&5
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status
$ac_retval
2799 } # ac_fn_cxx_try_compile
2801 # ac_fn_c_try_link LINENO
2802 # -----------------------
2803 # Try to link conftest.$ac_ext, and return whether this succeeded.
2806 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2807 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2808 if { { ac_try
="$ac_link"
2810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 printf "%s\n" "$ac_try_echo"; } >&5
2815 (eval "$ac_link") 2>conftest.err
2817 if test -s conftest.err; then
2818 grep -v '^ *+' conftest.err >conftest.er1
2819 cat conftest.er1 >&5
2820 mv -f conftest.er1 conftest.err
2822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; } && {
2824 test -z "$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest$ac_exeext && {
2827 test "$cross_compiling" = yes ||
2828 test -x conftest$ac_exeext
2833 printf "%s\n" "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2838 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2839 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2840 # interfere with the next link command; also delete a directory that is
2841 # left behind by Apple's compiler. We do this before executing the actions.
2842 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2844 as_fn_set_status $ac_retval
2846 } # ac_fn_c_try_link
2848 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2849 # -------------------------------------------------------
2850 # Tests whether HEADER exists and can be compiled using the include files in
2851 # INCLUDES, setting the cache variable VAR accordingly.
2852 ac_fn_c_check_header_compile ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2856 printf %s "checking for $2... " >&6; }
2857 if eval test \${$3+y}
2859 printf %s "(cached) " >&6
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2866 if ac_fn_c_try_compile "$LINENO"
2872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2876 printf "%s\n" "$ac_res" >&6; }
2877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2879 } # ac_fn_c_check_header_compile
2881 # ac_fn_objc_try_compile LINENO
2882 # -----------------------------
2883 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2884 ac_fn_objc_try_compile ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 rm -f conftest.$ac_objext conftest.beam
2888 if { { ac_try="$ac_compile"
2890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2891 *) ac_try_echo
=$ac_try;;
2893 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 printf "%s\n" "$ac_try_echo"; } >&5
2895 (eval "$ac_compile") 2>conftest.err
2897 if test -s conftest.err
; then
2898 grep -v '^ *+' conftest.err
>conftest.er1
2899 cat conftest.er1
>&5
2900 mv -f conftest.er1 conftest.err
2902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; } && {
2904 test -z "$ac_objc_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.
$ac_objext
2910 printf "%s\n" "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.
$ac_ext >&5
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 as_fn_set_status
$ac_retval
2918 } # ac_fn_objc_try_compile
2920 # ac_fn_c_check_func LINENO FUNC VAR
2921 # ----------------------------------
2922 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2923 ac_fn_c_check_func
()
2925 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2927 printf %s
"checking for $2... " >&6; }
2928 if eval test \
${$3+y}
2930 printf %s
"(cached) " >&6
2932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2936 #define $2 innocuous_$2
2938 /* System header to define __stub macros and hopefully few prototypes,
2939 which can conflict with char $2 (); below. */
2944 /* Override any GCC internal prototype to avoid an error.
2945 Use char because int might match the return type of a GCC
2946 builtin and then its argument prototype would still apply. */
2951 /* The GNU C library defines this for functions which it implements
2952 to always fail with ENOSYS. Some functions are actually named
2953 something starting with __ and the normal name is an alias. */
2954 #if defined __stub_$2 || defined __stub___$2
2966 if ac_fn_c_try_link
"$LINENO"
2972 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2973 conftest
$ac_exeext conftest.
$ac_ext
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977 printf "%s\n" "$ac_res" >&6; }
2978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 } # ac_fn_c_check_func
2982 # ac_fn_c_try_cpp LINENO
2983 # ----------------------
2984 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2987 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2988 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 printf "%s\n" "$ac_try_echo"; } >&5
2995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2997 if test -s conftest.err; then
2998 grep -v '^ *+' conftest.err >conftest.er1
2999 cat conftest.er1 >&5
3000 mv -f conftest.er1 conftest.err
3002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3003 test $ac_status = 0; } > conftest.i && {
3004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3005 test ! -s conftest.err
3010 printf "%s\n" "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3016 as_fn_set_status $ac_retval
3020 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3021 # ----------------------------------------------------
3022 # Tries to find if the field MEMBER exists in type AGGR, after including
3023 # INCLUDES, setting cache variable VAR accordingly.
3024 ac_fn_c_check_member ()
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3028 printf %s "checking for $2.$3... " >&6; }
3029 if eval test \${$4+y}
3031 printf %s "(cached) " >&6
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3046 if ac_fn_c_try_compile "$LINENO"
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3057 if (sizeof ac_aggr.$3)
3063 if ac_fn_c_try_compile "$LINENO"
3069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 printf "%s\n" "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_member
3080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3081 # -------------------------------------------
3082 # Tests whether TYPE exists after having included INCLUDES, setting cache
3083 # variable VAR accordingly.
3084 ac_fn_c_check_type ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088 printf %s "checking for $2... " >&6; }
3089 if eval test \${$3+y}
3091 printf %s "(cached) " >&6
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3106 if ac_fn_c_try_compile "$LINENO"
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3120 if ac_fn_c_try_compile "$LINENO"
3126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3132 printf "%s\n" "$ac_res" >&6; }
3133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 } # ac_fn_c_check_type
3136 ac_configure_args_raw=
3141 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3143 as_fn_append ac_configure_args_raw " '$ac_arg'"
3146 case $ac_configure_args_raw in
3150 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3151 ac_unsafe_a="$ac_unsafe_z#~
"
3152 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3153 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3156 cat >config.log <<_ACEOF
3157 This file contains any messages produced by compilers while
3158 running configure, to aid debugging if configure makes a mistake.
3160 It was created by Wine $as_me 8.12, which was
3161 generated by GNU Autoconf 2.71. Invocation command line was
3163 $ $0$ac_configure_args_raw
3173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3180 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3182 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3183 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3185 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3186 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3187 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3188 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 case $as_dir in #(((
3199 *) as_dir=$as_dir/ ;;
3201 printf "%s
\n" "PATH
: $as_dir"
3217 # Keep a trace of the command line.
3218 # Strip out --no-create and --no-recursion so they do not pile up.
3219 # Strip out --silent because we don't want to record it for future runs.
3220 # Also quote any args containing shell meta-characters.
3221 # Make two passes to allow for proper duplicate-argument suppression.
3225 ac_must_keep_next=false
3231 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3233 | -silent | --silent | --silen | --sile | --sil)
3236 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3239 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3241 as_fn_append ac_configure_args1 " '$ac_arg'"
3242 if test $ac_must_keep_next = true; then
3243 ac_must_keep_next=false # Got value, back to normal.
3246 *=* | --config-cache | -C | -disable-* | --disable-* \
3247 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3248 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3249 | -with-* | --with-* | -without-* | --without-* | --x)
3250 case "$ac_configure_args0 " in
3251 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3254 -* ) ac_must_keep_next=true ;;
3257 as_fn_append ac_configure_args " '$ac_arg'"
3262 { ac_configure_args0=; unset ac_configure_args0;}
3263 { ac_configure_args1=; unset ac_configure_args1;}
3265 # When interrupted or exit'd, cleanup temporary files, and complete
3266 # config.log. We remove comments because anyway the quotes in there
3267 # would cause problems or look ugly.
3268 # WARNING: Use '\'' to represent an apostrophe within the trap.
3269 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3270 trap 'exit_status=$?
3273 # Save into config.log some information that might help in debugging.
3277 printf "%s
\n" "## ---------------- ##
3278 ## Cache variables. ##
3279 ## ---------------- ##"
3281 # The following way of writing the cache mishandles newlines in values,
3283 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3284 eval ac_val
=\$
$ac_var
3288 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3289 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3292 _ | IFS | as_nl
) ;; #(
3293 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3294 *) { eval $ac_var=; unset $ac_var;} ;;
3299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3300 *${as_nl}ac_space
=\
*)
3302 "s/'\''/'\''\\\\'\'''\''/g;
3303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3313 printf "%s\n" "## ----------------- ##
3314 ## Output variables. ##
3315 ## ----------------- ##"
3317 for ac_var
in $ac_subst_vars
3319 eval ac_val
=\$
$ac_var
3321 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3323 printf "%s\n" "$ac_var='\''$ac_val'\''"
3327 if test -n "$ac_subst_files"; then
3328 printf "%s\n" "## ------------------- ##
3329 ## File substitutions. ##
3330 ## ------------------- ##"
3332 for ac_var in $ac_subst_files
3334 eval ac_val=\$$ac_var
3336 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3338 printf "%s\n" "$ac_var='\''$ac_val'\''"
3343 if test -s confdefs.h
; then
3344 printf "%s\n" "## ----------- ##
3351 test "$ac_signal" != 0 &&
3352 printf "%s\n" "$as_me: caught signal $ac_signal"
3353 printf "%s\n" "$as_me: exit $exit_status"
3355 rm -f core
*.core core.conftest.
* &&
3356 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3359 for ac_signal in 1 2 13 15; do
3360 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3365 rm -f -r conftest* confdefs.h
3367 printf "%s\n" "/* confdefs.h */" > confdefs.h
3369 # Predefined preprocessor variables.
3371 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3384 # Let the site file select an alternate cache file if it wants to.
3385 # Prefer an explicitly selected file to automatically selected ones.
3386 if test -n "$CONFIG_SITE"; then
3387 ac_site_files="$CONFIG_SITE"
3388 elif test "x$prefix" != xNONE; then
3389 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3391 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3394 for ac_site_file in $ac_site_files
3396 case $ac_site_file in #(
3400 ac_site_file=./$ac_site_file ;;
3402 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3404 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3405 sed 's
/^
/|
/' "$ac_site_file" >&5
3407 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3409 as_fn_error $? "failed to load site script $ac_site_file
3410 See \`config.log
' for more details" "$LINENO" 5; }
3414 if test -r "$cache_file"; then
3415 # Some versions of bash will fail to source /dev/null (special files
3416 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3417 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3419 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3421 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3422 *) . "./$cache_file";;
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3427 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3431 # Test code for whether the C compiler supports C89 (global declarations)
3432 ac_c_conftest_c89_globals='
3433 /* Does the compiler advertise C89 conformance?
3434 Do not
test the value of __STDC__
, because some compilers
set it to
0
3435 while being otherwise adequately conformant.
*/
3436 #if !defined __STDC__
3437 # error "Compiler does not advertise C89 conformance"
3443 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3444 struct buf
{ int x
; };
3445 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3446 static char
*e
(p
, i
)
3452 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3457 s
= g
(p
, va_arg
(v
,int
));
3462 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3463 function prototypes and stuff
, but not \xHH hex character constants.
3464 These
do not provoke an error unfortunately
, instead are silently treated
3465 as an
"x". The following induces an error
, until -std is added to get
3466 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3467 array size
at least. It is necessary to
write \x00 == 0 to get something
3468 that is true only with
-std.
*/
3469 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3471 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3472 inside
strings and character constants.
*/
3473 #define FOO(x) '\''x'\''
3474 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3476 int
test (int i
, double x
);
3477 struct s1
{int
(*f
) (int a
);};
3478 struct s2
{int
(*f
) (double a
);};
3479 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3482 # Test code for whether the C compiler supports C89 (body of main).
3483 ac_c_conftest_c89_main='
3484 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3487 # Test code for whether the C compiler supports C99 (global declarations)
3488 ac_c_conftest_c99_globals='
3489 // Does the compiler advertise C99 conformance?
3490 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3491 # error "Compiler does not advertise C99 conformance"
3494 #include <stdbool.h>
3495 extern int puts
(const char
*);
3496 extern int
printf (const char
*, ...
);
3497 extern int dprintf
(int
, const char
*, ...
);
3498 extern void
*malloc
(size_t
);
3500 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3501 // dprintf is used instead of fprintf to avoid needing to
declare
3503 #define debug(...) dprintf (2, __VA_ARGS__)
3504 #define showlist(...) puts (#__VA_ARGS__)
3505 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3507 test_varargs_macros
(void
)
3512 debug
("X = %d\n", x
);
3513 showlist
(The first
, second
, and third items.
);
3514 report
(x
>y
, "x is %d but y is %d", x
, y
);
3517 // Check long long types.
3518 #define BIG64 18446744073709551615ull
3519 #define BIG32 4294967295ul
3520 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3522 #error "your preprocessor is broken"
3526 #error "your preprocessor is broken"
3528 static long long int bignum
= -9223372036854775807LL;
3529 static unsigned long long int ubignum
= BIG64
;
3531 struct incomplete_array
3539 const wchar_t
*name
;
3543 typedef const char
*ccp
;
3546 test_restrict
(ccp restrict text
)
3548 // See
if C
++-style comments work.
3549 // Iterate through items via the restricted pointer.
3550 // Also check
for declarations
in for loops.
3551 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3556 // Check varargs and va_copy.
3558 test_varargs
(const char
*format
, ...
)
3561 va_start
(args
, format
);
3563 va_copy
(args_copy
, args
);
3565 const char
*str
= "";
3573 case '\''s
'\'': // string
3574 str
= va_arg
(args_copy
, const char
*);
3576 case '\''d
'\'': // int
3577 number
= va_arg
(args_copy
, int
);
3579 case '\''f
'\'': // float
3580 fnumber
= va_arg
(args_copy
, double
);
3589 return *str
&& number
&& fnumber
;
3593 # Test code for whether the C compiler supports C99 (body of main).
3594 ac_c_conftest_c99_main='
3596 _Bool success
= false
;
3597 success |
= (argc
!= 0);
3600 if (test_restrict
("String literal") == 0)
3602 char
*restrict newvar
= "Another string";
3605 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3606 test_varargs_macros
();
3608 // Check flexible array members.
3609 struct incomplete_array
*ia
=
3610 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3612 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3613 ia-
>data
[i
] = i
* 1.234;
3615 // Check named initializers.
3616 struct named_init ni
= {
3618 .name
= L
"Test wide string",
3619 .average
= 543.34343,
3624 int dynamic_array
[ni.number
];
3625 dynamic_array
[0] = argv
[0][0];
3626 dynamic_array
[ni.number
- 1] = 543;
3628 // work around unused variable warnings
3629 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3630 || dynamic_array
[ni.number
- 1] != 543);
3633 # Test code for whether the C compiler supports C11 (global declarations)
3634 ac_c_conftest_c11_globals='
3635 // Does the compiler advertise C11 conformance?
3636 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3637 # error "Compiler does not advertise C11 conformance"
3641 char _Alignas
(double
) aligned_as_double
;
3642 char _Alignas
(0) no_special_alignment
;
3643 extern char aligned_as_int
;
3644 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3649 int_alignment
= _Alignof
(int
),
3650 int_array_alignment
= _Alignof
(int
[100]),
3651 char_alignment
= _Alignof
(char
)
3653 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3656 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3658 // Check _Static_assert.
3659 struct test_static_assert
3662 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3663 "_Static_assert does not work in struct");
3667 // Check UTF-8 literals.
3668 #define u8 syntax error!
3669 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3671 // Check duplicate typedefs.
3672 typedef long
*long_ptr
;
3673 typedef long int
*long_ptr
;
3674 typedef long_ptr long_ptr
;
3676 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3680 struct
{ int i
; int j
; };
3681 struct
{ int k
; long int l
; } w
;
3687 # Test code for whether the C compiler supports C11 (body of main).
3688 ac_c_conftest_c11_main='
3689 _Static_assert
((offsetof
(struct anonymous
, i
)
3690 == offsetof
(struct anonymous
, w.k
)),
3691 "Anonymous union alignment botch");
3697 # Test code for whether the C compiler supports C11 (complete).
3698 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3699 ${ac_c_conftest_c99_globals}
3700 ${ac_c_conftest_c11_globals}
3703 main (int argc, char **argv)
3706 ${ac_c_conftest_c89_main}
3707 ${ac_c_conftest_c99_main}
3708 ${ac_c_conftest_c11_main}
3713 # Test code for whether the C compiler supports C99 (complete).
3714 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3715 ${ac_c_conftest_c99_globals}
3718 main (int argc, char **argv)
3721 ${ac_c_conftest_c89_main}
3722 ${ac_c_conftest_c99_main}
3727 # Test code for whether the C compiler supports C89 (complete).
3728 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3731 main (int argc, char **argv)
3734 ${ac_c_conftest_c89_main}
3739 # Test code for whether the C++ compiler supports C++98 (global declarations)
3740 ac_cxx_conftest_cxx98_globals='
3741 // Does the compiler advertise C
++98 conformance?
3742 #if !defined __cplusplus || __cplusplus < 199711L
3743 # error "Compiler does not advertise C++98 conformance"
3746 // These inclusions are to reject old compilers that
3747 // lack the unsuffixed header files.
3749 #include <exception>
3751 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3752 extern void assert
(int
);
3754 extern int strcmp
(const char
*, const char
*);
3757 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3758 using std
::exception
;
3763 void test_exception_syntax
()
3767 } catch
(const char
*s
) {
3768 // Extra parentheses suppress a warning when building autoconf itself
,
3769 // due to lint rules shared with
more typical C programs.
3770 assert
(!(strcmp
) (s
, "test"));
3774 template
<typename T
> struct test_template
3777 explicit test_template
(T t
) : val
(t
) {}
3778 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3781 } // anonymous namespace
3784 # Test code for whether the C++ compiler supports C++98 (body of main)
3785 ac_cxx_conftest_cxx98_main='
3789 test_exception_syntax
();
3790 test_template
<double
> tt
(2.0);
3791 assert
(tt.add
(4) == 6.0);
3792 assert
(true
&& !false
);
3796 # Test code for whether the C++ compiler supports C++11 (global declarations)
3797 ac_cxx_conftest_cxx11_globals='
3798 // Does the compiler advertise C
++ 2011 conformance?
3799 #if !defined __cplusplus || __cplusplus < 201103L
3800 # error "Compiler does not advertise C++11 conformance"
3805 constexpr int get_val
() { return 20; }
3816 delegate
(int n
) : n
(n
) {}
3817 delegate
(): delegate
(2354) {}
3819 virtual int getval
() { return this-
>n
; };
3824 class overridden
: public delegate
3827 overridden
(int n
): delegate
(n
) {}
3828 virtual int getval
() override final
{ return this-
>n
* 2; }
3834 nocopy
(int i
): i
(i
) {}
3836 nocopy
(const nocopy
&) = delete
;
3837 nocopy
& operator
=(const nocopy
&) = delete
;
3842 // for testing lambda expressions
3843 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3848 // for testing variadic templates and trailing
return types
3849 template
<typename V
> auto
sum(V first
) -> V
3853 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3855 return first
+ sum(rest...
);
3860 # Test code for whether the C++ compiler supports C++11 (body of main)
3861 ac_cxx_conftest_cxx11_main='
3863 // Test auto and decltype
3865 auto a2
= 48573953.4;
3866 auto a3
= "String literal";
3869 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3871 decltype
(a2
) a4
= 34895.034;
3875 short sa
[cxx11test
::get_val
()] = { 0 };
3878 // Test initializer lists
3879 cxx11test
::testinit il
= { 4323, 435234.23544 };
3882 // Test range-based
for
3883 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3884 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3885 for (auto
&x
: array
) { x
+= 23; }
3888 // Test lambda expressions
3889 using cxx11test
::eval;
3890 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3892 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3894 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3898 // Test use of variadic templates
3899 using cxx11test
::sum;
3902 auto c
= sum(1.0, 2.0, 3.0);
3905 // Test constructor delegation
3906 cxx11test
::delegate d1
;
3907 cxx11test
::delegate d2
();
3908 cxx11test
::delegate d3
(45);
3911 // Test override and final
3912 cxx11test
::overridden o1
(55464);
3919 // Test template brackets
3920 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3924 char const
*utf8
= u8
"UTF-8 string \u2500";
3925 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3926 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3930 # Test code for whether the C compiler supports C++11 (complete).
3931 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3932 ${ac_cxx_conftest_cxx11_globals}
3935 main (int argc, char **argv)
3938 ${ac_cxx_conftest_cxx98_main}
3939 ${ac_cxx_conftest_cxx11_main}
3944 # Test code for whether the C compiler supports C++98 (complete).
3945 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3947 main (int argc, char **argv)
3950 ${ac_cxx_conftest_cxx98_main}
3955 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3956 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3957 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3958 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3959 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3960 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3961 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3962 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3963 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3965 # Auxiliary files required by this configure script.
3966 ac_aux_files="config.guess config.sub"
3968 # Locations in which to look for auxiliary files.
3969 ac_aux_dir_candidates="${srcdir}/tools"
3971 # Search for a directory containing all of the required auxiliary files,
3972 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3973 # If we don't
find one directory that contains all the files we need
,
3974 # we report the set of missing files from the *first* directory in
3975 # $ac_aux_dir_candidates and give up.
3976 ac_missing_aux_files
=""
3977 ac_first_candidate
=:
3978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3981 for as_dir
in $ac_aux_dir_candidates
3984 case $as_dir in #(((
3987 *) as_dir
=$as_dir/ ;;
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3992 ac_aux_dir_found
=yes
3994 for ac_aux
in $ac_aux_files
3996 # As a special case, if "install-sh" is required, that requirement
3997 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3998 # and $ac_install_sh is set appropriately for whichever one is found.
3999 if test x
"$ac_aux" = x
"install-sh"
4001 if 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}install.sh"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4006 ac_install_sh
="${as_dir}install.sh -c"
4007 elif test -f "${as_dir}shtool"; then
4008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4009 ac_install_sh
="${as_dir}shtool install -c"
4012 if $ac_first_candidate; then
4013 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4019 if test -f "${as_dir}${ac_aux}"; then
4020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4023 if $ac_first_candidate; then
4024 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4031 if test "$ac_aux_dir_found" = yes; then
4032 ac_aux_dir
="$as_dir"
4035 ac_first_candidate
=false
4044 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4048 # These three variables are undocumented and unsupported,
4049 # and are intended to be withdrawn in a future Autoconf release.
4050 # They can cause serious problems if a builder's source tree is in a directory
4051 # whose full name contains unusual characters.
4052 if test -f "${ac_aux_dir}config.guess"; then
4053 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4055 if test -f "${ac_aux_dir}config.sub"; then
4056 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4058 if test -f "$ac_aux_dir/configure"; then
4059 ac_configure
="$SHELL ${ac_aux_dir}configure"
4062 # Check that the precious variables saved in the cache have kept the same
4064 ac_cache_corrupted
=false
4065 for ac_var
in $ac_precious_vars; do
4066 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4067 eval ac_new_set
=\
$ac_env_${ac_var}_set
4068 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4069 eval ac_new_val
=\
$ac_env_${ac_var}_value
4070 case $ac_old_set,$ac_new_set in
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4074 ac_cache_corrupted
=: ;;
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4077 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4078 ac_cache_corrupted
=: ;;
4081 if test "x$ac_old_val" != "x$ac_new_val"; then
4082 # differences in whitespace do not lead to failure.
4083 ac_old_val_w
=`echo x $ac_old_val`
4084 ac_new_val_w
=`echo x $ac_new_val`
4085 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4087 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4088 ac_cache_corrupted
=:
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4091 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4092 eval $ac_var=\
$ac_old_val
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4095 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4097 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4100 # Pass precious variables to config.status.
4101 if test "$ac_new_set" = set; then
4103 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4104 *) ac_arg
=$ac_var=$ac_new_val ;;
4106 case " $ac_configure_args " in
4107 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4108 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4112 if $ac_cache_corrupted; then
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4116 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4117 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4118 and start over" "$LINENO" 5
4120 ## -------------------- ##
4121 ## Main body of script. ##
4122 ## -------------------- ##
4125 ac_cpp
='$CPP $CPPFLAGS'
4126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4132 ac_config_headers
="$ac_config_headers include/config.h"
4136 libwine_version
="1.0"
4139 # Check whether --enable-archs was given.
4140 if test ${enable_archs+y}
4142 enableval
=$enable_archs;
4145 # Check whether --enable-win16 was given.
4146 if test ${enable_win16+y}
4148 enableval
=$enable_win16;
4151 # Check whether --enable-win64 was given.
4152 if test ${enable_win64+y}
4154 enableval
=$enable_win64;
4157 # Check whether --enable-tests was given.
4158 if test ${enable_tests+y}
4160 enableval
=$enable_tests;
4163 # Check whether --enable-build-id was given.
4164 if test ${enable_build_id+y}
4166 enableval
=$enable_build_id;
4169 # Check whether --enable-maintainer-mode was given.
4170 if test ${enable_maintainer_mode+y}
4172 enableval
=$enable_maintainer_mode;
4175 # Check whether --enable-silent-rules was given.
4176 if test ${enable_silent_rules+y}
4178 enableval
=$enable_silent_rules;
4181 # Check whether --enable-werror was given.
4182 if test ${enable_werror+y}
4184 enableval
=$enable_werror;
4189 # Check whether --with-alsa was given.
4190 if test ${with_alsa+y}
4196 # Check whether --with-capi was given.
4197 if test ${with_capi+y}
4203 # Check whether --with-coreaudio was given.
4204 if test ${with_coreaudio+y}
4206 withval
=$with_coreaudio;
4210 # Check whether --with-cups was given.
4211 if test ${with_cups+y}
4217 # Check whether --with-dbus was given.
4218 if test ${with_dbus+y}
4224 # Check whether --with-float-abi was given.
4225 if test ${with_float_abi+y}
4227 withval
=$with_float_abi;
4231 # Check whether --with-fontconfig was given.
4232 if test ${with_fontconfig+y}
4234 withval
=$with_fontconfig;
4238 # Check whether --with-freetype was given.
4239 if test ${with_freetype+y}
4241 withval
=$with_freetype;
4245 # Check whether --with-gettext was given.
4246 if test ${with_gettext+y}
4248 withval
=$with_gettext;
4252 # Check whether --with-gettextpo was given.
4253 if test ${with_gettextpo+y}
4255 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4259 # Check whether --with-gphoto was given.
4260 if test ${with_gphoto+y}
4262 withval
=$with_gphoto;
4266 # Check whether --with-gnutls was given.
4267 if test ${with_gnutls+y}
4269 withval
=$with_gnutls;
4273 # Check whether --with-gssapi was given.
4274 if test ${with_gssapi+y}
4276 withval
=$with_gssapi;
4280 # Check whether --with-gstreamer was given.
4281 if test ${with_gstreamer+y}
4283 withval
=$with_gstreamer;
4287 # Check whether --with-inotify was given.
4288 if test ${with_inotify+y}
4290 withval
=$with_inotify;
4294 # Check whether --with-krb5 was given.
4295 if test ${with_krb5+y}
4301 # Check whether --with-mingw was given.
4302 if test ${with_mingw+y}
4304 withval
=$with_mingw;
4308 # Check whether --with-netapi was given.
4309 if test ${with_netapi+y}
4311 withval
=$with_netapi;
4315 # Check whether --with-opencl was given.
4316 if test ${with_opencl+y}
4318 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4322 # Check whether --with-opengl was given.
4323 if test ${with_opengl+y}
4325 withval
=$with_opengl;
4329 # Check whether --with-osmesa was given.
4330 if test ${with_osmesa+y}
4332 withval
=$with_osmesa;
4336 # Check whether --with-oss was given.
4337 if test ${with_oss+y}
4343 # Check whether --with-pcap was given.
4344 if test ${with_pcap+y}
4346 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4350 # Check whether --with-pcsclite was given.
4351 if test ${with_pcsclite+y}
4353 withval
=$with_pcsclite;
4357 # Check whether --with-pthread was given.
4358 if test ${with_pthread+y}
4360 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4364 # Check whether --with-pulse was given.
4365 if test ${with_pulse+y}
4367 withval
=$with_pulse;
4371 # Check whether --with-sane was given.
4372 if test ${with_sane+y}
4378 # Check whether --with-sdl was given.
4379 if test ${with_sdl+y}
4385 # Check whether --with-udev was given.
4386 if test ${with_udev+y}
4392 # Check whether --with-unwind was given.
4393 if test ${with_unwind+y}
4395 withval
=$with_unwind;
4399 # Check whether --with-usb was given.
4400 if test ${with_usb+y}
4406 # Check whether --with-v4l2 was given.
4407 if test ${with_v4l2+y}
4413 # Check whether --with-vulkan was given.
4414 if test ${with_vulkan+y}
4416 withval
=$with_vulkan;
4420 # Check whether --with-wayland was given.
4421 if test ${with_wayland+y}
4423 withval
=$with_wayland;
4427 # Check whether --with-xcomposite was given.
4428 if test ${with_xcomposite+y}
4430 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4434 # Check whether --with-xcursor was given.
4435 if test ${with_xcursor+y}
4437 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4441 # Check whether --with-xfixes was given.
4442 if test ${with_xfixes+y}
4444 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4448 # Check whether --with-xinerama was given.
4449 if test ${with_xinerama+y}
4451 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4455 # Check whether --with-xinput was given.
4456 if test ${with_xinput+y}
4458 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4462 # Check whether --with-xinput2 was given.
4463 if test ${with_xinput2+y}
4465 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4469 # Check whether --with-xrandr was given.
4470 if test ${with_xrandr+y}
4472 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4476 # Check whether --with-xrender was given.
4477 if test ${with_xrender+y}
4479 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4483 # Check whether --with-xshape was given.
4484 if test ${with_xshape+y}
4486 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4490 # Check whether --with-xshm was given.
4491 if test ${with_xshm+y}
4493 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4497 # Check whether --with-xxf86vm was given.
4498 if test ${with_xxf86vm+y}
4500 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
4505 # Check whether --with-system-dllpath was given.
4506 if test ${with_system_dllpath+y}
4508 withval
=$with_system_dllpath; system_dllpath
=$withval
4513 # Check whether --with-wine-tools was given.
4514 if test ${with_wine_tools+y}
4516 withval
=$with_wine_tools;
4520 # Check whether --with-wine64 was given.
4521 if test ${with_wine64+y}
4523 withval
=$with_wine64;
4530 # Make sure we can run config.sub.
4531 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4532 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4535 printf %s
"checking build system type... " >&6; }
4536 if test ${ac_cv_build+y}
4538 printf %s
"(cached) " >&6
4540 ac_build_alias
=$build_alias
4541 test "x$ac_build_alias" = x
&&
4542 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4543 test "x$ac_build_alias" = x
&&
4544 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4545 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4546 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4550 printf "%s\n" "$ac_cv_build" >&6; }
4551 case $ac_cv_build in
4553 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4556 ac_save_IFS
=$IFS; IFS
='-'
4562 # Remember, the first character of IFS is used to create $*,
4563 # except with old shells:
4566 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4570 printf %s
"checking host system type... " >&6; }
4571 if test ${ac_cv_host+y}
4573 printf %s
"(cached) " >&6
4575 if test "x$host_alias" = x
; then
4576 ac_cv_host
=$ac_cv_build
4578 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4579 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4584 printf "%s\n" "$ac_cv_host" >&6; }
4587 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4590 ac_save_IFS
=$IFS; IFS
='-'
4596 # Remember, the first character of IFS is used to create $*,
4597 # except with old shells:
4600 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4604 dlldir
=\
${libdir}/wine
4606 fontdir
=\
${datadir}/wine
/fonts
4608 nlsdir
=\
${datadir}/wine
/nls
4613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4614 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4616 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4617 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4619 printf %s
"(cached) " >&6
4621 cat >conftest.
make <<\_ACEOF
4624 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4626 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4627 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4629 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4631 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4635 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4637 printf "%s\n" "yes" >&6; }
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4642 SET_MAKE
="MAKE=${MAKE-make}"
4655 ac_cpp
='$CPP $CPPFLAGS'
4656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 printf %s
"checking for $ac_word... " >&6; }
4664 if test ${ac_cv_prog_CC+y}
4666 printf %s
"(cached) " >&6
4668 if test -n "$CC"; then
4669 ac_cv_prog_CC
="$CC" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 case $as_dir in #(((
4678 *) as_dir
=$as_dir/ ;;
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4693 if test -n "$CC"; then
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4695 printf "%s\n" "$CC" >&6; }
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4703 if test -z "$ac_cv_prog_CC"; then
4705 # Extract the first word of "gcc", so it can be a program name with args.
4706 set dummy gcc
; ac_word
=$2
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 printf %s
"checking for $ac_word... " >&6; }
4709 if test ${ac_cv_prog_ac_ct_CC+y}
4711 printf %s
"(cached) " >&6
4713 if test -n "$ac_ct_CC"; then
4714 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 case $as_dir in #(((
4723 *) as_dir
=$as_dir/ ;;
4725 for ac_exec_ext
in '' $ac_executable_extensions; do
4726 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_ac_ct_CC
="gcc"
4728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4737 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4738 if test -n "$ac_ct_CC"; then
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4740 printf "%s\n" "$ac_ct_CC" >&6; }
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 printf "%s\n" "no" >&6; }
4746 if test "x$ac_ct_CC" = x
; then
4749 case $cross_compiling:$ac_tool_warned in
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned
=yes ;;
4761 if test -z "$CC"; then
4762 if test -n "$ac_tool_prefix"; then
4763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4764 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 printf %s
"checking for $ac_word... " >&6; }
4767 if test ${ac_cv_prog_CC+y}
4769 printf %s
"(cached) " >&6
4771 if test -n "$CC"; then
4772 ac_cv_prog_CC
="$CC" # Let the user override the test.
4774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4778 case $as_dir in #(((
4781 *) as_dir
=$as_dir/ ;;
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4796 if test -n "$CC"; then
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4798 printf "%s\n" "$CC" >&6; }
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 printf "%s\n" "no" >&6; }
4807 if test -z "$CC"; then
4808 # Extract the first word of "cc", so it can be a program name with args.
4809 set dummy cc
; ac_word
=$2
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 printf %s
"checking for $ac_word... " >&6; }
4812 if test ${ac_cv_prog_CC+y}
4814 printf %s
"(cached) " >&6
4816 if test -n "$CC"; then
4817 ac_cv_prog_CC
="$CC" # Let the user override the test.
4820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4824 case $as_dir in #(((
4827 *) as_dir
=$as_dir/ ;;
4829 for ac_exec_ext
in '' $ac_executable_extensions; do
4830 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4831 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4832 ac_prog_rejected
=yes
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4843 if test $ac_prog_rejected = yes; then
4844 # We found a bogon in the path, so make sure we never use it.
4845 set dummy
$ac_cv_prog_CC
4847 if test $# != 0; then
4848 # We chose a different compiler from the bogus one.
4849 # However, it has the same basename, so the bogon will be chosen
4850 # first if we set CC to just the basename; use the full file name.
4852 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4858 if test -n "$CC"; then
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4860 printf "%s\n" "$CC" >&6; }
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 printf "%s\n" "no" >&6; }
4868 if test -z "$CC"; then
4869 if test -n "$ac_tool_prefix"; then
4870 for ac_prog
in cl.exe
4872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4873 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 printf %s
"checking for $ac_word... " >&6; }
4876 if test ${ac_cv_prog_CC+y}
4878 printf %s
"(cached) " >&6
4880 if test -n "$CC"; then
4881 ac_cv_prog_CC
="$CC" # Let the user override the test.
4883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4887 case $as_dir in #(((
4890 *) as_dir
=$as_dir/ ;;
4892 for ac_exec_ext
in '' $ac_executable_extensions; do
4893 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4905 if test -n "$CC"; then
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4907 printf "%s\n" "$CC" >&6; }
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 printf "%s\n" "no" >&6; }
4914 test -n "$CC" && break
4917 if test -z "$CC"; then
4919 for ac_prog
in cl.exe
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy
$ac_prog; ac_word
=$2
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 printf %s
"checking for $ac_word... " >&6; }
4925 if test ${ac_cv_prog_ac_ct_CC+y}
4927 printf %s
"(cached) " >&6
4929 if test -n "$ac_ct_CC"; then
4930 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 case $as_dir in #(((
4939 *) as_dir
=$as_dir/ ;;
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_CC
="$ac_prog"
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4954 if test -n "$ac_ct_CC"; then
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4956 printf "%s\n" "$ac_ct_CC" >&6; }
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 printf "%s\n" "no" >&6; }
4963 test -n "$ac_ct_CC" && break
4966 if test "x$ac_ct_CC" = x
; then
4969 case $cross_compiling:$ac_tool_warned in
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4972 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4973 ac_tool_warned
=yes ;;
4980 if test -z "$CC"; then
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 printf %s
"checking for $ac_word... " >&6; }
4986 if test ${ac_cv_prog_CC+y}
4988 printf %s
"(cached) " >&6
4990 if test -n "$CC"; then
4991 ac_cv_prog_CC
="$CC" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 case $as_dir in #(((
5000 *) as_dir
=$as_dir/ ;;
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5015 if test -n "$CC"; then
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5017 printf "%s\n" "$CC" >&6; }
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 printf "%s\n" "no" >&6; }
5025 if test -z "$ac_cv_prog_CC"; then
5027 # Extract the first word of "clang", so it can be a program name with args.
5028 set dummy clang
; ac_word
=$2
5029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 printf %s
"checking for $ac_word... " >&6; }
5031 if test ${ac_cv_prog_ac_ct_CC+y}
5033 printf %s
"(cached) " >&6
5035 if test -n "$ac_ct_CC"; then
5036 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 case $as_dir in #(((
5045 *) as_dir
=$as_dir/ ;;
5047 for ac_exec_ext
in '' $ac_executable_extensions; do
5048 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_ac_ct_CC
="clang"
5050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5060 if test -n "$ac_ct_CC"; then
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5062 printf "%s\n" "$ac_ct_CC" >&6; }
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 printf "%s\n" "no" >&6; }
5068 if test "x$ac_ct_CC" = x
; then
5071 case $cross_compiling:$ac_tool_warned in
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5075 ac_tool_warned
=yes ;;
5086 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5087 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5088 as_fn_error $?
"no acceptable C compiler found in \$PATH
5089 See \`config.log' for more details" "$LINENO" 5; }
5091 # Provide some information about the compiler.
5092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5095 for ac_option
in --version -v -V -qversion -version; do
5096 { { ac_try
="$ac_compiler $ac_option >&5"
5098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5102 printf "%s\n" "$ac_try_echo"; } >&5
5103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5105 if test -s conftest.err; then
5107 ... rest of stderr output deleted ...
5108 10q' conftest.err >conftest.er1
5109 cat conftest.er1 >&5
5111 rm -f conftest.er1 conftest.err
5112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5113 test $ac_status = 0; }
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5127 ac_clean_files_save=$ac_clean_files
5128 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5129 # Try to create an executable without -o first, disregard a.out.
5130 # It will help us diagnose broken compilers, and finding out an intuition
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5133 printf %s "checking whether the C compiler works... " >&6; }
5134 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5136 # The possible output files:
5137 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5140 for ac_file in $ac_files
5143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5144 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5149 if { { ac_try="$ac_link_default"
5151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5152 *) ac_try_echo
=$ac_try;;
5154 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5155 printf "%s\n" "$ac_try_echo"; } >&5
5156 (eval "$ac_link_default") 2>&5
5158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159 test $ac_status = 0; }
5161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5164 # so that the user can short-circuit this test for compilers unknown to
5166 for ac_file
in $ac_files ''
5168 test -f "$ac_file" ||
continue
5170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5173 # We found the default executable, but exeext='' is most
5177 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5181 # We set ac_cv_exeext here because the later test for it is not
5182 # safe: cross compilers may not add the suffix if given an `-o'
5183 # argument, so we may need to know it at that point already.
5184 # Even if this section looks crufty: it has the advantage of
5191 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5196 if test -z "$ac_file"
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 printf "%s\n" "no" >&6; }
5200 printf "%s\n" "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.
$ac_ext >&5
5203 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5204 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5205 as_fn_error
77 "C compiler cannot create executables
5206 See \`config.log' for more details" "$LINENO" 5; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 printf "%s\n" "yes" >&6; }
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5212 printf %s
"checking for C compiler default output file name... " >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5214 printf "%s\n" "$ac_file" >&6; }
5215 ac_exeext
=$ac_cv_exeext
5217 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5218 ac_clean_files
=$ac_clean_files_save
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5220 printf %s
"checking for suffix of executables... " >&6; }
5221 if { { ac_try
="$ac_link"
5223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5233 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5234 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5235 # work properly (i.e., refer to `conftest.exe'), while it won't with
5237 for ac_file
in conftest.exe conftest conftest.
*; do
5238 test -f "$ac_file" ||
continue
5240 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5241 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5247 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5248 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5249 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5250 See \`config.log' for more details" "$LINENO" 5; }
5252 rm -f conftest conftest
$ac_cv_exeext
5253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5254 printf "%s\n" "$ac_cv_exeext" >&6; }
5256 rm -f conftest.
$ac_ext
5257 EXEEXT
=$ac_cv_exeext
5259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5265 FILE *f = fopen ("conftest.out", "w");
5266 return ferror (f) || fclose (f) != 0;
5272 ac_clean_files
="$ac_clean_files conftest.out"
5273 # Check that the compiler produces executables we can run. If not, either
5274 # the compiler is broken, or we cross compile.
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5276 printf %s
"checking whether we are cross compiling... " >&6; }
5277 if test "$cross_compiling" != yes; then
5278 { { ac_try
="$ac_link"
5280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_link") 2>&5
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 if { ac_try='./conftest$ac_cv_exeext'
5290 { { case "(($ac_try" in
5291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5292 *) ac_try_echo
=$ac_try;;
5294 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_try") 2>&5
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }; }; then
5302 if test "$cross_compiling" = maybe
; then
5305 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5306 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5307 as_fn_error
77 "cannot run C compiled programs.
5308 If you meant to cross compile, use \`--host'.
5309 See \`config.log' for more details" "$LINENO" 5; }
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5314 printf "%s\n" "$cross_compiling" >&6; }
5316 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5317 ac_clean_files
=$ac_clean_files_save
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5319 printf %s
"checking for suffix of object files... " >&6; }
5320 if test ${ac_cv_objext+y}
5322 printf %s
"(cached) " >&6
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5335 rm -f conftest.o conftest.obj
5336 if { { ac_try
="$ac_compile"
5338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5342 printf "%s\n" "$ac_try_echo"; } >&5
5343 (eval "$ac_compile") 2>&5
5345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5346 test $ac_status = 0; }
5348 for ac_file in conftest.o conftest.obj conftest.*; do
5349 test -f "$ac_file" || continue;
5351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5357 printf "%s\n" "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5360 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5362 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5363 See \
`config.log' for more details" "$LINENO" 5; }
5365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5368 printf "%s\n" "$ac_cv_objext" >&6; }
5369 OBJEXT=$ac_cv_objext
5371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5372 printf %s "checking whether the compiler supports GNU C... " >&6; }
5373 if test ${ac_cv_c_compiler_gnu+y}
5375 printf %s "(cached) " >&6
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5391 if ac_fn_c_try_compile "$LINENO"
5397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5402 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5405 if test $ac_compiler_gnu = yes; then
5410 ac_test_CFLAGS=${CFLAGS+y}
5411 ac_save_CFLAGS=$CFLAGS
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5413 printf %s "checking whether $CC accepts -g... " >&6; }
5414 if test ${ac_cv_prog_cc_g+y}
5416 printf %s "(cached) " >&6
5418 ac_save_c_werror_flag=$ac_c_werror_flag
5419 ac_c_werror_flag=yes
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5433 if ac_fn_c_try_compile "$LINENO"
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5449 if ac_fn_c_try_compile "$LINENO"
5453 ac_c_werror_flag=$ac_save_c_werror_flag
5455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5466 if ac_fn_c_try_compile "$LINENO"
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5475 ac_c_werror_flag=$ac_save_c_werror_flag
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5479 if test $ac_test_CFLAGS; then
5480 CFLAGS=$ac_save_CFLAGS
5481 elif test $ac_cv_prog_cc_g = yes; then
5482 if test "$GCC" = yes; then
5488 if test "$GCC" = yes; then
5495 if test x$ac_prog_cc_stdc = xno
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5498 printf %s "checking for $CC option to enable C11 features... " >&6; }
5499 if test ${ac_cv_prog_cc_c11+y}
5501 printf %s "(cached) " >&6
5503 ac_cv_prog_cc_c11=no
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 $ac_c_conftest_c11_program
5509 for ac_arg in '' -std=gnu11
5511 CC="$ac_save_CC $ac_arg"
5512 if ac_fn_c_try_compile "$LINENO"
5514 ac_cv_prog_cc_c11=$ac_arg
5516 rm -f core conftest.err conftest.$ac_objext conftest.beam
5517 test "x$ac_cv_prog_cc_c11" != "xno" && break
5519 rm -f conftest.$ac_ext
5523 if test "x$ac_cv_prog_cc_c11" = xno
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5526 printf "%s\n" "unsupported" >&6; }
5528 if test "x$ac_cv_prog_cc_c11" = x
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5531 printf "%s\n" "none needed" >&6; }
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5534 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5535 CC="$CC $ac_cv_prog_cc_c11"
5537 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5541 if test x$ac_prog_cc_stdc = xno
5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5544 printf %s "checking for $CC option to enable C99 features... " >&6; }
5545 if test ${ac_cv_prog_cc_c99+y}
5547 printf %s "(cached) " >&6
5549 ac_cv_prog_cc_c99=no
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5553 $ac_c_conftest_c99_program
5555 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5557 CC="$ac_save_CC $ac_arg"
5558 if ac_fn_c_try_compile "$LINENO"
5560 ac_cv_prog_cc_c99=$ac_arg
5562 rm -f core conftest.err conftest.$ac_objext conftest.beam
5563 test "x$ac_cv_prog_cc_c99" != "xno" && break
5565 rm -f conftest.$ac_ext
5569 if test "x$ac_cv_prog_cc_c99" = xno
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5572 printf "%s\n" "unsupported" >&6; }
5574 if test "x$ac_cv_prog_cc_c99" = x
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5577 printf "%s\n" "none needed" >&6; }
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5580 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5581 CC="$CC $ac_cv_prog_cc_c99"
5583 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5587 if test x$ac_prog_cc_stdc = xno
5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5590 printf %s "checking for $CC option to enable C89 features... " >&6; }
5591 if test ${ac_cv_prog_cc_c89+y}
5593 printf %s "(cached) " >&6
5595 ac_cv_prog_cc_c89=no
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5599 $ac_c_conftest_c89_program
5601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5603 CC="$ac_save_CC $ac_arg"
5604 if ac_fn_c_try_compile "$LINENO"
5606 ac_cv_prog_cc_c89=$ac_arg
5608 rm -f core conftest.err conftest.$ac_objext conftest.beam
5609 test "x$ac_cv_prog_cc_c89" != "xno" && break
5611 rm -f conftest.$ac_ext
5615 if test "x$ac_cv_prog_cc_c89" = xno
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5618 printf "%s\n" "unsupported" >&6; }
5620 if test "x$ac_cv_prog_cc_c89" = x
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5623 printf "%s\n" "none needed" >&6; }
5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5626 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5627 CC="$CC $ac_cv_prog_cc_c89"
5629 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5635 ac_cpp='$CPP $CPPFLAGS'
5636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5647 ac_cpp='$CXXCPP $CPPFLAGS'
5648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5651 if test -z "$CXX"; then
5652 if test -n "$CCC"; then
5655 if test -n "$ac_tool_prefix"; then
5656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 printf %s "checking for $ac_word... " >&6; }
5662 if test ${ac_cv_prog_CXX+y}
5664 printf %s "(cached) " >&6
5666 if test -n "$CXX"; then
5667 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 case $as_dir in #(((
5676 *) as_dir=$as_dir/ ;;
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5691 if test -n "$CXX"; then
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5693 printf "%s\n" "$CXX" >&6; }
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 printf "%s\n" "no" >&6; }
5700 test -n "$CXX" && break
5703 if test -z "$CXX"; then
5705 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 printf %s "checking for $ac_word... " >&6; }
5711 if test ${ac_cv_prog_ac_ct_CXX+y}
5713 printf %s "(cached) " >&6
5715 if test -n "$ac_ct_CXX"; then
5716 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 case $as_dir in #(((
5725 *) as_dir=$as_dir/ ;;
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_ac_ct_CXX="$ac_prog"
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5740 if test -n "$ac_ct_CXX"; then
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5742 printf "%s\n" "$ac_ct_CXX" >&6; }
5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 printf "%s\n" "no" >&6; }
5749 test -n "$ac_ct_CXX" && break
5752 if test "x$ac_ct_CXX" = x; then
5755 case $cross_compiling:$ac_tool_warned in
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5759 ac_tool_warned=yes ;;
5767 # Provide some information about the compiler.
5768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5771 for ac_option in --version -v -V -qversion; do
5772 { { ac_try="$ac_compiler $ac_option >&5"
5774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5775 *) ac_try_echo
=$ac_try;;
5777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5778 printf "%s\n" "$ac_try_echo"; } >&5
5779 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5781 if test -s conftest.err
; then
5783 ... rest of stderr output deleted ...
5784 10q' conftest.err
>conftest.er1
5785 cat conftest.er1
>&5
5787 rm -f conftest.er1 conftest.err
5788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5789 test $ac_status = 0; }
5792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5793 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5794 if test ${ac_cv_cxx_compiler_gnu+y}
5796 printf %s
"(cached) " >&6
5798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5812 if ac_fn_cxx_try_compile
"$LINENO"
5818 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5819 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5823 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5826 if test $ac_compiler_gnu = yes; then
5831 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5832 ac_save_CXXFLAGS
=$CXXFLAGS
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5834 printf %s
"checking whether $CXX accepts -g... " >&6; }
5835 if test ${ac_cv_prog_cxx_g+y}
5837 printf %s
"(cached) " >&6
5839 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5840 ac_cxx_werror_flag
=yes
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5854 if ac_fn_cxx_try_compile
"$LINENO"
5856 ac_cv_prog_cxx_g
=yes
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5870 if ac_fn_cxx_try_compile
"$LINENO"
5874 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5887 if ac_fn_cxx_try_compile
"$LINENO"
5889 ac_cv_prog_cxx_g
=yes
5891 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5895 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5896 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5900 if test $ac_test_CXXFLAGS; then
5901 CXXFLAGS
=$ac_save_CXXFLAGS
5902 elif test $ac_cv_prog_cxx_g = yes; then
5903 if test "$GXX" = yes; then
5909 if test "$GXX" = yes; then
5915 ac_prog_cxx_stdcxx
=no
5916 if test x
$ac_prog_cxx_stdcxx = xno
5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5919 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5920 if test ${ac_cv_prog_cxx_cxx11+y}
5922 printf %s
"(cached) " >&6
5924 ac_cv_prog_cxx_cxx11
=no
5926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5928 $ac_cxx_conftest_cxx11_program
5930 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5932 CXX
="$ac_save_CXX $ac_arg"
5933 if ac_fn_cxx_try_compile
"$LINENO"
5935 ac_cv_prog_cxx_cxx11
=$ac_arg
5937 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5938 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5940 rm -f conftest.
$ac_ext
5944 if test "x$ac_cv_prog_cxx_cxx11" = xno
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5947 printf "%s\n" "unsupported" >&6; }
5949 if test "x$ac_cv_prog_cxx_cxx11" = x
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5952 printf "%s\n" "none needed" >&6; }
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5955 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5956 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5958 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5959 ac_prog_cxx_stdcxx
=cxx11
5962 if test x
$ac_prog_cxx_stdcxx = xno
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5965 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5966 if test ${ac_cv_prog_cxx_cxx98+y}
5968 printf %s
"(cached) " >&6
5970 ac_cv_prog_cxx_cxx98
=no
5972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 $ac_cxx_conftest_cxx98_program
5976 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5978 CXX
="$ac_save_CXX $ac_arg"
5979 if ac_fn_cxx_try_compile
"$LINENO"
5981 ac_cv_prog_cxx_cxx98
=$ac_arg
5983 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5984 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5986 rm -f conftest.
$ac_ext
5990 if test "x$ac_cv_prog_cxx_cxx98" = xno
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5993 printf "%s\n" "unsupported" >&6; }
5995 if test "x$ac_cv_prog_cxx_cxx98" = x
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5998 printf "%s\n" "none needed" >&6; }
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6001 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6002 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6004 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6005 ac_prog_cxx_stdcxx
=cxx98
6010 ac_cpp
='$CPP $CPPFLAGS'
6011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6017 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 printf %s
"checking for $ac_word... " >&6; }
6020 if test ${ac_cv_prog_CPPBIN+y}
6022 printf %s
"(cached) " >&6
6024 if test -n "$CPPBIN"; then
6025 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 case $as_dir in #(((
6034 *) as_dir
=$as_dir/ ;;
6036 for ac_exec_ext
in '' $ac_executable_extensions; do
6037 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6048 CPPBIN
=$ac_cv_prog_CPPBIN
6049 if test -n "$CPPBIN"; then
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6051 printf "%s\n" "$CPPBIN" >&6; }
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 printf "%s\n" "no" >&6; }
6059 if test -z "$ac_cv_prog_CPPBIN"; then
6060 ac_ct_CPPBIN
=$CPPBIN
6061 # Extract the first word of "cpp", so it can be a program name with args.
6062 set dummy cpp
; ac_word
=$2
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 printf %s
"checking for $ac_word... " >&6; }
6065 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6067 printf %s
"(cached) " >&6
6069 if test -n "$ac_ct_CPPBIN"; then
6070 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6076 case $as_dir in #(((
6079 *) as_dir
=$as_dir/ ;;
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6093 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6094 if test -n "$ac_ct_CPPBIN"; then
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6096 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 printf "%s\n" "no" >&6; }
6102 if test "x$ac_ct_CPPBIN" = x
; then
6105 case $cross_compiling:$ac_tool_warned in
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned
=yes ;;
6111 CPPBIN
=$ac_ct_CPPBIN
6114 CPPBIN
="$ac_cv_prog_CPPBIN"
6118 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6120 if test -n "$ac_tool_prefix"; then
6121 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6122 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 printf %s
"checking for $ac_word... " >&6; }
6125 if test ${ac_cv_prog_LD+y}
6127 printf %s
"(cached) " >&6
6129 if test -n "$LD"; then
6130 ac_cv_prog_LD
="$LD" # Let the user override the test.
6132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6136 case $as_dir in #(((
6139 *) as_dir
=$as_dir/ ;;
6141 for ac_exec_ext
in '' $ac_executable_extensions; do
6142 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6143 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6154 if test -n "$LD"; then
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6156 printf "%s\n" "$LD" >&6; }
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 printf "%s\n" "no" >&6; }
6164 if test -z "$ac_cv_prog_LD"; then
6166 # Extract the first word of "ld", so it can be a program name with args.
6167 set dummy ld
; ac_word
=$2
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 printf %s
"checking for $ac_word... " >&6; }
6170 if test ${ac_cv_prog_ac_ct_LD+y}
6172 printf %s
"(cached) " >&6
6174 if test -n "$ac_ct_LD"; then
6175 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 case $as_dir in #(((
6184 *) as_dir
=$as_dir/ ;;
6186 for ac_exec_ext
in '' $ac_executable_extensions; do
6187 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_LD
="ld"
6189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6198 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6199 if test -n "$ac_ct_LD"; then
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6201 printf "%s\n" "$ac_ct_LD" >&6; }
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 printf "%s\n" "no" >&6; }
6207 if test "x$ac_ct_LD" = x
; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned
=yes ;;
6225 with_fontconfig
=${with_fontconfig:-no}
6227 *-mingw32*|
*-cygwin*)
6228 enable_win16
=${enable_win16:-no}
6229 with_mingw
=${with_mingw:-no}
6236 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6242 printf %s
"checking whether $CC works... " >&6; }
6243 if test ${wine_cv_cc_m32+y}
6245 printf %s
"(cached) " >&6
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6258 if ac_fn_c_try_link
"$LINENO"
6264 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6265 conftest
$ac_exeext conftest.
$ac_ext
6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6268 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6269 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
6271 notice_platform
="32-bit "
6272 TARGETFLAGS
="$TARGETFLAGS -m32"
6273 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6274 export PKG_CONFIG_LIBDIR
6275 with_unwind
=${with_unwind:-no}
6280 notice_platform
="64-bit "
6281 TARGETFLAGS
="$TARGETFLAGS -m64"
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6286 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6287 if test ${wine_cv_thumb2+y}
6289 printf %s
"(cached) " >&6
6291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6297 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6302 if ac_fn_c_try_link
"$LINENO"
6308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6309 conftest
$ac_exeext conftest.
$ac_ext
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6312 printf "%s\n" "$wine_cv_thumb2" >&6; }
6313 if test x
"$wine_cv_thumb2" = xyes
6315 CFLAGS
="$CFLAGS -mthumb"
6316 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6318 CFLAGS
="$CFLAGS -marm"
6319 TARGETFLAGS
="$TARGETFLAGS -marm"
6321 case $with_float_abi in
6323 float_abi
=$with_float_abi ;;
6330 saved_CFLAGS
=$CFLAGS
6331 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6333 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6334 if test ${wine_cv_float_abi+y}
6336 printf %s
"(cached) " >&6
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6344 asm("vmrs r2,fpscr");
6349 if ac_fn_c_try_link
"$LINENO"
6351 wine_cv_float_abi
=yes
6353 wine_cv_float_abi
=no
6355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6356 conftest
$ac_exeext conftest.
$ac_ext
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6359 printf "%s\n" "$wine_cv_float_abi" >&6; }
6360 if test $wine_cv_float_abi = no
6363 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6365 CFLAGS
=$saved_CFLAGS
6369 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6370 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6373 with_unwind
=${with_unwind:-no}
6377 enable_win16
=${enable_win16:-i386}
6378 enable_win64
=${enable_win64:-no}
6379 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6380 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6381 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6383 enable_winetest
=${enable_winetest:-$enable_tests}
6385 if test "x$enable_win64" = "xyes"
6387 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6388 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6392 cygwin
*|mingw32
*) toolsext
=".exe"
6400 aarch64
*) HOST_ARCH
=aarch64
;;
6401 arm
*) HOST_ARCH
=arm
;;
6402 i
[3456789]86*) HOST_ARCH
=i386
;;
6403 x86_64
) HOST_ARCH
=x86_64
;;
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6408 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6409 if test ${wine_cv_toolsdir+y}
6411 printf %s
"(cached) " >&6
6413 wine_cv_toolsdir
="$with_wine_tools"
6414 if test -z "$with_wine_tools"; then
6415 if test "$cross_compiling" = "yes"; then
6416 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6417 elif test -n "$with_wine64"; then
6418 wine_cv_toolsdir
="$with_wine64"
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6423 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6424 if test -z "$wine_cv_toolsdir"; then
6425 wine_makedep
=tools
/makedep
$toolsext
6426 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6427 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6428 enable_tools
=${enable_tools:-no}
6429 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6431 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6433 toolsdir
=$wine_cv_toolsdir
6435 MAKEDEP
=$wine_makedep
6437 RUNTESTFLAGS
="-q -P wine"
6439 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'"
6442 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6444 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy
$ac_prog; ac_word
=$2
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 printf %s
"checking for $ac_word... " >&6; }
6453 if test ${ac_cv_prog_FLEX+y}
6455 printf %s
"(cached) " >&6
6457 if test -n "$FLEX"; then
6458 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6464 case $as_dir in #(((
6467 *) as_dir
=$as_dir/ ;;
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_FLEX
="$ac_prog"
6472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6481 FLEX
=$ac_cv_prog_FLEX
6482 if test -n "$FLEX"; then
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6484 printf "%s\n" "$FLEX" >&6; }
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 printf "%s\n" "no" >&6; }
6491 test -n "$FLEX" && break
6493 test -n "$FLEX" || FLEX
="none"
6495 if test "$FLEX" = "none"
6497 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6500 printf %s
"checking whether flex is recent enough... " >&6; }
6501 if test ${wine_cv_recent_flex+y}
6503 printf %s
"(cached) " >&6
6505 cat >conftest.l
<<EOF
6507 #include "prediluvian.h"
6511 if $FLEX -t conftest.l
>/dev
/null
2>&5
6513 wine_cv_recent_flex
=yes
6515 wine_cv_recent_flex
=no
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6519 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6520 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
6522 for ac_prog
in bison
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy
$ac_prog; ac_word
=$2
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s
"checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_BISON+y}
6530 printf %s
"(cached) " >&6
6532 if test -n "$BISON"; then
6533 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6539 case $as_dir in #(((
6542 *) as_dir
=$as_dir/ ;;
6544 for ac_exec_ext
in '' $ac_executable_extensions; do
6545 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_BISON
="$ac_prog"
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6556 BISON
=$ac_cv_prog_BISON
6557 if test -n "$BISON"; then
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6559 printf "%s\n" "$BISON" >&6; }
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
6566 test -n "$BISON" && break
6568 test -n "$BISON" || BISON
="none"
6570 if test "$BISON" = "none"
6572 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6575 printf %s
"checking whether bison is recent enough... " >&6; }
6576 if test ${wine_cv_recent_bison+y}
6578 printf %s
"(cached) " >&6
6580 cat >conftest.y
<<EOF
6581 %define parse.error verbose
6585 if $BISON conftest.y
>/dev
/null
2>&5
6587 wine_cv_recent_bison
=yes
6589 wine_cv_recent_bison
=no
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6593 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6594 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
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog
in ar gar
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s
"checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_AR+y}
6605 printf %s
"(cached) " >&6
6607 if test -n "$AR"; then
6608 ac_cv_prog_AR
="$AR" # Let the user override the test.
6610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6614 case $as_dir in #(((
6617 *) as_dir
=$as_dir/ ;;
6619 for ac_exec_ext
in '' $ac_executable_extensions; do
6620 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6632 if test -n "$AR"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6634 printf "%s\n" "$AR" >&6; }
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$AR" && break
6644 if test -z "$AR"; then
6646 for ac_prog
in ar gar
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy
$ac_prog; ac_word
=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s
"checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_AR+y}
6654 printf %s
"(cached) " >&6
6656 if test -n "$ac_ct_AR"; then
6657 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6663 case $as_dir in #(((
6666 *) as_dir
=$as_dir/ ;;
6668 for ac_exec_ext
in '' $ac_executable_extensions; do
6669 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_AR
="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6680 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6681 if test -n "$ac_ct_AR"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6683 printf "%s\n" "$ac_ct_AR" >&6; }
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_AR" && break
6693 if test "x$ac_ct_AR" = x
; then
6696 case $cross_compiling:$ac_tool_warned in
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned
=yes ;;
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6708 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 printf %s
"checking for $ac_word... " >&6; }
6711 if test ${ac_cv_prog_STRIP+y}
6713 printf %s
"(cached) " >&6
6715 if test -n "$STRIP"; then
6716 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 case $as_dir in #(((
6725 *) as_dir
=$as_dir/ ;;
6727 for ac_exec_ext
in '' $ac_executable_extensions; do
6728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6739 STRIP
=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6742 printf "%s\n" "$STRIP" >&6; }
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6750 if test -z "$ac_cv_prog_STRIP"; then
6752 # Extract the first word of "strip", so it can be a program name with args.
6753 set dummy strip
; ac_word
=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s
"checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_ac_ct_STRIP+y}
6758 printf %s
"(cached) " >&6
6760 if test -n "$ac_ct_STRIP"; then
6761 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 case $as_dir in #(((
6770 *) as_dir
=$as_dir/ ;;
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP
="strip"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6784 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 printf "%s\n" "$ac_ct_STRIP" >&6; }
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6805 STRIP
="$ac_cv_prog_STRIP"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s
"checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_RANLIB+y}
6815 printf %s
"(cached) " >&6
6817 if test -n "$RANLIB"; then
6818 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6824 case $as_dir in #(((
6827 *) as_dir
=$as_dir/ ;;
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6841 RANLIB
=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 printf "%s\n" "$RANLIB" >&6; }
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB
=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib
; ac_word
=$2
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 printf %s
"checking for $ac_word... " >&6; }
6858 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6860 printf %s
"(cached) " >&6
6862 if test -n "$ac_ct_RANLIB"; then
6863 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6869 case $as_dir in #(((
6872 *) as_dir
=$as_dir/ ;;
6874 for ac_exec_ext
in '' $ac_executable_extensions; do
6875 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6886 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6887 if test -n "$ac_ct_RANLIB"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6889 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 printf "%s\n" "no" >&6; }
6895 if test "x$ac_ct_RANLIB" = x
; then
6898 case $cross_compiling:$ac_tool_warned in
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned
=yes ;;
6904 RANLIB
=$ac_ct_RANLIB
6907 RANLIB
="$ac_cv_prog_RANLIB"
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6911 printf %s
"checking whether ln -s works... " >&6; }
6913 if test "$LN_S" = "ln -s"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6915 printf "%s\n" "yes" >&6; }
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6918 printf "%s\n" "no, using $LN_S" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6922 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6923 if test ${ac_cv_path_GREP+y}
6925 printf %s
"(cached) " >&6
6927 if test -z "$GREP"; then
6928 ac_path_GREP_found
=false
6929 # Loop through the user's path and test for each of PROGNAME-LIST
6930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6931 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6934 case $as_dir in #(((
6937 *) as_dir
=$as_dir/ ;;
6939 for ac_prog
in grep ggrep
6941 for ac_exec_ext
in '' $ac_executable_extensions; do
6942 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6943 as_fn_executable_p
"$ac_path_GREP" ||
continue
6944 # Check for GNU ac_path_GREP and select it if it is found.
6945 # Check for GNU $ac_path_GREP
6946 case `"$ac_path_GREP" --version 2>&1` in
6948 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6951 printf %s
0123456789 >"conftest.in"
6954 cat "conftest.in" "conftest.in" >"conftest.tmp"
6955 mv "conftest.tmp" "conftest.in"
6956 cp "conftest.in" "conftest.nl"
6957 printf "%s\n" 'GREP' >> "conftest.nl"
6958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6959 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6960 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6962 # Best one so far, save it but keep looking for a better one
6963 ac_cv_path_GREP
="$ac_path_GREP"
6964 ac_path_GREP_max
=$ac_count
6966 # 10*(2^10) chars as input seems more than enough
6967 test $ac_count -gt 10 && break
6969 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6972 $ac_path_GREP_found && break 3
6977 if test -z "$ac_cv_path_GREP"; then
6978 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6981 ac_cv_path_GREP
=$GREP
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6986 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6987 GREP
="$ac_cv_path_GREP"
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6991 printf %s
"checking for egrep... " >&6; }
6992 if test ${ac_cv_path_EGREP+y}
6994 printf %s
"(cached) " >&6
6996 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6997 then ac_cv_path_EGREP
="$GREP -E"
6999 if test -z "$EGREP"; then
7000 ac_path_EGREP_found
=false
7001 # Loop through the user's path and test for each of PROGNAME-LIST
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7003 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7006 case $as_dir in #(((
7009 *) as_dir
=$as_dir/ ;;
7011 for ac_prog
in egrep
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7015 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7016 # Check for GNU ac_path_EGREP and select it if it is found.
7017 # Check for GNU $ac_path_EGREP
7018 case `"$ac_path_EGREP" --version 2>&1` in
7020 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7023 printf %s
0123456789 >"conftest.in"
7026 cat "conftest.in" "conftest.in" >"conftest.tmp"
7027 mv "conftest.tmp" "conftest.in"
7028 cp "conftest.in" "conftest.nl"
7029 printf "%s\n" 'EGREP' >> "conftest.nl"
7030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7031 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7032 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7034 # Best one so far, save it but keep looking for a better one
7035 ac_cv_path_EGREP
="$ac_path_EGREP"
7036 ac_path_EGREP_max
=$ac_count
7038 # 10*(2^10) chars as input seems more than enough
7039 test $ac_count -gt 10 && break
7041 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7044 $ac_path_EGREP_found && break 3
7049 if test -z "$ac_cv_path_EGREP"; then
7050 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7053 ac_cv_path_EGREP
=$EGREP
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7059 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7060 EGREP
="$ac_cv_path_EGREP"
7063 # Extract the first word of "ldconfig", so it can be a program name with args.
7064 set dummy ldconfig
; ac_word
=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s
"checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_LDCONFIG+y}
7069 printf %s
"(cached) " >&6
7073 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 for as_dir
in /sbin
/usr
/sbin
$PATH
7080 case $as_dir in #(((
7083 *) as_dir
=$as_dir/ ;;
7085 for ac_exec_ext
in '' $ac_executable_extensions; do
7086 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7095 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7099 LDCONFIG
=$ac_cv_path_LDCONFIG
7100 if test -n "$LDCONFIG"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7102 printf "%s\n" "$LDCONFIG" >&6; }
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7109 for ac_prog
in msgfmt
7111 # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy
$ac_prog; ac_word
=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s
"checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_MSGFMT+y}
7117 printf %s
"(cached) " >&6
7119 if test -n "$MSGFMT"; then
7120 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7126 case $as_dir in #(((
7129 *) as_dir
=$as_dir/ ;;
7131 for ac_exec_ext
in '' $ac_executable_extensions; do
7132 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_MSGFMT
="$ac_prog"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7143 MSGFMT
=$ac_cv_prog_MSGFMT
7144 if test -n "$MSGFMT"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7146 printf "%s\n" "$MSGFMT" >&6; }
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7153 test -n "$MSGFMT" && break
7155 test -n "$MSGFMT" || MSGFMT
="false"
7157 if test ${ac_tool_prefix+y}
7159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7160 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s
"checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_PKG_CONFIG+y}
7165 printf %s
"(cached) " >&6
7167 if test -n "$PKG_CONFIG"; then
7168 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7174 case $as_dir in #(((
7177 *) as_dir
=$as_dir/ ;;
7179 for ac_exec_ext
in '' $ac_executable_extensions; do
7180 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7191 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7192 if test -n "$PKG_CONFIG"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7194 printf "%s\n" "$PKG_CONFIG" >&6; }
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7202 if ${ac_cv_prog_PKG_CONFIG:+false} :
7204 if test "x$cross_compiling" = xyes
7208 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7209 # Extract the first word of "pkg-config", so it can be a program name with args.
7210 set dummy pkg-config
; ac_word
=$2
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 printf %s
"checking for $ac_word... " >&6; }
7213 if test ${ac_cv_prog_PKG_CONFIG+y}
7215 printf %s
"(cached) " >&6
7217 if test -n "$PKG_CONFIG"; then
7218 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7224 case $as_dir in #(((
7227 *) as_dir
=$as_dir/ ;;
7229 for ac_exec_ext
in '' $ac_executable_extensions; do
7230 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_PKG_CONFIG
="pkg-config"
7232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7241 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7242 if test -n "$PKG_CONFIG"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7244 printf "%s\n" "$PKG_CONFIG" >&6; }
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 printf "%s\n" "no" >&6; }
7253 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7256 if test "x$enable_maintainer_mode" != "xyes"
7263 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7264 for ac_prog
in fontforge
7266 # Extract the first word of "$ac_prog", so it can be a program name with args.
7267 set dummy
$ac_prog; ac_word
=$2
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 printf %s
"checking for $ac_word... " >&6; }
7270 if test ${ac_cv_prog_FONTFORGE+y}
7272 printf %s
"(cached) " >&6
7274 if test -n "$FONTFORGE"; then
7275 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7281 case $as_dir in #(((
7284 *) as_dir
=$as_dir/ ;;
7286 for ac_exec_ext
in '' $ac_executable_extensions; do
7287 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_FONTFORGE
="$ac_prog"
7289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7298 FONTFORGE
=$ac_cv_prog_FONTFORGE
7299 if test -n "$FONTFORGE"; then
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7301 printf "%s\n" "$FONTFORGE" >&6; }
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 printf "%s\n" "no" >&6; }
7308 test -n "$FONTFORGE" && break
7310 test -n "$FONTFORGE" || FONTFORGE
="false"
7312 for ac_prog
in rsvg-convert rsvg
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy
$ac_prog; ac_word
=$2
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 printf %s
"checking for $ac_word... " >&6; }
7318 if test ${ac_cv_prog_RSVG+y}
7320 printf %s
"(cached) " >&6
7322 if test -n "$RSVG"; then
7323 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7329 case $as_dir in #(((
7332 *) as_dir
=$as_dir/ ;;
7334 for ac_exec_ext
in '' $ac_executable_extensions; do
7335 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_RSVG
="$ac_prog"
7337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7346 RSVG
=$ac_cv_prog_RSVG
7347 if test -n "$RSVG"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7349 printf "%s\n" "$RSVG" >&6; }
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7356 test -n "$RSVG" && break
7358 test -n "$RSVG" || RSVG
="false"
7360 for ac_prog
in convert
7362 # Extract the first word of "$ac_prog", so it can be a program name with args.
7363 set dummy
$ac_prog; ac_word
=$2
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printf %s
"checking for $ac_word... " >&6; }
7366 if test ${ac_cv_prog_CONVERT+y}
7368 printf %s
"(cached) " >&6
7370 if test -n "$CONVERT"; then
7371 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7377 case $as_dir in #(((
7380 *) as_dir
=$as_dir/ ;;
7382 for ac_exec_ext
in '' $ac_executable_extensions; do
7383 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_CONVERT
="$ac_prog"
7385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7394 CONVERT
=$ac_cv_prog_CONVERT
7395 if test -n "$CONVERT"; then
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7397 printf "%s\n" "$CONVERT" >&6; }
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printf "%s\n" "no" >&6; }
7404 test -n "$CONVERT" && break
7406 test -n "$CONVERT" || CONVERT
="false"
7408 for ac_prog
in icotool
7410 # Extract the first word of "$ac_prog", so it can be a program name with args.
7411 set dummy
$ac_prog; ac_word
=$2
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 printf %s
"checking for $ac_word... " >&6; }
7414 if test ${ac_cv_prog_ICOTOOL+y}
7416 printf %s
"(cached) " >&6
7418 if test -n "$ICOTOOL"; then
7419 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7425 case $as_dir in #(((
7428 *) as_dir
=$as_dir/ ;;
7430 for ac_exec_ext
in '' $ac_executable_extensions; do
7431 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ICOTOOL
="$ac_prog"
7433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7442 ICOTOOL
=$ac_cv_prog_ICOTOOL
7443 if test -n "$ICOTOOL"; then
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7445 printf "%s\n" "$ICOTOOL" >&6; }
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 printf "%s\n" "no" >&6; }
7452 test -n "$ICOTOOL" && break
7454 test -n "$ICOTOOL" || ICOTOOL
="false"
7456 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7457 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7459 if test "$CONVERT" = false
7461 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7464 printf %s
"checking for recent enough imagemagick... " >&6; }
7465 convert_version
=`convert --version | head -n1`
7466 if test "x$convert_version" != "x"
7468 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7475 if test "$CONVERT" = false
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7478 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7479 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7486 if test "$ICOTOOL" = false
7488 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7491 printf %s
"checking for recent enough icotool... " >&6; }
7492 icotool_version
=`icotool --version | head -n1`
7493 if test "x$icotool_version" != "x"
7495 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7500 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7503 if test "$ICOTOOL" = false
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7506 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7520 test "x$with_gettext" != xno || MSGFMT
=false
7521 if test "$MSGFMT" != "false"
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7524 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7525 if test ${wine_cv_msgfmt_contexts+y}
7527 printf %s
"(cached) " >&6
7529 cat >conftest.po
<<EOF
7535 if $MSGFMT -o /dev
/null conftest.po
2>&5
7537 wine_cv_msgfmt_contexts
=yes
7539 wine_cv_msgfmt_contexts
=no
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7543 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7544 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7546 if test "$MSGFMT" = false
7548 case "x$with_gettext" in
7549 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7551 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7552 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7554 enable_po
=${enable_po:-no}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7559 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7560 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7562 printf %s
"(cached) " >&6
7564 ac_check_lib_save_LIBS
=$LIBS
7566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7572 char i386_set_ldt ();
7576 return i386_set_ldt ();
7581 if ac_fn_c_try_link
"$LINENO"
7583 ac_cv_lib_i386_i386_set_ldt
=yes
7585 ac_cv_lib_i386_i386_set_ldt
=no
7587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7588 conftest
$ac_exeext conftest.
$ac_ext
7589 LIBS
=$ac_check_lib_save_LIBS
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7592 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7593 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7604 # Check whether --enable-largefile was given.
7605 if test ${enable_largefile+y}
7607 enableval
=$enable_largefile;
7610 if test "$enable_largefile" != no
; then
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7613 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7614 if test ${ac_cv_sys_largefile_CC+y}
7616 printf %s
"(cached) " >&6
7618 ac_cv_sys_largefile_CC
=no
7619 if test "$GCC" != yes; then
7622 # IRIX 6.2 and later do not support large files by default,
7623 # so use the C compiler's -n32 option if that helps.
7624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 /* Check that off_t can represent 2**63 - 1 correctly.
7628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7629 since some C++ compilers masquerading as C compilers
7630 incorrectly reject 9223372036854775807. */
7631 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7633 && LARGE_OFF_T % 2147483647 == 1)
7643 if ac_fn_c_try_compile
"$LINENO"
7647 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7649 if ac_fn_c_try_compile
"$LINENO"
7651 ac_cv_sys_largefile_CC
=' -n32'; break
7653 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7657 rm -f conftest.
$ac_ext
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7661 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7662 if test "$ac_cv_sys_largefile_CC" != no
; then
7663 CC
=$CC$ac_cv_sys_largefile_CC
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7667 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7668 if test ${ac_cv_sys_file_offset_bits+y}
7670 printf %s
"(cached) " >&6
7673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7692 if ac_fn_c_try_compile
"$LINENO"
7694 ac_cv_sys_file_offset_bits
=no
; break
7696 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #define _FILE_OFFSET_BITS 64
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7717 if ac_fn_c_try_compile
"$LINENO"
7719 ac_cv_sys_file_offset_bits
=64; break
7721 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7722 ac_cv_sys_file_offset_bits
=unknown
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7727 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7728 case $ac_cv_sys_file_offset_bits in #(
7731 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7735 if test $ac_cv_sys_file_offset_bits = unknown
; then
7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7737 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7738 if test ${ac_cv_sys_large_files+y}
7740 printf %s
"(cached) " >&6
7743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7762 if ac_fn_c_try_compile
"$LINENO"
7764 ac_cv_sys_large_files
=no
; break
7766 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #define _LARGE_FILES 1
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7787 if ac_fn_c_try_compile
"$LINENO"
7789 ac_cv_sys_large_files
=1; break
7791 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7792 ac_cv_sys_large_files
=unknown
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7797 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7798 case $ac_cv_sys_large_files in #(
7801 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7809 ac_header
= ac_cache
=
7810 for ac_item
in $ac_header_c_list
7812 if test $ac_cache; then
7813 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7814 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7815 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7817 ac_header
= ac_cache
=
7818 elif test $ac_header; then
7832 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7835 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7838 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_CL_cl_h" = xyes
7841 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_EGL_egl_h" = xyes
7847 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7853 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_arpa_inet_h" = xyes
7859 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7865 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_asm_types_h" = xyes
7871 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_asm_user_h" = xyes
7877 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_elf_h" = xyes
7883 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_float_h" = xyes
7889 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_gettext_po_h" = xyes
7895 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_libproc_h" = xyes
7901 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_link_h" = xyes
7907 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7913 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_filter_h" = xyes
7919 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7925 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7931 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_input_h" = xyes
7937 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7943 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_major_h" = xyes
7949 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_param_h" = xyes
7955 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_serial_h" = xyes
7961 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_types_h" = xyes
7967 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7973 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_lwp_h" = xyes
7979 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7985 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_mach_mach_h" = xyes
7991 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_machine_cpu_h" = xyes
7997 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8003 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_mntent_h" = xyes
8009 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netdb_h" = xyes
8015 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_netinet_in_h" = xyes
8021 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8027 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8033 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8039 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8045 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_port_h" = xyes
8051 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_pthread_h" = xyes
8057 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_pwd_h" = xyes
8063 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_sched_h" = xyes
8069 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8075 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8081 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_scsi_sg_h" = xyes
8087 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_stdint_h" = xyes
8093 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_attr_h" = xyes
8099 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_auxv_h" = xyes
8105 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_cdio_h" = xyes
8111 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_epoll_h" = xyes
8117 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_event_h" = xyes
8123 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_extattr_h" = xyes
8129 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_filio_h" = xyes
8135 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_ipc_h" = xyes
8141 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_link_h" = xyes
8147 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_modem_h" = xyes
8153 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_mtio_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_param_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_prctl_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_queue_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_random_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_resource_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_shm_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_signal_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_sockio_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_strtio_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_syscall_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_times_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_uio_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_user_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_utsname_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_vnode_h" = xyes
8279 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_xattr_h" = xyes
8285 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_syscall_h" = xyes
8291 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_utime_h" = xyes
8297 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8303 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8309 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8317 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8321 if test $ac_cv_header_sys_mkdev_h = no
; then
8322 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8326 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8332 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8333 if test ${ac_cv_header_stat_broken+y}
8335 printf %s
"(cached) " >&6
8337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 #include <sys/types.h>
8340 #include <sys/stat.h>
8342 #if defined S_ISBLK && defined S_IFDIR
8343 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8346 #if defined S_ISBLK && defined S_IFCHR
8347 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8350 #if defined S_ISLNK && defined S_IFREG
8351 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8354 #if defined S_ISSOCK && defined S_IFREG
8355 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8359 if ac_fn_c_try_compile
"$LINENO"
8361 ac_cv_header_stat_broken
=no
8363 ac_cv_header_stat_broken
=yes
8365 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8368 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8369 if test $ac_cv_header_stat_broken = yes; then
8371 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8377 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8378 #ifdef HAVE_SYS_PARAM_H
8379 # include <sys/param.h>
8382 if test "x$ac_cv_header_sys_conf_h" = xyes
8384 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8388 #ifdef HAVE_SYS_PARAM_H
8389 # include <sys/param.h>
8392 if test "x$ac_cv_header_sys_mount_h" = xyes
8394 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8397 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8398 #ifdef HAVE_SYS_PARAM_H
8399 # include <sys/param.h>
8402 if test "x$ac_cv_header_sys_statfs_h" = xyes
8404 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8407 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8408 #ifdef HAVE_SYS_PARAM_H
8409 # include <sys/param.h>
8412 if test "x$ac_cv_header_sys_user_h" = xyes
8414 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8418 #ifdef HAVE_SYS_PARAM_H
8419 # include <sys/param.h>
8422 if test "x$ac_cv_header_sys_vfs_h" = xyes
8424 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8429 saved_sysctl_h_CFLAGS
=$CFLAGS
8430 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8431 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8436 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8438 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8442 CFLAGS
=$saved_sysctl_h_CFLAGS
8444 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8445 #include <sys/socket.h>
8446 #ifdef HAVE_SYS_SOCKETVAR_H
8447 # include <sys/socketvar.h>
8449 #ifdef HAVE_NET_ROUTE_H
8450 # include <net/route.h>
8452 #ifdef HAVE_NETINET_IN_H
8453 # include <netinet/in.h>
8455 #ifdef HAVE_NETINET_IN_SYSTM_H
8456 # include <netinet/in_systm.h>
8458 #ifdef HAVE_NET_IF_H
8459 # include <net/if.h>
8461 #ifdef HAVE_NETINET_IP_H
8462 # include <netinet/ip.h>
8465 if test "x$ac_cv_header_netinet_ip_h" = xyes
8467 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8491 if test "x$ac_cv_header_net_if_h" = xyes
8493 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8517 if test "x$ac_cv_header_net_if_arp_h" = xyes
8519 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8543 if test "x$ac_cv_header_net_if_dl_h" = xyes
8545 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8569 if test "x$ac_cv_header_net_if_types_h" = xyes
8571 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8595 if test "x$ac_cv_header_net_route_h" = xyes
8597 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8621 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8623 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8647 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8649 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8673 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8675 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8699 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8701 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8725 if test "x$ac_cv_header_netinet_udp_h" = xyes
8727 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8751 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8753 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8777 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8779 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8783 #include <sys/socket.h>
8784 #ifdef HAVE_SYS_SOCKETVAR_H
8785 # include <sys/socketvar.h>
8787 #ifdef HAVE_NET_ROUTE_H
8788 # include <net/route.h>
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8796 #ifdef HAVE_NET_IF_H
8797 # include <net/if.h>
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8803 if test "x$ac_cv_header_sys_un_h" = xyes
8805 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8821 #ifdef HAVE_NETINET_IP_H
8822 # include <netinet/ip.h>
8824 #ifdef HAVE_NETINET_IP_VAR_H
8825 # include <netinet/ip_var.h>
8827 #ifdef HAVE_NETINET_IP_ICMP_H
8828 # include <netinet/ip_icmp.h>
8830 #ifdef HAVE_NETINET_UDP_H
8831 # include <netinet/udp.h>
8833 #ifdef HAVE_NETINET_TCP_H
8834 # include <netinet/tcp.h>
8837 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8839 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8856 #ifdef HAVE_NETINET_IP_VAR_H
8857 # include <netinet/ip_var.h>
8859 #ifdef HAVE_NETINET_IP_ICMP_H
8860 # include <netinet/ip_icmp.h>
8862 #ifdef HAVE_NETINET_UDP_H
8863 # include <netinet/udp.h>
8865 #ifdef HAVE_NETINET_TCP_H
8866 # include <netinet/tcp.h>
8869 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8871 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8874 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8875 #include <sys/socket.h>
8876 #ifdef HAVE_SYS_SOCKETVAR_H
8877 # include <sys/socketvar.h>
8879 #ifdef HAVE_NETINET_IN_H
8880 # include <netinet/in.h>
8882 #ifdef HAVE_NETINET_IN_SYSTM_H
8883 # include <netinet/in_systm.h>
8885 #ifdef HAVE_NETINET_IP_H
8886 # include <netinet/ip.h>
8888 #ifdef HAVE_NETINET_IP_VAR_H
8889 # include <netinet/ip_var.h>
8891 #ifdef HAVE_NETINET_IP_ICMP_H
8892 # include <netinet/ip_icmp.h>
8894 #ifdef HAVE_NETINET_UDP_H
8895 # include <netinet/udp.h>
8897 #ifdef HAVE_NETINET_TCP_H
8898 # include <netinet/tcp.h>
8901 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8903 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8906 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8907 #include <sys/socket.h>
8908 #ifdef HAVE_SYS_SOCKETVAR_H
8909 # include <sys/socketvar.h>
8911 #ifdef HAVE_NETINET_IN_H
8912 # include <netinet/in.h>
8914 #ifdef HAVE_NETINET_IN_SYSTM_H
8915 # include <netinet/in_systm.h>
8917 #ifdef HAVE_NETINET_IP_H
8918 # include <netinet/ip.h>
8920 #ifdef HAVE_NETINET_IP_VAR_H
8921 # include <netinet/ip_var.h>
8923 #ifdef HAVE_NETINET_IP_ICMP_H
8924 # include <netinet/ip_icmp.h>
8926 #ifdef HAVE_NETINET_UDP_H
8927 # include <netinet/udp.h>
8929 #ifdef HAVE_NETINET_TCP_H
8930 # include <netinet/tcp.h>
8933 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8935 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_ASM_TYPES_H
8943 # include <asm/types.h>
8945 #ifdef HAVE_LINUX_TYPES_H
8946 # include <linux/types.h>
8949 if test "x$ac_cv_header_linux_ipx_h" = xyes
8951 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_ASM_TYPES_H
8957 # include <asm/types.h>
8959 #ifdef HAVE_LINUX_TYPES_H
8960 # include <linux/types.h>
8963 if test "x$ac_cv_header_linux_irda_h" = xyes
8965 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8977 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8979 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_NETINET_IN_H
8987 # include <netinet/in.h>
8989 #ifdef HAVE_ARPA_NAMESER_H
8990 # include <arpa/nameser.h>
8993 if test "x$ac_cv_header_resolv_h" = xyes
8995 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9002 if test "x$ac_cv_header_ifaddrs_h" = xyes
9004 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9009 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9011 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9013 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9019 #ifdef HAVE_SYS_UCONTEXT_H
9020 #include <sys/ucontext.h>
9023 if test "x$ac_cv_header_sys_thr_h" = xyes
9025 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9031 #include <pthread.h>
9034 if test "x$ac_cv_header_pthread_np_h" = xyes
9036 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9042 #include <sys/types.h>
9043 #ifdef HAVE_ASM_TYPES_H
9044 #include <asm/types.h>
9047 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9049 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9055 #include <sys/param.h>
9057 #include <sys/socket.h>
9058 #ifdef HAVE_SYS_QUEUE_H
9059 #include <sys/queue.h>
9062 if test "x$ac_cv_header_libprocstat_h" = xyes
9064 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9069 if test "x$ac_cv_header_sys_xattr_h" = xyes
9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9072 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9073 if test ${wine_cv_xattr_extra_args+y}
9075 printf %s
"(cached) " >&6
9077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 #include <sys/xattr.h>
9083 getxattr("", "", "", 0, 0, 0);
9088 if ac_fn_c_try_compile
"$LINENO"
9090 wine_cv_xattr_extra_args
=yes
9092 wine_cv_xattr_extra_args
=no
9094 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9097 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9098 test $wine_cv_xattr_extra_args != yes ||
9099 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9112 UNIXDLLFLAGS
="-fPIC"
9114 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9120 WINELOADER_LDFLAGS
=""
9122 WINEPRELOADER_LDFLAGS
=""
9127 # Extract the first word of "ldd", so it can be a program name with args.
9128 set dummy ldd
; ac_word
=$2
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130 printf %s
"checking for $ac_word... " >&6; }
9131 if test ${ac_cv_path_LDD+y}
9133 printf %s
"(cached) " >&6
9137 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9141 as_dummy
="/sbin:/usr/sbin:$PATH"
9142 for as_dir
in $as_dummy
9145 case $as_dir in #(((
9148 *) as_dir
=$as_dir/ ;;
9150 for ac_exec_ext
in '' $ac_executable_extensions; do
9151 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9152 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9160 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9165 if test -n "$LDD"; then
9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9167 printf "%s\n" "$LDD" >&6; }
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 printf "%s\n" "no" >&6; }
9174 if test -n "$ac_tool_prefix"; then
9175 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9176 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9178 printf %s
"checking for $ac_word... " >&6; }
9179 if test ${ac_cv_prog_OTOOL+y}
9181 printf %s
"(cached) " >&6
9183 if test -n "$OTOOL"; then
9184 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9190 case $as_dir in #(((
9193 *) as_dir
=$as_dir/ ;;
9195 for ac_exec_ext
in '' $ac_executable_extensions; do
9196 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9197 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9207 OTOOL
=$ac_cv_prog_OTOOL
9208 if test -n "$OTOOL"; then
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9210 printf "%s\n" "$OTOOL" >&6; }
9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213 printf "%s\n" "no" >&6; }
9218 if test -z "$ac_cv_prog_OTOOL"; then
9220 # Extract the first word of "otool", so it can be a program name with args.
9221 set dummy otool
; ac_word
=$2
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 printf %s
"checking for $ac_word... " >&6; }
9224 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9226 printf %s
"(cached) " >&6
9228 if test -n "$ac_ct_OTOOL"; then
9229 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9235 case $as_dir in #(((
9238 *) as_dir
=$as_dir/ ;;
9240 for ac_exec_ext
in '' $ac_executable_extensions; do
9241 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9242 ac_cv_prog_ac_ct_OTOOL
="otool"
9243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9252 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9253 if test -n "$ac_ct_OTOOL"; then
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9255 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 printf "%s\n" "no" >&6; }
9261 if test "x$ac_ct_OTOOL" = x
; then
9264 case $cross_compiling:$ac_tool_warned in
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9267 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9268 ac_tool_warned
=yes ;;
9273 OTOOL
="$ac_cv_prog_OTOOL"
9276 if test -n "$ac_tool_prefix"; then
9277 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9278 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9280 printf %s
"checking for $ac_word... " >&6; }
9281 if test ${ac_cv_prog_READELF+y}
9283 printf %s
"(cached) " >&6
9285 if test -n "$READELF"; then
9286 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9292 case $as_dir in #(((
9295 *) as_dir
=$as_dir/ ;;
9297 for ac_exec_ext
in '' $ac_executable_extensions; do
9298 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9309 READELF
=$ac_cv_prog_READELF
9310 if test -n "$READELF"; then
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9312 printf "%s\n" "$READELF" >&6; }
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 printf "%s\n" "no" >&6; }
9320 if test -z "$ac_cv_prog_READELF"; then
9321 ac_ct_READELF
=$READELF
9322 # Extract the first word of "readelf", so it can be a program name with args.
9323 set dummy readelf
; ac_word
=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s
"checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_ac_ct_READELF+y}
9328 printf %s
"(cached) " >&6
9330 if test -n "$ac_ct_READELF"; then
9331 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9337 case $as_dir in #(((
9340 *) as_dir
=$as_dir/ ;;
9342 for ac_exec_ext
in '' $ac_executable_extensions; do
9343 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_ac_ct_READELF
="readelf"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9354 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9355 if test -n "$ac_ct_READELF"; then
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9357 printf "%s\n" "$ac_ct_READELF" >&6; }
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 printf "%s\n" "no" >&6; }
9363 if test "x$ac_ct_READELF" = x
; then
9366 case $cross_compiling:$ac_tool_warned in
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9369 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9370 ac_tool_warned
=yes ;;
9372 READELF
=$ac_ct_READELF
9375 READELF
="$ac_cv_prog_READELF"
9383 CONFIGURE_TARGETS
=""
9386 wine_fn_config_makefile
()
9388 as_fn_append SUBDIRS
" \\$as_nl $1"
9391 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9392 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9393 if test -n "$PE_ARCHS"
9397 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9400 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9405 wine_fn_config_symlink
()
9408 as_fn_append wine_rules
"
9410 @./config.status \$@"
9411 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9418 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9420 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9421 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9422 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9424 printf %s
"(cached) " >&6
9426 ac_wine_try_cflags_saved
=$CFLAGS
9427 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9432 if ac_fn_c_try_link
"$LINENO"
9434 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9436 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9438 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9439 conftest
$ac_exeext conftest.
$ac_ext
9440 CFLAGS
=$ac_wine_try_cflags_saved
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9443 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9444 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9446 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9449 enable_loader
=${enable_loader:-no}
9450 enable_server
=${enable_server:-no}
9451 with_x
=${with_x:-no}
9452 with_pthread
=${with_pthread:-no}
9457 DLLFLAGS
="$DLLFLAGS -fPIC"
9459 enable_winemac_drv
=${enable_winemac_drv:-yes}
9460 CARBON_LIBS
="-framework Carbon"
9462 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9464 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9466 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9468 METAL_LIBS
="-framework Metal"
9470 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9472 CORESERVICES_LIBS
="-framework CoreServices"
9474 APPKIT_LIBS
="-framework AppKit"
9476 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9478 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9481 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9483 wine_can_build_preloader
=yes
9484 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"
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9486 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9487 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9489 printf %s
"(cached) " >&6
9491 ac_wine_try_cflags_saved
=$CFLAGS
9492 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9497 if ac_fn_c_try_link
"$LINENO"
9499 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9501 ac_cv_cflags__Wl__no_new_main__e__main
=no
9503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9504 conftest
$ac_exeext conftest.
$ac_ext
9505 CFLAGS
=$ac_wine_try_cflags_saved
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9508 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9509 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9511 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9512 { 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
9513 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9514 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9516 printf %s
"(cached) " >&6
9518 ac_wine_try_cflags_saved
=$CFLAGS
9519 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9524 if ac_fn_c_try_link
"$LINENO"
9526 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9528 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 CFLAGS
=$ac_wine_try_cflags_saved
9534 { 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
9535 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9536 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9538 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9540 wine_can_build_preloader
=no
9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9544 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9545 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9547 printf %s
"(cached) " >&6
9549 ac_wine_try_cflags_saved
=$CFLAGS
9550 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9553 int main(int argc, char **argv) { return 0; }
9555 if ac_fn_c_try_link
"$LINENO"
9557 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9559 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 CFLAGS
=$ac_wine_try_cflags_saved
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9566 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9567 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9569 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9571 wine_can_build_preloader
=no
9574 if test "$wine_can_build_preloader" = "yes"
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9577 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9578 if test ${ac_cv_cflags__Wl__no_pie+y}
9580 printf %s
"(cached) " >&6
9582 ac_wine_try_cflags_saved
=$CFLAGS
9583 CFLAGS
="$CFLAGS -Wl,-no_pie"
9584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9586 int main(int argc, char **argv) { return 0; }
9588 if ac_fn_c_try_link
"$LINENO"
9590 ac_cv_cflags__Wl__no_pie
=yes
9592 ac_cv_cflags__Wl__no_pie
=no
9594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9595 conftest
$ac_exeext conftest.
$ac_ext
9596 CFLAGS
=$ac_wine_try_cflags_saved
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9599 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9600 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9602 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9604 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9606 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9609 if test "x$with_coreaudio" != "xno";
9611 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9613 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9615 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9617 OPENCL_LIBS
="-framework OpenCL"
9619 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9623 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9625 ac_cpp
='$OBJCPP $CPPFLAGS'
9626 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9627 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9628 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9631 ac_cpp
='$OBJCPP $CPPFLAGS'
9632 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9633 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9634 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9635 if test -n "$ac_tool_prefix"; then
9636 for ac_prog
in gcc objcc objc cc CC clang
9638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9639 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 printf %s
"checking for $ac_word... " >&6; }
9642 if test ${ac_cv_prog_OBJC+y}
9644 printf %s
"(cached) " >&6
9646 if test -n "$OBJC"; then
9647 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9653 case $as_dir in #(((
9656 *) as_dir
=$as_dir/ ;;
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9670 OBJC
=$ac_cv_prog_OBJC
9671 if test -n "$OBJC"; then
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9673 printf "%s\n" "$OBJC" >&6; }
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 printf "%s\n" "no" >&6; }
9680 test -n "$OBJC" && break
9683 if test -z "$OBJC"; then
9685 for ac_prog
in gcc objcc objc cc CC clang
9687 # Extract the first word of "$ac_prog", so it can be a program name with args.
9688 set dummy
$ac_prog; ac_word
=$2
9689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9690 printf %s
"checking for $ac_word... " >&6; }
9691 if test ${ac_cv_prog_ac_ct_OBJC+y}
9693 printf %s
"(cached) " >&6
9695 if test -n "$ac_ct_OBJC"; then
9696 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9702 case $as_dir in #(((
9705 *) as_dir
=$as_dir/ ;;
9707 for ac_exec_ext
in '' $ac_executable_extensions; do
9708 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9709 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9719 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9720 if test -n "$ac_ct_OBJC"; then
9721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9722 printf "%s\n" "$ac_ct_OBJC" >&6; }
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9725 printf "%s\n" "no" >&6; }
9729 test -n "$ac_ct_OBJC" && break
9732 if test "x$ac_ct_OBJC" = x
; then
9735 case $cross_compiling:$ac_tool_warned in
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9738 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9739 ac_tool_warned
=yes ;;
9745 # Provide some information about the compiler.
9746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9749 for ac_option
in --version -v -V -qversion; do
9750 { { ac_try
="$ac_compiler $ac_option >&5"
9752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9753 *) ac_try_echo=$ac_try;;
9755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9756 printf "%s\n" "$ac_try_echo"; } >&5
9757 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9759 if test -s conftest.err; then
9761 ... rest of stderr output deleted ...
9762 10q' conftest.err >conftest.er1
9763 cat conftest.er1 >&5
9765 rm -f conftest.er1 conftest.err
9766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9767 test $ac_status = 0; }
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9771 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9772 if test ${ac_cv_objc_compiler_gnu+y}
9774 printf %s "(cached) " >&6
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9790 if ac_fn_objc_try_compile "$LINENO"
9796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9797 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9801 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9802 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9804 if test $ac_compiler_gnu = yes; then
9809 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9810 ac_save_OBJCFLAGS=$OBJCFLAGS
9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9812 printf %s "checking whether $OBJC accepts -g... " >&6; }
9813 if test ${ac_cv_prog_objc_g+y}
9815 printf %s "(cached) " >&6
9817 ac_save_objc_werror_flag=$ac_objc_werror_flag
9818 ac_objc_werror_flag=yes
9819 ac_cv_prog_objc_g=no
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9832 if ac_fn_objc_try_compile "$LINENO"
9834 ac_cv_prog_objc_g=yes
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9848 if ac_fn_objc_try_compile "$LINENO"
9852 ac_objc_werror_flag=$ac_save_objc_werror_flag
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9865 if ac_fn_objc_try_compile "$LINENO"
9867 ac_cv_prog_objc_g=yes
9869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9874 ac_objc_werror_flag=$ac_save_objc_werror_flag
9876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9877 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9878 if test $ac_test_OBJCFLAGS; then
9879 OBJCFLAGS=$ac_save_OBJCFLAGS
9880 elif test $ac_cv_prog_objc_g = yes; then
9881 if test "$GOBJC" = yes; then
9887 if test "$GOBJC" = yes; then
9894 ac_cpp='$OBJCPP $CPPFLAGS'
9895 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9896 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9897 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 #include <Metal/Metal.h>
9906 id<MTLDevice> device; device.registryID;
9911 if ac_fn_objc_try_compile "$LINENO"
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9914 printf "%s\n" "yes" >&6; }
9916 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9920 printf "%s\n" "no" >&6; }
9922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9924 ac_cpp='$CPP $CPPFLAGS'
9925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9930 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9931 WINELOADER_DEPENDS="wine_info.plist"
9937 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9939 DLLFLAGS="$DLLFLAGS -fPIC"
9941 LDEXECFLAGS="-Wl,-pie"
9942 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9944 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9945 if test ${ac_cv_cflags__Wl__z_defs+y}
9947 printf %s "(cached) " >&6
9949 ac_wine_try_cflags_saved=$CFLAGS
9950 CFLAGS="$CFLAGS -Wl,-z,defs"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9953 int main(int argc, char **argv) { return 0; }
9955 if ac_fn_c_try_link "$LINENO"
9957 ac_cv_cflags__Wl__z_defs=yes
9959 ac_cv_cflags__Wl__z_defs=no
9961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9962 conftest$ac_exeext conftest.$ac_ext
9963 CFLAGS=$ac_wine_try_cflags_saved
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9966 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9967 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9969 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9972 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9973 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9975 printf %s "(cached) " >&6
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int main(int argc, char **argv) { return 0; }
9983 if ac_fn_c_try_link "$LINENO"
9985 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9987 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9994 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9995 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9997 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9999 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10002 printf %s "checking for -lEGL... " >&6; }
10003 if test ${ac_cv_lib_soname_EGL+y}
10005 printf %s "(cached) " >&6
10007 ac_check_soname_save_LIBS=$LIBS
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 char eglGetProcAddress ();
10019 return eglGetProcAddress ();
10024 if ac_fn_c_try_link "$LINENO"
10027 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if ${ac_cv_lib_soname_EGL:+false} :
10032 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10036 ac_cv_lib_soname_EGL=
10038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_soname_save_LIBS
10042 if ${ac_cv_lib_soname_EGL:+false} :
10044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10045 printf "%s\n" "not found" >&6; }
10048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10049 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10051 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10056 printf %s "checking for -lGLESv2... " >&6; }
10057 if test ${ac_cv_lib_soname_GLESv2+y}
10059 printf %s "(cached) " >&6
10061 ac_check_soname_save_LIBS=$LIBS
10062 LIBS="-lGLESv2 $LIBS"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10078 if ac_fn_c_try_link "$LINENO"
10081 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10082 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'` ;;
10083 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10084 if ${ac_cv_lib_soname_GLESv2:+false} :
10086 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10090 ac_cv_lib_soname_GLESv2=
10092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_soname_save_LIBS
10096 if ${ac_cv_lib_soname_GLESv2:+false} :
10098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10099 printf "%s\n" "not found" >&6; }
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10103 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10105 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10110 if test "x$exec_prefix" = xNONE
10113 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10114 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10115 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10116 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10123 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10125 test "$ac_cv_sys_file_offset_bits" = 64 &&
10126 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10130 DLLFLAGS="$DLLFLAGS -fno-PIC"
10131 LDDLLFLAGS="-fno-PIC"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10133 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10134 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10136 printf %s "(cached) " >&6
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int main(int argc, char **argv) { return 0; }
10144 if ac_fn_c_try_link "$LINENO"
10146 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10148 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10155 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10156 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10158 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10162 DLLFLAGS="$DLLFLAGS -fPIC"
10163 LDDLLFLAGS="-fPIC" ;;
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10167 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10168 if test ${ac_cv_cflags__Wl__z_defs+y}
10170 printf %s "(cached) " >&6
10172 ac_wine_try_cflags_saved=$CFLAGS
10173 CFLAGS="$CFLAGS -Wl,-z,defs"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10176 int main(int argc, char **argv) { return 0; }
10178 if ac_fn_c_try_link "$LINENO"
10180 ac_cv_cflags__Wl__z_defs=yes
10182 ac_cv_cflags__Wl__z_defs=no
10184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10185 conftest$ac_exeext conftest.$ac_ext
10186 CFLAGS=$ac_wine_try_cflags_saved
10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10189 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10190 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10192 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10195 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10196 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10198 printf %s "(cached) " >&6
10200 ac_wine_try_cflags_saved=$CFLAGS
10201 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int main(int argc, char **argv) { return 0; }
10206 if ac_fn_c_try_link "$LINENO"
10208 ac_cv_cflags__Wl___export_dynamic=yes
10210 ac_cv_cflags__Wl___export_dynamic=no
10212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10217 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10218 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10220 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10222 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10226 as_fn_append WINELOADER_LDFLAGS " -pie"
10229 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10232 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10233 if test ${ac_cv_cflags__static_pie+y}
10235 printf %s "(cached) " >&6
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 CFLAGS="$CFLAGS -static-pie"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10243 if ac_fn_c_try_link "$LINENO"
10245 ac_cv_cflags__static_pie=yes
10247 ac_cv_cflags__static_pie=no
10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10254 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10255 if test "x$ac_cv_cflags__static_pie" = xyes
10257 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10259 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10268 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10269 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10271 printf %s "(cached) " >&6
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10279 if ac_fn_c_try_link "$LINENO"
10281 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10283 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10290 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10291 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10293 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10296 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10297 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10299 printf %s "(cached) " >&6
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int main(int argc, char **argv) { return 0; }
10307 if ac_fn_c_try_link "$LINENO"
10309 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10311 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10314 conftest$ac_exeext conftest.$ac_ext
10315 CFLAGS=$ac_wine_try_cflags_saved
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10318 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10319 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10321 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10326 as_fn_append WINELOADER_LDFLAGS " -pie"
10334 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10335 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10336 enable_winemac_drv=${enable_winemac_drv:-no}
10341 if test ${enable_archs+y}
10343 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10346 set x $enable_archs
10352 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10353 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10357 if test "x$with_mingw" != xno
10359 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10363 for wine_arch in $cross_archs
10365 case "x$with_mingw" in
10366 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10368 if eval \${${wine_arch}_CC:+false} :
10372 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10374 # Extract the first word of "$ac_prog", so it can be a program name with args.
10375 set dummy $ac_prog; ac_word=$2
10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 printf %s "checking for $ac_word... " >&6; }
10378 if test ${ac_cv_prog_aarch64_CC+y}
10380 printf %s "(cached) " >&6
10382 if test -n "$aarch64_CC"; then
10383 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10389 case $as_dir in #(((
10392 *) as_dir=$as_dir/ ;;
10394 for ac_exec_ext in '' $ac_executable_extensions; do
10395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10396 ac_cv_prog_aarch64_CC="$ac_prog"
10397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10406 aarch64_CC=$ac_cv_prog_aarch64_CC
10407 if test -n "$aarch64_CC"; then
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10409 printf "%s\n" "$aarch64_CC" >&6; }
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 printf "%s\n" "no" >&6; }
10416 test -n "$aarch64_CC" && break
10418 test -n "$aarch64_CC" || aarch64_CC="false"
10422 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10424 # Extract the first word of "$ac_prog", so it can be a program name with args.
10425 set dummy $ac_prog; ac_word=$2
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 printf %s "checking for $ac_word... " >&6; }
10428 if test ${ac_cv_prog_arm_CC+y}
10430 printf %s "(cached) " >&6
10432 if test -n "$arm_CC"; then
10433 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 case $as_dir in #(((
10442 *) as_dir=$as_dir/ ;;
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_arm_CC="$ac_prog"
10447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456 arm_CC=$ac_cv_prog_arm_CC
10457 if test -n "$arm_CC"; then
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10459 printf "%s\n" "$arm_CC" >&6; }
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 printf "%s\n" "no" >&6; }
10466 test -n "$arm_CC" && break
10468 test -n "$arm_CC" || arm_CC="false"
10472 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 "
10473 for ac_prog in $ac_prefix_list clang
10475 # Extract the first word of "$ac_prog", so it can be a program name with args.
10476 set dummy $ac_prog; ac_word=$2
10477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 printf %s "checking for $ac_word... " >&6; }
10479 if test ${ac_cv_prog_i386_CC+y}
10481 printf %s "(cached) " >&6
10483 if test -n "$i386_CC"; then
10484 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10490 case $as_dir in #(((
10493 *) as_dir=$as_dir/ ;;
10495 for ac_exec_ext in '' $ac_executable_extensions; do
10496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10497 ac_cv_prog_i386_CC="$ac_prog"
10498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10507 i386_CC=$ac_cv_prog_i386_CC
10508 if test -n "$i386_CC"; then
10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10510 printf "%s\n" "$i386_CC" >&6; }
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10513 printf "%s\n" "no" >&6; }
10517 test -n "$i386_CC" && break
10519 test -n "$i386_CC" || i386_CC="false"
10523 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10524 for ac_prog in $ac_prefix_list clang
10526 # Extract the first word of "$ac_prog", so it can be a program name with args.
10527 set dummy $ac_prog; ac_word=$2
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10529 printf %s "checking for $ac_word... " >&6; }
10530 if test ${ac_cv_prog_x86_64_CC+y}
10532 printf %s "(cached) " >&6
10534 if test -n "$x86_64_CC"; then
10535 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10541 case $as_dir in #(((
10544 *) as_dir=$as_dir/ ;;
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_x86_64_CC="$ac_prog"
10549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10558 x86_64_CC=$ac_cv_prog_x86_64_CC
10559 if test -n "$x86_64_CC"; then
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10561 printf "%s\n" "$x86_64_CC" >&6; }
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10564 printf "%s\n" "no" >&6; }
10568 test -n "$x86_64_CC" && break
10570 test -n "$x86_64_CC" || x86_64_CC="false"
10576 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10582 saved_CFLAGS=$CFLAGS
10583 saved_LDFLAGS=$LDFLAGS
10585 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10586 LDFLAGS=$CROSSLDFLAGS
10587 eval CC=\$${wine_arch}_CC
10588 eval ${wine_arch}_CFLAGS=\$CFLAGS
10589 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10590 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10593 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10596 printf %s "checking whether $CC works... " >&6; }
10597 if eval test \${$as_wine_cv_crosscc+y}
10599 printf %s "(cached) " >&6
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10612 if ac_fn_c_try_compile "$LINENO"
10614 eval "$as_wine_cv_crosscc=yes"
10616 eval "$as_wine_cv_crosscc=no"
10618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10620 eval ac_res=\$$as_wine_cv_crosscc
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10622 printf "%s\n" "$ac_res" >&6; }
10623 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10627 while test $# -ge 1
10630 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10631 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10636 llvm_target=$target
10637 if test -z "$llvm_target"
10640 i386) llvm_target=i686-windows ;;
10641 arm) llvm_target=armv7-windows ;;
10642 *) llvm_target=$wine_arch-windows ;;
10645 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10646 case $llvm_target in
10647 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10649 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10651 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10652 if eval test \${$as_ac_var+y}
10654 printf %s "(cached) " >&6
10656 ac_wine_try_cflags_saved=$CFLAGS
10657 ac_wine_try_cflags_saved_exeext=$ac_exeext
10658 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10662 int __cdecl mainCRTStartup(void) { return 0; }
10664 if ac_fn_c_try_link "$LINENO"
10666 eval "$as_ac_var=yes"
10668 eval "$as_ac_var=no"
10670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10671 conftest$ac_exeext conftest.$ac_ext
10672 CFLAGS=$ac_wine_try_cflags_saved
10673 ac_exeext=$ac_wine_try_cflags_saved_exeext
10675 eval ac_res=\$$as_ac_var
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10677 printf "%s\n" "$ac_res" >&6; }
10678 if eval test \"x\$"$as_ac_var"\" = x"yes"
10680 target=$llvm_target
10681 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10682 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10683 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10685 eval "${wine_arch}_TARGET=\$target"
10689 if test -z "$target"
10692 CFLAGS=$saved_CFLAGS
10693 LDFLAGS=$saved_LDFLAGS
10697 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10700 printf %s "checking for $CC option to enable C99 features... " >&6; }
10701 if eval test \${$as_wine_cv_crosscc_c99+y}
10703 printf %s "(cached) " >&6
10705 eval "$as_wine_cv_crosscc_c99=no"
10706 for arg in '' '-std=gnu99' '-D__STDC__'
10708 test -z "$arg" || CC="$CC $arg"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 $ac_c_conftest_c99_program
10713 if ac_fn_c_try_compile "$LINENO"
10715 eval "$as_wine_cv_crosscc_c99=\$arg"
10717 eval "$as_wine_cv_crosscc_c99=no"
10719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10720 eval CC=\$${wine_arch}_CC
10721 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10730 eval res=\$$as_wine_cv_crosscc_c99
10733 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10734 printf "%s\n" "none needed" >&6; } ;;
10735 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10736 printf "%s\n" "unsupported" >&6; }
10738 CFLAGS=$saved_CFLAGS
10739 LDFLAGS=$saved_LDFLAGS
10742 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10743 printf "%s\n" "$res" >&6; }
10744 as_fn_append ${wine_arch}_CC " $res" ;;
10747 as_fn_append PE_ARCHS " $wine_arch"
10748 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10750 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10751 if eval test \${$as_ac_var+y}
10753 printf %s "(cached) " >&6
10755 ac_wine_try_cflags_saved=$CFLAGS
10756 ac_wine_try_cflags_saved_exeext=$ac_exeext
10757 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10761 int __cdecl mainCRTStartup(void) { return 0; }
10763 if ac_fn_c_try_link "$LINENO"
10765 eval "$as_ac_var=yes"
10767 eval "$as_ac_var=no"
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 eval ac_res=\$$as_ac_var
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10776 printf "%s\n" "$ac_res" >&6; }
10777 if eval test \"x\$"$as_ac_var"\" = x"yes"
10779 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10781 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10783 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10784 if eval test \${$as_ac_var+y}
10786 printf %s "(cached) " >&6
10788 ac_wine_try_cflags_saved=$CFLAGS
10789 ac_wine_try_cflags_saved_exeext=$ac_exeext
10790 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 int __cdecl mainCRTStartup(void) { return 0; }
10796 if ac_fn_c_try_link "$LINENO"
10798 eval "$as_ac_var=yes"
10800 eval "$as_ac_var=no"
10802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 CFLAGS=$ac_wine_try_cflags_saved
10805 ac_exeext=$ac_wine_try_cflags_saved_exeext
10807 eval ac_res=\$$as_ac_var
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10809 printf "%s\n" "$ac_res" >&6; }
10810 if eval test \"x\$"$as_ac_var"\" = x"yes"
10812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10814 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10816 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10817 if eval test \${$as_ac_var+y}
10819 printf %s "(cached) " >&6
10821 ac_wine_try_cflags_saved=$CFLAGS
10822 ac_wine_try_cflags_saved_exeext=$ac_exeext
10823 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 int __cdecl mainCRTStartup(void) { return 0; }
10829 if ac_fn_c_try_link "$LINENO"
10831 eval "$as_ac_var=yes"
10833 eval "$as_ac_var=no"
10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10836 conftest$ac_exeext conftest.$ac_ext
10837 CFLAGS=$ac_wine_try_cflags_saved
10838 ac_exeext=$ac_wine_try_cflags_saved_exeext
10840 eval ac_res=\$$as_ac_var
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10842 printf "%s\n" "$ac_res" >&6; }
10843 if eval test \"x\$"$as_ac_var"\" = x"yes"
10845 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10847 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10849 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10850 if eval test \${$as_ac_var+y}
10852 printf %s "(cached) " >&6
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_exeext=$ac_exeext
10856 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 int __cdecl mainCRTStartup(void) { return 0; }
10862 if ac_fn_c_try_link "$LINENO"
10864 eval "$as_ac_var=yes"
10866 eval "$as_ac_var=no"
10868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10869 conftest$ac_exeext conftest.$ac_ext
10870 CFLAGS=$ac_wine_try_cflags_saved
10871 ac_exeext=$ac_wine_try_cflags_saved_exeext
10873 eval ac_res=\$$as_ac_var
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10875 printf "%s\n" "$ac_res" >&6; }
10876 if eval test \"x\$"$as_ac_var"\" = x"yes"
10878 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10880 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10882 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10883 if eval test \${$as_ac_var+y}
10885 printf %s "(cached) " >&6
10887 ac_wine_try_cflags_saved=$CFLAGS
10888 ac_wine_try_cflags_saved_exeext=$ac_exeext
10889 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 int __cdecl mainCRTStartup(void) { return 0; }
10895 if ac_fn_c_try_link "$LINENO"
10897 eval "$as_ac_var=yes"
10899 eval "$as_ac_var=no"
10901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10902 conftest$ac_exeext conftest.$ac_ext
10903 CFLAGS=$ac_wine_try_cflags_saved
10904 ac_exeext=$ac_wine_try_cflags_saved_exeext
10906 eval ac_res=\$$as_ac_var
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10908 printf "%s\n" "$ac_res" >&6; }
10909 if eval test \"x\$"$as_ac_var"\" = x"yes"
10911 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10913 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10915 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10916 if eval test \${$as_ac_var+y}
10918 printf %s "(cached) " >&6
10920 ac_wine_try_cflags_saved=$CFLAGS
10921 ac_wine_try_cflags_saved_exeext=$ac_exeext
10922 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926 int __cdecl mainCRTStartup(void) { return 0; }
10928 if ac_fn_c_try_link "$LINENO"
10930 eval "$as_ac_var=yes"
10932 eval "$as_ac_var=no"
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 eval ac_res=\$$as_ac_var
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10941 printf "%s\n" "$ac_res" >&6; }
10942 if eval test \"x\$"$as_ac_var"\" = x"yes"
10944 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10948 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10949 if eval test \${$as_ac_var+y}
10951 printf %s "(cached) " >&6
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10961 if ac_fn_c_try_link "$LINENO"
10963 eval "$as_ac_var=yes"
10965 eval "$as_ac_var=no"
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 ac_exeext=$ac_wine_try_cflags_saved_exeext
10972 eval ac_res=\$$as_ac_var
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10974 printf "%s\n" "$ac_res" >&6; }
10975 if eval test \"x\$"$as_ac_var"\" = x"yes"
10977 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10979 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10981 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10982 if eval test \${$as_ac_var+y}
10984 printf %s "(cached) " >&6
10986 ac_wine_try_cflags_saved=$CFLAGS
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992 int __cdecl mainCRTStartup(void) { return 0; }
10994 if ac_fn_c_try_link "$LINENO"
10996 eval "$as_ac_var=yes"
10998 eval "$as_ac_var=no"
11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11001 conftest$ac_exeext conftest.$ac_ext
11002 CFLAGS=$ac_wine_try_cflags_saved
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 eval ac_res=\$$as_ac_var
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11007 printf "%s\n" "$ac_res" >&6; }
11008 if eval test \"x\$"$as_ac_var"\" = x"yes"
11010 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11012 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11014 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11015 if eval test \${$as_ac_var+y}
11017 printf %s "(cached) " >&6
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_exeext=$ac_exeext
11021 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11027 if ac_fn_c_try_link "$LINENO"
11029 eval "$as_ac_var=yes"
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 eval ac_res=\$$as_ac_var
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11040 printf "%s\n" "$ac_res" >&6; }
11041 if eval test \"x\$"$as_ac_var"\" = x"yes"
11043 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11045 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11047 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11048 if eval test \${$as_ac_var+y}
11050 printf %s "(cached) " >&6
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11060 if ac_fn_c_try_link "$LINENO"
11062 eval "$as_ac_var=yes"
11064 eval "$as_ac_var=no"
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 eval ac_res=\$$as_ac_var
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11073 printf "%s\n" "$ac_res" >&6; }
11074 if eval test \"x\$"$as_ac_var"\" = x"yes"
11076 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11078 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11080 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11081 if eval test \${$as_ac_var+y}
11083 printf %s "(cached) " >&6
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11093 if ac_fn_c_try_link "$LINENO"
11095 eval "$as_ac_var=yes"
11097 eval "$as_ac_var=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 eval ac_res=\$$as_ac_var
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11106 printf "%s\n" "$ac_res" >&6; }
11107 if eval test \"x\$"$as_ac_var"\" = x"yes"
11109 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11111 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11113 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11114 if eval test \${$as_ac_var+y}
11116 printf %s "(cached) " >&6
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11126 if ac_fn_c_try_link "$LINENO"
11128 eval "$as_ac_var=yes"
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11146 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11147 if eval test \${$as_ac_var+y}
11149 printf %s "(cached) " >&6
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11159 if ac_fn_c_try_link "$LINENO"
11161 eval "$as_ac_var=yes"
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11179 printf %s "checking whether $CC supports -Wvla... " >&6; }
11180 if eval test \${$as_ac_var+y}
11182 printf %s "(cached) " >&6
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11192 if ac_fn_c_try_link "$LINENO"
11194 eval "$as_ac_var=yes"
11196 eval "$as_ac_var=no"
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 ac_exeext=$ac_wine_try_cflags_saved_exeext
11203 eval ac_res=\$$as_ac_var
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11205 printf "%s\n" "$ac_res" >&6; }
11206 if eval test \"x\$"$as_ac_var"\" = x"yes"
11208 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11210 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11212 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11213 if eval test \${$as_ac_var+y}
11215 printf %s "(cached) " >&6
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 int __cdecl mainCRTStartup(void) { return 0; }
11225 if ac_fn_c_try_link "$LINENO"
11227 eval "$as_ac_var=yes"
11229 eval "$as_ac_var=no"
11231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 conftest$ac_exeext conftest.$ac_ext
11233 CFLAGS=$ac_wine_try_cflags_saved
11234 ac_exeext=$ac_wine_try_cflags_saved_exeext
11236 eval ac_res=\$$as_ac_var
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11238 printf "%s\n" "$ac_res" >&6; }
11239 if eval test \"x\$"$as_ac_var"\" = x"yes"
11241 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11243 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11245 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11246 if eval test \${$as_ac_var+y}
11248 printf %s "(cached) " >&6
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_exeext=$ac_exeext
11252 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 int __cdecl mainCRTStartup(void) { return 0; }
11258 if ac_fn_c_try_link "$LINENO"
11260 eval "$as_ac_var=yes"
11262 eval "$as_ac_var=no"
11264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11265 conftest$ac_exeext conftest.$ac_ext
11266 CFLAGS=$ac_wine_try_cflags_saved
11267 ac_exeext=$ac_wine_try_cflags_saved_exeext
11269 eval ac_res=\$$as_ac_var
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11271 printf "%s\n" "$ac_res" >&6; }
11272 if eval test \"x\$"$as_ac_var"\" = x"yes"
11274 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11276 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11278 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11279 if eval test \${$as_ac_var+y}
11281 printf %s "(cached) " >&6
11283 ac_wine_try_cflags_saved=$CFLAGS
11284 ac_wine_try_cflags_saved_exeext=$ac_exeext
11285 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 int __cdecl mainCRTStartup(void) { return 0; }
11291 if ac_fn_c_try_link "$LINENO"
11293 eval "$as_ac_var=yes"
11295 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11298 conftest$ac_exeext conftest.$ac_ext
11299 CFLAGS=$ac_wine_try_cflags_saved
11300 ac_exeext=$ac_wine_try_cflags_saved_exeext
11302 eval ac_res=\$$as_ac_var
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11304 printf "%s\n" "$ac_res" >&6; }
11305 if eval test \"x\$"$as_ac_var"\" = x"yes"
11307 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11309 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11311 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11312 if eval test \${$as_ac_var+y}
11314 printf %s "(cached) " >&6
11316 ac_wine_try_cflags_saved=$CFLAGS
11317 ac_wine_try_cflags_saved_exeext=$ac_exeext
11318 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int __cdecl mainCRTStartup(void) { return 0; }
11324 if ac_fn_c_try_link "$LINENO"
11326 eval "$as_ac_var=yes"
11328 eval "$as_ac_var=no"
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11331 conftest$ac_exeext conftest.$ac_ext
11332 CFLAGS=$ac_wine_try_cflags_saved
11333 ac_exeext=$ac_wine_try_cflags_saved_exeext
11335 eval ac_res=\$$as_ac_var
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11337 printf "%s\n" "$ac_res" >&6; }
11338 if eval test \"x\$"$as_ac_var"\" = x"yes"
11340 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11344 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11346 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11347 if eval test \${$as_ac_var+y}
11349 printf %s "(cached) " >&6
11351 ac_wine_try_cflags_saved=$CFLAGS
11352 ac_wine_try_cflags_saved_exeext=$ac_exeext
11353 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 int __cdecl mainCRTStartup(void) { return 0; }
11359 if ac_fn_c_try_link "$LINENO"
11361 eval "$as_ac_var=yes"
11363 eval "$as_ac_var=no"
11365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11366 conftest$ac_exeext conftest.$ac_ext
11367 CFLAGS=$ac_wine_try_cflags_saved
11368 ac_exeext=$ac_wine_try_cflags_saved_exeext
11370 eval ac_res=\$$as_ac_var
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11372 printf "%s\n" "$ac_res" >&6; }
11373 if eval test \"x\$"$as_ac_var"\" = x"yes"
11375 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11377 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11379 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11380 if eval test \${$as_ac_var+y}
11382 printf %s "(cached) " >&6
11384 ac_wine_try_cflags_saved=$CFLAGS
11385 ac_wine_try_cflags_saved_exeext=$ac_exeext
11386 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 int __cdecl mainCRTStartup(void) { return 0; }
11392 if ac_fn_c_try_link "$LINENO"
11394 eval "$as_ac_var=yes"
11396 eval "$as_ac_var=no"
11398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11399 conftest$ac_exeext conftest.$ac_ext
11400 CFLAGS=$ac_wine_try_cflags_saved
11401 ac_exeext=$ac_wine_try_cflags_saved_exeext
11403 eval ac_res=\$$as_ac_var
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11405 printf "%s\n" "$ac_res" >&6; }
11406 if eval test \"x\$"$as_ac_var"\" = x"yes"
11408 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11410 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11412 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11413 if eval test \${$as_ac_var+y}
11415 printf %s "(cached) " >&6
11417 ac_wine_try_cflags_saved=$CFLAGS
11418 ac_wine_try_cflags_saved_exeext=$ac_exeext
11419 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423 int __cdecl mainCRTStartup(void) { return 0; }
11425 if ac_fn_c_try_link "$LINENO"
11427 eval "$as_ac_var=yes"
11429 eval "$as_ac_var=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11432 conftest$ac_exeext conftest.$ac_ext
11433 CFLAGS=$ac_wine_try_cflags_saved
11434 ac_exeext=$ac_wine_try_cflags_saved_exeext
11436 eval ac_res=\$$as_ac_var
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11438 printf "%s\n" "$ac_res" >&6; }
11439 if eval test \"x\$"$as_ac_var"\" = x"yes"
11441 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11443 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11445 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11446 if eval test \${$as_ac_var+y}
11448 printf %s "(cached) " >&6
11450 ac_wine_try_cflags_saved=$CFLAGS
11451 ac_wine_try_cflags_saved_exeext=$ac_exeext
11452 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 int __cdecl mainCRTStartup(void) { return 0; }
11458 if ac_fn_c_try_link "$LINENO"
11460 eval "$as_ac_var=yes"
11462 eval "$as_ac_var=no"
11464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11465 conftest$ac_exeext conftest.$ac_ext
11466 CFLAGS=$ac_wine_try_cflags_saved
11467 ac_exeext=$ac_wine_try_cflags_saved_exeext
11469 eval ac_res=\$$as_ac_var
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11471 printf "%s\n" "$ac_res" >&6; }
11472 if eval test \"x\$"$as_ac_var"\" = x"yes"
11474 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11476 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11478 printf %s "checking whether $CC supports -mcx16... " >&6; }
11479 if eval test \${$as_ac_var+y}
11481 printf %s "(cached) " >&6
11483 ac_wine_try_cflags_saved=$CFLAGS
11484 ac_wine_try_cflags_saved_exeext=$ac_exeext
11485 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11489 int __cdecl mainCRTStartup(void) { return 0; }
11491 if ac_fn_c_try_link "$LINENO"
11493 eval "$as_ac_var=yes"
11495 eval "$as_ac_var=no"
11497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11498 conftest$ac_exeext conftest.$ac_ext
11499 CFLAGS=$ac_wine_try_cflags_saved
11500 ac_exeext=$ac_wine_try_cflags_saved_exeext
11502 eval ac_res=\$$as_ac_var
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11504 printf "%s\n" "$ac_res" >&6; }
11505 if eval test \"x\$"$as_ac_var"\" = x"yes"
11507 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11509 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11511 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11512 if eval test \${$as_ac_var+y}
11514 printf %s "(cached) " >&6
11516 ac_wine_try_cflags_saved=$CFLAGS
11517 ac_wine_try_cflags_saved_exeext=$ac_exeext
11518 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 int __cdecl mainCRTStartup(void) { return 0; }
11524 if ac_fn_c_try_link "$LINENO"
11526 eval "$as_ac_var=yes"
11528 eval "$as_ac_var=no"
11530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11531 conftest$ac_exeext conftest.$ac_ext
11532 CFLAGS=$ac_wine_try_cflags_saved
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 eval ac_res=\$$as_ac_var
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11537 printf "%s\n" "$ac_res" >&6; }
11538 if eval test \"x\$"$as_ac_var"\" = x"yes"
11540 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11544 wine_crossdebug=$CROSSDEBUG
11545 if test -z "$wine_crossdebug"
11547 for ac_flag in $CFLAGS; do
11549 -gdwarf*) wine_crossdebug=dwarf ;;
11550 -gcodeview) wine_crossdebug=pdb ;;
11551 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11556 ac_debug_format_seen=""
11557 for ac_flag in $CFLAGS; do
11559 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11562 if test "x$ac_debug_format_seen" = x
11564 case $wine_crossdebug in
11565 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11567 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11568 if eval test \${$as_ac_var+y}
11570 printf %s "(cached) " >&6
11572 ac_wine_try_cflags_saved=$CFLAGS
11573 ac_wine_try_cflags_saved_exeext=$ac_exeext
11574 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11580 if ac_fn_c_try_link "$LINENO"
11582 eval "$as_ac_var=yes"
11584 eval "$as_ac_var=no"
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 ac_exeext=$ac_wine_try_cflags_saved_exeext
11591 eval ac_res=\$$as_ac_var
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11593 printf "%s\n" "$ac_res" >&6; }
11594 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11598 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11600 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11601 if eval test \${$as_ac_var+y}
11603 printf %s "(cached) " >&6
11605 ac_wine_try_cflags_saved=$CFLAGS
11606 ac_wine_try_cflags_saved_exeext=$ac_exeext
11607 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11611 int __cdecl mainCRTStartup(void) { return 0; }
11613 if ac_fn_c_try_link "$LINENO"
11615 eval "$as_ac_var=yes"
11617 eval "$as_ac_var=no"
11619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11620 conftest$ac_exeext conftest.$ac_ext
11621 CFLAGS=$ac_wine_try_cflags_saved
11622 ac_exeext=$ac_wine_try_cflags_saved_exeext
11624 eval ac_res=\$$as_ac_var
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11626 printf "%s\n" "$ac_res" >&6; }
11627 if eval test \"x\$"$as_ac_var"\" = x"yes"
11629 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11633 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11635 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11637 printf %s "checking whether $CC supports -Werror... " >&6; }
11638 if eval test \${$as_ac_var+y}
11640 printf %s "(cached) " >&6
11642 ac_wine_try_cflags_saved=$CFLAGS
11643 ac_wine_try_cflags_saved_exeext=$ac_exeext
11644 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 int __cdecl mainCRTStartup(void) { return 0; }
11650 if ac_fn_c_try_link "$LINENO"
11652 eval "$as_ac_var=yes"
11654 eval "$as_ac_var=no"
11656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11657 conftest$ac_exeext conftest.$ac_ext
11658 CFLAGS=$ac_wine_try_cflags_saved
11659 ac_exeext=$ac_wine_try_cflags_saved_exeext
11661 eval ac_res=\$$as_ac_var
11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11663 printf "%s\n" "$ac_res" >&6; }
11664 if eval test \"x\$"$as_ac_var"\" = x"yes"
11666 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11668 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11670 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11671 if eval test \${$as_ac_var+y}
11673 printf %s "(cached) " >&6
11675 ac_wine_try_cflags_saved=$CFLAGS
11676 ac_wine_try_cflags_saved_exeext=$ac_exeext
11677 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11681 int __cdecl mainCRTStartup(void) { return 0; }
11683 if ac_fn_c_try_link "$LINENO"
11685 eval "$as_ac_var=yes"
11687 eval "$as_ac_var=no"
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11690 conftest$ac_exeext conftest.$ac_ext
11691 CFLAGS=$ac_wine_try_cflags_saved
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 eval ac_res=\$$as_ac_var
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11696 printf "%s\n" "$ac_res" >&6; }
11697 if eval test \"x\$"$as_ac_var"\" = x"yes"
11699 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11700 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11704 CFLAGS=$saved_CFLAGS
11705 LDFLAGS=$saved_LDFLAGS
11708 if test $HOST_ARCH = aarch64
11710 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
11713 if test "x$PE_ARCHS" = "x"
11715 case "x$with_mingw" in
11716 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11718 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11719 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11726 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11728 case "$host_cpu" in
11730 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11732 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11734 for ac_prog in $ac_prefix_list
11736 # Extract the first word of "$ac_prog", so it can be a program name with args.
11737 set dummy $ac_prog; ac_word=$2
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11739 printf %s "checking for $ac_word... " >&6; }
11740 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11742 printf %s "(cached) " >&6
11744 if test -n "$MINGW_PKG_CONFIG"; then
11745 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11748 for as_dir in $PATH
11751 case $as_dir in #(((
11754 *) as_dir=$as_dir/ ;;
11756 for ac_exec_ext in '' $ac_executable_extensions; do
11757 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11758 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11768 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11769 if test -n "$MINGW_PKG_CONFIG"; then
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11771 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 printf "%s\n" "no" >&6; }
11778 test -n "$MINGW_PKG_CONFIG" && break
11780 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11782 if ${FAUDIO_PE_CFLAGS:+false} :
11784 if test ${MINGW_PKG_CONFIG+y}
11786 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11789 if ${FAUDIO_PE_LIBS:+false} :
11791 if test ${MINGW_PKG_CONFIG+y}
11793 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11796 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11797 ac_save_CPPFLAGS=$CPPFLAGS
11798 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11800 printf %s "checking for MinGW FAudio.h... " >&6; }
11801 if test ${ac_cv_mingw_header_FAudio_h+y}
11803 printf %s "(cached) " >&6
11805 ac_wine_check_headers_saved_cc=$CC
11806 ac_wine_check_headers_saved_exeext=$ac_exeext
11807 eval CC=\$${wine_arch}_CC
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 #include <FAudio.h>
11821 if ac_fn_c_try_compile "$LINENO"
11823 ac_cv_mingw_header_FAudio_h=yes
11825 ac_cv_mingw_header_FAudio_h=no
11827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11828 CC=$ac_wine_check_headers_saved_cc
11829 ac_exeext=$ac_wine_check_headers_saved_exeext
11831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11832 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11833 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11836 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11837 if test ${ac_cv_mingw_lib_FAudio+y}
11839 printf %s "(cached) " >&6
11841 ac_wine_check_headers_saved_cc=$CC
11842 ac_wine_check_headers_saved_exeext=$ac_exeext
11843 ac_wine_check_headers_saved_libs=$LIBS
11844 eval CC=\$${wine_arch}_CC
11846 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 char FAudio_CommitOperationSet ();
11857 return FAudio_CommitOperationSet ();
11862 if ac_fn_c_try_link "$LINENO"
11864 ac_cv_mingw_lib_FAudio=yes
11866 ac_cv_mingw_lib_FAudio=no
11868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11869 conftest$ac_exeext conftest.$ac_ext
11870 CC=$ac_wine_check_headers_saved_cc
11871 ac_exeext=$ac_wine_check_headers_saved_exeext
11872 LIBS=$ac_wine_check_headers_saved_libs
11874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11875 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11876 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11880 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11883 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11885 CPPFLAGS=$ac_save_CPPFLAGS
11887 if test "x$FAUDIO_PE_LIBS" = "x"
11889 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11892 if ${JPEG_PE_CFLAGS:+false} :
11894 if test ${MINGW_PKG_CONFIG+y}
11896 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11899 if ${JPEG_PE_LIBS:+false} :
11901 if test ${MINGW_PKG_CONFIG+y}
11903 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11907 ac_save_CPPFLAGS=$CPPFLAGS
11908 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11910 printf %s "checking for MinGW jpeglib.h... " >&6; }
11911 if test ${ac_cv_mingw_header_jpeglib_h+y}
11913 printf %s "(cached) " >&6
11915 ac_wine_check_headers_saved_cc=$CC
11916 ac_wine_check_headers_saved_exeext=$ac_exeext
11917 eval CC=\$${wine_arch}_CC
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #include <stddef.h>
11923 #include <jpeglib.h>
11932 if ac_fn_c_try_compile "$LINENO"
11934 ac_cv_mingw_header_jpeglib_h=yes
11936 ac_cv_mingw_header_jpeglib_h=no
11938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11939 CC=$ac_wine_check_headers_saved_cc
11940 ac_exeext=$ac_wine_check_headers_saved_exeext
11942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11943 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11944 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11947 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11948 if test ${ac_cv_mingw_lib_jpeg+y}
11950 printf %s "(cached) " >&6
11952 ac_wine_check_headers_saved_cc=$CC
11953 ac_wine_check_headers_saved_exeext=$ac_exeext
11954 ac_wine_check_headers_saved_libs=$LIBS
11955 eval CC=\$${wine_arch}_CC
11957 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11964 char jpeg_start_decompress ();
11968 return jpeg_start_decompress ();
11973 if ac_fn_c_try_link "$LINENO"
11975 ac_cv_mingw_lib_jpeg=yes
11977 ac_cv_mingw_lib_jpeg=no
11979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11980 conftest$ac_exeext conftest.$ac_ext
11981 CC=$ac_wine_check_headers_saved_cc
11982 ac_exeext=$ac_wine_check_headers_saved_exeext
11983 LIBS=$ac_wine_check_headers_saved_libs
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11986 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11987 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11991 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11994 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11996 CPPFLAGS=$ac_save_CPPFLAGS
11998 if test "x$JPEG_PE_LIBS" = "x"
12000 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12003 if ${LCMS2_PE_CFLAGS:+false} :
12005 if test ${MINGW_PKG_CONFIG+y}
12007 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12010 if ${LCMS2_PE_LIBS:+false} :
12012 if test ${MINGW_PKG_CONFIG+y}
12014 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12017 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12018 ac_save_CPPFLAGS=$CPPFLAGS
12019 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12021 printf %s "checking for MinGW lcms2.h... " >&6; }
12022 if test ${ac_cv_mingw_header_lcms2_h+y}
12024 printf %s "(cached) " >&6
12026 ac_wine_check_headers_saved_cc=$CC
12027 ac_wine_check_headers_saved_exeext=$ac_exeext
12028 eval CC=\$${wine_arch}_CC
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12042 if ac_fn_c_try_compile "$LINENO"
12044 ac_cv_mingw_header_lcms2_h=yes
12046 ac_cv_mingw_header_lcms2_h=no
12048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12049 CC=$ac_wine_check_headers_saved_cc
12050 ac_exeext=$ac_wine_check_headers_saved_exeext
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12053 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12054 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12057 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12058 if test ${ac_cv_mingw_lib_lcms2+y}
12060 printf %s "(cached) " >&6
12062 ac_wine_check_headers_saved_cc=$CC
12063 ac_wine_check_headers_saved_exeext=$ac_exeext
12064 ac_wine_check_headers_saved_libs=$LIBS
12065 eval CC=\$${wine_arch}_CC
12067 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 char cmsOpenProfileFromFile ();
12078 return cmsOpenProfileFromFile ();
12083 if ac_fn_c_try_link "$LINENO"
12085 ac_cv_mingw_lib_lcms2=yes
12087 ac_cv_mingw_lib_lcms2=no
12089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12090 conftest$ac_exeext conftest.$ac_ext
12091 CC=$ac_wine_check_headers_saved_cc
12092 ac_exeext=$ac_wine_check_headers_saved_exeext
12093 LIBS=$ac_wine_check_headers_saved_libs
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12096 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12097 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12101 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12104 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12106 CPPFLAGS=$ac_save_CPPFLAGS
12108 if test "x$LCMS2_PE_LIBS" = "x"
12110 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12113 if ${MPG123_PE_CFLAGS:+false} :
12115 if test ${MINGW_PKG_CONFIG+y}
12117 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12120 if ${MPG123_PE_LIBS:+false} :
12122 if test ${MINGW_PKG_CONFIG+y}
12124 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12127 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12128 ac_save_CPPFLAGS=$CPPFLAGS
12129 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12131 printf %s "checking for MinGW mpg123.h... " >&6; }
12132 if test ${ac_cv_mingw_header_mpg123_h+y}
12134 printf %s "(cached) " >&6
12136 ac_wine_check_headers_saved_cc=$CC
12137 ac_wine_check_headers_saved_exeext=$ac_exeext
12138 eval CC=\$${wine_arch}_CC
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 #include <mpg123.h>
12152 if ac_fn_c_try_compile "$LINENO"
12154 ac_cv_mingw_header_mpg123_h=yes
12156 ac_cv_mingw_header_mpg123_h=no
12158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12159 CC=$ac_wine_check_headers_saved_cc
12160 ac_exeext=$ac_wine_check_headers_saved_exeext
12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12163 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12164 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12167 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12168 if test ${ac_cv_mingw_lib_mpg123+y}
12170 printf %s "(cached) " >&6
12172 ac_wine_check_headers_saved_cc=$CC
12173 ac_wine_check_headers_saved_exeext=$ac_exeext
12174 ac_wine_check_headers_saved_libs=$LIBS
12175 eval CC=\$${wine_arch}_CC
12177 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 char mpg123_feed ();
12188 return mpg123_feed ();
12193 if ac_fn_c_try_link "$LINENO"
12195 ac_cv_mingw_lib_mpg123=yes
12197 ac_cv_mingw_lib_mpg123=no
12199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12200 conftest$ac_exeext conftest.$ac_ext
12201 CC=$ac_wine_check_headers_saved_cc
12202 ac_exeext=$ac_wine_check_headers_saved_exeext
12203 LIBS=$ac_wine_check_headers_saved_libs
12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12206 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12207 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12211 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12214 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12216 CPPFLAGS=$ac_save_CPPFLAGS
12218 if test "x$MPG123_PE_LIBS" = "x"
12220 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12223 if ${PNG_PE_CFLAGS:+false} :
12225 if test ${MINGW_PKG_CONFIG+y}
12227 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12230 if ${PNG_PE_LIBS:+false} :
12232 if test ${MINGW_PKG_CONFIG+y}
12234 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12238 ac_save_CPPFLAGS=$CPPFLAGS
12239 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12241 printf %s "checking for MinGW png.h... " >&6; }
12242 if test ${ac_cv_mingw_header_png_h+y}
12244 printf %s "(cached) " >&6
12246 ac_wine_check_headers_saved_cc=$CC
12247 ac_wine_check_headers_saved_exeext=$ac_exeext
12248 eval CC=\$${wine_arch}_CC
12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12262 if ac_fn_c_try_compile "$LINENO"
12264 ac_cv_mingw_header_png_h=yes
12266 ac_cv_mingw_header_png_h=no
12268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12269 CC=$ac_wine_check_headers_saved_cc
12270 ac_exeext=$ac_wine_check_headers_saved_exeext
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12273 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12274 if test "x$ac_cv_mingw_header_png_h" = xyes
12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12277 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12278 if test ${ac_cv_mingw_lib_png+y}
12280 printf %s "(cached) " >&6
12282 ac_wine_check_headers_saved_cc=$CC
12283 ac_wine_check_headers_saved_exeext=$ac_exeext
12284 ac_wine_check_headers_saved_libs=$LIBS
12285 eval CC=\$${wine_arch}_CC
12287 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12294 char png_create_read_struct ();
12298 return png_create_read_struct ();
12303 if ac_fn_c_try_link "$LINENO"
12305 ac_cv_mingw_lib_png=yes
12307 ac_cv_mingw_lib_png=no
12309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12310 conftest$ac_exeext conftest.$ac_ext
12311 CC=$ac_wine_check_headers_saved_cc
12312 ac_exeext=$ac_wine_check_headers_saved_exeext
12313 LIBS=$ac_wine_check_headers_saved_libs
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12316 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12317 if test "x$ac_cv_mingw_lib_png" = xyes
12321 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12324 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12326 CPPFLAGS=$ac_save_CPPFLAGS
12328 if test "x$PNG_PE_LIBS" = "x"
12330 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12333 if ${TIFF_PE_CFLAGS:+false} :
12335 if test ${MINGW_PKG_CONFIG+y}
12337 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12340 if ${TIFF_PE_LIBS:+false} :
12342 if test ${MINGW_PKG_CONFIG+y}
12344 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12348 ac_save_CPPFLAGS=$CPPFLAGS
12349 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12351 printf %s "checking for MinGW tiffio.h... " >&6; }
12352 if test ${ac_cv_mingw_header_tiffio_h+y}
12354 printf %s "(cached) " >&6
12356 ac_wine_check_headers_saved_cc=$CC
12357 ac_wine_check_headers_saved_exeext=$ac_exeext
12358 eval CC=\$${wine_arch}_CC
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 #include <tiffio.h>
12372 if ac_fn_c_try_compile "$LINENO"
12374 ac_cv_mingw_header_tiffio_h=yes
12376 ac_cv_mingw_header_tiffio_h=no
12378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12379 CC=$ac_wine_check_headers_saved_cc
12380 ac_exeext=$ac_wine_check_headers_saved_exeext
12382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12383 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12384 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12387 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12388 if test ${ac_cv_mingw_lib_tiff+y}
12390 printf %s "(cached) " >&6
12392 ac_wine_check_headers_saved_cc=$CC
12393 ac_wine_check_headers_saved_exeext=$ac_exeext
12394 ac_wine_check_headers_saved_libs=$LIBS
12395 eval CC=\$${wine_arch}_CC
12397 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 char TIFFClientOpen ();
12408 return TIFFClientOpen ();
12413 if ac_fn_c_try_link "$LINENO"
12415 ac_cv_mingw_lib_tiff=yes
12417 ac_cv_mingw_lib_tiff=no
12419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12420 conftest$ac_exeext conftest.$ac_ext
12421 CC=$ac_wine_check_headers_saved_cc
12422 ac_exeext=$ac_wine_check_headers_saved_exeext
12423 LIBS=$ac_wine_check_headers_saved_libs
12425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12426 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12427 if test "x$ac_cv_mingw_lib_tiff" = xyes
12431 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12434 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12436 CPPFLAGS=$ac_save_CPPFLAGS
12438 if test "x$TIFF_PE_LIBS" = "x"
12440 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12443 if ${XML2_PE_CFLAGS:+false} :
12445 if test ${MINGW_PKG_CONFIG+y}
12447 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12450 if ${XML2_PE_LIBS:+false} :
12452 if test ${MINGW_PKG_CONFIG+y}
12454 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12457 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12458 ac_save_CPPFLAGS=$CPPFLAGS
12459 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12461 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12462 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12464 printf %s "(cached) " >&6
12466 ac_wine_check_headers_saved_cc=$CC
12467 ac_wine_check_headers_saved_exeext=$ac_exeext
12468 eval CC=\$${wine_arch}_CC
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 #include <libxml/parser.h>
12482 if ac_fn_c_try_compile "$LINENO"
12484 ac_cv_mingw_header_libxml_parser_h=yes
12486 ac_cv_mingw_header_libxml_parser_h=no
12488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12489 CC=$ac_wine_check_headers_saved_cc
12490 ac_exeext=$ac_wine_check_headers_saved_exeext
12492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12493 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12494 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12499 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12500 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12502 printf %s "(cached) " >&6
12504 ac_wine_check_headers_saved_cc=$CC
12505 ac_wine_check_headers_saved_exeext=$ac_exeext
12506 eval CC=\$${wine_arch}_CC
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12511 #include <libxml/xmlsave.h>
12520 if ac_fn_c_try_compile "$LINENO"
12522 ac_cv_mingw_header_libxml_xmlsave_h=yes
12524 ac_cv_mingw_header_libxml_xmlsave_h=no
12526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12527 CC=$ac_wine_check_headers_saved_cc
12528 ac_exeext=$ac_wine_check_headers_saved_exeext
12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12531 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12532 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12537 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12538 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12540 printf %s "(cached) " >&6
12542 ac_wine_check_headers_saved_cc=$CC
12543 ac_wine_check_headers_saved_exeext=$ac_exeext
12544 eval CC=\$${wine_arch}_CC
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12549 #include <libxml/SAX2.h>
12558 if ac_fn_c_try_compile "$LINENO"
12560 ac_cv_mingw_header_libxml_SAX2_h=yes
12562 ac_cv_mingw_header_libxml_SAX2_h=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12565 CC=$ac_wine_check_headers_saved_cc
12566 ac_exeext=$ac_wine_check_headers_saved_exeext
12568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12569 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12570 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12574 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"
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12577 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12578 if test ${ac_cv_mingw_lib_xml2+y}
12580 printf %s "(cached) " >&6
12582 ac_wine_check_headers_saved_cc=$CC
12583 ac_wine_check_headers_saved_exeext=$ac_exeext
12584 ac_wine_check_headers_saved_libs=$LIBS
12585 eval CC=\$${wine_arch}_CC
12587 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 char xmlFirstElementChild ();
12598 return xmlFirstElementChild ();
12603 if ac_fn_c_try_link "$LINENO"
12605 ac_cv_mingw_lib_xml2=yes
12607 ac_cv_mingw_lib_xml2=no
12609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12610 conftest$ac_exeext conftest.$ac_ext
12611 CC=$ac_wine_check_headers_saved_cc
12612 ac_exeext=$ac_wine_check_headers_saved_exeext
12613 LIBS=$ac_wine_check_headers_saved_libs
12615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12616 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12617 if test "x$ac_cv_mingw_lib_xml2" = xyes
12621 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12627 CPPFLAGS=$ac_save_CPPFLAGS
12629 if test "x$XML2_PE_LIBS" = "x"
12631 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12634 if ${XSLT_PE_CFLAGS:+false} :
12636 if test ${MINGW_PKG_CONFIG+y}
12638 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12641 if ${XSLT_PE_LIBS:+false} :
12643 if test ${MINGW_PKG_CONFIG+y}
12645 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12648 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12649 ac_save_CPPFLAGS=$CPPFLAGS
12650 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12652 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12653 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12655 printf %s "(cached) " >&6
12657 ac_wine_check_headers_saved_cc=$CC
12658 ac_wine_check_headers_saved_exeext=$ac_exeext
12659 eval CC=\$${wine_arch}_CC
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 #include <libxslt/pattern.h>
12673 if ac_fn_c_try_compile "$LINENO"
12675 ac_cv_mingw_header_libxslt_pattern_h=yes
12677 ac_cv_mingw_header_libxslt_pattern_h=no
12679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12680 CC=$ac_wine_check_headers_saved_cc
12681 ac_exeext=$ac_wine_check_headers_saved_exeext
12683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12684 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12685 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12690 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12691 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12693 printf %s "(cached) " >&6
12695 ac_wine_check_headers_saved_cc=$CC
12696 ac_wine_check_headers_saved_exeext=$ac_exeext
12697 eval CC=\$${wine_arch}_CC
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 #include <libxslt/transform.h>
12711 if ac_fn_c_try_compile "$LINENO"
12713 ac_cv_mingw_header_libxslt_transform_h=yes
12715 ac_cv_mingw_header_libxslt_transform_h=no
12717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12718 CC=$ac_wine_check_headers_saved_cc
12719 ac_exeext=$ac_wine_check_headers_saved_exeext
12721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12722 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12723 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12727 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12730 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12731 if test ${ac_cv_mingw_lib_xslt+y}
12733 printf %s "(cached) " >&6
12735 ac_wine_check_headers_saved_cc=$CC
12736 ac_wine_check_headers_saved_exeext=$ac_exeext
12737 ac_wine_check_headers_saved_libs=$LIBS
12738 eval CC=\$${wine_arch}_CC
12740 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 char xsltCompilePattern ();
12751 return xsltCompilePattern ();
12756 if ac_fn_c_try_link "$LINENO"
12758 ac_cv_mingw_lib_xslt=yes
12760 ac_cv_mingw_lib_xslt=no
12762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12763 conftest$ac_exeext conftest.$ac_ext
12764 CC=$ac_wine_check_headers_saved_cc
12765 ac_exeext=$ac_wine_check_headers_saved_exeext
12766 LIBS=$ac_wine_check_headers_saved_libs
12768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12769 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12770 if test "x$ac_cv_mingw_lib_xslt" = xyes
12774 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12780 CPPFLAGS=$ac_save_CPPFLAGS
12782 if test "x$XSLT_PE_LIBS" = "x"
12784 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12787 if ${VKD3D_PE_CFLAGS:+false} :
12789 if test ${MINGW_PKG_CONFIG+y}
12791 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12794 if ${VKD3D_PE_LIBS:+false} :
12796 if test ${MINGW_PKG_CONFIG+y}
12798 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12801 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12802 ac_save_CPPFLAGS=$CPPFLAGS
12803 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12805 printf %s "checking for MinGW vkd3d.h... " >&6; }
12806 if test ${ac_cv_mingw_header_vkd3d_h+y}
12808 printf %s "(cached) " >&6
12810 ac_wine_check_headers_saved_cc=$CC
12811 ac_wine_check_headers_saved_exeext=$ac_exeext
12812 eval CC=\$${wine_arch}_CC
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12826 if ac_fn_c_try_compile "$LINENO"
12828 ac_cv_mingw_header_vkd3d_h=yes
12830 ac_cv_mingw_header_vkd3d_h=no
12832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12833 CC=$ac_wine_check_headers_saved_cc
12834 ac_exeext=$ac_wine_check_headers_saved_exeext
12836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12837 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12838 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12843 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12844 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12846 printf %s "(cached) " >&6
12848 ac_wine_check_headers_saved_cc=$CC
12849 ac_wine_check_headers_saved_exeext=$ac_exeext
12850 eval CC=\$${wine_arch}_CC
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 #include <vkd3d_shader.h>
12864 if ac_fn_c_try_compile "$LINENO"
12866 ac_cv_mingw_header_vkd3d_shader_h=yes
12868 ac_cv_mingw_header_vkd3d_shader_h=no
12870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12871 CC=$ac_wine_check_headers_saved_cc
12872 ac_exeext=$ac_wine_check_headers_saved_exeext
12874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12875 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12876 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12880 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12883 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12884 if test ${ac_cv_mingw_lib_vkd3d+y}
12886 printf %s "(cached) " >&6
12888 ac_wine_check_headers_saved_cc=$CC
12889 ac_wine_check_headers_saved_exeext=$ac_exeext
12890 ac_wine_check_headers_saved_libs=$LIBS
12891 eval CC=\$${wine_arch}_CC
12893 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 char vkd3d_set_log_callback ();
12904 return vkd3d_set_log_callback ();
12909 if ac_fn_c_try_link "$LINENO"
12911 ac_cv_mingw_lib_vkd3d=yes
12913 ac_cv_mingw_lib_vkd3d=no
12915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12916 conftest$ac_exeext conftest.$ac_ext
12917 CC=$ac_wine_check_headers_saved_cc
12918 ac_exeext=$ac_wine_check_headers_saved_exeext
12919 LIBS=$ac_wine_check_headers_saved_libs
12921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12922 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12923 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12930 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12931 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12933 printf %s "(cached) " >&6
12935 ac_wine_check_headers_saved_cc=$CC
12936 ac_wine_check_headers_saved_exeext=$ac_exeext
12937 ac_wine_check_headers_saved_libs=$LIBS
12938 eval CC=\$${wine_arch}_CC
12940 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12947 char vkd3d_shader_serialize_dxbc ();
12951 return vkd3d_shader_serialize_dxbc ();
12956 if ac_fn_c_try_link "$LINENO"
12958 ac_cv_mingw_lib_vkd3d_shader=yes
12960 ac_cv_mingw_lib_vkd3d_shader=no
12962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12963 conftest$ac_exeext conftest.$ac_ext
12964 CC=$ac_wine_check_headers_saved_cc
12965 ac_exeext=$ac_wine_check_headers_saved_exeext
12966 LIBS=$ac_wine_check_headers_saved_libs
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12969 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12970 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12976 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12985 CPPFLAGS=$ac_save_CPPFLAGS
12987 if test "x$VKD3D_PE_LIBS" = "x"
12989 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12992 if ${ZLIB_PE_CFLAGS:+false} :
12994 if test ${MINGW_PKG_CONFIG+y}
12996 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12999 if ${ZLIB_PE_LIBS:+false} :
13001 if test ${MINGW_PKG_CONFIG+y}
13003 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13006 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13007 ac_save_CPPFLAGS=$CPPFLAGS
13008 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13010 printf %s "checking for MinGW zlib.h... " >&6; }
13011 if test ${ac_cv_mingw_header_zlib_h+y}
13013 printf %s "(cached) " >&6
13015 ac_wine_check_headers_saved_cc=$CC
13016 ac_wine_check_headers_saved_exeext=$ac_exeext
13017 eval CC=\$${wine_arch}_CC
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13031 if ac_fn_c_try_compile "$LINENO"
13033 ac_cv_mingw_header_zlib_h=yes
13035 ac_cv_mingw_header_zlib_h=no
13037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13038 CC=$ac_wine_check_headers_saved_cc
13039 ac_exeext=$ac_wine_check_headers_saved_exeext
13041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13042 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13043 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13046 printf %s "checking for inflate in MinGW -lz... " >&6; }
13047 if test ${ac_cv_mingw_lib_z+y}
13049 printf %s "(cached) " >&6
13051 ac_wine_check_headers_saved_cc=$CC
13052 ac_wine_check_headers_saved_exeext=$ac_exeext
13053 ac_wine_check_headers_saved_libs=$LIBS
13054 eval CC=\$${wine_arch}_CC
13056 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13072 if ac_fn_c_try_link "$LINENO"
13074 ac_cv_mingw_lib_z=yes
13076 ac_cv_mingw_lib_z=no
13078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13079 conftest$ac_exeext conftest.$ac_ext
13080 CC=$ac_wine_check_headers_saved_cc
13081 ac_exeext=$ac_wine_check_headers_saved_exeext
13082 LIBS=$ac_wine_check_headers_saved_libs
13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13085 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13086 if test "x$ac_cv_mingw_lib_z" = xyes
13090 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13093 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13095 CPPFLAGS=$ac_save_CPPFLAGS
13097 if test "x$ZLIB_PE_LIBS" = "x"
13099 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13103 if ${FAUDIO_PE_LIBS:+false} :
13105 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13106 if ${FAUDIO_PE_CFLAGS:+false} :
13108 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13118 if ${GSM_PE_LIBS:+false} :
13121 if ${GSM_PE_CFLAGS:+false} :
13123 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13133 if ${JPEG_PE_LIBS:+false} :
13136 if ${JPEG_PE_CFLAGS:+false} :
13138 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13148 if ${JXR_PE_LIBS:+false} :
13151 if ${JXR_PE_CFLAGS:+false} :
13153 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13163 if ${LCMS2_PE_LIBS:+false} :
13165 LCMS2_PE_LIBS=lcms2
13166 if ${LCMS2_PE_CFLAGS:+false} :
13168 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13178 if ${LDAP_PE_LIBS:+false} :
13181 if ${LDAP_PE_CFLAGS:+false} :
13183 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13193 if ${MPG123_PE_LIBS:+false} :
13195 MPG123_PE_LIBS=mpg123
13196 if ${MPG123_PE_CFLAGS:+false} :
13198 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13208 if ${MUSL_PE_LIBS:+false} :
13211 if ${MUSL_PE_CFLAGS:+false} :
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13223 if ${PNG_PE_LIBS:+false} :
13225 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13226 if ${PNG_PE_CFLAGS:+false} :
13228 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13238 if ${TIFF_PE_LIBS:+false} :
13240 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13241 if ${TIFF_PE_CFLAGS:+false} :
13243 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13253 if ${VKD3D_PE_LIBS:+false} :
13255 VKD3D_PE_LIBS=vkd3d
13256 if ${VKD3D_PE_CFLAGS:+false} :
13258 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13268 if ${XML2_PE_LIBS:+false} :
13271 if ${XML2_PE_CFLAGS:+false} :
13273 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13283 if ${XSLT_PE_LIBS:+false} :
13286 if ${XSLT_PE_CFLAGS:+false} :
13288 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13298 if ${ZLIB_PE_LIBS:+false} :
13301 if ${ZLIB_PE_CFLAGS:+false} :
13303 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13313 if ${ZYDIS_PE_LIBS:+false} :
13315 ZYDIS_PE_LIBS=zydis
13316 if ${ZYDIS_PE_CFLAGS:+false} :
13318 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13330 if test "$ac_cv_header_pthread_h" = "yes"
13332 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13333 if test "x$ac_cv_func_pthread_create" = xyes
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13338 printf %s "checking for pthread_create in -lpthread... " >&6; }
13339 if test ${ac_cv_lib_pthread_pthread_create+y}
13341 printf %s "(cached) " >&6
13343 ac_check_lib_save_LIBS=$LIBS
13344 LIBS="-lpthread $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 char pthread_create ();
13355 return pthread_create ();
13360 if ac_fn_c_try_link "$LINENO"
13362 ac_cv_lib_pthread_pthread_create=yes
13364 ac_cv_lib_pthread_pthread_create=no
13366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13371 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13372 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13374 PTHREAD_LIBS="-lpthread"
13381 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13383 case "x$with_pthread" in
13385 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13386 Wine cannot support threads without libpthread.
13387 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13394 ac_cpp='$CPP $CPPFLAGS'
13395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13399 printf %s "checking how to run the C preprocessor... " >&6; }
13400 # On Suns, sometimes $CPP names a directory.
13401 if test -n "$CPP" && test -d "$CPP"; then
13404 if test -z "$CPP"; then
13405 if test ${ac_cv_prog_CPP+y}
13407 printf %s "(cached) " >&6
13409 # Double quotes because $CC needs to be expanded
13410 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13412 ac_preproc_ok=false
13413 for ac_c_preproc_warn_flag in '' yes
13415 # Use a header file that comes with gcc, so configuring glibc
13416 # with a fresh cross-compiler works.
13417 # On the NeXT, cc -E runs the code through the compiler's parser,
13418 # not just through cpp. "Syntax error" is here to catch this case.
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13421 #include <limits.h>
13424 if ac_fn_c_try_cpp "$LINENO"
13428 # Broken: fails on valid input.
13431 rm -f conftest.err conftest.i conftest.$ac_ext
13433 # OK, works on sane cases. Now check whether nonexistent headers
13434 # can be detected and how.
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13437 #include <ac_nonexistent.h>
13439 if ac_fn_c_try_cpp "$LINENO"
13441 # Broken: success on invalid input.
13444 # Passes both tests.
13448 rm -f conftest.err conftest.i conftest.$ac_ext
13451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13452 rm -f conftest.i conftest.err conftest.
$ac_ext
13459 ac_cv_prog_CPP
=$CPP
13462 CPP
=$ac_cv_prog_CPP
13464 ac_cv_prog_CPP
=$CPP
13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13467 printf "%s\n" "$CPP" >&6; }
13468 ac_preproc_ok
=false
13469 for ac_c_preproc_warn_flag
in '' yes
13471 # Use a header file that comes with gcc, so configuring glibc
13472 # with a fresh cross-compiler works.
13473 # On the NeXT, cc -E runs the code through the compiler's parser,
13474 # not just through cpp. "Syntax error" is here to catch this case.
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 #include <limits.h>
13480 if ac_fn_c_try_cpp
"$LINENO"
13484 # Broken: fails on valid input.
13487 rm -f conftest.err conftest.i conftest.
$ac_ext
13489 # OK, works on sane cases. Now check whether nonexistent headers
13490 # can be detected and how.
13491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13493 #include <ac_nonexistent.h>
13495 if ac_fn_c_try_cpp
"$LINENO"
13497 # Broken: success on invalid input.
13500 # Passes both tests.
13504 rm -f conftest.err conftest.i conftest.
$ac_ext
13507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13508 rm -f conftest.i conftest.err conftest.
$ac_ext
13513 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13514 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13515 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13516 See \`config.log' for more details" "$LINENO" 5; }
13520 ac_cpp
='$CPP $CPPFLAGS'
13521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13527 printf %s
"checking for X... " >&6; }
13530 # Check whether --with-x was given.
13531 if test ${with_x+y}
13536 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13537 if test "x$with_x" = xno
; then
13538 # The user explicitly disabled X.
13541 case $x_includes,$x_libraries in #(
13542 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13543 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13545 printf %s
"(cached) " >&6
13547 # One or both of the vars are not set, and there is no cached value.
13550 # Do we need to do anything special at all?
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 #include <X11/Xlib.h>
13564 if ac_fn_c_try_link
"$LINENO"
13566 # We can compile and link X programs with no special options.
13570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13571 conftest
$ac_exeext conftest.
$ac_ext
13572 LIBS
="$ac_save_LIBS"
13573 # If that didn't work, only try xmkmf and file system searches
13574 # for native compilation.
13575 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13577 rm -f -r conftest.dir
13578 if mkdir conftest.dir
; then
13580 cat >Imakefile
<<'_ACEOF'
13582 @echo incroot='${INCROOT}'
13584 @echo usrlibdir='${USRLIBDIR}'
13586 @echo libdir='${LIBDIR}'
13588 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13589 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13590 for ac_var
in incroot usrlibdir libdir
; do
13591 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13593 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13594 for ac_extension
in a so sl dylib la dll
; do
13595 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13596 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13597 ac_im_usrlibdir
=$ac_im_libdir; break
13600 # Screen out bogus values from the imake configuration. They are
13601 # bogus both because they are the default anyway, and because
13602 # using them would break gcc on systems where it needs fixed includes.
13603 case $ac_im_incroot in
13604 /usr
/include
) ac_x_includes
= ;;
13605 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13607 case $ac_im_usrlibdir in
13608 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13609 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13613 rm -f -r conftest.dir
13616 # Standard set of common directories for X headers.
13617 # Check X11 before X11Rn because it is often a symlink to the current release.
13631 /usr/local/X11/include
13632 /usr/local/X11R7/include
13633 /usr/local/X11R6/include
13634 /usr/local/X11R5/include
13635 /usr/local/X11R4/include
13637 /usr/local/include/X11
13638 /usr/local/include/X11R7
13639 /usr/local/include/X11R6
13640 /usr/local/include/X11R5
13641 /usr/local/include/X11R4
13647 /usr/XFree86/include/X11
13651 /usr/unsupported/include
13652 /usr/athena/include
13653 /usr/local/x11r5/include
13654 /usr/lpp/Xamples/include
13656 /usr/openwin/include
13657 /usr/openwin/share/include'
13659 if test "$ac_x_includes" = no
; then
13660 # Guess where to find include files, by looking for Xlib.h.
13661 # First, try using that file with no special directory specified.
13662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13664 #include <X11/Xlib.h>
13666 if ac_fn_c_try_cpp
"$LINENO"
13668 # We can compile using X headers with no special include directory.
13671 for ac_dir
in $ac_x_header_dirs; do
13672 if test -r "$ac_dir/X11/Xlib.h"; then
13673 ac_x_includes
=$ac_dir
13678 rm -f conftest.err conftest.i conftest.
$ac_ext
13679 fi # $ac_x_includes = no
13681 if test "$ac_x_libraries" = no
; then
13682 # Check for the libraries.
13683 # See if we find them without any special options.
13684 # Don't add to $LIBS permanently.
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #include <X11/Xlib.h>
13698 if ac_fn_c_try_link
"$LINENO"
13701 # We can link X programs with no special library path.
13705 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13707 # Don't even attempt the hair of trying to link an X program!
13708 for ac_extension
in a so sl dylib la dll
; do
13709 if test -r "$ac_dir/libX11.$ac_extension"; then
13710 ac_x_libraries
=$ac_dir
13716 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13717 conftest
$ac_exeext conftest.
$ac_ext
13718 fi # $ac_x_libraries = no
13721 # Record the results.
13722 case $ac_x_includes,$ac_x_libraries in #(
13723 no
,* |
*,no |
*\'*) :
13724 # Didn't find X, or a directory has "'" in its name.
13725 ac_cv_have_x
="have_x=no" ;; #(
13727 # Record where we found X for the cache.
13728 ac_cv_have_x
="have_x=yes\
13729 ac_x_includes='$ac_x_includes'\
13730 ac_x_libraries='$ac_x_libraries'" ;;
13736 eval "$ac_cv_have_x"
13739 if test "$have_x" != yes; then
13740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13741 printf "%s\n" "$have_x" >&6; }
13744 # If each of the values was on the command line, it overrides each guess.
13745 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13746 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13747 # Update the cache value to reflect the command line values.
13748 ac_cv_have_x
="have_x=yes\
13749 ac_x_includes='$x_includes'\
13750 ac_x_libraries='$x_libraries'"
13751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13752 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13755 if test "$no_x" = yes; then
13756 # Not all programs may use this symbol, but it does not hurt to define it.
13758 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13760 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13762 if test -n "$x_includes"; then
13763 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13766 # It would also be nice to do this for all -L options, not just this one.
13767 if test -n "$x_libraries"; then
13768 X_LIBS
="$X_LIBS -L$x_libraries"
13769 # For Solaris; some versions of Sun CC require a space after -R and
13770 # others require no space. Words are not sufficient . . . .
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13772 printf %s
"checking whether -R must be followed by a space... " >&6; }
13773 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13774 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13775 ac_c_werror_flag
=yes
13776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13787 if ac_fn_c_try_link
"$LINENO"
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 printf "%s\n" "no" >&6; }
13791 X_LIBS
="$X_LIBS -R$x_libraries"
13793 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13805 if ac_fn_c_try_link
"$LINENO"
13807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13808 printf "%s\n" "yes" >&6; }
13809 X_LIBS
="$X_LIBS -R $x_libraries"
13811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13812 printf "%s\n" "neither works" >&6; }
13814 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13815 conftest
$ac_exeext conftest.
$ac_ext
13817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13818 conftest
$ac_exeext conftest.
$ac_ext
13819 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13820 LIBS
=$ac_xsave_LIBS
13823 # Check for system-dependent libraries X programs must link with.
13824 # Do this before checking for the system-independent R6 libraries
13825 # (-lICE), since we may need -lsocket or whatever for X linking.
13827 if test "$ISC" = yes; then
13828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13830 # Martyn Johnson says this is needed for Ultrix, if the X
13831 # libraries were built with DECnet support. And Karl Berry says
13832 # the Alpha needs dnet_stub (dnet does not exist).
13833 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13840 char XOpenDisplay ();
13844 return XOpenDisplay ();
13849 if ac_fn_c_try_link
"$LINENO"
13853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13854 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13855 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13857 printf %s
"(cached) " >&6
13859 ac_check_lib_save_LIBS
=$LIBS
13860 LIBS
="-ldnet $LIBS"
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13864 /* Override any GCC internal prototype to avoid an error.
13865 Use char because int might match the return type of a GCC
13866 builtin and then its argument prototype would still apply. */
13871 return dnet_ntoa ();
13876 if ac_fn_c_try_link
"$LINENO"
13878 ac_cv_lib_dnet_dnet_ntoa
=yes
13880 ac_cv_lib_dnet_dnet_ntoa
=no
13882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13883 conftest
$ac_exeext conftest.
$ac_ext
13884 LIBS
=$ac_check_lib_save_LIBS
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13887 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13888 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13893 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13895 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13896 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13898 printf %s
"(cached) " >&6
13900 ac_check_lib_save_LIBS
=$LIBS
13901 LIBS
="-ldnet_stub $LIBS"
13902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13912 return dnet_ntoa ();
13917 if ac_fn_c_try_link
"$LINENO"
13919 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13921 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13923 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13924 conftest
$ac_exeext conftest.
$ac_ext
13925 LIBS
=$ac_check_lib_save_LIBS
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13928 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13929 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13937 conftest
$ac_exeext conftest.
$ac_ext
13938 LIBS
="$ac_xsave_LIBS"
13940 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13941 # to get the SysV transport functions.
13942 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13944 # The nsl library prevents programs from opening the X display
13945 # on Irix 5.2, according to T.E. Dickey.
13946 # The functions gethostbyname, getservbyname, and inet_addr are
13947 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13948 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13949 if test "x$ac_cv_func_gethostbyname" = xyes
13954 if test $ac_cv_func_gethostbyname = no
; then
13955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13956 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13957 if test ${ac_cv_lib_nsl_gethostbyname+y}
13959 printf %s
"(cached) " >&6
13961 ac_check_lib_save_LIBS
=$LIBS
13963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13969 char gethostbyname ();
13973 return gethostbyname ();
13978 if ac_fn_c_try_link
"$LINENO"
13980 ac_cv_lib_nsl_gethostbyname
=yes
13982 ac_cv_lib_nsl_gethostbyname
=no
13984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13985 conftest
$ac_exeext conftest.
$ac_ext
13986 LIBS
=$ac_check_lib_save_LIBS
13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13989 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13990 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13992 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13995 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13997 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13998 if test ${ac_cv_lib_bsd_gethostbyname+y}
14000 printf %s
"(cached) " >&6
14002 ac_check_lib_save_LIBS
=$LIBS
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 char gethostbyname ();
14014 return gethostbyname ();
14019 if ac_fn_c_try_link
"$LINENO"
14021 ac_cv_lib_bsd_gethostbyname
=yes
14023 ac_cv_lib_bsd_gethostbyname
=no
14025 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14026 conftest
$ac_exeext conftest.
$ac_ext
14027 LIBS
=$ac_check_lib_save_LIBS
14029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14030 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14031 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14039 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14040 # socket/setsockopt and other routines are undefined under SCO ODT
14041 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14042 # on later versions), says Simon Leinen: it contains gethostby*
14043 # variants that don't use the name server (or something). -lsocket
14044 # must be given before -lnsl if both are needed. We assume that
14045 # if connect needs -lnsl, so does gethostbyname.
14046 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14047 if test "x$ac_cv_func_connect" = xyes
14052 if test $ac_cv_func_connect = no
; then
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14054 printf %s
"checking for connect in -lsocket... " >&6; }
14055 if test ${ac_cv_lib_socket_connect+y}
14057 printf %s
"(cached) " >&6
14059 ac_check_lib_save_LIBS
=$LIBS
14060 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14064 /* Override any GCC internal prototype to avoid an error.
14065 Use char because int might match the return type of a GCC
14066 builtin and then its argument prototype would still apply. */
14076 if ac_fn_c_try_link
"$LINENO"
14078 ac_cv_lib_socket_connect
=yes
14080 ac_cv_lib_socket_connect
=no
14082 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14083 conftest
$ac_exeext conftest.
$ac_ext
14084 LIBS
=$ac_check_lib_save_LIBS
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14087 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14088 if test "x$ac_cv_lib_socket_connect" = xyes
14090 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14095 # Guillermo Gomez says -lposix is necessary on A/UX.
14096 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14097 if test "x$ac_cv_func_remove" = xyes
14102 if test $ac_cv_func_remove = no
; then
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14104 printf %s
"checking for remove in -lposix... " >&6; }
14105 if test ${ac_cv_lib_posix_remove+y}
14107 printf %s
"(cached) " >&6
14109 ac_check_lib_save_LIBS
=$LIBS
14110 LIBS
="-lposix $LIBS"
14111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14114 /* Override any GCC internal prototype to avoid an error.
14115 Use char because int might match the return type of a GCC
14116 builtin and then its argument prototype would still apply. */
14126 if ac_fn_c_try_link
"$LINENO"
14128 ac_cv_lib_posix_remove
=yes
14130 ac_cv_lib_posix_remove
=no
14132 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14133 conftest
$ac_exeext conftest.
$ac_ext
14134 LIBS
=$ac_check_lib_save_LIBS
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14137 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14138 if test "x$ac_cv_lib_posix_remove" = xyes
14140 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14146 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14147 if test "x$ac_cv_func_shmat" = xyes
14152 if test $ac_cv_func_shmat = no
; then
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14154 printf %s
"checking for shmat in -lipc... " >&6; }
14155 if test ${ac_cv_lib_ipc_shmat+y}
14157 printf %s
"(cached) " >&6
14159 ac_check_lib_save_LIBS
=$LIBS
14161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14176 if ac_fn_c_try_link
"$LINENO"
14178 ac_cv_lib_ipc_shmat
=yes
14180 ac_cv_lib_ipc_shmat
=no
14182 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14183 conftest
$ac_exeext conftest.
$ac_ext
14184 LIBS
=$ac_check_lib_save_LIBS
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14187 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14188 if test "x$ac_cv_lib_ipc_shmat" = xyes
14190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14196 # Check for libraries that X11R6 Xt/Xaw programs need.
14197 ac_save_LDFLAGS
=$LDFLAGS
14198 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14199 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14200 # check for ICE first), but we must link in the order -lSM -lICE or
14201 # we get undefined symbols. So assume we have SM if we have ICE.
14202 # These have to be linked with before -lX11, unlike the other
14203 # libraries we check for below, so use a different variable.
14204 # John Interrante, Karl Berry
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14206 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14207 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14209 printf %s
"(cached) " >&6
14211 ac_check_lib_save_LIBS
=$LIBS
14212 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14216 /* Override any GCC internal prototype to avoid an error.
14217 Use char because int might match the return type of a GCC
14218 builtin and then its argument prototype would still apply. */
14219 char IceConnectionNumber ();
14223 return IceConnectionNumber ();
14228 if ac_fn_c_try_link
"$LINENO"
14230 ac_cv_lib_ICE_IceConnectionNumber
=yes
14232 ac_cv_lib_ICE_IceConnectionNumber
=no
14234 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14235 conftest
$ac_exeext conftest.
$ac_ext
14236 LIBS
=$ac_check_lib_save_LIBS
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14239 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14240 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14242 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14245 LDFLAGS
=$ac_save_LDFLAGS
14250 if test "$have_x" = "yes"
14252 ac_save_CPPFLAGS
="$CPPFLAGS"
14253 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14256 printf %s
"checking for -lX11... " >&6; }
14257 if test ${ac_cv_lib_soname_X11+y}
14259 printf %s
"(cached) " >&6
14261 ac_check_soname_save_LIBS
=$LIBS
14262 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14266 /* Override any GCC internal prototype to avoid an error.
14267 Use char because int might match the return type of a GCC
14268 builtin and then its argument prototype would still apply. */
14269 char XCreateWindow ();
14273 return XCreateWindow ();
14278 if ac_fn_c_try_link
"$LINENO"
14281 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14282 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'` ;;
14283 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14284 if ${ac_cv_lib_soname_X11:+false} :
14286 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14290 ac_cv_lib_soname_X11
=
14292 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 LIBS
=$ac_check_soname_save_LIBS
14296 if ${ac_cv_lib_soname_X11:+false} :
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14299 printf "%s\n" "not found" >&6; }
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14303 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14305 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14310 printf %s
"checking for -lXext... " >&6; }
14311 if test ${ac_cv_lib_soname_Xext+y}
14313 printf %s
"(cached) " >&6
14315 ac_check_soname_save_LIBS
=$LIBS
14316 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14323 char XextCreateExtension ();
14327 return XextCreateExtension ();
14332 if ac_fn_c_try_link
"$LINENO"
14335 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14336 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'` ;;
14337 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14338 if ${ac_cv_lib_soname_Xext:+false} :
14340 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14344 ac_cv_lib_soname_Xext
=
14346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14347 conftest
$ac_exeext conftest.
$ac_ext
14348 LIBS
=$ac_check_soname_save_LIBS
14350 if ${ac_cv_lib_soname_Xext:+false} :
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14353 printf "%s\n" "not found" >&6; }
14356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14357 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14359 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14361 X_LIBS
="$X_LIBS -lXext"
14363 X_LIBS
="$X_LIBS -lX11"
14365 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14366 # include <X11/Xlib.h>
14368 #ifdef HAVE_X11_XUTIL_H
14369 # include <X11/Xutil.h>
14372 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14374 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14377 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14378 # include <X11/Xlib.h>
14380 #ifdef HAVE_X11_XUTIL_H
14381 # include <X11/Xutil.h>
14384 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14386 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14389 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14390 # include <X11/Xlib.h>
14392 #ifdef HAVE_X11_XUTIL_H
14393 # include <X11/Xutil.h>
14396 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14398 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14401 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14402 # include <X11/Xlib.h>
14404 #ifdef HAVE_X11_XUTIL_H
14405 # include <X11/Xutil.h>
14408 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14410 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14413 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14414 # include <X11/Xlib.h>
14416 #ifdef HAVE_X11_XUTIL_H
14417 # include <X11/Xutil.h>
14420 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14422 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14425 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14426 # include <X11/Xlib.h>
14428 #ifdef HAVE_X11_XUTIL_H
14429 # include <X11/Xutil.h>
14432 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14434 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14437 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14438 # include <X11/Xlib.h>
14440 #ifdef HAVE_X11_XUTIL_H
14441 # include <X11/Xutil.h>
14444 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14446 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14449 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14450 # include <X11/Xlib.h>
14452 #ifdef HAVE_X11_XUTIL_H
14453 # include <X11/Xutil.h>
14456 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14458 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14461 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14462 # include <X11/Xlib.h>
14464 #ifdef HAVE_X11_XUTIL_H
14465 # include <X11/Xutil.h>
14468 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14470 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14473 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14474 # include <X11/Xlib.h>
14476 #ifdef HAVE_X11_XUTIL_H
14477 # include <X11/Xutil.h>
14480 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14486 # include <X11/Xlib.h>
14488 #ifdef HAVE_X11_XUTIL_H
14489 # include <X11/Xutil.h>
14492 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14494 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14497 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14498 # include <X11/Xlib.h>
14500 #ifdef HAVE_X11_XUTIL_H
14501 # include <X11/Xutil.h>
14504 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14506 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14509 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14510 # include <X11/Xlib.h>
14512 #ifdef HAVE_X11_XUTIL_H
14513 # include <X11/Xutil.h>
14516 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14518 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14521 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14522 # include <X11/Xlib.h>
14524 #ifdef HAVE_X11_XUTIL_H
14525 # include <X11/Xutil.h>
14528 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14530 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14533 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14534 # include <X11/Xlib.h>
14536 #ifdef HAVE_X11_XUTIL_H
14537 # include <X11/Xutil.h>
14540 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14542 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14547 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14550 printf %s
"checking for -lXcursor... " >&6; }
14551 if test ${ac_cv_lib_soname_Xcursor+y}
14553 printf %s
"(cached) " >&6
14555 ac_check_soname_save_LIBS
=$LIBS
14556 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14560 /* Override any GCC internal prototype to avoid an error.
14561 Use char because int might match the return type of a GCC
14562 builtin and then its argument prototype would still apply. */
14563 char XcursorImageLoadCursor ();
14567 return XcursorImageLoadCursor ();
14572 if ac_fn_c_try_link
"$LINENO"
14575 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14576 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'` ;;
14577 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14578 if ${ac_cv_lib_soname_Xcursor:+false} :
14580 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14584 ac_cv_lib_soname_Xcursor
=
14586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14587 conftest
$ac_exeext conftest.
$ac_ext
14588 LIBS
=$ac_check_soname_save_LIBS
14590 if ${ac_cv_lib_soname_Xcursor:+false} :
14592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14593 printf "%s\n" "not found" >&6; }
14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14597 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14599 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14604 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14606 case "x$with_xcursor" in
14607 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14609 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14610 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14615 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14618 printf %s
"checking for -lXi... " >&6; }
14619 if test ${ac_cv_lib_soname_Xi+y}
14621 printf %s
"(cached) " >&6
14623 ac_check_soname_save_LIBS
=$LIBS
14624 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14631 char XOpenDevice ();
14635 return XOpenDevice ();
14640 if ac_fn_c_try_link
"$LINENO"
14643 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14644 dylib
) ac_cv_lib_soname_Xi
=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14645 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14646 if ${ac_cv_lib_soname_Xi:+false} :
14648 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14652 ac_cv_lib_soname_Xi
=
14654 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14655 conftest
$ac_exeext conftest.
$ac_ext
14656 LIBS
=$ac_check_soname_save_LIBS
14658 if ${ac_cv_lib_soname_Xi:+false} :
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14661 printf "%s\n" "not found" >&6; }
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14665 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14667 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14672 if test "x$ac_cv_lib_soname_Xi" = "x"
14674 case "x$with_xinput" in
14675 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14677 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14678 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14683 if test "x$ac_cv_lib_soname_Xi" != x
14685 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14687 case "x$with_xinput2" in
14688 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14690 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14691 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14697 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14700 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14701 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14703 printf %s
"(cached) " >&6
14705 ac_check_lib_save_LIBS
=$LIBS
14706 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 char XShmQueryExtension ();
14717 return XShmQueryExtension ();
14722 if ac_fn_c_try_link
"$LINENO"
14724 ac_cv_lib_Xext_XShmQueryExtension
=yes
14726 ac_cv_lib_Xext_XShmQueryExtension
=no
14728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14729 conftest
$ac_exeext conftest.
$ac_ext
14730 LIBS
=$ac_check_lib_save_LIBS
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14733 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14734 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14737 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14742 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14744 case "x$with_xshm" in
14745 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14747 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14748 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14753 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14756 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14757 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14759 printf %s
"(cached) " >&6
14761 ac_check_lib_save_LIBS
=$LIBS
14762 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 char XShapeQueryExtension ();
14773 return XShapeQueryExtension ();
14778 if ac_fn_c_try_link
"$LINENO"
14780 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14782 ac_cv_lib_Xext_XShapeQueryExtension
=no
14784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14785 conftest
$ac_exeext conftest.
$ac_ext
14786 LIBS
=$ac_check_lib_save_LIBS
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14789 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14790 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14793 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14798 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14800 case "x$with_xshape" in
14801 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14803 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14804 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14809 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14812 printf %s
"checking for -lXxf86vm... " >&6; }
14813 if test ${ac_cv_lib_soname_Xxf86vm+y}
14815 printf %s
"(cached) " >&6
14817 ac_check_soname_save_LIBS
=$LIBS
14818 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14825 char XF86VidModeQueryExtension ();
14829 return XF86VidModeQueryExtension ();
14834 if ac_fn_c_try_link
"$LINENO"
14837 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14838 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'` ;;
14839 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14840 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14842 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14846 ac_cv_lib_soname_Xxf86vm
=
14848 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 LIBS
=$ac_check_soname_save_LIBS
14852 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14855 printf "%s\n" "not found" >&6; }
14858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14859 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14861 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14866 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14868 case "x$with_xxf86vm" in
14869 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14871 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14872 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14877 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14880 printf %s
"checking for -lXrender... " >&6; }
14881 if test ${ac_cv_lib_soname_Xrender+y}
14883 printf %s
"(cached) " >&6
14885 ac_check_soname_save_LIBS
=$LIBS
14886 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 char XRenderQueryExtension ();
14897 return XRenderQueryExtension ();
14902 if ac_fn_c_try_link
"$LINENO"
14905 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14906 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'` ;;
14907 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14908 if ${ac_cv_lib_soname_Xrender:+false} :
14910 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14914 ac_cv_lib_soname_Xrender
=
14916 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14917 conftest
$ac_exeext conftest.
$ac_ext
14918 LIBS
=$ac_check_soname_save_LIBS
14920 if ${ac_cv_lib_soname_Xrender:+false} :
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14923 printf "%s\n" "not found" >&6; }
14926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14927 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14929 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14932 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14933 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14935 printf %s
"(cached) " >&6
14937 ac_check_lib_save_LIBS
=$LIBS
14938 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 char XRenderSetPictureTransform ();
14949 return XRenderSetPictureTransform ();
14954 if ac_fn_c_try_link
"$LINENO"
14956 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14958 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14960 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14961 conftest
$ac_exeext conftest.
$ac_ext
14962 LIBS
=$ac_check_lib_save_LIBS
14964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14965 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14966 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14969 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14974 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14975 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14977 printf %s
"(cached) " >&6
14979 ac_check_lib_save_LIBS
=$LIBS
14980 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14984 /* Override any GCC internal prototype to avoid an error.
14985 Use char because int might match the return type of a GCC
14986 builtin and then its argument prototype would still apply. */
14987 char XRenderCreateLinearGradient ();
14991 return XRenderCreateLinearGradient ();
14996 if ac_fn_c_try_link
"$LINENO"
14998 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15000 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15002 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15003 conftest
$ac_exeext conftest.
$ac_ext
15004 LIBS
=$ac_check_lib_save_LIBS
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15007 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15008 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15011 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15018 if test "x$ac_cv_lib_soname_Xrender" = "x"
15020 case "x$with_xrender" in
15021 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15023 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15024 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15029 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #include <X11/Xlib.h>
15034 #include <X11/extensions/Xrandr.h>
15038 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15043 if ac_fn_c_try_compile
"$LINENO"
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15046 printf %s
"checking for -lXrandr... " >&6; }
15047 if test ${ac_cv_lib_soname_Xrandr+y}
15049 printf %s
"(cached) " >&6
15051 ac_check_soname_save_LIBS
=$LIBS
15052 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 char XRRQueryExtension ();
15063 return XRRQueryExtension ();
15068 if ac_fn_c_try_link
"$LINENO"
15071 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15072 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'` ;;
15073 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15074 if ${ac_cv_lib_soname_Xrandr:+false} :
15076 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15080 ac_cv_lib_soname_Xrandr
=
15082 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 LIBS
=$ac_check_soname_save_LIBS
15086 if ${ac_cv_lib_soname_Xrandr:+false} :
15088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15089 printf "%s\n" "not found" >&6; }
15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15093 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15095 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 #include <X11/Xlib.h>
15100 #include <X11/extensions/Xrandr.h>
15104 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15109 if ac_fn_c_try_compile
"$LINENO"
15112 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15115 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15117 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15120 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15122 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15124 case "x$with_xrandr" in
15125 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15127 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15128 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15133 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15137 #include <X11/Xlib.h>
15138 #include <X11/extensions/Xfixes.h>
15142 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15147 if ac_fn_c_try_compile
"$LINENO"
15149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15150 printf %s
"checking for -lXfixes... " >&6; }
15151 if test ${ac_cv_lib_soname_Xfixes+y}
15153 printf %s
"(cached) " >&6
15155 ac_check_soname_save_LIBS
=$LIBS
15156 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15160 /* Override any GCC internal prototype to avoid an error.
15161 Use char because int might match the return type of a GCC
15162 builtin and then its argument prototype would still apply. */
15163 char XFixesQueryVersion ();
15167 return XFixesQueryVersion ();
15172 if ac_fn_c_try_link
"$LINENO"
15175 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15176 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'` ;;
15177 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15178 if ${ac_cv_lib_soname_Xfixes:+false} :
15180 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15184 ac_cv_lib_soname_Xfixes
=
15186 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15187 conftest
$ac_exeext conftest.
$ac_ext
15188 LIBS
=$ac_check_soname_save_LIBS
15190 if ${ac_cv_lib_soname_Xfixes:+false} :
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15193 printf "%s\n" "not found" >&6; }
15196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15197 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15199 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15204 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15206 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15208 case "x$with_xfixes" in
15209 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15211 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15212 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15217 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 #include <X11/Xlib.h>
15222 #include <X11/extensions/Xinerama.h>
15226 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15231 if ac_fn_c_try_compile
"$LINENO"
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15234 printf %s
"checking for -lXinerama... " >&6; }
15235 if test ${ac_cv_lib_soname_Xinerama+y}
15237 printf %s
"(cached) " >&6
15239 ac_check_soname_save_LIBS
=$LIBS
15240 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15244 /* Override any GCC internal prototype to avoid an error.
15245 Use char because int might match the return type of a GCC
15246 builtin and then its argument prototype would still apply. */
15247 char XineramaQueryScreens ();
15251 return XineramaQueryScreens ();
15256 if ac_fn_c_try_link
"$LINENO"
15259 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15260 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'` ;;
15261 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15262 if ${ac_cv_lib_soname_Xinerama:+false} :
15264 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15268 ac_cv_lib_soname_Xinerama
=
15270 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15271 conftest
$ac_exeext conftest.
$ac_ext
15272 LIBS
=$ac_check_soname_save_LIBS
15274 if ${ac_cv_lib_soname_Xinerama:+false} :
15276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15277 printf "%s\n" "not found" >&6; }
15280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15281 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15283 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15288 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15290 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15292 case "x$with_xinerama" in
15293 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15295 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15296 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15301 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15304 printf %s
"checking for -lXcomposite... " >&6; }
15305 if test ${ac_cv_lib_soname_Xcomposite+y}
15307 printf %s
"(cached) " >&6
15309 ac_check_soname_save_LIBS
=$LIBS
15310 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15314 /* Override any GCC internal prototype to avoid an error.
15315 Use char because int might match the return type of a GCC
15316 builtin and then its argument prototype would still apply. */
15317 char XCompositeRedirectWindow ();
15321 return XCompositeRedirectWindow ();
15326 if ac_fn_c_try_link
"$LINENO"
15329 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_Xcomposite:+false} :
15334 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15338 ac_cv_lib_soname_Xcomposite
=
15340 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15341 conftest
$ac_exeext conftest.
$ac_ext
15342 LIBS
=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_Xcomposite:+false} :
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15347 printf "%s\n" "not found" >&6; }
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15351 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15353 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15358 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15360 case "x$with_xcomposite" in
15361 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15363 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15364 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15369 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15370 #include <X11/Xlib.h>
15373 if test "x$ac_cv_member_XICCallback_callback" = xyes
15376 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15380 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15381 #include <X11/Xlib.h>
15384 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15387 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15395 if test "x$with_opengl" != "xno"
15397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15398 printf %s
"checking for -lGL... " >&6; }
15399 if test ${ac_cv_lib_soname_GL+y}
15401 printf %s
"(cached) " >&6
15403 ac_check_soname_save_LIBS
=$LIBS
15404 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 char glXCreateContext ();
15415 return glXCreateContext ();
15420 if ac_fn_c_try_link
"$LINENO"
15423 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15424 dylib
) ac_cv_lib_soname_GL
=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15425 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15426 if ${ac_cv_lib_soname_GL:+false} :
15428 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15432 ac_cv_lib_soname_GL
=
15434 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15435 conftest
$ac_exeext conftest.
$ac_ext
15436 LIBS
=$ac_check_soname_save_LIBS
15438 if ${ac_cv_lib_soname_GL:+false} :
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15441 printf "%s\n" "not found" >&6; }
15442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15443 printf %s
"checking for -lGL... " >&6; }
15444 if test ${ac_cv_lib_soname_GL+y}
15446 printf %s
"(cached) " >&6
15448 ac_check_soname_save_LIBS
=$LIBS
15449 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
15450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15453 /* Override any GCC internal prototype to avoid an error.
15454 Use char because int might match the return type of a GCC
15455 builtin and then its argument prototype would still apply. */
15456 char glXCreateContext ();
15460 return glXCreateContext ();
15465 if ac_fn_c_try_link
"$LINENO"
15468 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15469 dylib
) ac_cv_lib_soname_GL
=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15470 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15471 if ${ac_cv_lib_soname_GL:+false} :
15473 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15477 ac_cv_lib_soname_GL
=
15479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15480 conftest
$ac_exeext conftest.
$ac_ext
15481 LIBS
=$ac_check_soname_save_LIBS
15483 if ${ac_cv_lib_soname_GL:+false} :
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15486 printf "%s\n" "not found" >&6; }
15487 if test -f /usr
/X11R
6/lib
/libGL.a
15489 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15490 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15492 opengl_msg
="No OpenGL library found on this system."
15495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15496 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15498 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15500 OPENGL_LIBS
="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
15503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15504 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15506 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15510 if test "x$with_osmesa" != "xno"
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15513 printf %s
"checking for -lOSMesa... " >&6; }
15514 if test ${ac_cv_lib_soname_OSMesa+y}
15516 printf %s
"(cached) " >&6
15518 ac_check_soname_save_LIBS
=$LIBS
15519 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15523 /* Override any GCC internal prototype to avoid an error.
15524 Use char because int might match the return type of a GCC
15525 builtin and then its argument prototype would still apply. */
15526 char OSMesaGetProcAddress ();
15530 return OSMesaGetProcAddress ();
15535 if ac_fn_c_try_link
"$LINENO"
15538 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 dylib
) ac_cv_lib_soname_OSMesa
=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15540 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_OSMesa:+false} :
15543 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15547 ac_cv_lib_soname_OSMesa
=
15549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15550 conftest
$ac_exeext conftest.
$ac_ext
15551 LIBS
=$ac_check_soname_save_LIBS
15553 if ${ac_cv_lib_soname_OSMesa:+false} :
15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15556 printf "%s\n" "not found" >&6; }
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15560 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15562 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15566 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15568 case "x$with_osmesa" in
15569 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15571 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15572 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15578 if test -n "$opengl_msg"
15580 case "x$with_opengl" in
15581 x
) as_fn_append wine_warnings
"|$opengl_msg
15582 OpenGL and Direct3D won't be supported." ;;
15584 *) as_fn_error $?
"$opengl_msg
15585 OpenGL and Direct3D won't be supported.
15586 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15591 CPPFLAGS
="$ac_save_CPPFLAGS"
15597 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15599 if test "x$X_LIBS" = "x"
15603 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15604 without X support, which probably isn't what you want. You will need
15605 to install ${notice_platform}development packages of Xlib at the very least.
15606 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15608 enable_winex11_drv
=${enable_winex11_drv:-no}
15611 if test "x$X_LIBS" = "x"
15614 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15616 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15617 This is an error since --with-x was requested." "$LINENO" 5 ;;
15619 enable_winex11_drv
=${enable_winex11_drv:-no}
15623 if test "x$with_wayland" != "xno"
15626 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15628 if test ${PKG_CONFIG+y}
15630 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15634 if ${WAYLAND_CLIENT_LIBS:+false} :
15636 if test ${PKG_CONFIG+y}
15638 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15645 if test -s conftest.err
; then
15646 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15647 cat conftest.err
>&5
15650 ac_save_CPPFLAGS
=$CPPFLAGS
15651 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15652 for ac_header
in wayland-client.h
15654 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15655 if test "x$ac_cv_header_wayland_client_h" = xyes
15657 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15659 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15660 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15662 printf %s
"(cached) " >&6
15664 ac_check_lib_save_LIBS
=$LIBS
15665 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 char wl_display_connect ();
15676 return wl_display_connect ();
15681 if ac_fn_c_try_link
"$LINENO"
15683 ac_cv_lib_wayland_client_wl_display_connect
=yes
15685 ac_cv_lib_wayland_client_wl_display_connect
=no
15687 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15688 conftest
$ac_exeext conftest.
$ac_ext
15689 LIBS
=$ac_check_lib_save_LIBS
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15692 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15693 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15695 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15696 set dummy wayland-scanner
; ac_word
=$2
15697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15698 printf %s
"checking for $ac_word... " >&6; }
15699 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15701 printf %s
"(cached) " >&6
15703 case $WAYLAND_SCANNER in
15705 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15709 for as_dir
in $PATH
15712 case $as_dir in #(((
15715 *) as_dir
=$as_dir/ ;;
15717 for ac_exec_ext
in '' $ac_executable_extensions; do
15718 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15719 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15727 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`"
15731 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15732 if test -n "$WAYLAND_SCANNER"; then
15733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15734 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15737 printf "%s\n" "no" >&6; }
15742 WAYLAND_CLIENT_LIBS
=""
15748 CPPFLAGS
=$ac_save_CPPFLAGS
15751 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15753 case "x$with_wayland" in
15754 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15756 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15757 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15759 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15762 if test "$ac_cv_header_CL_cl_h" = "yes"
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15765 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15766 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15768 printf %s
"(cached) " >&6
15770 ac_check_lib_save_LIBS
=$LIBS
15771 LIBS
="-lOpenCL $LIBS"
15772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 char clGetPlatformInfo ();
15782 return clGetPlatformInfo ();
15787 if ac_fn_c_try_link
"$LINENO"
15789 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15791 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15793 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15794 conftest
$ac_exeext conftest.
$ac_ext
15795 LIBS
=$ac_check_lib_save_LIBS
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15798 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15801 OPENCL_LIBS
="-lOpenCL"
15806 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15808 case "x$with_opencl" in
15809 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15811 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15812 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15814 enable_opencl
=${enable_opencl:-no}
15817 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15820 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15821 if test ${ac_cv_lib_pcap_pcap_init+y}
15823 printf %s
"(cached) " >&6
15825 ac_check_lib_save_LIBS
=$LIBS
15826 LIBS
="-lpcap $LIBS"
15827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15830 /* Override any GCC internal prototype to avoid an error.
15831 Use char because int might match the return type of a GCC
15832 builtin and then its argument prototype would still apply. */
15837 return pcap_init ();
15842 if ac_fn_c_try_link
"$LINENO"
15844 ac_cv_lib_pcap_pcap_init
=yes
15846 ac_cv_lib_pcap_pcap_init
=no
15848 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15849 conftest
$ac_exeext conftest.
$ac_ext
15850 LIBS
=$ac_check_lib_save_LIBS
15852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15853 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15854 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15861 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15863 case "x$with_pcap" in
15864 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15866 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15867 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15869 enable_wpcap
=${enable_wpcap:-no}
15872 if test "x$with_pcsclite" != "xno"
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15875 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15876 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15878 printf %s
"(cached) " >&6
15880 ac_check_lib_save_LIBS
=$LIBS
15881 LIBS
="-lpcsclite $LIBS"
15882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15888 char SCardEstablishContext ();
15892 return SCardEstablishContext ();
15897 if ac_fn_c_try_link
"$LINENO"
15899 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15901 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15903 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15904 conftest
$ac_exeext conftest.
$ac_ext
15905 LIBS
=$ac_check_lib_save_LIBS
15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15908 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15909 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15911 PCSCLITE_LIBS
="-lpcsclite"
15916 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15918 case "x$with_pcsclite" in
15919 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15921 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15922 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15924 enable_winscard
=${enable_winscard:-no}
15927 if test "x$with_inotify" != "xno"
15930 if ${INOTIFY_CFLAGS:+false} :
15932 if test ${PKG_CONFIG+y}
15934 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15938 if ${INOTIFY_LIBS:+false} :
15940 if test ${PKG_CONFIG+y}
15942 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15949 if test -s conftest.err
; then
15950 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15951 cat conftest.err
>&5
15954 ac_save_CPPFLAGS
=$CPPFLAGS
15955 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15956 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15957 if test "x$ac_cv_header_sys_inotify_h" = xyes
15959 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15964 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15965 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15967 printf %s
"(cached) " >&6
15969 ac_check_lib_save_LIBS
=$LIBS
15970 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15974 /* Override any GCC internal prototype to avoid an error.
15975 Use char because int might match the return type of a GCC
15976 builtin and then its argument prototype would still apply. */
15977 char inotify_add_watch ();
15981 return inotify_add_watch ();
15986 if ac_fn_c_try_link
"$LINENO"
15988 ac_cv_lib_inotify_inotify_add_watch
=yes
15990 ac_cv_lib_inotify_inotify_add_watch
=no
15992 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15993 conftest
$ac_exeext conftest.
$ac_ext
15994 LIBS
=$ac_check_lib_save_LIBS
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15997 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15998 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16005 CPPFLAGS
=$ac_save_CPPFLAGS
16008 if test "$ac_cv_header_sys_inotify_h" != "yes"
16010 case "x$with_inotify" in
16011 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16013 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16014 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16019 if test "x$with_dbus" != "xno"
16022 if ${DBUS_CFLAGS:+false} :
16024 if test ${PKG_CONFIG+y}
16026 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16030 if ${DBUS_LIBS:+false} :
16032 if test ${PKG_CONFIG+y}
16034 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16041 if test -s conftest.err
; then
16042 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16043 cat conftest.err
>&5
16046 ac_save_CPPFLAGS
=$CPPFLAGS
16047 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16048 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16049 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16052 printf %s
"checking for -ldbus-1... " >&6; }
16053 if test ${ac_cv_lib_soname_dbus_1+y}
16055 printf %s
"(cached) " >&6
16057 ac_check_soname_save_LIBS
=$LIBS
16058 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16060 /* end confdefs.h. */
16062 /* Override any GCC internal prototype to avoid an error.
16063 Use char because int might match the return type of a GCC
16064 builtin and then its argument prototype would still apply. */
16065 char dbus_connection_close ();
16069 return dbus_connection_close ();
16074 if ac_fn_c_try_link
"$LINENO"
16077 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16078 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'` ;;
16079 *) 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'`
16080 if ${ac_cv_lib_soname_dbus_1:+false} :
16082 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16086 ac_cv_lib_soname_dbus_1
=
16088 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16089 conftest
$ac_exeext conftest.
$ac_ext
16090 LIBS
=$ac_check_soname_save_LIBS
16092 if ${ac_cv_lib_soname_dbus_1:+false} :
16094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16095 printf "%s\n" "not found" >&6; }
16098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16099 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16101 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16109 CPPFLAGS
=$ac_save_CPPFLAGS
16113 darwin
*|macosx
*) ;;
16114 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16116 case "x$with_dbus" in
16117 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16119 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16120 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16126 if test "x$with_gnutls" != "xno"
16129 if ${GNUTLS_CFLAGS:+false} :
16131 if test ${PKG_CONFIG+y}
16133 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16137 if ${GNUTLS_LIBS:+false} :
16139 if test ${PKG_CONFIG+y}
16141 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16145 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16148 if test -s conftest.err
; then
16149 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16150 cat conftest.err
>&5
16153 ac_save_CPPFLAGS
=$CPPFLAGS
16154 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16155 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16156 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <gnutls/gnutls.h>
16161 #include <gnutls/crypto.h>
16165 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16170 if ac_fn_c_try_compile
"$LINENO"
16172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16173 printf %s
"checking for -lgnutls... " >&6; }
16174 if test ${ac_cv_lib_soname_gnutls+y}
16176 printf %s
"(cached) " >&6
16178 ac_check_soname_save_LIBS
=$LIBS
16179 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 /* Override any GCC internal prototype to avoid an error.
16184 Use char because int might match the return type of a GCC
16185 builtin and then its argument prototype would still apply. */
16186 char gnutls_global_init ();
16190 return gnutls_global_init ();
16195 if ac_fn_c_try_link
"$LINENO"
16198 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16199 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'` ;;
16200 *) 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'`
16201 if ${ac_cv_lib_soname_gnutls:+false} :
16203 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'`
16207 ac_cv_lib_soname_gnutls
=
16209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16210 conftest
$ac_exeext conftest.
$ac_ext
16211 LIBS
=$ac_check_soname_save_LIBS
16213 if ${ac_cv_lib_soname_gnutls:+false} :
16215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16216 printf "%s\n" "not found" >&6; }
16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16220 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16222 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16226 ac_wine_check_funcs_save_LIBS
="$LIBS"
16227 LIBS
="$LIBS $GNUTLS_LIBS"
16229 for ac_func
in gnutls_cipher_init
16231 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16232 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16234 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16237 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16241 LIBS
="$ac_wine_check_funcs_save_LIBS"
16243 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16248 CPPFLAGS
=$ac_save_CPPFLAGS
16251 if test "x$ac_cv_lib_soname_gnutls" = "x"
16253 case "x$with_gnutls" in
16254 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16256 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16257 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16262 if test "x$with_sane" != "xno"
16265 if ${SANE_CFLAGS:+false} :
16267 if test ${PKG_CONFIG+y}
16269 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16272 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16273 if ${SANE_LIBS:+false} :
16275 if test ${PKG_CONFIG+y}
16277 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16280 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16284 if test -s conftest.err
; then
16285 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16286 cat conftest.err
>&5
16289 ac_save_CPPFLAGS
=$CPPFLAGS
16290 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16291 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16292 if test "x$ac_cv_header_sane_sane_h" = xyes
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16295 printf %s
"checking for sane_init in -lsane... " >&6; }
16296 if test ${ac_cv_lib_sane_sane_init+y}
16298 printf %s
"(cached) " >&6
16300 ac_check_lib_save_LIBS
=$LIBS
16301 LIBS
="-lsane $SANE_LIBS $LIBS"
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16312 return sane_init ();
16317 if ac_fn_c_try_link
"$LINENO"
16319 ac_cv_lib_sane_sane_init
=yes
16321 ac_cv_lib_sane_sane_init
=no
16323 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16324 conftest
$ac_exeext conftest.
$ac_ext
16325 LIBS
=$ac_check_lib_save_LIBS
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16328 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16329 if test "x$ac_cv_lib_sane_sane_init" = xyes
16336 CPPFLAGS
=$ac_save_CPPFLAGS
16339 if test "$ac_cv_lib_sane_sane_init" != "yes"
16341 case "x$with_sane" in
16342 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16344 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16345 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16347 enable_sane_ds
=${enable_sane_ds:-no}
16350 if test "x$with_usb" != "xno"
16353 if ${USB_CFLAGS:+false} :
16355 if test ${PKG_CONFIG+y}
16357 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16361 if ${USB_LIBS:+false} :
16363 if test ${PKG_CONFIG+y}
16365 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16369 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16372 if test -s conftest.err
; then
16373 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16374 cat conftest.err
>&5
16377 ac_save_CPPFLAGS
=$CPPFLAGS
16378 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16379 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16380 if test "x$ac_cv_header_libusb_h" = xyes
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16383 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16384 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16386 printf %s
"(cached) " >&6
16388 ac_check_lib_save_LIBS
=$LIBS
16389 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16393 /* Override any GCC internal prototype to avoid an error.
16394 Use char because int might match the return type of a GCC
16395 builtin and then its argument prototype would still apply. */
16396 char libusb_interrupt_event_handler ();
16400 return libusb_interrupt_event_handler ();
16405 if ac_fn_c_try_link
"$LINENO"
16407 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16409 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16411 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16412 conftest
$ac_exeext conftest.
$ac_ext
16413 LIBS
=$ac_check_lib_save_LIBS
16415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16416 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16417 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16428 CPPFLAGS
=$ac_save_CPPFLAGS
16431 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16433 case "x$with_usb" in
16434 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16436 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16437 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16439 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16442 if test "x$with_v4l2" != "xno"
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16445 printf %s
"checking for -lv4l2... " >&6; }
16446 if test ${ac_cv_lib_soname_v4l2+y}
16448 printf %s
"(cached) " >&6
16450 ac_check_soname_save_LIBS
=$LIBS
16451 LIBS
="-lv4l2 $LIBS"
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16462 return v4l2_open ();
16467 if ac_fn_c_try_link
"$LINENO"
16470 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16471 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'` ;;
16472 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16473 if ${ac_cv_lib_soname_v4l2:+false} :
16475 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16479 ac_cv_lib_soname_v4l2
=
16481 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16482 conftest
$ac_exeext conftest.
$ac_ext
16483 LIBS
=$ac_check_soname_save_LIBS
16485 if ${ac_cv_lib_soname_v4l2:+false} :
16487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16488 printf "%s\n" "not found" >&6; }
16491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16492 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16494 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16499 if test "x$ac_cv_lib_soname_v4l2" = "x"
16501 case "x$with_v4l2" in
16502 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16504 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16505 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16510 if test "x$with_gphoto" != "xno"
16513 if ${GPHOTO2_CFLAGS:+false} :
16515 if test ${PKG_CONFIG+y}
16517 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16520 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16521 if ${GPHOTO2_LIBS:+false} :
16523 if test ${PKG_CONFIG+y}
16525 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16528 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16529 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16532 if test -s conftest.err
; then
16533 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16534 cat conftest.err
>&5
16537 ac_save_CPPFLAGS
=$CPPFLAGS
16538 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16539 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16540 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16543 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16544 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16546 printf %s
"(cached) " >&6
16548 ac_check_lib_save_LIBS
=$LIBS
16549 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 char gp_camera_new ();
16560 return gp_camera_new ();
16565 if ac_fn_c_try_link
"$LINENO"
16567 ac_cv_lib_gphoto2_gp_camera_new
=yes
16569 ac_cv_lib_gphoto2_gp_camera_new
=no
16571 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16572 conftest
$ac_exeext conftest.
$ac_ext
16573 LIBS
=$ac_check_lib_save_LIBS
16575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16576 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16577 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16584 CPPFLAGS
=$ac_save_CPPFLAGS
16587 if ${GPHOTO2_PORT_CFLAGS:+false} :
16589 if test ${PKG_CONFIG+y}
16591 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16594 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16595 if ${GPHOTO2_PORT_LIBS:+false} :
16597 if test ${PKG_CONFIG+y}
16599 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16602 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16603 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16606 if test -s conftest.err
; then
16607 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16608 cat conftest.err
>&5
16611 ac_save_CPPFLAGS
=$CPPFLAGS
16612 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16613 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16614 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16617 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16618 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16620 printf %s
"(cached) " >&6
16622 ac_check_lib_save_LIBS
=$LIBS
16623 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16627 /* Override any GCC internal prototype to avoid an error.
16628 Use char because int might match the return type of a GCC
16629 builtin and then its argument prototype would still apply. */
16630 char gp_port_info_list_new ();
16634 return gp_port_info_list_new ();
16639 if ac_fn_c_try_link
"$LINENO"
16641 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16643 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16645 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16646 conftest
$ac_exeext conftest.
$ac_ext
16647 LIBS
=$ac_check_lib_save_LIBS
16649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16650 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16651 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16654 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16657 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16661 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16664 CPPFLAGS
=$ac_save_CPPFLAGS
16667 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16669 case "x$with_gphoto" in
16670 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16672 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16673 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16675 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16677 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16679 case "x$with_gphoto" in
16680 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16682 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16683 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16689 if test "$ac_cv_header_resolv_h" = "yes"
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16692 printf %s
"checking for resolver library... " >&6; }
16693 if test ${ac_cv_have_resolv+y}
16695 printf %s
"(cached) " >&6
16697 ac_save_LIBS
="$LIBS"
16698 for lib
in '' -lresolv
16700 LIBS
="$lib $ac_save_LIBS"
16701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #ifdef HAVE_NETINET_IN_H
16704 #include <netinet/in.h>
16706 #include <resolv.h>
16710 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16715 if ac_fn_c_try_link
"$LINENO"
16717 ac_cv_have_resolv
=${lib:-"none required"}
16719 ac_cv_have_resolv
="not found"
16721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16722 conftest
$ac_exeext conftest.
$ac_ext
16723 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16725 LIBS
="$ac_save_LIBS"
16727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16728 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16730 case "$ac_cv_have_resolv" in
16734 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16737 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16739 RESOLV_LIBS
=$ac_cv_have_resolv
16743 if test "x$ac_cv_have_resolv" != "xnot found"
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16746 printf %s
"checking for res_getservers... " >&6; }
16747 if test ${ac_cv_have_res_getservers+y}
16749 printf %s
"(cached) " >&6
16751 ac_save_LIBS
="$LIBS"
16752 LIBS
="$RESOLV_LIBS $LIBS"
16753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #include <resolv.h>
16759 res_getservers(NULL, NULL, 0);
16764 if ac_fn_c_try_link
"$LINENO"
16766 ac_cv_have_res_getservers
=yes
16768 ac_cv_have_res_getservers
=no
16770 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16771 conftest
$ac_exeext conftest.
$ac_ext
16772 LIBS
="$ac_save_LIBS"
16774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16775 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16776 if test "$ac_cv_have_res_getservers" = "yes"
16779 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16785 if test "x$with_freetype" != "xno"
16788 if ${FREETYPE_CFLAGS:+false} :
16790 if test ${PKG_CONFIG+y}
16792 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16795 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16796 if ${FREETYPE_LIBS:+false} :
16798 if test ${PKG_CONFIG+y}
16800 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16803 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16804 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16807 if test -s conftest.err
; then
16808 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16809 cat conftest.err
>&5
16812 ac_save_CPPFLAGS
=$CPPFLAGS
16813 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16814 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16815 if test "x$ac_cv_header_ft2build_h" = xyes
16817 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16821 if test "$ac_cv_header_ft2build_h" = "yes"
16823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16824 printf %s
"checking for -lfreetype... " >&6; }
16825 if test ${ac_cv_lib_soname_freetype+y}
16827 printf %s
"(cached) " >&6
16829 ac_check_soname_save_LIBS
=$LIBS
16830 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 char FT_Init_FreeType ();
16841 return FT_Init_FreeType ();
16846 if ac_fn_c_try_link
"$LINENO"
16849 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16850 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'` ;;
16851 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16852 if ${ac_cv_lib_soname_freetype:+false} :
16854 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16858 ac_cv_lib_soname_freetype
=
16860 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16861 conftest
$ac_exeext conftest.
$ac_ext
16862 LIBS
=$ac_check_soname_save_LIBS
16864 if ${ac_cv_lib_soname_freetype:+false} :
16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16867 printf "%s\n" "not found" >&6; }
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16871 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16873 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16876 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16878 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16879 #include FT_MODULE_H
16881 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16884 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16894 CPPFLAGS
=$ac_save_CPPFLAGS
16897 if test "x$ac_cv_lib_soname_freetype" = x
16899 case "x$with_freetype" in
16901 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16902 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16904 enable_fonts
=${enable_fonts:-no}
16907 ac_wine_check_funcs_save_LIBS
="$LIBS"
16908 LIBS
="$LIBS $PTHREAD_LIBS"
16909 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16910 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16912 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16916 LIBS
="$ac_wine_check_funcs_save_LIBS"
16918 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16920 if test "$ac_cv_header_gettext_po_h" = "yes"
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16923 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16924 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16926 printf %s
"(cached) " >&6
16928 ac_check_lib_save_LIBS
=$LIBS
16929 LIBS
="-lgettextpo $LIBS"
16930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16933 /* Override any GCC internal prototype to avoid an error.
16934 Use char because int might match the return type of a GCC
16935 builtin and then its argument prototype would still apply. */
16936 char po_message_msgctxt ();
16940 return po_message_msgctxt ();
16945 if ac_fn_c_try_link
"$LINENO"
16947 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16949 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16951 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16952 conftest
$ac_exeext conftest.
$ac_ext
16953 LIBS
=$ac_check_lib_save_LIBS
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16956 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16957 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16960 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16962 GETTEXTPO_LIBS
="-lgettextpo"
16967 if test "x$GETTEXTPO_LIBS" = "x"
16969 case "x$with_gettextpo" in
16970 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16972 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16973 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16977 if test "$srcdir" != .
16979 case "x$with_gettextpo" in
16980 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16982 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16989 if test "x$with_pulse" != "xno";
16992 if ${PULSE_CFLAGS:+false} :
16994 if test ${PKG_CONFIG+y}
16996 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17000 if ${PULSE_LIBS:+false} :
17002 if test ${PKG_CONFIG+y}
17004 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17011 if test -s conftest.err
; then
17012 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17013 cat conftest.err
>&5
17016 ac_save_CPPFLAGS
=$CPPFLAGS
17017 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17018 for ac_header
in pulse
/pulseaudio.h
17020 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17021 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17023 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17025 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17026 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17028 printf %s
"(cached) " >&6
17030 ac_check_lib_save_LIBS
=$LIBS
17031 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17038 char pa_stream_is_corked ();
17042 return pa_stream_is_corked ();
17047 if ac_fn_c_try_link
"$LINENO"
17049 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17051 ac_cv_lib_pulse_pa_stream_is_corked
=no
17053 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17054 conftest
$ac_exeext conftest.
$ac_ext
17055 LIBS
=$ac_check_lib_save_LIBS
17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17058 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17059 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17071 CPPFLAGS
=$ac_save_CPPFLAGS
17074 if test -z "$PULSE_LIBS"
17076 case "x$with_pulse" in
17077 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17079 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17080 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17082 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17085 if test "x$with_gstreamer" != "xno"
17088 if ${GSTREAMER_CFLAGS:+false} :
17090 if test ${PKG_CONFIG+y}
17092 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17096 if ${GSTREAMER_LIBS:+false} :
17098 if test ${PKG_CONFIG+y}
17100 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17105 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
17106 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
17107 if test -s conftest.err
; then
17108 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17109 cat conftest.err
>&5
17112 ac_save_CPPFLAGS
=$CPPFLAGS
17113 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17114 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17115 if test "x$ac_cv_header_gst_gst_h" = xyes
17117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17118 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <gst/gst.h>
17125 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17130 if ac_fn_c_try_compile
"$LINENO"
17132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17133 printf "%s\n" "yes" >&6; }
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17135 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17136 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17138 printf %s
"(cached) " >&6
17140 ac_check_lib_save_LIBS
=$LIBS
17141 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17145 /* Override any GCC internal prototype to avoid an error.
17146 Use char because int might match the return type of a GCC
17147 builtin and then its argument prototype would still apply. */
17148 char gst_pad_new ();
17152 return gst_pad_new ();
17157 if ac_fn_c_try_link
"$LINENO"
17159 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17161 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17164 conftest
$ac_exeext conftest.
$ac_ext
17165 LIBS
=$ac_check_lib_save_LIBS
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17168 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17169 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17176 printf "%s\n" "no" >&6; }
17177 ac_glib2_broken
=yes
17178 enable_winegstreamer
=${enable_winegstreamer:-no}
17179 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17181 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17184 CPPFLAGS
=$ac_save_CPPFLAGS
17187 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17189 case "x$with_gstreamer" in
17190 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17192 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17193 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17195 enable_winegstreamer
=${enable_winegstreamer:-no}
17200 if test "x$with_alsa" != "xno"
17202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17203 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17204 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17206 printf %s
"(cached) " >&6
17208 ac_check_lib_save_LIBS
=$LIBS
17209 LIBS
="-lasound $LIBS"
17210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17213 /* Override any GCC internal prototype to avoid an error.
17214 Use char because int might match the return type of a GCC
17215 builtin and then its argument prototype would still apply. */
17216 char snd_pcm_hw_params_get_access_mask ();
17220 return snd_pcm_hw_params_get_access_mask ();
17225 if ac_fn_c_try_link
"$LINENO"
17227 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17229 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17231 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17232 conftest
$ac_exeext conftest.
$ac_ext
17233 LIBS
=$ac_check_lib_save_LIBS
17235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17236 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17237 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 #include <alsa/asoundlib.h>
17245 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17250 if ac_fn_c_try_compile
"$LINENO"
17252 ALSA_LIBS
="-lasound"
17254 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17258 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17260 if test "x$with_oss" != xno
17262 ac_save_CPPFLAGS
="$CPPFLAGS"
17263 if test -f /etc
/oss.conf
17267 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17268 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17269 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17270 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17272 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17274 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17277 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17279 OSS4_CFLAGS
="$ac_oss_incl"
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17282 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17283 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17285 printf %s
"(cached) " >&6
17287 ac_check_lib_save_LIBS
=$LIBS
17288 LIBS
="-lossaudio $LIBS"
17289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17292 /* Override any GCC internal prototype to avoid an error.
17293 Use char because int might match the return type of a GCC
17294 builtin and then its argument prototype would still apply. */
17295 char _oss_ioctl ();
17299 return _oss_ioctl ();
17304 if ac_fn_c_try_link
"$LINENO"
17306 ac_cv_lib_ossaudio__oss_ioctl
=yes
17308 ac_cv_lib_ossaudio__oss_ioctl
=no
17310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17311 conftest
$ac_exeext conftest.
$ac_ext
17312 LIBS
=$ac_check_lib_save_LIBS
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17315 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17316 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17318 OSS4_LIBS
="-lossaudio"
17326 CPPFLAGS
="$ac_save_CPPFLAGS"
17328 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17330 case "x$with_oss" in
17331 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17333 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17334 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17336 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17339 if test "x$with_udev" != "xno"
17342 if ${UDEV_CFLAGS:+false} :
17344 if test ${PKG_CONFIG+y}
17346 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17350 if ${UDEV_LIBS:+false} :
17352 if test ${PKG_CONFIG+y}
17354 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17358 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17361 if test -s conftest.err
; then
17362 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17363 cat conftest.err
>&5
17366 ac_save_CPPFLAGS
=$CPPFLAGS
17367 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17368 for ac_header
in libudev.h
17370 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17371 if test "x$ac_cv_header_libudev_h" = xyes
17373 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17375 printf %s
"checking for udev_new in -ludev... " >&6; }
17376 if test ${ac_cv_lib_udev_udev_new+y}
17378 printf %s
"(cached) " >&6
17380 ac_check_lib_save_LIBS
=$LIBS
17381 LIBS
="-ludev $UDEV_LIBS $LIBS"
17382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17385 /* Override any GCC internal prototype to avoid an error.
17386 Use char because int might match the return type of a GCC
17387 builtin and then its argument prototype would still apply. */
17392 return udev_new ();
17397 if ac_fn_c_try_link
"$LINENO"
17399 ac_cv_lib_udev_udev_new
=yes
17401 ac_cv_lib_udev_udev_new
=no
17403 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17404 conftest
$ac_exeext conftest.
$ac_ext
17405 LIBS
=$ac_check_lib_save_LIBS
17407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17408 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17409 if test "x$ac_cv_lib_udev_udev_new" = xyes
17412 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17423 CPPFLAGS
=$ac_save_CPPFLAGS
17426 if test "x$UDEV_LIBS" = "x"
17428 case "x$with_udev" in
17429 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17431 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17432 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17437 if test "x$with_unwind" != xno
17440 if ${UNWIND_CFLAGS:+false} :
17442 if test ${PKG_CONFIG+y}
17444 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17448 if ${UNWIND_LIBS:+false} :
17450 if test ${PKG_CONFIG+y}
17452 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17456 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17459 if test -s conftest.err
; then
17460 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17461 cat conftest.err
>&5
17464 ac_save_CPPFLAGS
=$CPPFLAGS
17465 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17467 printf %s
"checking for unw_step... " >&6; }
17468 if test ${wine_cv_have_unw_step+y}
17470 printf %s
"(cached) " >&6
17472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #define UNW_LOCAL_ONLY
17475 #include <libunwind.h>
17479 unw_cursor_t cursor; unw_step( &cursor );
17484 if ac_fn_c_try_link
"$LINENO"
17486 wine_cv_have_unw_step
="yes"
17488 wine_cv_have_unw_step
="no"
17490 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17491 conftest
$ac_exeext conftest.
$ac_ext
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17494 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17495 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17498 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17499 LIBS
="$UNWIND_LIBS $LIBS"
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17501 printf %s
"checking for unw_step in libunwind... " >&6; }
17502 if test ${wine_cv_have_libunwind_unw_step+y}
17504 printf %s
"(cached) " >&6
17506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 #define UNW_LOCAL_ONLY
17509 #include <libunwind.h>
17513 unw_cursor_t cursor; unw_step( &cursor );
17518 if ac_fn_c_try_link
"$LINENO"
17520 wine_cv_have_libunwind_unw_step
="yes"
17522 wine_cv_have_libunwind_unw_step
="no"
17524 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17525 conftest
$ac_exeext conftest.
$ac_ext
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17528 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17531 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17532 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17535 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17538 CPPFLAGS
=$ac_save_CPPFLAGS
17542 aarch64
*|
*-darwin*)
17543 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17545 case "x$with_unwind" in
17546 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17548 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17549 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17555 if test "x$with_sdl" != "xno"
17558 if ${SDL2_CFLAGS:+false} :
17560 if test ${PKG_CONFIG+y}
17562 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17566 if ${SDL2_LIBS:+false} :
17568 if test ${PKG_CONFIG+y}
17570 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17574 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17577 if test -s conftest.err
; then
17578 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17579 cat conftest.err
>&5
17582 ac_save_CPPFLAGS
=$CPPFLAGS
17583 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17584 for ac_header
in SDL.h
17586 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17587 if test "x$ac_cv_header_SDL_h" = xyes
17589 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17591 printf %s
"checking for -lSDL2... " >&6; }
17592 if test ${ac_cv_lib_soname_SDL2+y}
17594 printf %s
"(cached) " >&6
17596 ac_check_soname_save_LIBS
=$LIBS
17597 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17601 /* Override any GCC internal prototype to avoid an error.
17602 Use char because int might match the return type of a GCC
17603 builtin and then its argument prototype would still apply. */
17608 return SDL_Init ();
17613 if ac_fn_c_try_link
"$LINENO"
17616 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17617 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'` ;;
17618 *) 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'`
17619 if ${ac_cv_lib_soname_SDL2:+false} :
17621 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17625 ac_cv_lib_soname_SDL2
=
17627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17628 conftest
$ac_exeext conftest.
$ac_ext
17629 LIBS
=$ac_check_soname_save_LIBS
17631 if ${ac_cv_lib_soname_SDL2:+false} :
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17634 printf "%s\n" "not found" >&6; }
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17638 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17640 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17647 CPPFLAGS
=$ac_save_CPPFLAGS
17650 if test "x$ac_cv_lib_soname_SDL2" = "x"
17652 case "x$with_sdl" in
17653 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17655 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17656 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17661 if test "x$with_capi" != "xno"
17664 if ${CAPI20_CFLAGS:+false} :
17666 if test ${PKG_CONFIG+y}
17668 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17672 if ${CAPI20_LIBS:+false} :
17674 if test ${PKG_CONFIG+y}
17676 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17683 if test -s conftest.err
; then
17684 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17685 cat conftest.err
>&5
17688 ac_save_CPPFLAGS
=$CPPFLAGS
17689 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17690 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17692 if test "x$ac_cv_header_capi20_h" = xyes
17694 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17697 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17699 if test "x$ac_cv_header_linux_capi_h" = xyes
17701 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17705 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17708 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17709 if test ${ac_cv_lib_capi20_capi20_register+y}
17711 printf %s
"(cached) " >&6
17713 ac_check_lib_save_LIBS
=$LIBS
17714 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17718 /* Override any GCC internal prototype to avoid an error.
17719 Use char because int might match the return type of a GCC
17720 builtin and then its argument prototype would still apply. */
17721 char capi20_register ();
17725 return capi20_register ();
17730 if ac_fn_c_try_link
"$LINENO"
17732 ac_cv_lib_capi20_capi20_register
=yes
17734 ac_cv_lib_capi20_capi20_register
=no
17736 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17737 conftest
$ac_exeext conftest.
$ac_ext
17738 LIBS
=$ac_check_lib_save_LIBS
17740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17741 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17742 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17750 CPPFLAGS
=$ac_save_CPPFLAGS
17753 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17755 case "x$with_capi" in
17756 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17758 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17759 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17761 enable_capi2032
=${enable_capi2032:-no}
17764 if test "x$with_cups" != "xno"
17767 if ${CUPS_CFLAGS:+false} :
17769 if test ${PKG_CONFIG+y}
17771 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17774 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17775 if ${CUPS_LIBS:+false} :
17777 if test ${PKG_CONFIG+y}
17779 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17782 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17783 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17786 if test -s conftest.err
; then
17787 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17788 cat conftest.err
>&5
17791 ac_save_CPPFLAGS
=$CPPFLAGS
17792 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17793 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17794 if test "x$ac_cv_header_cups_cups_h" = xyes
17796 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17799 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17800 if test "x$ac_cv_header_cups_ppd_h" = xyes
17802 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17806 if test "$ac_cv_header_cups_cups_h" = "yes"
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17809 printf %s
"checking for -lcups... " >&6; }
17810 if test ${ac_cv_lib_soname_cups+y}
17812 printf %s
"(cached) " >&6
17814 ac_check_soname_save_LIBS
=$LIBS
17815 LIBS
="-lcups $CUPS_LIBS $LIBS"
17816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 /* Override any GCC internal prototype to avoid an error.
17820 Use char because int might match the return type of a GCC
17821 builtin and then its argument prototype would still apply. */
17822 char cupsGetDefault ();
17826 return cupsGetDefault ();
17831 if ac_fn_c_try_link
"$LINENO"
17834 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17835 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'` ;;
17836 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17837 if ${ac_cv_lib_soname_cups:+false} :
17839 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17843 ac_cv_lib_soname_cups
=
17845 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17846 conftest
$ac_exeext conftest.
$ac_ext
17847 LIBS
=$ac_check_soname_save_LIBS
17849 if ${ac_cv_lib_soname_cups:+false} :
17851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17852 printf "%s\n" "not found" >&6; }
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17856 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17858 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17866 CPPFLAGS
=$ac_save_CPPFLAGS
17869 if test "x$ac_cv_lib_soname_cups" = "x"
17871 case "x$with_cups" in
17872 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17874 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17875 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17880 if test "x$with_fontconfig" != "xno"
17883 if ${FONTCONFIG_CFLAGS:+false} :
17885 if test ${PKG_CONFIG+y}
17887 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17890 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17891 if ${FONTCONFIG_LIBS:+false} :
17893 if test ${PKG_CONFIG+y}
17895 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17898 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17902 if test -s conftest.err
; then
17903 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17904 cat conftest.err
>&5
17907 ac_save_CPPFLAGS
=$CPPFLAGS
17908 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17909 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17910 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17912 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17916 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17919 printf %s
"checking for -lfontconfig... " >&6; }
17920 if test ${ac_cv_lib_soname_fontconfig+y}
17922 printf %s
"(cached) " >&6
17924 ac_check_soname_save_LIBS
=$LIBS
17925 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17929 /* Override any GCC internal prototype to avoid an error.
17930 Use char because int might match the return type of a GCC
17931 builtin and then its argument prototype would still apply. */
17941 if ac_fn_c_try_link
"$LINENO"
17944 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17945 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'` ;;
17946 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17947 if ${ac_cv_lib_soname_fontconfig:+false} :
17949 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17953 ac_cv_lib_soname_fontconfig
=
17955 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17956 conftest
$ac_exeext conftest.
$ac_ext
17957 LIBS
=$ac_check_soname_save_LIBS
17959 if ${ac_cv_lib_soname_fontconfig:+false} :
17961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17962 printf "%s\n" "not found" >&6; }
17963 FONTCONFIG_CFLAGS
=""
17965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17966 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17968 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17973 FONTCONFIG_CFLAGS
=""
17975 CPPFLAGS
=$ac_save_CPPFLAGS
17978 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17980 case "x$with_fontconfig" in
17981 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17983 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17984 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17989 if test "x$with_krb5" != "xno"
17992 if ${KRB5_CFLAGS:+false} :
17994 if test ${PKG_CONFIG+y}
17996 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17999 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18000 if ${KRB5_LIBS:+false} :
18002 if test ${PKG_CONFIG+y}
18004 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18007 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18011 if test -s conftest.err
; then
18012 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18013 cat conftest.err
>&5
18016 ac_save_CPPFLAGS
=$CPPFLAGS
18017 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18018 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18019 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18021 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18025 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18028 printf %s
"checking for -lkrb5... " >&6; }
18029 if test ${ac_cv_lib_soname_krb5+y}
18031 printf %s
"(cached) " >&6
18033 ac_check_soname_save_LIBS
=$LIBS
18034 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18038 /* Override any GCC internal prototype to avoid an error.
18039 Use char because int might match the return type of a GCC
18040 builtin and then its argument prototype would still apply. */
18041 char krb5_is_config_principal ();
18045 return krb5_is_config_principal ();
18050 if ac_fn_c_try_link
"$LINENO"
18053 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18054 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'` ;;
18055 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18056 if ${ac_cv_lib_soname_krb5:+false} :
18058 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18062 ac_cv_lib_soname_krb5
=
18064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18065 conftest
$ac_exeext conftest.
$ac_ext
18066 LIBS
=$ac_check_soname_save_LIBS
18068 if ${ac_cv_lib_soname_krb5:+false} :
18070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18071 printf "%s\n" "not found" >&6; }
18074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18075 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18077 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18084 CPPFLAGS
=$ac_save_CPPFLAGS
18087 if test "x$ac_cv_lib_soname_krb5" = "x"
18089 case "x$with_krb5" in
18090 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18092 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18093 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18097 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18099 if test "x$with_gssapi" != "xno"
18102 if ${GSSAPI_CFLAGS:+false} :
18104 if test ${PKG_CONFIG+y}
18106 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18109 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18110 if ${GSSAPI_LIBS:+false} :
18112 if test ${PKG_CONFIG+y}
18114 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18117 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18121 if test -s conftest.err
; then
18122 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18123 cat conftest.err
>&5
18126 ac_save_CPPFLAGS
=$CPPFLAGS
18127 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18128 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18129 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18131 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18134 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18135 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18137 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18141 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18144 printf %s
"checking for -lgssapi_krb5... " >&6; }
18145 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18147 printf %s
"(cached) " >&6
18149 ac_check_soname_save_LIBS
=$LIBS
18150 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 /* Override any GCC internal prototype to avoid an error.
18155 Use char because int might match the return type of a GCC
18156 builtin and then its argument prototype would still apply. */
18157 char gss_init_sec_context ();
18161 return gss_init_sec_context ();
18166 if ac_fn_c_try_link
"$LINENO"
18169 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18170 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'` ;;
18171 *) 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'`
18172 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18174 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18178 ac_cv_lib_soname_gssapi_krb5
=
18180 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18181 conftest
$ac_exeext conftest.
$ac_ext
18182 LIBS
=$ac_check_soname_save_LIBS
18184 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18187 printf "%s\n" "not found" >&6; }
18190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18191 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18193 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18200 CPPFLAGS
=$ac_save_CPPFLAGS
18203 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18205 case "x$with_gssapi" in
18206 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18208 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18209 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18214 if test "$ac_cv_header_libprocstat_h" = "yes"
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18217 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18218 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18220 printf %s
"(cached) " >&6
18222 ac_check_lib_save_LIBS
=$LIBS
18223 LIBS
="-lprocstat $LIBS"
18224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18227 /* Override any GCC internal prototype to avoid an error.
18228 Use char because int might match the return type of a GCC
18229 builtin and then its argument prototype would still apply. */
18230 char procstat_open_sysctl ();
18234 return procstat_open_sysctl ();
18239 if ac_fn_c_try_link
"$LINENO"
18241 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18243 ac_cv_lib_procstat_procstat_open_sysctl
=no
18245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18246 conftest
$ac_exeext conftest.
$ac_ext
18247 LIBS
=$ac_check_lib_save_LIBS
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18250 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18251 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18254 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18256 PROCSTAT_LIBS
="-lprocstat"
18262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18263 printf %s
"checking for -lodbc... " >&6; }
18264 if test ${ac_cv_lib_soname_odbc+y}
18266 printf %s
"(cached) " >&6
18268 ac_check_soname_save_LIBS
=$LIBS
18269 LIBS
="-lodbc $LIBS"
18270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18273 /* Override any GCC internal prototype to avoid an error.
18274 Use char because int might match the return type of a GCC
18275 builtin and then its argument prototype would still apply. */
18276 char SQLConnect ();
18280 return SQLConnect ();
18285 if ac_fn_c_try_link
"$LINENO"
18288 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18289 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'` ;;
18290 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18291 if ${ac_cv_lib_soname_odbc:+false} :
18293 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18297 ac_cv_lib_soname_odbc
=
18299 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18300 conftest
$ac_exeext conftest.
$ac_ext
18301 LIBS
=$ac_check_soname_save_LIBS
18303 if ${ac_cv_lib_soname_odbc:+false} :
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18306 printf "%s\n" "not found" >&6; }
18307 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18311 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18313 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18318 if test "x$with_netapi" != "xno"
18321 if ${NETAPI_CFLAGS:+false} :
18323 if test ${PKG_CONFIG+y}
18325 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18329 if ${NETAPI_LIBS:+false} :
18331 if test ${PKG_CONFIG+y}
18333 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18340 if test -s conftest.err
; then
18341 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18342 cat conftest.err
>&5
18345 ac_save_CPPFLAGS
=$CPPFLAGS
18346 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18348 printf %s
"checking for -lnetapi... " >&6; }
18349 if test ${ac_cv_lib_soname_netapi+y}
18351 printf %s
"(cached) " >&6
18353 ac_check_soname_save_LIBS
=$LIBS
18354 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18358 /* Override any GCC internal prototype to avoid an error.
18359 Use char because int might match the return type of a GCC
18360 builtin and then its argument prototype would still apply. */
18361 char libnetapi_init ();
18365 return libnetapi_init ();
18370 if ac_fn_c_try_link
"$LINENO"
18373 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18374 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'` ;;
18375 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18376 if ${ac_cv_lib_soname_netapi:+false} :
18378 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18382 ac_cv_lib_soname_netapi
=
18384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18385 conftest
$ac_exeext conftest.
$ac_ext
18386 LIBS
=$ac_check_soname_save_LIBS
18388 if ${ac_cv_lib_soname_netapi:+false} :
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18391 printf "%s\n" "not found" >&6; }
18392 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18396 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18398 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18402 CPPFLAGS
=$ac_save_CPPFLAGS
18405 if test "x$ac_cv_lib_soname_netapi" = "x"
18407 case "x$with_netapi" in
18408 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18410 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18411 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18413 enable_netapi
=${enable_netapi:-no}
18417 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18418 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18420 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18423 if test "x$with_vulkan" != "xno"
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18426 printf %s
"checking for -lvulkan... " >&6; }
18427 if test ${ac_cv_lib_soname_vulkan+y}
18429 printf %s
"(cached) " >&6
18431 ac_check_soname_save_LIBS
=$LIBS
18432 LIBS
="-lvulkan $LIBS"
18433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18436 /* Override any GCC internal prototype to avoid an error.
18437 Use char because int might match the return type of a GCC
18438 builtin and then its argument prototype would still apply. */
18439 char vkGetInstanceProcAddr ();
18443 return vkGetInstanceProcAddr ();
18448 if ac_fn_c_try_link
"$LINENO"
18451 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18452 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'` ;;
18453 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18454 if ${ac_cv_lib_soname_vulkan:+false} :
18456 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18460 ac_cv_lib_soname_vulkan
=
18462 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18463 conftest
$ac_exeext conftest.
$ac_ext
18464 LIBS
=$ac_check_soname_save_LIBS
18466 if ${ac_cv_lib_soname_vulkan:+false} :
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18469 printf "%s\n" "not found" >&6; }
18472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18473 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18475 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18479 if test "x$ac_cv_lib_soname_vulkan" = "x"
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18482 printf %s
"checking for -lMoltenVK... " >&6; }
18483 if test ${ac_cv_lib_soname_MoltenVK+y}
18485 printf %s
"(cached) " >&6
18487 ac_check_soname_save_LIBS
=$LIBS
18488 LIBS
="-lMoltenVK $LIBS"
18489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18492 /* Override any GCC internal prototype to avoid an error.
18493 Use char because int might match the return type of a GCC
18494 builtin and then its argument prototype would still apply. */
18495 char vkGetInstanceProcAddr ();
18499 return vkGetInstanceProcAddr ();
18504 if ac_fn_c_try_link
"$LINENO"
18507 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18508 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'` ;;
18509 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18510 if ${ac_cv_lib_soname_MoltenVK:+false} :
18512 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18516 ac_cv_lib_soname_MoltenVK
=
18518 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18519 conftest
$ac_exeext conftest.
$ac_ext
18520 LIBS
=$ac_check_soname_save_LIBS
18522 if ${ac_cv_lib_soname_MoltenVK:+false} :
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18525 printf "%s\n" "not found" >&6; }
18528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18529 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18531 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18537 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18539 case "x$with_vulkan" in
18540 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18542 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18543 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18549 if test "x${GCC}" = "xyes"
18551 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18553 saved_CFLAGS
=$CFLAGS
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18555 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18556 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18558 printf %s
"(cached) " >&6
18560 ac_wine_try_cflags_saved
=$CFLAGS
18561 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 int main(int argc, char **argv) { return 0; }
18566 if ac_fn_c_try_link
"$LINENO"
18568 ac_cv_cflags__Werror_unknown_warning_option
=yes
18570 ac_cv_cflags__Werror_unknown_warning_option
=no
18572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18573 conftest
$ac_exeext conftest.
$ac_ext
18574 CFLAGS
=$ac_wine_try_cflags_saved
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18577 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18578 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18580 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18583 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18584 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18586 printf %s
"(cached) " >&6
18588 ac_wine_try_cflags_saved
=$CFLAGS
18589 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 int main(int argc, char **argv) { return 0; }
18594 if ac_fn_c_try_link
"$LINENO"
18596 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18598 ac_cv_cflags__Werror_unused_command_line_argument
=no
18600 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18601 conftest
$ac_exeext conftest.
$ac_ext
18602 CFLAGS
=$ac_wine_try_cflags_saved
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18605 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18606 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18608 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18611 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18612 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18614 printf %s
"(cached) " >&6
18616 ac_wine_try_cflags_saved
=$CFLAGS
18617 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 int main(int argc, char **argv) { return 0; }
18622 if ac_fn_c_try_link
"$LINENO"
18624 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18626 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18628 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18629 conftest
$ac_exeext conftest.
$ac_ext
18630 CFLAGS
=$ac_wine_try_cflags_saved
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18633 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18634 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18636 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18639 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18640 if test ${ac_cv_cflags__fcf_protection_none+y}
18642 printf %s
"(cached) " >&6
18644 ac_wine_try_cflags_saved
=$CFLAGS
18645 CFLAGS
="$CFLAGS -fcf-protection=none"
18646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 int main(int argc, char **argv) { return 0; }
18650 if ac_fn_c_try_link
"$LINENO"
18652 ac_cv_cflags__fcf_protection_none
=yes
18654 ac_cv_cflags__fcf_protection_none
=no
18656 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18657 conftest
$ac_exeext conftest.
$ac_ext
18658 CFLAGS
=$ac_wine_try_cflags_saved
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18661 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18662 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18664 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18667 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18668 if test ${ac_cv_cflags__fno_stack_protector+y}
18670 printf %s
"(cached) " >&6
18672 ac_wine_try_cflags_saved
=$CFLAGS
18673 CFLAGS
="$CFLAGS -fno-stack-protector"
18674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 int main(int argc, char **argv) { return 0; }
18678 if ac_fn_c_try_link
"$LINENO"
18680 ac_cv_cflags__fno_stack_protector
=yes
18682 ac_cv_cflags__fno_stack_protector
=no
18684 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18685 conftest
$ac_exeext conftest.
$ac_ext
18686 CFLAGS
=$ac_wine_try_cflags_saved
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18689 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18690 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18692 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18695 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18696 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18698 printf %s
"(cached) " >&6
18700 ac_wine_try_cflags_saved
=$CFLAGS
18701 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 int main(int argc, char **argv) { return 0; }
18706 if ac_fn_c_try_link
"$LINENO"
18708 ac_cv_cflags__fno_strict_aliasing
=yes
18710 ac_cv_cflags__fno_strict_aliasing
=no
18712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18713 conftest
$ac_exeext conftest.
$ac_ext
18714 CFLAGS
=$ac_wine_try_cflags_saved
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18717 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18718 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18720 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18723 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18724 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18726 printf %s
"(cached) " >&6
18728 ac_wine_try_cflags_saved
=$CFLAGS
18729 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18734 if ac_fn_c_try_link
"$LINENO"
18736 ac_cv_cflags__Wdeclaration_after_statement
=yes
18738 ac_cv_cflags__Wdeclaration_after_statement
=no
18740 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18741 conftest
$ac_exeext conftest.
$ac_ext
18742 CFLAGS
=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18746 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18748 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18751 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18752 if test ${ac_cv_cflags__Wempty_body+y}
18754 printf %s
"(cached) " >&6
18756 ac_wine_try_cflags_saved
=$CFLAGS
18757 CFLAGS
="$CFLAGS -Wempty-body"
18758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18762 if ac_fn_c_try_link
"$LINENO"
18764 ac_cv_cflags__Wempty_body
=yes
18766 ac_cv_cflags__Wempty_body
=no
18768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18769 conftest
$ac_exeext conftest.
$ac_ext
18770 CFLAGS
=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18773 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18774 if test "x$ac_cv_cflags__Wempty_body" = xyes
18776 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18779 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18780 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18782 printf %s
"(cached) " >&6
18784 ac_wine_try_cflags_saved
=$CFLAGS
18785 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 int main(int argc, char **argv) { return 0; }
18790 if ac_fn_c_try_link
"$LINENO"
18792 ac_cv_cflags__Wignored_qualifiers
=yes
18794 ac_cv_cflags__Wignored_qualifiers
=no
18796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18797 conftest
$ac_exeext conftest.
$ac_ext
18798 CFLAGS
=$ac_wine_try_cflags_saved
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18801 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18802 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18804 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18807 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18808 if test ${ac_cv_cflags__Winit_self+y}
18810 printf %s
"(cached) " >&6
18812 ac_wine_try_cflags_saved
=$CFLAGS
18813 CFLAGS
="$CFLAGS -Winit-self"
18814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 int main(int argc, char **argv) { return 0; }
18818 if ac_fn_c_try_link
"$LINENO"
18820 ac_cv_cflags__Winit_self
=yes
18822 ac_cv_cflags__Winit_self
=no
18824 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18825 conftest
$ac_exeext conftest.
$ac_ext
18826 CFLAGS
=$ac_wine_try_cflags_saved
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18829 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18830 if test "x$ac_cv_cflags__Winit_self" = xyes
18832 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18835 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18836 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18838 printf %s
"(cached) " >&6
18840 ac_wine_try_cflags_saved
=$CFLAGS
18841 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18846 if ac_fn_c_try_link
"$LINENO"
18848 ac_cv_cflags__Wpacked_not_aligned
=yes
18850 ac_cv_cflags__Wpacked_not_aligned
=no
18852 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18853 conftest
$ac_exeext conftest.
$ac_ext
18854 CFLAGS
=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18857 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18858 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18860 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18863 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18864 if test ${ac_cv_cflags__Wpragma_pack+y}
18866 printf %s
"(cached) " >&6
18868 ac_wine_try_cflags_saved
=$CFLAGS
18869 CFLAGS
="$CFLAGS -Wpragma-pack"
18870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 int main(int argc, char **argv) { return 0; }
18874 if ac_fn_c_try_link
"$LINENO"
18876 ac_cv_cflags__Wpragma_pack
=yes
18878 ac_cv_cflags__Wpragma_pack
=no
18880 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18881 conftest
$ac_exeext conftest.
$ac_ext
18882 CFLAGS
=$ac_wine_try_cflags_saved
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18885 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18886 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18888 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18891 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18892 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18894 printf %s
"(cached) " >&6
18896 ac_wine_try_cflags_saved
=$CFLAGS
18897 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 int main(int argc, char **argv) { return 0; }
18902 if ac_fn_c_try_link
"$LINENO"
18904 ac_cv_cflags__Wshift_overflow_2
=yes
18906 ac_cv_cflags__Wshift_overflow_2
=no
18908 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18909 conftest
$ac_exeext conftest.
$ac_ext
18910 CFLAGS
=$ac_wine_try_cflags_saved
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18913 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18914 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18916 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18919 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18920 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18922 printf %s
"(cached) " >&6
18924 ac_wine_try_cflags_saved
=$CFLAGS
18925 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 int main(int argc, char **argv) { return 0; }
18930 if ac_fn_c_try_link
"$LINENO"
18932 ac_cv_cflags__Wstrict_prototypes
=yes
18934 ac_cv_cflags__Wstrict_prototypes
=no
18936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18937 conftest
$ac_exeext conftest.
$ac_ext
18938 CFLAGS
=$ac_wine_try_cflags_saved
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18941 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18942 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18944 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18947 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18948 if test ${ac_cv_cflags__Wtype_limits+y}
18950 printf %s
"(cached) " >&6
18952 ac_wine_try_cflags_saved
=$CFLAGS
18953 CFLAGS
="$CFLAGS -Wtype-limits"
18954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956 int main(int argc, char **argv) { return 0; }
18958 if ac_fn_c_try_link
"$LINENO"
18960 ac_cv_cflags__Wtype_limits
=yes
18962 ac_cv_cflags__Wtype_limits
=no
18964 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18965 conftest
$ac_exeext conftest.
$ac_ext
18966 CFLAGS
=$ac_wine_try_cflags_saved
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18969 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18970 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18972 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18975 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18976 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18978 printf %s
"(cached) " >&6
18980 ac_wine_try_cflags_saved
=$CFLAGS
18981 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18983 /* end confdefs.h. */
18984 int main(int argc, char **argv) { return 0; }
18986 if ac_fn_c_try_link
"$LINENO"
18988 ac_cv_cflags__Wunused_but_set_parameter
=yes
18990 ac_cv_cflags__Wunused_but_set_parameter
=no
18992 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18993 conftest
$ac_exeext conftest.
$ac_ext
18994 CFLAGS
=$ac_wine_try_cflags_saved
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18997 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18998 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19000 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19003 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19004 if test ${ac_cv_cflags__Wvla+y}
19006 printf %s
"(cached) " >&6
19008 ac_wine_try_cflags_saved
=$CFLAGS
19009 CFLAGS
="$CFLAGS -Wvla"
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 int main(int argc, char **argv) { return 0; }
19014 if ac_fn_c_try_link
"$LINENO"
19016 ac_cv_cflags__Wvla
=yes
19018 ac_cv_cflags__Wvla
=no
19020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19021 conftest
$ac_exeext conftest.
$ac_ext
19022 CFLAGS
=$ac_wine_try_cflags_saved
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19025 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19026 if test "x$ac_cv_cflags__Wvla" = xyes
19028 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19031 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19032 if test ${ac_cv_cflags__Wwrite_strings+y}
19034 printf %s
"(cached) " >&6
19036 ac_wine_try_cflags_saved
=$CFLAGS
19037 CFLAGS
="$CFLAGS -Wwrite-strings"
19038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 int main(int argc, char **argv) { return 0; }
19042 if ac_fn_c_try_link
"$LINENO"
19044 ac_cv_cflags__Wwrite_strings
=yes
19046 ac_cv_cflags__Wwrite_strings
=no
19048 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19049 conftest
$ac_exeext conftest.
$ac_ext
19050 CFLAGS
=$ac_wine_try_cflags_saved
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19053 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19054 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19056 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19060 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19061 if test ${ac_cv_cflags__Wpointer_arith+y}
19063 printf %s
"(cached) " >&6
19065 ac_wine_try_cflags_saved
=$CFLAGS
19066 CFLAGS
="$CFLAGS -Wpointer-arith"
19067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19069 int main(int argc, char **argv) { return 0; }
19071 if ac_fn_c_try_link
"$LINENO"
19073 ac_cv_cflags__Wpointer_arith
=yes
19075 ac_cv_cflags__Wpointer_arith
=no
19077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19078 conftest
$ac_exeext conftest.
$ac_ext
19079 CFLAGS
=$ac_wine_try_cflags_saved
19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19082 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19083 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19085 saved_string_h_CFLAGS
=$CFLAGS
19086 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19088 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19089 if test ${ac_cv_c_string_h_warnings+y}
19091 printf %s
"(cached) " >&6
19093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 #include <string.h>
19104 if ac_fn_c_try_compile
"$LINENO"
19106 ac_cv_c_string_h_warnings
=no
19108 ac_cv_c_string_h_warnings
=yes
19110 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19113 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19114 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19115 CFLAGS
=$saved_string_h_CFLAGS
19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19119 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19120 if test ${ac_cv_cflags__Wlogical_op+y}
19122 printf %s
"(cached) " >&6
19124 ac_wine_try_cflags_saved
=$CFLAGS
19125 CFLAGS
="$CFLAGS -Wlogical-op"
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 int main(int argc, char **argv) { return 0; }
19130 if ac_fn_c_try_link
"$LINENO"
19132 ac_cv_cflags__Wlogical_op
=yes
19134 ac_cv_cflags__Wlogical_op
=no
19136 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19137 conftest
$ac_exeext conftest.
$ac_ext
19138 CFLAGS
=$ac_wine_try_cflags_saved
19140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19141 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19142 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19144 saved_string_h_CFLAGS
=$CFLAGS
19145 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19147 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19148 if test ${ac_cv_c_logicalop_noisy+y}
19150 printf %s
"(cached) " >&6
19152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 #include <string.h>
19155 char*f(const char *h,char n) {return strchr(h,n);}
19164 if ac_fn_c_try_compile
"$LINENO"
19166 ac_cv_c_logicalop_noisy
=no
19168 ac_cv_c_logicalop_noisy
=yes
19170 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19173 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19174 CFLAGS
=$saved_string_h_CFLAGS
19175 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19179 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19180 if test ${wine_cv_64bit_compare_swap+y}
19182 printf %s
"(cached) " >&6
19184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19186 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19197 if ac_fn_c_try_compile
"$LINENO"
19199 wine_cv_64bit_compare_swap
="none needed"
19202 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19203 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19204 *) wine_cv_64bit_compare_swap
="unknown" ;;
19206 if test "x$wine_cv_64bit_compare_swap" != xunknown
19208 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19222 if ac_fn_c_try_compile
"$LINENO"
19226 wine_cv_64bit_compare_swap
="unknown"
19228 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19229 CFLAGS
=$saved_CFLAGS
19232 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19235 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19236 case "$wine_cv_64bit_compare_swap" in
19237 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19239 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19242 ac_debug_format_seen
=""
19243 for ac_flag
in $CFLAGS; do
19245 -gdwarf*) ac_debug_format_seen
=yes ;;
19246 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19249 if test "x$ac_debug_format_seen" = xdefault
19251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19252 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19253 if test ${ac_cv_cflags__gdwarf_4+y}
19255 printf %s
"(cached) " >&6
19257 ac_wine_try_cflags_saved
=$CFLAGS
19258 CFLAGS
="$CFLAGS -gdwarf-4"
19259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19261 int main(int argc, char **argv) { return 0; }
19263 if ac_fn_c_try_link
"$LINENO"
19265 ac_cv_cflags__gdwarf_4
=yes
19267 ac_cv_cflags__gdwarf_4
=no
19269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19270 conftest
$ac_exeext conftest.
$ac_ext
19271 CFLAGS
=$ac_wine_try_cflags_saved
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19274 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19275 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19277 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19284 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19285 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19286 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19288 printf %s
"(cached) " >&6
19290 ac_wine_try_cflags_saved
=$CFLAGS
19291 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 int main(int argc, char **argv) { return 0; }
19296 if ac_fn_c_try_link
"$LINENO"
19298 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19300 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19302 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19303 conftest
$ac_exeext conftest.
$ac_ext
19304 CFLAGS
=$ac_wine_try_cflags_saved
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19307 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19308 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19310 DELAYLOADFLAG
="-Wl,-delayload,"
19313 *) MSVCRTFLAGS
="-D_WIN32"
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19315 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19316 if test ${ac_cv_cflags__fno_builtin+y}
19318 printf %s
"(cached) " >&6
19320 ac_wine_try_cflags_saved
=$CFLAGS
19321 CFLAGS
="$CFLAGS -fno-builtin"
19322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 int main(int argc, char **argv) { return 0; }
19326 if ac_fn_c_try_link
"$LINENO"
19328 ac_cv_cflags__fno_builtin
=yes
19330 ac_cv_cflags__fno_builtin
=no
19332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19333 conftest
$ac_exeext conftest.
$ac_ext
19334 CFLAGS
=$ac_wine_try_cflags_saved
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19337 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19338 if test "x$ac_cv_cflags__fno_builtin" = xyes
19340 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19343 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19344 if test ${ac_cv_cflags__fshort_wchar+y}
19346 printf %s
"(cached) " >&6
19348 ac_wine_try_cflags_saved
=$CFLAGS
19349 CFLAGS
="$CFLAGS -fshort-wchar"
19350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19354 if ac_fn_c_try_link
"$LINENO"
19356 ac_cv_cflags__fshort_wchar
=yes
19358 ac_cv_cflags__fshort_wchar
=no
19360 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19361 conftest
$ac_exeext conftest.
$ac_ext
19362 CFLAGS
=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19365 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19366 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19368 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19371 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19372 if test ${ac_cv_cflags__fvisibility_hidden+y}
19374 printf %s
"(cached) " >&6
19376 ac_wine_try_cflags_saved
=$CFLAGS
19377 CFLAGS
="$CFLAGS -fvisibility=hidden"
19378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 int main(int argc, char **argv) { return 0; }
19382 if ac_fn_c_try_link
"$LINENO"
19384 ac_cv_cflags__fvisibility_hidden
=yes
19386 ac_cv_cflags__fvisibility_hidden
=no
19388 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19389 conftest
$ac_exeext conftest.
$ac_ext
19390 CFLAGS
=$ac_wine_try_cflags_saved
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19393 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19394 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19396 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19399 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19400 if test ${ac_cv_cflags__Wno_format+y}
19402 printf %s
"(cached) " >&6
19404 ac_wine_try_cflags_saved
=$CFLAGS
19405 CFLAGS
="$CFLAGS -Wno-format"
19406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 int main(int argc, char **argv) { return 0; }
19410 if ac_fn_c_try_link
"$LINENO"
19412 ac_cv_cflags__Wno_format
=yes
19414 ac_cv_cflags__Wno_format
=no
19416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19417 conftest
$ac_exeext conftest.
$ac_ext
19418 CFLAGS
=$ac_wine_try_cflags_saved
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19421 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19422 if test "x$ac_cv_cflags__Wno_format" = xyes
19424 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19429 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19430 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19431 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19433 printf %s
"(cached) " >&6
19435 ac_wine_try_cflags_saved
=$CFLAGS
19436 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 int main(int argc, char **argv) { return 0; }
19441 if ac_fn_c_try_link
"$LINENO"
19443 ac_cv_cflags__fno_omit_frame_pointer
=yes
19445 ac_cv_cflags__fno_omit_frame_pointer
=no
19447 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19448 conftest
$ac_exeext conftest.
$ac_ext
19449 CFLAGS
=$ac_wine_try_cflags_saved
19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19452 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19453 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19455 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19459 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19460 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19461 if test ${ac_cv_cflags__Wno_format+y}
19463 printf %s
"(cached) " >&6
19465 ac_wine_try_cflags_saved
=$CFLAGS
19466 CFLAGS
="$CFLAGS -Wno-format"
19467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 int main(int argc, char **argv) { return 0; }
19471 if ac_fn_c_try_link
"$LINENO"
19473 ac_cv_cflags__Wno_format
=yes
19475 ac_cv_cflags__Wno_format
=no
19477 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19478 conftest
$ac_exeext conftest.
$ac_ext
19479 CFLAGS
=$ac_wine_try_cflags_saved
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19482 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19483 if test "x$ac_cv_cflags__Wno_format" = xyes
19485 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19487 *) if test -z "$PE_ARCHS"
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19490 printf %s
"checking for working -mabi=ms... " >&6; }
19491 if test ${ac_cv_mabi_ms+y}
19493 printf %s
"(cached) " >&6
19495 CFLAGS
="$CFLAGS -mabi=ms"
19496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498 #include <stdarg.h>
19499 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19508 if ac_fn_c_try_compile
"$LINENO"
19514 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19515 CFLAGS
=$saved_CFLAGS
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19518 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19519 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
19521 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19525 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19526 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19528 printf %s
"(cached) " >&6
19530 ac_wine_try_cflags_saved
=$CFLAGS
19531 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19533 /* end confdefs.h. */
19534 int main(int argc, char **argv) { return 0; }
19536 if ac_fn_c_try_link
"$LINENO"
19538 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19540 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19542 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19543 conftest
$ac_exeext conftest.
$ac_ext
19544 CFLAGS
=$ac_wine_try_cflags_saved
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19547 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19548 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19550 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19554 CFLAGS
=$saved_CFLAGS
19556 if test "x$enable_werror" = "xyes"
19558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19559 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19560 if test ${ac_cv_cflags__Werror+y}
19562 printf %s
"(cached) " >&6
19564 ac_wine_try_cflags_saved
=$CFLAGS
19565 CFLAGS
="$CFLAGS -Werror"
19566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 int main(int argc, char **argv) { return 0; }
19570 if ac_fn_c_try_link
"$LINENO"
19572 ac_cv_cflags__Werror
=yes
19574 ac_cv_cflags__Werror
=no
19576 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19577 conftest
$ac_exeext conftest.
$ac_ext
19578 CFLAGS
=$ac_wine_try_cflags_saved
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19581 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19582 if test "x$ac_cv_cflags__Werror" = xyes
19584 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19587 if test "x$enable_build_id" = "xyes"
19589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19590 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19591 if test ${ac_cv_cflags__Wl___build_id+y}
19593 printf %s
"(cached) " >&6
19595 ac_wine_try_cflags_saved
=$CFLAGS
19596 CFLAGS
="$CFLAGS -Wl,--build-id"
19597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19599 int main(int argc, char **argv) { return 0; }
19601 if ac_fn_c_try_link
"$LINENO"
19603 ac_cv_cflags__Wl___build_id
=yes
19605 ac_cv_cflags__Wl___build_id
=no
19607 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19608 conftest
$ac_exeext conftest.
$ac_ext
19609 CFLAGS
=$ac_wine_try_cflags_saved
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19612 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19613 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19615 CFLAGS
="$CFLAGS -Wl,--build-id"
19616 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19623 printf %s
"checking for the need to disable Fortify... " >&6; }
19624 if test ${ac_cv_c_fortify_enabled+y}
19626 printf %s
"(cached) " >&6
19628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19629 /* end confdefs.h. */
19630 #include <string.h>
19634 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19635 #error Fortify enabled
19641 if ac_fn_c_try_compile
"$LINENO"
19643 ac_cv_c_fortify_enabled
=no
19645 ac_cv_c_fortify_enabled
=yes
19647 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19650 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19651 if test "$ac_cv_c_fortify_enabled" = yes
19653 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19658 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19659 if test ${ac_cv_c_cfi_support+y}
19661 printf %s
"(cached) " >&6
19663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19665 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19674 if ac_fn_c_try_compile
"$LINENO"
19676 ac_cv_c_cfi_support
="yes"
19678 ac_cv_c_cfi_support
="no"
19680 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19683 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19684 if test "$ac_cv_c_cfi_support" = "yes"
19686 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19687 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19688 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19689 elif test $HOST_ARCH = x86_64
19691 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19695 case "$HOST_ARCH,$PE_ARCHS" in
19696 x86_64
,*i386
*) wine_binary
="wine" ;;
19697 x86_64
,*) wine_binary
="wine64" ;;
19698 *) wine_binary
="wine" ;;
19700 WINELOADER_PROGRAMS
="$wine_binary"
19706 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19707 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19708 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19713 if test "$wine_can_build_preloader" = "yes"
19715 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19716 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19723 printf %s
"checking for library containing dlopen... " >&6; }
19724 if test ${ac_cv_search_dlopen+y}
19726 printf %s
"(cached) " >&6
19728 ac_func_search_save_LIBS
=$LIBS
19729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19744 for ac_lib
in '' dl
19746 if test -z "$ac_lib"; then
19747 ac_res
="none required"
19750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19752 if ac_fn_c_try_link
"$LINENO"
19754 ac_cv_search_dlopen
=$ac_res
19756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19758 if test ${ac_cv_search_dlopen+y}
19763 if test ${ac_cv_search_dlopen+y}
19767 ac_cv_search_dlopen
=no
19769 rm conftest.
$ac_ext
19770 LIBS
=$ac_func_search_save_LIBS
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19773 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19774 ac_res
=$ac_cv_search_dlopen
19775 if test "$ac_res" != no
19777 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19783 printf %s
"checking for library containing gethostbyname... " >&6; }
19784 if test ${ac_cv_search_gethostbyname+y}
19786 printf %s
"(cached) " >&6
19788 ac_func_search_save_LIBS
=$LIBS
19789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19792 /* Override any GCC internal prototype to avoid an error.
19793 Use char because int might match the return type of a GCC
19794 builtin and then its argument prototype would still apply. */
19795 char gethostbyname ();
19799 return gethostbyname ();
19804 for ac_lib
in '' nsl
19806 if test -z "$ac_lib"; then
19807 ac_res
="none required"
19810 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19812 if ac_fn_c_try_link
"$LINENO"
19814 ac_cv_search_gethostbyname
=$ac_res
19816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19818 if test ${ac_cv_search_gethostbyname+y}
19823 if test ${ac_cv_search_gethostbyname+y}
19827 ac_cv_search_gethostbyname
=no
19829 rm conftest.
$ac_ext
19830 LIBS
=$ac_func_search_save_LIBS
19832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19833 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19834 ac_res
=$ac_cv_search_gethostbyname
19835 if test "$ac_res" != no
19837 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19843 printf %s
"checking for library containing connect... " >&6; }
19844 if test ${ac_cv_search_connect+y}
19846 printf %s
"(cached) " >&6
19848 ac_func_search_save_LIBS
=$LIBS
19849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19852 /* Override any GCC internal prototype to avoid an error.
19853 Use char because int might match the return type of a GCC
19854 builtin and then its argument prototype would still apply. */
19864 for ac_lib
in '' socket
19866 if test -z "$ac_lib"; then
19867 ac_res
="none required"
19870 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19872 if ac_fn_c_try_link
"$LINENO"
19874 ac_cv_search_connect
=$ac_res
19876 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19878 if test ${ac_cv_search_connect+y}
19883 if test ${ac_cv_search_connect+y}
19887 ac_cv_search_connect
=no
19889 rm conftest.
$ac_ext
19890 LIBS
=$ac_func_search_save_LIBS
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19893 printf "%s\n" "$ac_cv_search_connect" >&6; }
19894 ac_res
=$ac_cv_search_connect
19895 if test "$ac_res" != no
19897 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19903 printf %s
"checking for library containing inet_aton... " >&6; }
19904 if test ${ac_cv_search_inet_aton+y}
19906 printf %s
"(cached) " >&6
19908 ac_func_search_save_LIBS
=$LIBS
19909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19912 /* Override any GCC internal prototype to avoid an error.
19913 Use char because int might match the return type of a GCC
19914 builtin and then its argument prototype would still apply. */
19919 return inet_aton ();
19924 for ac_lib
in '' resolv
19926 if test -z "$ac_lib"; then
19927 ac_res
="none required"
19930 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19932 if ac_fn_c_try_link
"$LINENO"
19934 ac_cv_search_inet_aton
=$ac_res
19936 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19938 if test ${ac_cv_search_inet_aton+y}
19943 if test ${ac_cv_search_inet_aton+y}
19947 ac_cv_search_inet_aton
=no
19949 rm conftest.
$ac_ext
19950 LIBS
=$ac_func_search_save_LIBS
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19953 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19954 ac_res
=$ac_cv_search_inet_aton
19955 if test "$ac_res" != no
19957 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19962 ac_save_CFLAGS
="$CFLAGS"
19963 CFLAGS
="$CFLAGS $BUILTINFLAG"
19964 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19965 if test "x$ac_cv_func_dladdr1" = xyes
19967 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19970 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19971 if test "x$ac_cv_func_dlinfo" = xyes
19973 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19976 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19977 if test "x$ac_cv_func_epoll_create" = xyes
19979 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19982 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19983 if test "x$ac_cv_func_fstatfs" = xyes
19985 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19988 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19989 if test "x$ac_cv_func_futimens" = xyes
19991 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19994 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19995 if test "x$ac_cv_func_futimes" = xyes
19997 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20000 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20001 if test "x$ac_cv_func_futimesat" = xyes
20003 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20006 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20007 if test "x$ac_cv_func_getaddrinfo" = xyes
20009 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20012 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20013 if test "x$ac_cv_func_getattrlist" = xyes
20015 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20018 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20019 if test "x$ac_cv_func_getauxval" = xyes
20021 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20024 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20025 if test "x$ac_cv_func_getifaddrs" = xyes
20027 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20030 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20031 if test "x$ac_cv_func_getrandom" = xyes
20033 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20036 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20037 if test "x$ac_cv_func_kqueue" = xyes
20039 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20042 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20043 if test "x$ac_cv_func_mach_continuous_time" = xyes
20045 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20048 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20049 if test "x$ac_cv_func_pipe2" = xyes
20051 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20054 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20055 if test "x$ac_cv_func_port_create" = xyes
20057 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20060 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20061 if test "x$ac_cv_func_posix_fadvise" = xyes
20063 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20066 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20067 if test "x$ac_cv_func_posix_fallocate" = xyes
20069 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20072 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20073 if test "x$ac_cv_func_prctl" = xyes
20075 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20078 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20079 if test "x$ac_cv_func_proc_pidinfo" = xyes
20081 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20084 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20085 if test "x$ac_cv_func_sched_yield" = xyes
20087 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20090 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20091 if test "x$ac_cv_func_setproctitle" = xyes
20093 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20096 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20097 if test "x$ac_cv_func_setprogname" = xyes
20099 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20102 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20103 if test "x$ac_cv_func_sigprocmask" = xyes
20105 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20108 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20109 if test "x$ac_cv_func_sysinfo" = xyes
20111 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20114 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20115 if test "x$ac_cv_func_tcdrain" = xyes
20117 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20120 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20121 if test "x$ac_cv_func_thr_kill2" = xyes
20123 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20127 CFLAGS
="$ac_save_CFLAGS"
20130 darwin
*|macosx
*) ;;
20131 *) ac_save_LIBS
=$LIBS
20132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20133 printf %s
"checking for library containing clock_gettime... " >&6; }
20134 if test ${ac_cv_search_clock_gettime+y}
20136 printf %s
"(cached) " >&6
20138 ac_func_search_save_LIBS
=$LIBS
20139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20142 /* Override any GCC internal prototype to avoid an error.
20143 Use char because int might match the return type of a GCC
20144 builtin and then its argument prototype would still apply. */
20145 char clock_gettime ();
20149 return clock_gettime ();
20154 for ac_lib
in '' rt
20156 if test -z "$ac_lib"; then
20157 ac_res
="none required"
20160 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20162 if ac_fn_c_try_link
"$LINENO"
20164 ac_cv_search_clock_gettime
=$ac_res
20166 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20168 if test ${ac_cv_search_clock_gettime+y}
20173 if test ${ac_cv_search_clock_gettime+y}
20177 ac_cv_search_clock_gettime
=no
20179 rm conftest.
$ac_ext
20180 LIBS
=$ac_func_search_save_LIBS
20182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20183 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20184 ac_res
=$ac_cv_search_clock_gettime
20185 if test "$ac_res" != no
20187 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20189 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20191 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20200 printf %s
"checking for sched_setaffinity... " >&6; }
20201 if test ${wine_cv_have_sched_setaffinity+y}
20203 printf %s
"(cached) " >&6
20205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20211 sched_setaffinity(0, 0, 0);
20216 if ac_fn_c_try_link
"$LINENO"
20218 wine_cv_have_sched_setaffinity
=yes
20220 wine_cv_have_sched_setaffinity
=no
20222 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20223 conftest
$ac_exeext conftest.
$ac_ext
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20226 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20227 if test "$wine_cv_have_sched_setaffinity" = "yes"
20230 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20236 printf %s
"checking for inline... " >&6; }
20237 if test ${ac_cv_c_inline+y}
20239 printf %s
"(cached) " >&6
20242 for ac_kw
in inline __inline__ __inline
; do
20243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20245 #ifndef __cplusplus
20247 static $ac_kw foo_t static_foo (void) {return 0; }
20248 $ac_kw foo_t foo (void) {return 0; }
20252 if ac_fn_c_try_compile
"$LINENO"
20254 ac_cv_c_inline
=$ac_kw
20256 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20257 test "$ac_cv_c_inline" != no
&& break
20261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20262 printf "%s\n" "$ac_cv_c_inline" >&6; }
20264 case $ac_cv_c_inline in
20267 case $ac_cv_c_inline in
20269 *) ac_val
=$ac_cv_c_inline;;
20271 cat >>confdefs.h
<<_ACEOF
20272 #ifndef __cplusplus
20273 #define inline $ac_val
20279 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20281 if test "x$ac_cv_type_request_sense" = xyes
20284 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20290 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20291 #include <sys/socket.h>
20292 #ifdef HAVE_SYS_SOCKETVAR_H
20293 #include <sys/socketvar.h>
20295 #ifdef HAVE_NET_ROUTE_H
20296 #include <net/route.h>
20298 #ifdef HAVE_NETINET_IN_H
20299 #include <netinet/in.h>
20301 #ifdef HAVE_NETINET_IN_SYSTM_H
20302 #include <netinet/in_systm.h>
20304 #ifdef HAVE_NETINET_IP_H
20305 #include <netinet/ip.h>
20307 #ifdef HAVE_NETINET_IN_PCB_H
20308 #include <netinet/in_pcb.h>
20311 if test "x$ac_cv_type_struct_xinpgen" = xyes
20314 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20321 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20322 if test ${wine_cv_linux_gethostbyname_r_6+y}
20324 printf %s
"(cached) " >&6
20326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20335 struct hostent *result;
20342 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20343 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20349 if ac_fn_c_try_link
"$LINENO"
20351 wine_cv_linux_gethostbyname_r_6
=yes
20353 wine_cv_linux_gethostbyname_r_6
=no
20356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20357 conftest
$ac_exeext conftest.
$ac_ext
20360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20361 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20362 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20365 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20369 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20370 #include <sys/socket.h>
20371 #ifdef HAVE_SYS_UN_H
20372 # include <sys/un.h>
20375 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20378 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20382 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20383 #include <sys/socket.h>
20384 #ifdef HAVE_SYS_UN_H
20385 # include <sys/un.h>
20388 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20391 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20397 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20398 #ifdef HAVE_SCSI_SG_H
20399 #include <scsi/sg.h>
20402 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20405 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20409 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>
20410 #ifdef HAVE_SCSI_SG_H
20411 #include <scsi/sg.h>
20414 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20417 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20423 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20425 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20428 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20434 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20435 #ifdef HAVE_SYS_MTIO_H
20436 #include <sys/mtio.h>
20439 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20442 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20446 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20447 #ifdef HAVE_SYS_MTIO_H
20448 #include <sys/mtio.h>
20451 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20458 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20459 #ifdef HAVE_SYS_MTIO_H
20460 #include <sys/mtio.h>
20463 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20466 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20488 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20504 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20512 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20516 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20520 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20521 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20524 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20528 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20529 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20532 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20536 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20537 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20540 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20544 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20545 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20548 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20552 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20553 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20556 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20562 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>
20563 #ifdef HAVE_NETINET_IN_H
20564 #include <netinet/in.h>
20567 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20570 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20576 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
20577 #include <resolv.h>
20580 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20583 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20589 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20590 #include <netinet/in.h>
20593 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20596 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20602 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20603 #ifdef HAVE_SYS_SOCKETVAR_H
20604 #include <sys/socketvar.h>
20606 #ifdef HAVE_NETINET_IN_H
20607 #include <netinet/in.h>
20609 #ifdef HAVE_NETINET_IP_VAR_H
20610 #include <netinet/ip_var.h>
20613 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20616 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20622 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
20623 #include <netinet/ip_var.h>
20626 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20629 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20635 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20636 #ifdef HAVE_SYS_SOCKETVAR_H
20637 #include <sys/socketvar.h>
20639 #ifdef HAVE_NETINET_IN_H
20640 #include <netinet/in.h>
20642 #ifdef HAVE_NETINET6_IP6_VAR_H
20643 #include <netinet6/ip6_var.h>
20646 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20649 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20655 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20656 #ifdef HAVE_SYS_SOCKETVAR_H
20657 #include <sys/socketvar.h>
20659 #ifdef HAVE_NETINET_IN_H
20660 #include <netinet/in.h>
20662 #ifdef HAVE_NETINET_IP_H
20663 #include <netinet/ip.h>
20665 #ifdef HAVE_NETINET_IP_ICMP_H
20666 #include <netinet/ip_icmp.h>
20668 #ifdef HAVE_NETINET_ICMP_VAR_H
20669 #include <netinet/icmp_var.h>
20672 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20675 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20681 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20682 #ifdef HAVE_SYS_SOCKETVAR_H
20683 #include <sys/socketvar.h>
20685 #ifdef HAVE_NETINET_IN_H
20686 #include <netinet/in.h>
20688 #ifdef HAVE_NETINET_ICMP6_H
20689 #include <netinet/icmp6.h>
20692 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20695 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20701 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20702 #ifdef HAVE_SYS_SOCKETVAR_H
20703 #include <sys/socketvar.h>
20705 #ifdef HAVE_NETINET_IN_H
20706 #include <netinet/in.h>
20708 #ifdef HAVE_NETINET_TCP_H
20709 #include <netinet/tcp.h>
20711 #ifdef HAVE_NETINET_TCP_VAR_H
20712 #include <netinet/tcp_var.h>
20715 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20718 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20724 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
20725 #include <netinet/tcp_var.h>
20728 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20731 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20737 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20738 #ifdef HAVE_NETINET_IN_H
20739 #include <netinet/in.h>
20741 #ifdef HAVE_NETINET_IP_VAR_H
20742 #include <netinet/ip_var.h>
20744 #ifdef HAVE_NETINET_UDP_H
20745 #include <netinet/udp.h>
20747 #ifdef HAVE_NETINET_UDP_VAR_H
20748 #include <netinet/udp_var.h>
20751 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20754 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20760 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20761 #ifdef HAVE_NET_IF_H
20762 # include <net/if.h>
20765 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20768 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20774 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20775 # include <sys/sysinfo.h>
20778 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20781 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20785 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20786 # include <sys/sysinfo.h>
20789 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20792 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20798 LIBS
="$ac_save_LIBS"
20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20801 printf %s
"checking for __builtin_popcount... " >&6; }
20802 if test ${ac_cv_have___builtin_popcount+y}
20804 printf %s
"(cached) " >&6
20806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20807 /* end confdefs.h. */
20812 return __builtin_popcount(1)
20817 if ac_fn_c_try_link
"$LINENO"
20819 ac_cv_have___builtin_popcount
="yes"
20821 ac_cv_have___builtin_popcount
="no"
20823 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20824 conftest
$ac_exeext conftest.
$ac_ext
20826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20827 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20828 if test "$ac_cv_have___builtin_popcount" = "yes"
20831 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20836 printf %s
"checking for __clear_cache... " >&6; }
20837 if test ${ac_cv_have___clear_cache+y}
20839 printf %s
"(cached) " >&6
20841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20842 /* end confdefs.h. */
20847 __clear_cache((void*)0, (void*)0); return 0;
20852 if ac_fn_c_try_link
"$LINENO"
20854 ac_cv_have___clear_cache
="yes"
20856 ac_cv_have___clear_cache
="no"
20858 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20859 conftest
$ac_exeext conftest.
$ac_ext
20861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20862 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20863 if test "$ac_cv_have___clear_cache" = "yes"
20866 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20872 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20873 printf %s
"checking whether we need to define __i386__... " >&6; }
20874 if test ${ac_cv_cpp_def___i386__+y}
20876 printf %s
"(cached) " >&6
20878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20885 $EGREP "yes" >/dev
/null
2>&1
20887 ac_cv_cpp_def___i386__
=yes
20889 ac_cv_cpp_def___i386__
=no
20894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20895 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20896 if test "x$ac_cv_cpp_def___i386__" = xyes
20898 CFLAGS
="$CFLAGS -D__i386__"
20899 LINTFLAGS
="$LINTFLAGS -D__i386__"
20901 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20902 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20903 if test ${ac_cv_cpp_def___x86_64__+y}
20905 printf %s
"(cached) " >&6
20907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h. */
20913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20914 $EGREP "yes" >/dev
/null
2>&1
20916 ac_cv_cpp_def___x86_64__
=yes
20918 ac_cv_cpp_def___x86_64__
=no
20923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20924 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20925 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20927 CFLAGS
="$CFLAGS -D__x86_64__"
20928 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20930 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20931 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20932 if test ${ac_cv_cpp_def___sparc64__+y}
20934 printf %s
"(cached) " >&6
20936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20938 #ifndef __sparc64__
20942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20943 $EGREP "yes" >/dev
/null
2>&1
20945 ac_cv_cpp_def___sparc64__
=yes
20947 ac_cv_cpp_def___sparc64__
=no
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20953 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20954 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20956 CFLAGS
="$CFLAGS -D__sparc64__"
20957 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20959 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20960 printf %s
"checking whether we need to define __sparc__... " >&6; }
20961 if test ${ac_cv_cpp_def___sparc__+y}
20963 printf %s
"(cached) " >&6
20965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20972 $EGREP "yes" >/dev
/null
2>&1
20974 ac_cv_cpp_def___sparc__
=yes
20976 ac_cv_cpp_def___sparc__
=no
20981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20982 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20983 if test "x$ac_cv_cpp_def___sparc__" = xyes
20985 CFLAGS
="$CFLAGS -D__sparc__"
20986 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20988 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20989 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20990 if test ${ac_cv_cpp_def___powerpc64__+y}
20992 printf %s
"(cached) " >&6
20994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #ifndef __powerpc64__
21000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21001 $EGREP "yes" >/dev
/null
2>&1
21003 ac_cv_cpp_def___powerpc64__
=yes
21005 ac_cv_cpp_def___powerpc64__
=no
21010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21011 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21012 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21014 CFLAGS
="$CFLAGS -D__powerpc64__"
21015 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21017 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21018 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21019 if test ${ac_cv_cpp_def___powerpc__+y}
21021 printf %s
"(cached) " >&6
21023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h. */
21025 #ifndef __powerpc__
21029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21030 $EGREP "yes" >/dev
/null
2>&1
21032 ac_cv_cpp_def___powerpc__
=yes
21034 ac_cv_cpp_def___powerpc__
=no
21039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21040 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21041 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21043 CFLAGS
="$CFLAGS -D__powerpc__"
21044 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21046 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21047 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21048 if test ${ac_cv_cpp_def___aarch64__+y}
21050 printf %s
"(cached) " >&6
21052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21053 /* end confdefs.h. */
21054 #ifndef __aarch64__
21058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21059 $EGREP "yes" >/dev
/null
2>&1
21061 ac_cv_cpp_def___aarch64__
=yes
21063 ac_cv_cpp_def___aarch64__
=no
21068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21069 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21070 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21072 CFLAGS
="$CFLAGS -D__aarch64__"
21073 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21075 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21076 printf %s
"checking whether we need to define __arm__... " >&6; }
21077 if test ${ac_cv_cpp_def___arm__+y}
21079 printf %s
"(cached) " >&6
21081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h. */
21087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21088 $EGREP "yes" >/dev
/null
2>&1
21090 ac_cv_cpp_def___arm__
=yes
21092 ac_cv_cpp_def___arm__
=no
21097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21098 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21099 if test "x$ac_cv_cpp_def___arm__" = xyes
21101 CFLAGS
="$CFLAGS -D__arm__"
21102 LINTFLAGS
="$LINTFLAGS -D__arm__"
21106 case $host_vendor in
21107 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21108 printf %s
"checking whether we need to define __sun__... " >&6; }
21109 if test ${ac_cv_cpp_def___sun__+y}
21111 printf %s
"(cached) " >&6
21113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21114 /* end confdefs.h. */
21119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21120 $EGREP "yes" >/dev
/null
2>&1
21122 ac_cv_cpp_def___sun__
=yes
21124 ac_cv_cpp_def___sun__
=no
21129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21130 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21131 if test "x$ac_cv_cpp_def___sun__" = xyes
21133 CFLAGS
="$CFLAGS -D__sun__"
21134 LINTFLAGS
="$LINTFLAGS -D__sun__"
21142 ac_config_commands
="$ac_config_commands include/stamp-h"
21144 printf %s
"creating Makefile rules..." >&6
21147 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21150 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21152 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21153 wine_fn_config_symlink wine
21154 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21155 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21156 wine_fn_config_symlink wine64
21159 wine_fn_config_makefile dlls
/acledit enable_acledit
21160 wine_fn_config_makefile dlls
/aclui enable_aclui
21161 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21162 wine_fn_config_makefile dlls
/activeds enable_activeds
21163 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21164 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21165 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21166 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21167 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21168 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21169 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21170 wine_fn_config_makefile dlls
/advpack enable_advpack
21171 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21172 wine_fn_config_makefile dlls
/amsi enable_amsi
21173 wine_fn_config_makefile dlls
/amstream enable_amstream
21174 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21175 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21176 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21177 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21178 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21179 wine_fn_config_makefile dlls
/atl enable_atl
21180 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21181 wine_fn_config_makefile dlls
/atl100 enable_atl100
21182 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21183 wine_fn_config_makefile dlls
/atl110 enable_atl110
21184 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21185 wine_fn_config_makefile dlls
/atl80 enable_atl80
21186 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21187 wine_fn_config_makefile dlls
/atl90 enable_atl90
21188 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21189 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21190 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21191 wine_fn_config_makefile dlls
/authz enable_authz
21192 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21193 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21194 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21195 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21196 wine_fn_config_makefile dlls
/avrt enable_avrt
21197 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21198 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21199 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21200 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21201 wine_fn_config_makefile dlls
/browseui enable_browseui
21202 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21203 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21204 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21205 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21206 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21207 wine_fn_config_makefile dlls
/cards enable_cards
21208 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21209 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21210 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21211 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21212 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21213 wine_fn_config_makefile dlls
/combase enable_combase
21214 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21215 wine_fn_config_makefile dlls
/comcat enable_comcat
21216 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21217 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21218 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21219 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21220 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21221 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21222 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21223 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21224 wine_fn_config_makefile dlls
/compstui enable_compstui
21225 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21226 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21227 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21228 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21229 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21230 wine_fn_config_makefile dlls
/connect enable_connect
21231 wine_fn_config_makefile dlls
/credui enable_credui
21232 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21233 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21234 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21235 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21236 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21237 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21238 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21239 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21240 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21241 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21242 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21243 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21244 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21245 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21246 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21247 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21248 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21249 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21250 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21251 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21253 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21255 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21257 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21259 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21260 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21261 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21262 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21263 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21264 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21265 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21266 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21267 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21268 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21269 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21270 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21271 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21272 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21273 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21274 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21275 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21276 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21277 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21278 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21279 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21280 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21281 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21282 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21283 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21284 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21285 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21286 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21287 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21288 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21289 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21290 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21291 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21292 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21293 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21294 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21295 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21296 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21297 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21298 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21299 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21300 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21301 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21302 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21303 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21304 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21305 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21306 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21307 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21308 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21309 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21310 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21311 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21312 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21313 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21314 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21315 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21316 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21317 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21318 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21319 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21320 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21321 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21322 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21323 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21324 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21325 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21326 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21327 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21328 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21329 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21330 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21331 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21332 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21333 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21334 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21335 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21336 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21337 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21338 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21339 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21340 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21341 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21342 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21343 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21344 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21345 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21346 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21347 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21348 wine_fn_config_makefile dlls
/devenum enable_devenum
21349 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21350 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21351 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21353 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21354 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21355 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21356 wine_fn_config_makefile dlls
/dinput enable_dinput
21357 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21358 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21359 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21360 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21361 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21362 wine_fn_config_makefile dlls
/dispex enable_dispex
21363 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21364 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21365 wine_fn_config_makefile dlls
/dmband enable_dmband
21366 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21367 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21368 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21369 wine_fn_config_makefile dlls
/dmime enable_dmime
21370 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21371 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21372 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21373 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21374 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21375 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21376 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21377 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21378 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21379 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21380 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21381 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21382 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21383 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21384 wine_fn_config_makefile dlls
/dplay enable_dplay
21385 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21386 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21387 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21388 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21389 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21390 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21391 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21392 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21393 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21394 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21395 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21396 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21397 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21398 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21399 wine_fn_config_makefile dlls
/dsound enable_dsound
21400 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21401 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21402 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21403 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21404 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21405 wine_fn_config_makefile dlls
/dswave enable_dswave
21406 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21407 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21408 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21409 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21410 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21412 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21413 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21414 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21415 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21416 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21417 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21418 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21419 wine_fn_config_makefile dlls
/esent enable_esent
21420 wine_fn_config_makefile dlls
/evr enable_evr
21421 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21422 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21423 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21424 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21425 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21426 wine_fn_config_makefile dlls
/feclient enable_feclient
21427 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21428 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21429 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21430 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21431 wine_fn_config_makefile dlls
/fusion enable_fusion
21432 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21433 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21434 wine_fn_config_makefile dlls
/gameux enable_gameux
21435 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21436 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21437 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21438 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21439 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21440 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21441 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21442 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21443 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21444 wine_fn_config_makefile dlls
/glu32 enable_glu32
21445 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21446 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21447 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21448 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21449 wine_fn_config_makefile dlls
/hal enable_hal
21450 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21451 wine_fn_config_makefile dlls
/hid enable_hid
21452 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21453 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21454 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21455 wine_fn_config_makefile dlls
/hlink enable_hlink
21456 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21457 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21458 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21459 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21460 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21461 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21462 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21463 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21464 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21465 wine_fn_config_makefile dlls
/icmp enable_icmp
21466 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21467 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21468 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21469 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21470 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21471 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21472 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21473 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21474 wine_fn_config_makefile dlls
/imm32 enable_imm32
21475 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21476 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21477 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21478 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21479 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21480 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21481 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21482 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21483 wine_fn_config_makefile dlls
/initpki enable_initpki
21484 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21485 wine_fn_config_makefile dlls
/inseng enable_inseng
21486 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21487 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21488 wine_fn_config_makefile dlls
/iprop enable_iprop
21489 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21490 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21491 wine_fn_config_makefile dlls
/itircl enable_itircl
21492 wine_fn_config_makefile dlls
/itss enable_itss
21493 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21494 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21495 wine_fn_config_makefile dlls
/jscript enable_jscript
21496 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21497 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21498 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21499 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21500 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21501 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21502 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21503 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21504 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21505 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21506 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21507 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21508 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21509 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21510 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21511 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21512 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21513 wine_fn_config_makefile dlls
/localspl enable_localspl
21514 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21515 wine_fn_config_makefile dlls
/localui enable_localui
21516 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21517 wine_fn_config_makefile dlls
/lz32 enable_lz32
21518 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21519 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21520 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21521 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21522 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21523 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21524 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21525 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21526 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21527 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21528 wine_fn_config_makefile dlls
/mf enable_mf
21529 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21530 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21531 wine_fn_config_makefile dlls
/mferror enable_mferror
21532 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21533 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21534 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21535 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21536 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21537 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21538 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21539 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21540 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21541 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21542 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21543 wine_fn_config_makefile dlls
/midimap enable_midimap
21544 wine_fn_config_makefile dlls
/mlang enable_mlang
21545 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21546 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21547 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21548 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21549 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21550 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21551 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21552 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21553 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21554 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21555 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21556 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21557 wine_fn_config_makefile dlls
/mpr enable_mpr
21558 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21559 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21560 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21561 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21562 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21563 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21564 wine_fn_config_makefile dlls
/msado15 enable_msado15
21565 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21566 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21567 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21568 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21569 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21570 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21571 wine_fn_config_makefile dlls
/mscms enable_mscms
21572 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21573 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21574 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21575 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21576 wine_fn_config_makefile dlls
/msctf enable_msctf
21577 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21579 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21580 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21581 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21582 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21584 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21585 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21587 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21588 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21589 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21590 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21591 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21592 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21593 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21594 wine_fn_config_makefile dlls
/msi enable_msi
21595 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21596 wine_fn_config_makefile dlls
/msident enable_msident
21597 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21598 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21599 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21600 wine_fn_config_makefile dlls
/msisip enable_msisip
21601 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21602 wine_fn_config_makefile dlls
/msls31 enable_msls31
21603 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21604 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21605 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21606 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21607 wine_fn_config_makefile dlls
/msports enable_msports
21608 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21609 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21610 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21611 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21612 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21613 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21614 wine_fn_config_makefile dlls
/mstask enable_mstask
21615 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21616 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21617 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21618 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21619 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21620 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21621 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21622 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21623 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21624 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21625 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21626 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21627 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21628 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21629 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21630 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21631 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21632 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21633 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21634 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21635 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21636 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21637 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21638 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21639 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21640 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21641 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21642 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21643 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21644 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21645 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21646 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21647 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21648 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21650 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21651 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21653 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21655 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21656 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21657 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21658 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21659 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21660 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21661 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21662 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21663 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21664 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21665 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21666 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21667 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21668 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21669 wine_fn_config_makefile dlls
/msxml enable_msxml
21670 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21671 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21672 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21673 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21674 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21675 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21676 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21677 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21678 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21679 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21680 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21681 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21682 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21683 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21684 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21685 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21686 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21687 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21688 wine_fn_config_makefile dlls
/netutils enable_netutils
21689 wine_fn_config_makefile dlls
/newdev enable_newdev
21690 wine_fn_config_makefile dlls
/ninput enable_ninput
21691 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21692 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21693 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21694 wine_fn_config_makefile dlls
/npptools enable_npptools
21695 wine_fn_config_makefile dlls
/nsi enable_nsi
21696 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21697 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21698 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21699 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21700 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21701 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21702 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21703 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21704 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21705 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21706 wine_fn_config_makefile dlls
/objsel enable_objsel
21707 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21708 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21709 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21710 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21711 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21712 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21713 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21714 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21715 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21716 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21717 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21718 wine_fn_config_makefile dlls
/ole32 enable_ole32
21719 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21720 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21721 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21722 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21723 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21724 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21725 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21726 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21727 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21728 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21729 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21730 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21731 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21733 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21734 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21735 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21736 wine_fn_config_makefile dlls
/opencl enable_opencl
21737 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21738 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21739 wine_fn_config_makefile dlls
/packager enable_packager
21740 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21741 wine_fn_config_makefile dlls
/pdh enable_pdh
21742 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21743 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21744 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21745 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21746 wine_fn_config_makefile dlls
/printui enable_printui
21747 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21748 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21749 wine_fn_config_makefile dlls
/propsys enable_propsys
21750 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21751 wine_fn_config_makefile dlls
/psapi enable_psapi
21752 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21753 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21754 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21755 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21756 wine_fn_config_makefile dlls
/qasf enable_qasf
21757 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21758 wine_fn_config_makefile dlls
/qcap enable_qcap
21759 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21760 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21761 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21762 wine_fn_config_makefile dlls
/qedit enable_qedit
21763 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21764 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21765 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21766 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21767 wine_fn_config_makefile dlls
/quartz enable_quartz
21768 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21769 wine_fn_config_makefile dlls
/query enable_query
21770 wine_fn_config_makefile dlls
/qwave enable_qwave
21771 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21772 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21774 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21775 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21776 wine_fn_config_makefile dlls
/regapi enable_regapi
21777 wine_fn_config_makefile dlls
/resutils enable_resutils
21778 wine_fn_config_makefile dlls
/riched20 enable_riched20
21779 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21780 wine_fn_config_makefile dlls
/riched32 enable_riched32
21781 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21782 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21783 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21784 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21785 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21786 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21787 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21788 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21789 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21790 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21791 wine_fn_config_makefile dlls
/samlib enable_samlib
21792 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21793 wine_fn_config_makefile dlls
/sapi enable_sapi
21794 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21795 wine_fn_config_makefile dlls
/sas enable_sas
21796 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21797 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21798 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21799 wine_fn_config_makefile dlls
/schannel enable_schannel
21800 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21801 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21802 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21803 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21804 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21805 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21806 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21807 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21808 wine_fn_config_makefile dlls
/sechost enable_sechost
21809 wine_fn_config_makefile dlls
/secur32 enable_secur32
21810 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21811 wine_fn_config_makefile dlls
/security enable_security
21812 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21813 wine_fn_config_makefile dlls
/serialui enable_serialui
21814 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21815 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21816 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21817 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21818 wine_fn_config_makefile dlls
/sfc enable_sfc
21819 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21820 wine_fn_config_makefile dlls
/shcore enable_shcore
21821 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21822 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21823 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21824 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21825 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21826 wine_fn_config_makefile dlls
/shell32 enable_shell32
21827 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21828 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21829 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21830 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21831 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21832 wine_fn_config_makefile dlls
/slc enable_slc
21833 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21834 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21835 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21836 wine_fn_config_makefile dlls
/softpub enable_softpub
21837 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21838 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21839 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21840 wine_fn_config_makefile dlls
/sppc enable_sppc
21841 wine_fn_config_makefile dlls
/srclient enable_srclient
21842 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21843 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21844 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21845 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21846 wine_fn_config_makefile dlls
/sti enable_sti
21847 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21848 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21849 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21850 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21851 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21852 wine_fn_config_makefile dlls
/sxs enable_sxs
21853 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21854 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21855 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21856 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21857 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21858 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21859 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21860 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21861 wine_fn_config_makefile dlls
/tbs enable_tbs
21862 wine_fn_config_makefile dlls
/tdh enable_tdh
21863 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21864 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21865 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21866 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21867 wine_fn_config_makefile dlls
/traffic enable_traffic
21868 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21870 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21871 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21872 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21873 wine_fn_config_makefile dlls
/tzres enable_tzres
21874 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21875 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21876 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21877 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21878 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21879 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21880 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21881 wine_fn_config_makefile dlls
/unicows enable_unicows
21882 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21883 wine_fn_config_makefile dlls
/url enable_url
21884 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21885 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21886 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21887 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21888 wine_fn_config_makefile dlls
/user32 enable_user32
21889 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21890 wine_fn_config_makefile dlls
/userenv enable_userenv
21891 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21892 wine_fn_config_makefile dlls
/usp10 enable_usp10
21893 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21894 wine_fn_config_makefile dlls
/utildll enable_utildll
21895 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21896 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21897 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21898 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21899 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21900 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21901 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21902 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21903 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21904 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21905 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21906 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21907 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21908 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21909 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21910 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21911 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21912 wine_fn_config_makefile dlls
/version enable_version
21913 wine_fn_config_makefile dlls
/version
/tests enable_tests
21914 wine_fn_config_makefile dlls
/vga enable_vga
21915 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21916 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21917 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21918 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21919 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21920 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21921 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21922 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21923 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21924 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21925 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21926 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21927 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21928 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21929 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21930 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21931 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21932 wine_fn_config_makefile dlls
/webservices enable_webservices
21933 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21934 wine_fn_config_makefile dlls
/websocket enable_websocket
21935 wine_fn_config_makefile dlls
/wer enable_wer
21936 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21937 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21938 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21939 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21940 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21941 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21942 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21943 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21944 wine_fn_config_makefile dlls
/win32u enable_win32u
21945 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21946 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21947 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21948 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21949 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21950 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21951 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21952 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21953 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21954 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21955 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21956 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21957 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21958 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21959 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21960 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21961 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21962 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21963 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21964 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21965 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21966 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21967 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21968 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21969 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21970 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21971 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21972 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21973 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21974 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21975 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21976 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21977 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21978 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21979 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21980 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21981 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21982 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21983 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21984 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21985 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21986 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21987 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21988 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21989 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21990 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21991 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21992 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21993 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21994 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21995 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21996 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21997 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21998 wine_fn_config_makefile dlls
/wing32 enable_wing32
21999 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22000 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22001 wine_fn_config_makefile dlls
/wininet enable_wininet
22002 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22003 wine_fn_config_makefile dlls
/winmm enable_winmm
22004 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22005 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22006 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22007 wine_fn_config_makefile dlls
/winprint enable_winprint
22008 wine_fn_config_makefile dlls
/winscard enable_winscard
22009 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22010 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22011 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22012 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22013 wine_fn_config_makefile dlls
/winsta enable_winsta
22014 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22015 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22016 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22017 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22018 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22019 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22020 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22021 wine_fn_config_makefile dlls
/winusb enable_winusb
22022 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22023 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22024 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22025 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22026 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22027 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22028 wine_fn_config_makefile dlls
/wmi enable_wmi
22029 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22030 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22031 wine_fn_config_makefile dlls
/wmp enable_wmp
22032 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22033 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22034 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22035 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22036 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22037 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22038 wine_fn_config_makefile dlls
/wow32 enable_win16
22039 wine_fn_config_makefile dlls
/wow64 enable_wow64
22040 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22041 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22042 wine_fn_config_makefile dlls
/wpc enable_wpc
22043 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22044 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22045 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22046 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22047 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22048 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22049 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22050 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22051 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22052 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22053 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22054 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22055 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22056 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22057 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22058 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22059 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22060 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22061 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22062 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22063 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22064 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22065 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22066 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22067 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22068 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22069 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22070 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22071 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22072 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22073 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22074 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22075 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22076 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22077 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22078 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22079 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22080 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22081 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22082 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22083 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22084 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22085 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22086 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22087 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22088 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22089 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22090 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22091 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22092 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22093 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22094 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22095 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22096 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22097 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22098 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22099 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22100 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22101 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22102 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22103 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22104 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22105 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22106 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22107 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22108 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22109 wine_fn_config_makefile fonts enable_fonts
22110 wine_fn_config_makefile include enable_include
22111 wine_fn_config_makefile libs
/adsiid enable_adsiid
22112 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22113 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22114 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22115 wine_fn_config_makefile libs
/dxguid enable_dxguid
22116 wine_fn_config_makefile libs
/faudio enable_faudio
22117 wine_fn_config_makefile libs
/gsm enable_gsm
22118 wine_fn_config_makefile libs
/jpeg enable_jpeg
22119 wine_fn_config_makefile libs
/jxr enable_jxr
22120 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22121 wine_fn_config_makefile libs
/ldap enable_ldap
22122 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22123 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22124 wine_fn_config_makefile libs
/musl enable_musl
22125 wine_fn_config_makefile libs
/png enable_png
22126 wine_fn_config_makefile libs
/strmbase enable_strmbase
22127 wine_fn_config_makefile libs
/strmiids enable_strmiids
22128 wine_fn_config_makefile libs
/tiff enable_tiff
22129 wine_fn_config_makefile libs
/uuid enable_uuid
22130 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22131 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22132 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22133 wine_fn_config_makefile libs
/xml2 enable_xml2
22134 wine_fn_config_makefile libs
/xslt enable_xslt
22135 wine_fn_config_makefile libs
/zlib enable_zlib
22136 wine_fn_config_makefile libs
/zydis enable_zydis
22137 wine_fn_config_makefile loader enable_loader
22138 wine_fn_config_makefile nls enable_nls
22139 wine_fn_config_makefile po enable_po
22140 wine_fn_config_makefile programs
/arp enable_arp
22141 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22142 wine_fn_config_makefile programs
/attrib enable_attrib
22143 wine_fn_config_makefile programs
/cabarc enable_cabarc
22144 wine_fn_config_makefile programs
/cacls enable_cacls
22145 wine_fn_config_makefile programs
/certutil enable_certutil
22146 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22147 wine_fn_config_makefile programs
/clock enable_clock
22148 wine_fn_config_makefile programs
/cmd enable_cmd
22149 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22150 wine_fn_config_makefile programs
/conhost enable_conhost
22151 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22152 wine_fn_config_makefile programs
/control enable_control
22153 wine_fn_config_makefile programs
/cscript enable_cscript
22154 wine_fn_config_makefile programs
/dism enable_dism
22155 wine_fn_config_makefile programs
/dllhost enable_dllhost
22156 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22157 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22158 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22159 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22160 wine_fn_config_makefile programs
/eject enable_eject
22161 wine_fn_config_makefile programs
/expand enable_expand
22162 wine_fn_config_makefile programs
/explorer enable_explorer
22163 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22164 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22165 wine_fn_config_makefile programs
/fc enable_fc
22166 wine_fn_config_makefile programs
/find enable_find
22167 wine_fn_config_makefile programs
/find
/tests enable_tests
22168 wine_fn_config_makefile programs
/findstr enable_findstr
22169 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22170 wine_fn_config_makefile programs
/fsutil enable_fsutil
22171 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22172 wine_fn_config_makefile programs
/hh enable_hh
22173 wine_fn_config_makefile programs
/hostname enable_hostname
22174 wine_fn_config_makefile programs
/icacls enable_icacls
22175 wine_fn_config_makefile programs
/icinfo enable_icinfo
22176 wine_fn_config_makefile programs
/iexplore enable_iexplore
22177 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22178 wine_fn_config_makefile programs
/lodctr enable_lodctr
22179 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22180 wine_fn_config_makefile programs
/mshta enable_mshta
22181 wine_fn_config_makefile programs
/msidb enable_msidb
22182 wine_fn_config_makefile programs
/msiexec enable_msiexec
22183 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22184 wine_fn_config_makefile programs
/net enable_net
22185 wine_fn_config_makefile programs
/netsh enable_netsh
22186 wine_fn_config_makefile programs
/netstat enable_netstat
22187 wine_fn_config_makefile programs
/ngen enable_ngen
22188 wine_fn_config_makefile programs
/notepad enable_notepad
22189 wine_fn_config_makefile programs
/oleview enable_oleview
22190 wine_fn_config_makefile programs
/ping enable_ping
22191 wine_fn_config_makefile programs
/plugplay enable_plugplay
22192 wine_fn_config_makefile programs
/pnputil enable_pnputil
22193 wine_fn_config_makefile programs
/powershell enable_powershell
22194 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22195 wine_fn_config_makefile programs
/progman enable_progman
22196 wine_fn_config_makefile programs
/reg enable_reg
22197 wine_fn_config_makefile programs
/reg
/tests enable_tests
22198 wine_fn_config_makefile programs
/regasm enable_regasm
22199 wine_fn_config_makefile programs
/regedit enable_regedit
22200 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22201 wine_fn_config_makefile programs
/regini enable_regini
22202 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22203 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22204 wine_fn_config_makefile programs
/robocopy enable_robocopy
22205 wine_fn_config_makefile programs
/rpcss enable_rpcss
22206 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22207 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22208 wine_fn_config_makefile programs
/sc enable_sc
22209 wine_fn_config_makefile programs
/sc
/tests enable_tests
22210 wine_fn_config_makefile programs
/schtasks enable_schtasks
22211 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22212 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22213 wine_fn_config_makefile programs
/secedit enable_secedit
22214 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22215 wine_fn_config_makefile programs
/services enable_services
22216 wine_fn_config_makefile programs
/services
/tests enable_tests
22217 wine_fn_config_makefile programs
/setx enable_setx
22218 wine_fn_config_makefile programs
/shutdown enable_shutdown
22219 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22220 wine_fn_config_makefile programs
/start enable_start
22221 wine_fn_config_makefile programs
/subst enable_subst
22222 wine_fn_config_makefile programs
/svchost enable_svchost
22223 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22224 wine_fn_config_makefile programs
/taskkill enable_taskkill
22225 wine_fn_config_makefile programs
/tasklist enable_tasklist
22226 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22227 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22228 wine_fn_config_makefile programs
/termsv enable_termsv
22229 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22230 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22231 wine_fn_config_makefile programs
/view enable_view
22232 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22233 wine_fn_config_makefile programs
/where enable_where
22234 wine_fn_config_makefile programs
/whoami enable_whoami
22235 wine_fn_config_makefile programs
/wineboot enable_wineboot
22236 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22237 wine_fn_config_makefile programs
/winecfg enable_winecfg
22238 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22239 wine_fn_config_makefile programs
/winedbg enable_winedbg
22240 wine_fn_config_makefile programs
/winedevice enable_winedevice
22241 wine_fn_config_makefile programs
/winefile enable_winefile
22242 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22243 wine_fn_config_makefile programs
/winemine enable_winemine
22244 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22245 wine_fn_config_makefile programs
/winepath enable_winepath
22246 wine_fn_config_makefile programs
/winetest enable_winetest
22247 wine_fn_config_makefile programs
/winevdm enable_win16
22248 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22249 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22250 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22251 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22252 wine_fn_config_makefile programs
/winver enable_winver
22253 wine_fn_config_makefile programs
/wmic enable_wmic
22254 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22255 wine_fn_config_makefile programs
/wordpad enable_wordpad
22256 wine_fn_config_makefile programs
/write enable_write
22257 wine_fn_config_makefile programs
/wscript enable_wscript
22258 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22259 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22260 wine_fn_config_makefile programs
/wusa enable_wusa
22261 wine_fn_config_makefile programs
/xcopy enable_xcopy
22262 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22263 wine_fn_config_makefile server enable_server
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22265 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22266 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22267 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22268 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22269 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22270 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22271 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22272 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22275 as_fn_append CONFIGURE_TARGETS
" TAGS"
22276 as_fn_append CONFIGURE_TARGETS
" tags"
22277 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22278 as_fn_append CONFIGURE_TARGETS
" config.log"
22279 as_fn_append CONFIGURE_TARGETS
" config.status"
22280 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22281 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22282 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22284 if test "x$enable_tools" != xno
22286 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22287 ac_config_commands
="$ac_config_commands tools/makedep"
22291 ac_config_commands
="$ac_config_commands Makefile"
22298 as_fn_append wine_rules
"
22300 @echo \"Wine build complete.\"
22304 Makefile: config.status \$(MAKEDEP)
22305 @./config.status Makefile
22306 depend: \$(MAKEDEP)
22307 \$(MAKEDEP)$makedep_flags"
22310 as_fn_append wine_rules
"
22311 config.status: ${wine_srcdir}configure
22312 @./config.status --recheck
22313 include/config.h: include/stamp-h
22314 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22315 @./config.status include/config.h include/stamp-h"
22317 if test "x$enable_maintainer_mode" = xyes
22319 as_fn_append wine_rules
"
22320 configure: configure.ac aclocal.m4
22321 autoconf --warnings=all
22322 include/config.h.in: include/stamp-h.in
22323 include/stamp-h.in: configure.ac aclocal.m4
22324 autoheader --warnings=all
22325 @echo timestamp > \$@"
22328 if test "x$enable_tools" != xno
22330 as_fn_append wine_rules
"
22331 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22332 @./config.status tools/makedep
22333 Makefile: tools/makedep$ac_exeext"
22335 as_fn_append wine_rules
"
22337 @echo \"You need to run make in $toolsdir first\" && false"
22341 if test -n "$with_wine64"
22343 case "$with_wine64" in
22347 rm -f fonts server
2>/dev
/null
22348 as_fn_append wine_rules
"
22349 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22350 loader/wine64 loader/wine64-preloader:
22351 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22352 $with_wine64/loader/wine:
22353 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22354 $with_wine64/loader/wine-preloader:
22355 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22357 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22359 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22360 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22364 programs/msidb/msidb \
22365 programs/msiexec/msiexec \
22366 programs/notepad/notepad \
22367 programs/regedit/regedit \
22368 programs/regsvr32/regsvr32 \
22369 programs/wineboot/wineboot \
22370 programs/winecfg/winecfg \
22371 programs/wineconsole/wineconsole \
22372 programs/winedbg/winedbg \
22373 programs/winefile/winefile \
22374 programs/winemine/winemine \
22375 programs/winepath/winepath \
22379 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22380 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22385 as_fn_append wine_rules
"
22387 rm -rf autom4te.cache
22389 rm -f configure include/config.h.in"
22392 as_fn_append wine_rules
"
22393 dlls/ntdll/unix/version.c: dummy
22394 @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)
22395 programs/winetest/build.rc: dummy
22396 @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)
22397 programs/winetest/build.nfo:
22399 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
22400 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22401 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22404 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22406 as_fn_append wine_rules
"
22409 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22412 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22414 .PHONY: depend dummy install-manpages"
22416 printf "%s\n" " done" >&6
22417 cat >confcache
<<\_ACEOF
22418 # This file is a shell script that caches the results of configure
22419 # tests run on this system so they can be shared between configure
22420 # scripts and configure runs, see configure's option --config-cache.
22421 # It is not useful on other systems. If it contains results you don't
22422 # want to keep, you may remove or edit it.
22424 # config.status only pays attention to the cache file if you give it
22425 # the --recheck option to rerun configure.
22427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22429 # following values.
22433 # The following way of writing the cache mishandles newlines in values,
22434 # but we know of no workaround that is simple, portable, and efficient.
22435 # So, we kill variables containing newlines.
22436 # Ultrix sh set writes to stderr and can't be redirected directly,
22437 # and sets the high bit in the cache file unless we assign to the vars.
22439 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22440 eval ac_val
=\$
$ac_var
22444 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22445 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22448 _ | IFS | as_nl
) ;; #(
22449 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22450 *) { eval $ac_var=; unset $ac_var;} ;;
22456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22457 *${as_nl}ac_space
=\
*)
22458 # `set' does not quote correctly, so add quotes: double-quote
22459 # substitution turns \\\\ into \\, and sed turns \\ into \.
22462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22465 # `set' quotes correctly as required by POSIX, so do not add quotes.
22466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22475 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22479 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22480 if test -w "$cache_file"; then
22481 if test "x$cache_file" != "x/dev/null"; then
22482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22483 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22484 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22485 cat confcache
>"$cache_file"
22487 case $cache_file in #(
22489 mv -f confcache
"$cache_file"$$
&&
22490 mv -f "$cache_file"$$
"$cache_file" ;; #(
22492 mv -f confcache
"$cache_file" ;;
22497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22498 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22503 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22504 # Let make expand exec_prefix.
22505 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22507 DEFS
=-DHAVE_CONFIG_H
22512 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22513 # 1. Remove the extension, and $U if already installed.
22514 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22515 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22516 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22517 # will be set to the directory where LIBOBJS objects are built.
22518 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22519 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22521 LIBOBJS
=$ac_libobjs
22523 LTLIBOBJS
=$ac_ltlibobjs
22527 : "${CONFIG_STATUS=./config.status}"
22529 ac_clean_files_save
=$ac_clean_files
22530 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22532 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22534 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22536 # Generated by $as_me.
22537 # Run this file to recreate the current configuration.
22538 # Compiler output produced by configure, useful for debugging
22539 # configure, is in config.log if it exists.
22542 ac_cs_recheck=false
22545 SHELL=\${CONFIG_SHELL-$SHELL}
22548 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22549 ## -------------------- ##
22550 ## M4sh Initialization. ##
22551 ## -------------------- ##
22553 # Be more Bourne compatible
22554 DUALCASE
=1; export DUALCASE
# for MKS sh
22556 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22560 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22561 # is contrary to our usage. Disable this feature.
22562 alias -g '${1+"$@"}'='"$@"'
22563 setopt NO_GLOB_SUBST
22565 case `(set -o) 2>/dev/null` in #(
22575 # Reset variables that may have inherited troublesome values from
22578 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22579 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22580 # side effect of setting IFS to empty, thus disabling word splitting.)
22581 # Quoting is to prevent editors from complaining about space-tab.
22591 # Ensure predictable behavior from utilities with locale-dependent output.
22597 # We cannot yet rely on "unset" to work, but we need these variables
22598 # to be unset--not just set to an empty or harmless value--now, to
22599 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22600 # also avoids known problems related to "unset" and subshell syntax
22601 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22602 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22603 do eval test \
${$as_var+y} \
22604 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22607 # Ensure that fds 0, 1, and 2 are open.
22608 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22609 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22610 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22612 # The user is always right.
22613 if ${PATH_SEPARATOR+false} :; then
22615 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22616 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22622 # Find who we are. Look in the path if we contain no directory separator.
22625 *[\\/]* ) as_myself
=$0 ;;
22626 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22627 for as_dir
in $PATH
22630 case $as_dir in #(((
22633 *) as_dir
=$as_dir/ ;;
22635 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22641 # We did not find ourselves, most probably we were run as `sh COMMAND'
22642 # in which case we are not to be found in the path.
22643 if test "x$as_myself" = x
; then
22646 if test ! -f "$as_myself"; then
22647 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22654 # ----------------------------------------
22655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22657 # script with STATUS, using 1 if that was 0.
22660 as_status
=$1; test $as_status -eq 0 && as_status
=1
22662 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22665 printf "%s\n" "$as_me: error: $2" >&2
22666 as_fn_exit
$as_status
22671 # as_fn_set_status STATUS
22672 # -----------------------
22673 # Set $? to STATUS, without forking.
22674 as_fn_set_status
()
22677 } # as_fn_set_status
22679 # as_fn_exit STATUS
22680 # -----------------
22681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22685 as_fn_set_status
$1
22691 # Portably unset VAR.
22694 { eval $1=; unset $1;}
22696 as_unset
=as_fn_unset
22698 # as_fn_append VAR VALUE
22699 # ----------------------
22700 # Append the text in VALUE to the end of the definition contained in VAR. Take
22701 # advantage of any shell optimizations that allow amortized linear growth over
22702 # repeated appends, instead of the typical quadratic growth present in naive
22704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22706 eval 'as_fn_append ()
22717 # as_fn_arith ARG...
22718 # ------------------
22719 # Perform arithmetic evaluation on the ARGs, and store the result in the
22720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22721 # must be portable across $(()) and expr.
22722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22724 eval 'as_fn_arith ()
22731 as_val
=`expr "$@" || test $? -eq 1`
22736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22743 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22744 as_basename
=basename
22749 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22755 as_me
=`$as_basename -- "$0" ||
22756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22757 X"$0" : 'X\(//\)$' \| \
22758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22759 printf "%s\n" X/"$0" |
22760 sed '/^.*\/\([^/][^/]*\)\/*$/{
22774 # Avoid depending upon Character Ranges.
22775 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22776 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22777 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22778 as_cr_digits
='0123456789'
22779 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22782 # Determine whether it's possible to make 'echo' print without a newline.
22783 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22784 # for compatibility with existing Makefiles.
22785 ECHO_C
= ECHO_N
= ECHO_T
=
22786 case `echo -n x` in #(((((
22788 case `echo 'xy\c'` in
22789 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22791 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22798 # For backward compatibility with old third-party macros, we provide
22799 # the shell variables $as_echo and $as_echo_n. New code should use
22800 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22801 as_echo
='printf %s\n'
22802 as_echo_n
='printf %s'
22804 rm -f conf$$ conf$$.exe conf$$.
file
22805 if test -d conf$$.dir
; then
22806 rm -f conf$$.dir
/conf$$.
file
22809 mkdir conf$$.dir
2>/dev
/null
22811 if (echo >conf$$.
file) 2>/dev
/null
; then
22812 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22814 # ... but there are two gotchas:
22815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22817 # In both cases, we have to default to `cp -pR'.
22818 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22820 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22828 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22829 rmdir conf$$.dir
2>/dev
/null
22834 # Create "$as_dir" as a directory, including parents if necessary.
22839 -*) as_dir
=.
/$as_dir;;
22841 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22845 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22846 *) as_qdir
=$as_dir;;
22848 as_dirs
="'$as_qdir' $as_dirs"
22849 as_dir
=`$as_dirname -- "$as_dir" ||
22850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22851 X"$as_dir" : 'X\(//\)[^/]' \| \
22852 X"$as_dir" : 'X\(//\)$' \| \
22853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22854 printf "%s\n" X"$as_dir" |
22855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22859 /^X\(\/\/\)[^/].*/{
22872 test -d "$as_dir" && break
22874 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22875 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22879 if mkdir
-p .
2>/dev
/null
; then
22880 as_mkdir_p
='mkdir -p "$as_dir"'
22882 test -d .
/-p && rmdir .
/-p
22887 # as_fn_executable_p FILE
22888 # -----------------------
22889 # Test if FILE is an executable regular file.
22890 as_fn_executable_p
()
22892 test -f "$1" && test -x "$1"
22893 } # as_fn_executable_p
22894 as_test_x
='test -x'
22895 as_executable_p
=as_fn_executable_p
22897 # Sed expression to map a string onto a valid CPP name.
22898 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22900 # Sed expression to map a string onto a valid variable name.
22901 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22905 ## ----------------------------------- ##
22906 ## Main body of $CONFIG_STATUS script. ##
22907 ## ----------------------------------- ##
22909 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22912 # Save the log message, to keep $0 and so on meaningful, and to
22913 # report actual input values of CONFIG_FILES etc. instead of their
22914 # values after options handling.
22916 This file was extended by Wine $as_me 8.12, which was
22917 generated by GNU Autoconf 2.71. Invocation command line was
22919 CONFIG_FILES = $CONFIG_FILES
22920 CONFIG_HEADERS = $CONFIG_HEADERS
22921 CONFIG_LINKS = $CONFIG_LINKS
22922 CONFIG_COMMANDS = $CONFIG_COMMANDS
22925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22931 case $ac_config_headers in *"
22932 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22937 # Files that config.status was made for.
22938 config_headers="$ac_config_headers"
22939 config_links="$ac_config_links"
22940 config_commands="$ac_config_commands"
22944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22946 \`$as_me' instantiates files and other configuration actions
22947 from templates according to the current configuration. Unless the files
22948 and actions are specified as TAGs, all are instantiated by default.
22950 Usage: $0 [OPTION]... [TAG]...
22952 -h, --help print this help, then exit
22953 -V, --version print version number and configuration settings, then exit
22954 --config print configuration, then exit
22955 -q, --quiet, --silent
22956 do not print progress messages
22957 -d, --debug don't remove temporary files
22958 --recheck update $as_me by reconfiguring in the same conditions
22959 --header=FILE[:TEMPLATE]
22960 instantiate the configuration header FILE
22962 Configuration headers:
22965 Configuration links:
22968 Configuration commands:
22971 Report bugs to <wine-devel@winehq.org>.
22972 Wine home page: <https://www.winehq.org>."
22975 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22976 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22978 ac_cs_config='$ac_cs_config_escaped'
22980 Wine config.status 8.12
22981 configured by $0, generated by GNU Autoconf 2.71,
22982 with options \\"\$ac_cs_config\\"
22984 Copyright (C) 2021 Free Software Foundation, Inc.
22985 This config.status script is free software; the Free Software Foundation
22986 gives unlimited permission to copy, distribute and modify it."
22990 test -n "\$AWK" || AWK=awk
22993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22994 # The default lists apply if the user does not specify any file.
23000 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23001 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23017 # Handling of the options.
23018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23021 printf "%s\n" "$ac_cs_version"; exit ;;
23022 --config |
--confi |
--conf |
--con |
--co |
--c )
23023 printf "%s\n" "$ac_cs_config"; exit ;;
23024 --debug |
--debu |
--deb |
--de |
--d |
-d )
23026 --header |
--heade |
--head |
--hea )
23029 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23031 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23032 ac_need_defaults
=false
;;
23034 # Conflict between --help and --header
23035 as_fn_error $?
"ambiguous option: \`$1'
23036 Try \`$0 --help' for more information.";;
23037 --help |
--hel |
-h )
23038 printf "%s\n" "$ac_cs_usage"; exit ;;
23039 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23040 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23043 # This is an error.
23044 -*) as_fn_error $?
"unrecognized option: \`$1'
23045 Try \`$0 --help' for more information." ;;
23047 *) as_fn_append ac_config_targets
" $1"
23048 ac_need_defaults
=false
;;
23054 ac_configure_extra_args
=
23056 if $ac_cs_silent; then
23058 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23063 if \$ac_cs_recheck; then
23064 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23066 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23067 CONFIG_SHELL='$SHELL'
23068 export CONFIG_SHELL
23073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23077 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23078 ## Running $as_me. ##
23080 printf "%s\n" "$ac_log"
23084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23088 wine_fn_output_makedep ()
23090 as_dir=tools; as_fn_mkdir_p
23091 $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
23093 wine_fn_output_makefile ()
23095 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23096 # This Makefile understands the following targets:
23098 # all (default): build wine
23099 # clean: remove all intermediate files
23100 # distclean: also remove all files created by configure
23102 # testclean: clean test results to force running all tests again
23103 # install-lib: install libraries needed to run applications
23104 # install-dev: install development environment
23105 # install: install everything
23106 # uninstall: uninstall everything
23107 # ctags: create a tags file for vim and others.
23108 # etags: create a TAGS file for Emacs.
23111 PATH_SEPARATOR = $PATH_SEPARATOR
23112 PACKAGE_NAME = $PACKAGE_NAME
23113 PACKAGE_TARNAME = $PACKAGE_TARNAME
23114 PACKAGE_VERSION = $PACKAGE_VERSION
23115 PACKAGE_STRING = $PACKAGE_STRING
23116 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23117 PACKAGE_URL = $PACKAGE_URL
23118 exec_prefix = $exec_prefix
23120 program_transform_name = $program_transform_name
23123 libexecdir = $libexecdir
23124 datarootdir = $datarootdir
23126 sysconfdir = $sysconfdir
23127 sharedstatedir = $sharedstatedir
23128 localstatedir = $localstatedir
23129 runstatedir = $runstatedir
23130 includedir = $includedir
23131 oldincludedir = $oldincludedir
23139 localedir = $localedir
23146 build_alias = $build_alias
23147 host_alias = $host_alias
23148 target_alias = $target_alias
23149 system_dllpath = $system_dllpath
23151 build_cpu = $build_cpu
23152 build_vendor = $build_vendor
23153 build_os = $build_os
23155 host_cpu = $host_cpu
23156 host_vendor = $host_vendor
23162 SET_MAKE = $SET_MAKE
23166 CPPFLAGS = $CPPFLAGS
23167 ac_ct_CC = $ac_ct_CC
23171 CXXFLAGS = $CXXFLAGS
23172 ac_ct_CXX = $ac_ct_CXX
23175 TARGETFLAGS = $TARGETFLAGS
23176 toolsext = $toolsext
23177 HOST_ARCH = $HOST_ARCH
23178 aarch64_CC = $aarch64_CC
23179 aarch64_CFLAGS = $aarch64_CFLAGS
23180 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23181 aarch64_LDFLAGS = $aarch64_LDFLAGS
23182 aarch64_DEBUG = $aarch64_DEBUG
23183 aarch64_TARGET = $aarch64_TARGET
23184 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23185 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23187 arm_CFLAGS = $arm_CFLAGS
23188 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23189 arm_LDFLAGS = $arm_LDFLAGS
23190 arm_DEBUG = $arm_DEBUG
23191 arm_TARGET = $arm_TARGET
23192 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23193 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23195 i386_CFLAGS = $i386_CFLAGS
23196 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23197 i386_LDFLAGS = $i386_LDFLAGS
23198 i386_DEBUG = $i386_DEBUG
23199 i386_TARGET = $i386_TARGET
23200 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23201 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23202 x86_64_CC = $x86_64_CC
23203 x86_64_CFLAGS = $x86_64_CFLAGS
23204 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23205 x86_64_LDFLAGS = $x86_64_LDFLAGS
23206 x86_64_DEBUG = $x86_64_DEBUG
23207 x86_64_TARGET = $x86_64_TARGET
23208 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23209 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23210 toolsdir = $toolsdir
23212 RUNTESTFLAGS = $RUNTESTFLAGS
23217 ac_ct_AR = $ac_ct_AR
23223 LDCONFIG = $LDCONFIG
23225 PKG_CONFIG = $PKG_CONFIG
23226 FONTFORGE = $FONTFORGE
23230 I386_LIBS = $I386_LIBS
23231 OPENGL_LIBS = $OPENGL_LIBS
23232 DLLFLAGS = $DLLFLAGS
23233 LDDLLFLAGS = $LDDLLFLAGS
23234 LDEXECFLAGS = $LDEXECFLAGS
23235 EXTRACFLAGS = $EXTRACFLAGS
23236 UNIXDLLFLAGS = $UNIXDLLFLAGS
23237 UNIXLDFLAGS = $UNIXLDFLAGS
23238 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23239 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23240 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23241 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23247 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23248 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23249 CARBON_LIBS = $CARBON_LIBS
23250 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23251 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23252 IOKIT_LIBS = $IOKIT_LIBS
23253 METAL_LIBS = $METAL_LIBS
23254 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23255 CORESERVICES_LIBS = $CORESERVICES_LIBS
23256 APPKIT_LIBS = $APPKIT_LIBS
23257 SECURITY_LIBS = $SECURITY_LIBS
23258 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23259 COREAUDIO_LIBS = $COREAUDIO_LIBS
23260 OPENCL_LIBS = $OPENCL_LIBS
23262 OBJCFLAGS = $OBJCFLAGS
23263 ac_ct_OBJC = $ac_ct_OBJC
23264 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23265 PE_ARCHS = $PE_ARCHS
23266 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23267 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23268 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23269 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23270 GSM_PE_LIBS = $GSM_PE_LIBS
23271 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23272 JPEG_PE_LIBS = $JPEG_PE_LIBS
23273 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23274 JXR_PE_LIBS = $JXR_PE_LIBS
23275 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23276 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23277 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23278 LDAP_PE_LIBS = $LDAP_PE_LIBS
23279 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23280 MPG123_PE_LIBS = $MPG123_PE_LIBS
23281 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23282 MUSL_PE_LIBS = $MUSL_PE_LIBS
23283 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23284 PNG_PE_LIBS = $PNG_PE_LIBS
23285 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23286 TIFF_PE_LIBS = $TIFF_PE_LIBS
23287 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23288 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23289 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23290 XML2_PE_LIBS = $XML2_PE_LIBS
23291 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23292 XSLT_PE_LIBS = $XSLT_PE_LIBS
23293 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23294 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23295 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23296 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23297 PTHREAD_LIBS = $PTHREAD_LIBS
23300 X_CFLAGS = $X_CFLAGS
23301 X_PRE_LIBS = $X_PRE_LIBS
23303 X_EXTRA_LIBS = $X_EXTRA_LIBS
23304 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23305 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23306 WAYLAND_SCANNER = $WAYLAND_SCANNER
23307 PCAP_LIBS = $PCAP_LIBS
23308 PCSCLITE_LIBS = $PCSCLITE_LIBS
23309 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23310 INOTIFY_LIBS = $INOTIFY_LIBS
23311 DBUS_CFLAGS = $DBUS_CFLAGS
23312 DBUS_LIBS = $DBUS_LIBS
23313 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23314 GNUTLS_LIBS = $GNUTLS_LIBS
23315 SANE_CFLAGS = $SANE_CFLAGS
23316 SANE_LIBS = $SANE_LIBS
23317 USB_CFLAGS = $USB_CFLAGS
23318 USB_LIBS = $USB_LIBS
23319 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23320 GPHOTO2_LIBS = $GPHOTO2_LIBS
23321 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23322 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23323 RESOLV_LIBS = $RESOLV_LIBS
23324 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23325 FREETYPE_LIBS = $FREETYPE_LIBS
23326 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23327 PULSE_CFLAGS = $PULSE_CFLAGS
23328 PULSE_LIBS = $PULSE_LIBS
23329 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23330 GSTREAMER_LIBS = $GSTREAMER_LIBS
23331 ALSA_LIBS = $ALSA_LIBS
23332 OSS4_CFLAGS = $OSS4_CFLAGS
23333 OSS4_LIBS = $OSS4_LIBS
23334 UDEV_CFLAGS = $UDEV_CFLAGS
23335 UDEV_LIBS = $UDEV_LIBS
23336 UNWIND_CFLAGS = $UNWIND_CFLAGS
23337 UNWIND_LIBS = $UNWIND_LIBS
23338 SDL2_CFLAGS = $SDL2_CFLAGS
23339 SDL2_LIBS = $SDL2_LIBS
23340 CAPI20_CFLAGS = $CAPI20_CFLAGS
23341 CAPI20_LIBS = $CAPI20_LIBS
23342 CUPS_CFLAGS = $CUPS_CFLAGS
23343 CUPS_LIBS = $CUPS_LIBS
23344 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23345 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23346 KRB5_CFLAGS = $KRB5_CFLAGS
23347 KRB5_LIBS = $KRB5_LIBS
23348 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23349 GSSAPI_LIBS = $GSSAPI_LIBS
23350 PROCSTAT_LIBS = $PROCSTAT_LIBS
23351 NETAPI_CFLAGS = $NETAPI_CFLAGS
23352 NETAPI_LIBS = $NETAPI_LIBS
23353 MSVCRTFLAGS = $MSVCRTFLAGS
23354 DELAYLOADFLAG = $DELAYLOADFLAG
23355 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23357 TAGSFLAGS = $TAGSFLAGS
23359 LTLIBOBJS = $LTLIBOBJS
23363 as_fn_error $? "could not create Makefile" "$LINENO" 5
23368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23370 # Handling of arguments.
23371 for ac_config_target
in $ac_config_targets
23373 case $ac_config_target in
23374 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23375 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23376 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23377 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23378 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23379 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23381 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23386 # If the user did not use the arguments to specify the items to instantiate,
23387 # then the envvar interface is used. Set only those that are not.
23388 # We use the long form for the default assignment because of an extremely
23389 # bizarre bug on SunOS 4.1.3.
23390 if $ac_need_defaults; then
23391 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23392 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23393 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23396 # Have a temporary directory for convenience. Make it in the build tree
23397 # simply because there is no reason against having it here, and in addition,
23398 # creating and moving files from /tmp can sometimes cause problems.
23399 # Hook for its removal unless debugging.
23400 # Note that there is a small window in which the directory will not be cleaned:
23401 # after its creation but before its name has been assigned to `$tmp'.
23405 trap 'exit_status=$?
23406 : "${ac_tmp:=$tmp}"
23407 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23409 trap 'as_fn_exit 1' 1 2 13 15
23411 # Create a (secure) tmp directory for tmp files.
23414 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23418 tmp
=.
/conf$$
-$RANDOM
23419 (umask 077 && mkdir
"$tmp")
23420 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23423 # Set up the scripts for CONFIG_HEADERS section.
23424 # No need to generate them if there are no CONFIG_HEADERS.
23425 # This happens for instance with `./config.status Makefile'.
23426 if test -n "$CONFIG_HEADERS"; then
23427 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23431 # Transform confdefs.h into an awk script `defines.awk', embedded as
23432 # here-document in config.status, that substitutes the proper values into
23433 # config.h.in to produce config.h.
23435 # Create a delimiter string that does not exist in confdefs.h, to ease
23436 # handling of long lines.
23438 for ac_last_try
in false false
:; do
23439 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23440 if test -z "$ac_tt"; then
23442 elif $ac_last_try; then
23443 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23445 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23449 # For the awk script, D is an array of macro values keyed by name,
23450 # likewise P contains macro parameters if any. Preserve backslash
23451 # newline sequences.
23453 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23455 s/.\{148\}/&'"$ac_delim"'/g
23458 s/^[ ]*#[ ]*define[ ][ ]*/ /
23465 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23467 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23472 D["\1"]=" \3\\\\\\n"\\/p
23474 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23479 s/.\{148\}/&'"$ac_delim"'/g
23484 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23487 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23489 ' <confdefs.h |
sed '
23490 s/'"$ac_delim"'/"\\\
23491 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23494 for (key in D) D_is_set[key] = 1
23497 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23499 split(line, arg, " ")
23500 if (arg[1] == "#") {
23504 defundef = substr(arg[1], 2)
23507 split(mac1, mac2, "(") #)
23509 prefix = substr(line, 1, index(line, defundef) - 1)
23510 if (D_is_set[macro]) {
23511 # Preserve the white space surrounding the "#".
23512 print prefix "define", macro P[macro] D[macro]
23515 # Replace #undef with comments. This is necessary, for example,
23516 # in the case of _POSIX_SOURCE, which is predefined and required
23517 # on some systems where configure will not decide to define it.
23518 if (defundef == "undef") {
23519 print "/*", prefix defundef, macro, "*/"
23527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23528 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23529 fi # test -n "$CONFIG_HEADERS"
23532 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23537 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23539 case $ac_mode$ac_tag in
23541 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23542 :[FH
]-) ac_tag
=-:-;;
23543 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23560 -) ac_f
="$ac_tmp/stdin";;
23561 *) # Look for the file first in the build tree, then in the source tree
23562 # (if the path is not absolute). The absolute path cannot be DOS-style,
23563 # because $ac_f cannot contain `:'.
23567 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23569 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23571 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23572 as_fn_append ac_file_inputs
" '$ac_f'"
23575 # Let's still pretend it is `configure' which instantiates (i.e., don't
23576 # use $as_me), people would be surprised to read:
23577 # /* config.h. Generated by config.status. */
23578 configure_input
='Generated from '`
23579 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23581 if test x
"$ac_file" != x-
; then
23582 configure_input
="$ac_file. $configure_input"
23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23584 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23586 # Neutralize special characters interpreted by sed in replacement strings.
23587 case $configure_input in #(
23588 *\
&* |
*\|
* |
*\\* )
23589 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23590 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23591 *) ac_sed_conf_input
=$configure_input;;
23595 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23596 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23601 ac_dir
=`$as_dirname -- "$ac_file" ||
23602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23603 X"$ac_file" : 'X\(//\)[^/]' \| \
23604 X"$ac_file" : 'X\(//\)$' \| \
23605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23606 printf "%s\n" X"$ac_file" |
23607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23611 /^X\(\/\/\)[^/].*/{
23624 as_dir
="$ac_dir"; as_fn_mkdir_p
23628 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23630 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23631 # A ".." for each directory in $ac_dir_suffix.
23632 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23633 case $ac_top_builddir_sub in
23634 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23635 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23638 ac_abs_top_builddir
=$ac_pwd
23639 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23640 # for backward compatibility:
23641 ac_top_builddir
=$ac_top_build_prefix
23644 .
) # We are building in place.
23646 ac_top_srcdir
=$ac_top_builddir_sub
23647 ac_abs_top_srcdir
=$ac_pwd ;;
23648 [\\/]* | ?
:[\\/]* ) # Absolute name.
23649 ac_srcdir
=$srcdir$ac_dir_suffix;
23650 ac_top_srcdir
=$srcdir
23651 ac_abs_top_srcdir
=$srcdir ;;
23652 *) # Relative name.
23653 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23654 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23655 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23657 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23666 if test x
"$ac_file" != x-
; then
23668 printf "%s\n" "/* $configure_input */" >&1 \
23669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23670 } >"$ac_tmp/config.h" \
23671 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23672 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23674 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23677 mv "$ac_tmp/config.h" "$ac_file" \
23678 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23681 printf "%s\n" "/* $configure_input */" >&1 \
23682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23683 || as_fn_error $?
"could not create -" "$LINENO" 5
23691 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23694 # Prefer the file from the source tree if names are identical.
23695 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23696 ac_source
=$srcdir/$ac_source
23699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23700 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23702 if test ! -r "$ac_source"; then
23703 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23707 # Try a relative symlink, then a hard link, then a copy.
23709 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23710 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23712 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23713 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23714 cp -p "$ac_source" "$ac_file" ||
23715 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23718 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23719 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23724 case $ac_file$ac_mode in
23725 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23726 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23727 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23735 ac_clean_files
=$ac_clean_files_save
23737 test $ac_write_fail = 0 ||
23738 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23741 # configure is writing to config.log, and then calls config.status.
23742 # config.status does its own redirection, appending to config.log.
23743 # Unfortunately, on DOS this fails, as config.log is still kept open
23744 # by configure, so config.status won't be able to write to it; its
23745 # output is simply discarded. So we exec the FD to /dev/null,
23746 # effectively closing config.log, so it can be properly (re)opened and
23747 # appended to by config.status. When coming back to configure, we
23748 # need to make the FD available again.
23749 if test "$no_create" != yes; then
23751 ac_config_status_args
=
23752 test "$silent" = yes &&
23753 ac_config_status_args
="$ac_config_status_args --quiet"
23755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23758 # would make configure fail if this is the last instruction.
23759 $ac_cs_success || as_fn_exit
1
23761 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23763 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23767 if test "$no_create" = "yes"
23773 if test "x$wine_notices" != x
; then
23776 for msg
in $wine_notices; do
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23783 printf "%s\n" "$as_me: $msg" >&6;}
23788 for msg
in $wine_warnings; do
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23796 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23802 $as_me: Finished. Do '${ac_make}' to compile Wine.