2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.10.
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.10'
615 PACKAGE_STRING
='Wine 8.10'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1094 enable_directmanipulation
1131 enable_explorerframe
1147 enable_graphicscapture
1190 enable_light_msstyles
1205 enable_mfmediaengine
1270 enable_msvcp140_atomic_wait
1336 enable_photometadatahandler
1413 enable_threadpoolwinrt
1416 enable_twinapi_appcore
1420 enable_uiautomationcore
1440 enable_vcruntime140_1
1458 enable_windows_devices_enumeration
1459 enable_windows_gaming_input
1460 enable_windows_gaming_ui_gamebar
1461 enable_windows_globalization
1462 enable_windows_media_devices
1463 enable_windows_media_speech
1464 enable_windows_media
1465 enable_windows_networking
1466 enable_windows_perception_stub
1467 enable_windows_system_profile_systemmanufacturers
1469 enable_windowscodecs
1470 enable_windowscodecsext
1472 enable_wineandroid_drv
1474 enable_winecoreaudio_drv
1477 enable_winegstreamer
1483 enable_winepulse_drv
1486 enable_winewayland_drv
1488 enable_winexinput_sys
1534 enable_xactengine2_0
1535 enable_xactengine2_4
1536 enable_xactengine2_7
1537 enable_xactengine2_9
1538 enable_xactengine3_0
1539 enable_xactengine3_1
1540 enable_xactengine3_2
1541 enable_xactengine3_3
1542 enable_xactengine3_4
1543 enable_xactengine3_5
1544 enable_xactengine3_6
1545 enable_xactengine3_7
1594 enable_wmcodecdspuuid
1603 enable_aspnet_regiis
1649 enable_presentationfontcache
1664 enable_servicemodelreg
1690 enable_winemenubuilder
1692 enable_winemsibuilder
1717 ac_precious_vars
='build_alias
1762 WAYLAND_CLIENT_CFLAGS
1804 # Initialize some variables set by options.
1806 ac_init_version
=false
1807 ac_unrecognized_opts
=
1808 ac_unrecognized_sep
=
1809 # The variables have the same names as the options, with
1810 # dashes changed to underlines.
1811 cache_file
=/dev
/null
1818 program_transform_name
=s
,x
,x
,
1826 # Installation directory options.
1827 # These are left unexpanded so users can "make install exec_prefix=/foo"
1828 # and all the variables that are supposed to be based on exec_prefix
1829 # by default will actually change.
1830 # Use braces instead of parens because sh, perl, etc. also accept them.
1831 # (The list follows the same order as the GNU Coding Standards.)
1832 bindir
='${exec_prefix}/bin'
1833 sbindir
='${exec_prefix}/sbin'
1834 libexecdir
='${exec_prefix}/libexec'
1835 datarootdir
='${prefix}/share'
1836 datadir
='${datarootdir}'
1837 sysconfdir
='${prefix}/etc'
1838 sharedstatedir
='${prefix}/com'
1839 localstatedir
='${prefix}/var'
1840 runstatedir
='${localstatedir}/run'
1841 includedir
='${prefix}/include'
1842 oldincludedir
='/usr/include'
1843 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1844 infodir
='${datarootdir}/info'
1849 libdir
='${exec_prefix}/lib'
1850 localedir
='${datarootdir}/locale'
1851 mandir
='${datarootdir}/man'
1857 # If the previous option needs an argument, assign it.
1858 if test -n "$ac_prev"; then
1859 eval $ac_prev=\
$ac_option
1865 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1870 case $ac_dashdash$ac_option in
1874 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1876 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1877 bindir
=$ac_optarg ;;
1879 -build |
--build |
--buil |
--bui |
--bu)
1880 ac_prev
=build_alias
;;
1881 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1882 build_alias
=$ac_optarg ;;
1884 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1885 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1886 ac_prev
=cache_file
;;
1887 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1888 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1889 cache_file
=$ac_optarg ;;
1891 --config-cache |
-C)
1892 cache_file
=config.cache
;;
1894 -datadir |
--datadir |
--datadi |
--datad)
1896 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1897 datadir
=$ac_optarg ;;
1899 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1900 |
--dataroo |
--dataro |
--datar)
1901 ac_prev
=datarootdir
;;
1902 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1903 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1904 datarootdir
=$ac_optarg ;;
1906 -disable-* |
--disable-*)
1907 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1910 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1911 ac_useropt_orig
=$ac_useropt
1912 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "enable_
$ac_useropt"
1917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1918 ac_unrecognized_sep
=', ';;
1920 eval enable_
$ac_useropt=no
;;
1922 -docdir |
--docdir |
--docdi |
--doc |
--do)
1924 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1925 docdir
=$ac_optarg ;;
1927 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1929 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1930 dvidir
=$ac_optarg ;;
1932 -enable-* |
--enable-*)
1933 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1936 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1937 ac_useropt_orig
=$ac_useropt
1938 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "enable_
$ac_useropt"
1943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1944 ac_unrecognized_sep
=', ';;
1946 eval enable_
$ac_useropt=\
$ac_optarg ;;
1948 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1949 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1950 |
--exec |
--exe |
--ex)
1951 ac_prev
=exec_prefix
;;
1952 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1953 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1954 |
--exec=* |
--exe=* |
--ex=*)
1955 exec_prefix
=$ac_optarg ;;
1957 -gas |
--gas |
--ga |
--g)
1958 # Obsolete; use --with-gas.
1961 -help |
--help |
--hel |
--he |
-h)
1962 ac_init_help
=long
;;
1963 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1964 ac_init_help
=recursive
;;
1965 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1966 ac_init_help
=short
;;
1968 -host |
--host |
--hos |
--ho)
1969 ac_prev
=host_alias
;;
1970 -host=* |
--host=* |
--hos=* |
--ho=*)
1971 host_alias
=$ac_optarg ;;
1973 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1975 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1977 htmldir
=$ac_optarg ;;
1979 -includedir |
--includedir |
--includedi |
--included |
--include \
1980 |
--includ |
--inclu |
--incl |
--inc)
1981 ac_prev
=includedir
;;
1982 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1983 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1984 includedir
=$ac_optarg ;;
1986 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1988 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1989 infodir
=$ac_optarg ;;
1991 -libdir |
--libdir |
--libdi |
--libd)
1993 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1994 libdir
=$ac_optarg ;;
1996 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1997 |
--libexe |
--libex |
--libe)
1998 ac_prev
=libexecdir
;;
1999 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2000 |
--libexe=* |
--libex=* |
--libe=*)
2001 libexecdir
=$ac_optarg ;;
2003 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2004 ac_prev
=localedir
;;
2005 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2006 localedir
=$ac_optarg ;;
2008 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2009 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2010 ac_prev
=localstatedir
;;
2011 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2012 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2013 localstatedir
=$ac_optarg ;;
2015 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2017 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2018 mandir
=$ac_optarg ;;
2020 -nfp |
--nfp |
--nf)
2021 # Obsolete; use --without-fp.
2024 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2025 |
--no-cr |
--no-c |
-n)
2028 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2029 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2032 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2033 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2034 |
--oldin |
--oldi |
--old |
--ol |
--o)
2035 ac_prev
=oldincludedir
;;
2036 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2037 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2038 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2039 oldincludedir
=$ac_optarg ;;
2041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2044 prefix
=$ac_optarg ;;
2046 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2047 |
--program-pre |
--program-pr |
--program-p)
2048 ac_prev
=program_prefix
;;
2049 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2050 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2051 program_prefix
=$ac_optarg ;;
2053 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2054 |
--program-suf |
--program-su |
--program-s)
2055 ac_prev
=program_suffix
;;
2056 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2057 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2058 program_suffix
=$ac_optarg ;;
2060 -program-transform-name |
--program-transform-name \
2061 |
--program-transform-nam |
--program-transform-na \
2062 |
--program-transform-n |
--program-transform- \
2063 |
--program-transform |
--program-transfor \
2064 |
--program-transfo |
--program-transf \
2065 |
--program-trans |
--program-tran \
2066 |
--progr-tra |
--program-tr |
--program-t)
2067 ac_prev
=program_transform_name
;;
2068 -program-transform-name=* |
--program-transform-name=* \
2069 |
--program-transform-nam=* |
--program-transform-na=* \
2070 |
--program-transform-n=* |
--program-transform-=* \
2071 |
--program-transform=* |
--program-transfor=* \
2072 |
--program-transfo=* |
--program-transf=* \
2073 |
--program-trans=* |
--program-tran=* \
2074 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2075 program_transform_name
=$ac_optarg ;;
2077 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2079 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2080 pdfdir
=$ac_optarg ;;
2082 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2084 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2088 |
-silent |
--silent |
--silen |
--sile |
--sil)
2091 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2092 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2093 |
--run |
--ru |
--r)
2094 ac_prev
=runstatedir
;;
2095 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2096 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2097 |
--run=* |
--ru=* |
--r=*)
2098 runstatedir
=$ac_optarg ;;
2100 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2102 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2104 sbindir
=$ac_optarg ;;
2106 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2107 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2108 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2110 ac_prev
=sharedstatedir
;;
2111 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2112 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2113 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2115 sharedstatedir
=$ac_optarg ;;
2117 -site |
--site |
--sit)
2119 -site=* |
--site=* |
--sit=*)
2122 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2124 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2125 srcdir
=$ac_optarg ;;
2127 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2128 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2129 ac_prev
=sysconfdir
;;
2130 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2131 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2132 sysconfdir
=$ac_optarg ;;
2134 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2135 ac_prev
=target_alias
;;
2136 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2137 target_alias
=$ac_optarg ;;
2139 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2142 -version |
--version |
--versio |
--versi |
--vers |
-V)
2143 ac_init_version
=: ;;
2146 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2147 # Reject names that are not valid shell variable names.
2148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2149 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2150 ac_useropt_orig
=$ac_useropt
2151 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2152 case $ac_user_opts in
2156 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2157 ac_unrecognized_sep
=', ';;
2159 eval with_
$ac_useropt=\
$ac_optarg ;;
2161 -without-* |
--without-*)
2162 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2165 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2166 ac_useropt_orig
=$ac_useropt
2167 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2172 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2173 ac_unrecognized_sep
=', ';;
2175 eval with_
$ac_useropt=no
;;
2178 # Obsolete; use --with-x.
2181 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2182 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2183 ac_prev
=x_includes
;;
2184 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2185 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2186 x_includes
=$ac_optarg ;;
2188 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2189 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2190 ac_prev
=x_libraries
;;
2191 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2192 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2193 x_libraries
=$ac_optarg ;;
2195 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2196 Try \`$0 --help' for more information"
2200 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2201 # Reject names that are not valid shell variable names.
2202 case $ac_envvar in #(
2203 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2204 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2206 eval $ac_envvar=\
$ac_optarg
2207 export $ac_envvar ;;
2210 # FIXME: should be removed in autoconf 3.0.
2211 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2212 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2213 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2214 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2220 if test -n "$ac_prev"; then
2221 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2222 as_fn_error $?
"missing argument to $ac_option"
2225 if test -n "$ac_unrecognized_opts"; then
2226 case $enable_option_checking in
2228 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2229 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2233 # Check all directory arguments for consistency.
2234 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2235 datadir sysconfdir sharedstatedir localstatedir includedir \
2236 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2237 libdir localedir mandir runstatedir
2239 eval ac_val
=\$
$ac_var
2240 # Remove trailing slashes.
2243 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2244 eval $ac_var=\
$ac_val;;
2246 # Be sure to have absolute directory names.
2248 [\\/$
]* | ?
:[\\/]* ) continue;;
2249 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2251 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2254 # There might be people who depend on the old broken behavior: `$host'
2255 # used to hold the argument of --host etc.
2256 # FIXME: To remove some day.
2259 target
=$target_alias
2261 # FIXME: To remove some day.
2262 if test "x$host_alias" != x
; then
2263 if test "x$build_alias" = x
; then
2264 cross_compiling
=maybe
2265 elif test "x$build_alias" != "x$host_alias"; then
2271 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2273 test "$silent" = yes && exec 6>/dev
/null
2276 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2277 ac_ls_di
=`ls -di .` &&
2278 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2279 as_fn_error $?
"working directory cannot be determined"
2280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2281 as_fn_error $?
"pwd does not report name of working directory"
2284 # Find the source files, if location was not specified.
2285 if test -z "$srcdir"; then
2286 ac_srcdir_defaulted
=yes
2287 # Try the directory containing this script, then the parent directory.
2288 ac_confdir
=`$as_dirname -- "$as_myself" ||
2289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2290 X"$as_myself" : 'X\(//\)[^/]' \| \
2291 X"$as_myself" : 'X\(//\)$' \| \
2292 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2293 printf "%s\n" X"$as_myself" |
2294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2312 if test ! -r "$srcdir/$ac_unique_file"; then
2316 ac_srcdir_defaulted
=no
2318 if test ! -r "$srcdir/$ac_unique_file"; then
2319 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2320 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2322 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2324 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2326 # When building in place, set srcdir=.
2327 if test "$ac_abs_confdir" = "$ac_pwd"; then
2330 # Remove unnecessary trailing slashes from srcdir.
2331 # Double slashes in file names in object file debugging info
2332 # mess up M-x gdb in Emacs.
2334 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2336 for ac_var
in $ac_precious_vars; do
2337 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2338 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2339 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2340 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2344 # Report the --help message.
2346 if test "$ac_init_help" = "long"; then
2347 # Omit some internal or obsolete options to make the list less imposing.
2348 # This message is too long to be a string in the A/UX 3.1 sh.
2350 \`configure' configures Wine 8.10 to adapt to many kinds of systems.
2352 Usage: $0 [OPTION]... [VAR=VALUE]...
2354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2355 VAR=VALUE. See below for descriptions of some of the useful variables.
2357 Defaults for the options are specified in brackets.
2360 -h, --help display this help and exit
2361 --help=short display options specific to this package
2362 --help=recursive display the short help of all the included packages
2363 -V, --version display version information and exit
2364 -q, --quiet, --silent do not print \`checking ...' messages
2365 --cache-file=FILE cache test results in FILE [disabled]
2366 -C, --config-cache alias for \`--cache-file=config.cache'
2367 -n, --no-create do not create output files
2368 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2370 Installation directories:
2371 --prefix=PREFIX install architecture-independent files in PREFIX
2372 [$ac_default_prefix]
2373 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2376 By default, \`make install' will install all the files in
2377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2379 for instance \`--prefix=\$HOME'.
2381 For better control, use the options below.
2383 Fine tuning of the installation directories:
2384 --bindir=DIR user executables [EPREFIX/bin]
2385 --sbindir=DIR system admin executables [EPREFIX/sbin]
2386 --libexecdir=DIR program executables [EPREFIX/libexec]
2387 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2388 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2389 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2390 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2391 --libdir=DIR object code libraries [EPREFIX/lib]
2392 --includedir=DIR C header files [PREFIX/include]
2393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2396 --infodir=DIR info documentation [DATAROOTDIR/info]
2397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2398 --mandir=DIR man documentation [DATAROOTDIR/man]
2399 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2400 --htmldir=DIR html documentation [DOCDIR]
2401 --dvidir=DIR dvi documentation [DOCDIR]
2402 --pdfdir=DIR pdf documentation [DOCDIR]
2403 --psdir=DIR ps documentation [DOCDIR]
2409 --x-includes=DIR X include files are
in DIR
2410 --x-libraries=DIR X library files are
in DIR
2413 --build=BUILD configure
for building on BUILD
[guessed
]
2414 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2418 if test -n "$ac_init_help"; then
2419 case $ac_init_help in
2420 short | recursive
) echo "Configuration of Wine 8.10:";;
2425 --disable-option-checking ignore unrecognized
--enable/--with options
2426 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2427 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2428 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2429 enable multiple architectures
for PE compilation
2430 --disable-win16 do not include Win16 support
2431 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2433 --disable-tests do not build the regression tests
2434 --enable-build-id include .buildid section in output objects
2435 --enable-maintainer-mode
2436 enable maintainer-specific build rules
2437 --enable-silent-rules use silent build rules (override: "make V=1")
2438 --enable-werror treat compilation warnings as errors
2439 --disable-largefile omit support for large files
2442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2444 --without-alsa do not use the Alsa sound support
2445 --without-capi do not use CAPI (ISDN support)
2446 --without-coreaudio do not use the CoreAudio sound support
2447 --without-cups do not use CUPS
2448 --without-dbus do not use DBus (dynamic device support)
2449 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2450 --without-fontconfig do not use fontconfig
2451 --without-freetype do not use the FreeType library
2452 --without-gettext do not use gettext
2453 --with-gettextpo use the GetTextPO library to rebuild po files
2454 --without-gphoto do not use gphoto (Digital Camera support)
2455 --without-gnutls do not use GnuTLS (schannel support)
2456 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2457 --without-gstreamer do not use GStreamer (codecs support)
2458 --without-inotify do not use inotify (filesystem change notifications)
2459 --without-krb5 do not use krb5 (Kerberos)
2460 --without-mingw do not use the MinGW cross-compiler
2461 --without-netapi do not use the Samba NetAPI library
2462 --without-opencl do not use OpenCL
2463 --without-opengl do not use OpenGL
2464 --without-osmesa do not use the OSMesa library
2465 --without-oss do not use the OSS sound support
2466 --without-pcap do not use the Packet Capture library
2467 --without-pcsclite do not use PCSC lite
2468 --without-pthread do not use the pthread library
2469 --without-pulse do not use PulseAudio sound support
2470 --without-sane do not use SANE (scanner support)
2471 --without-sdl do not use SDL
2472 --without-udev do not use udev (plug and play support)
2473 --without-unwind do not use the libunwind library (exception
2475 --without-usb do not use the libusb library
2476 --without-v4l2 do not use v4l2 (video capture)
2477 --without-vulkan do not use Vulkan
2478 --without-wayland do not build the Wayland driver
2479 --without-xcomposite do not use the Xcomposite extension
2480 --without-xcursor do not use the Xcursor extension
2481 --without-xfixes do not use Xfixes for clipboard change notifications
2482 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2483 --without-xinput do not use the Xinput extension
2484 --without-xinput2 do not use the Xinput 2 extension
2485 --without-xrandr do not use Xrandr (multi-monitor support)
2486 --without-xrender do not use the Xrender extension
2487 --without-xshape do not use the Xshape extension
2488 --without-xshm do not use XShm (shared memory extension)
2489 --without-xxf86vm do not use XFree video mode extension
2490 --with-system-dllpath=PATH
2491 load external PE dependencies from colon-separated
2493 --with-wine-tools=DIR use Wine tools from directory DIR
2494 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2495 --with-x use the X Window System
2497 Some influential environment variables:
2498 CC C compiler command
2499 CFLAGS C compiler flags
2500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2501 nonstandard directory <lib dir>
2502 LIBS libraries to pass to the linker, e.g. -l<library>
2503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2504 you have headers in a nonstandard directory <include dir>
2505 CXX C++ compiler command
2506 CXXFLAGS C++ compiler flags
2507 OBJC Objective C compiler command
2508 OBJCFLAGS Objective C compiler flags
2510 C compiler flags for the PE faudio, overriding the bundled
2513 Linker flags for the PE faudio, overriding the bundled version
2515 C compiler flags for the PE gsm, overriding the bundled version
2516 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2518 C compiler flags for the PE jpeg, overriding the bundled version
2520 Linker flags for the PE jpeg, overriding the bundled version
2522 C compiler flags for the PE jxr, overriding the bundled version
2523 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2525 C compiler flags for the PE lcms2, overriding the bundled
2528 Linker flags for the PE lcms2, overriding the bundled version
2530 C compiler flags for the PE ldap, overriding the bundled version
2532 Linker flags for the PE ldap, overriding the bundled version
2534 C compiler flags for the PE mpg123, overriding the bundled
2537 Linker flags for the PE mpg123, overriding the bundled version
2539 C compiler flags for the PE musl, overriding the bundled version
2541 Linker flags for the PE musl, overriding the bundled version
2543 C compiler flags for the PE png, overriding the bundled version
2544 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2546 C compiler flags for the PE tiff, overriding the bundled version
2548 Linker flags for the PE tiff, overriding the bundled version
2550 C compiler flags for the PE vkd3d, overriding the bundled
2553 Linker flags for the PE vkd3d, overriding the bundled version
2555 C compiler flags for the PE xml2, overriding the bundled version
2557 Linker flags for the PE xml2, overriding the bundled version
2559 C compiler flags for the PE xslt, overriding the bundled version
2561 Linker flags for the PE xslt, overriding the bundled version
2563 C compiler flags for the PE zlib, overriding the bundled version
2565 Linker flags for the PE zlib, overriding the bundled version
2567 C compiler flags for the PE zydis, overriding the bundled
2570 Linker flags for the PE zydis, overriding the bundled version
2571 XMKMF Path to xmkmf, Makefile generator for X Window System
2573 WAYLAND_CLIENT_CFLAGS
2574 C compiler flags for wayland-client, overriding pkg-config
2576 Linker flags for wayland-client, overriding pkg-config
2578 C compiler flags for libinotify, overriding pkg-config
2580 Linker flags for libinotify, overriding pkg-config
2581 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2582 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2584 C compiler flags for gnutls, overriding pkg-config
2585 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2586 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2587 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2588 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2589 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2591 C compiler flags for libgphoto2, overriding pkg-config
2593 Linker flags for libgphoto2, overriding pkg-config
2595 C compiler flags for libgphoto2_port, overriding pkg-config
2597 Linker flags for libgphoto2_port, overriding pkg-config
2599 C compiler flags for freetype2, overriding pkg-config
2601 Linker flags for freetype2, overriding pkg-config
2603 C compiler flags for libpulse, overriding pkg-config
2604 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2606 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2607 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2609 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2610 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2611 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2612 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2614 C compiler flags for libunwind, overriding pkg-config
2615 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2616 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2617 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2619 C compiler flags for capi20, overriding pkg-config
2620 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2621 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2622 CUPS_LIBS Linker flags for cups, overriding pkg-config
2624 C compiler flags for fontconfig, overriding pkg-config
2626 Linker flags for fontconfig, overriding pkg-config
2627 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2628 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2630 C compiler flags for krb5-gssapi, overriding pkg-config
2631 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2633 C compiler flags for netapi, overriding pkg-config
2634 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2636 Use these variables to override the choices made by `configure' or to
help
2637 it to
find libraries and programs with nonstandard names
/locations.
2639 Report bugs to
<wine-devel@winehq.org
>.
2640 Wine home page
: <https
://www.winehq.org
>.
2645 if test "$ac_init_help" = "recursive"; then
2646 # If there are subdirs, report their specific --help.
2647 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2648 test -d "$ac_dir" ||
2649 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2654 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2656 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2657 # A ".." for each directory in $ac_dir_suffix.
2658 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2659 case $ac_top_builddir_sub in
2660 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2661 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2664 ac_abs_top_builddir
=$ac_pwd
2665 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2666 # for backward compatibility:
2667 ac_top_builddir
=$ac_top_build_prefix
2670 .
) # We are building in place.
2672 ac_top_srcdir
=$ac_top_builddir_sub
2673 ac_abs_top_srcdir
=$ac_pwd ;;
2674 [\\/]* | ?
:[\\/]* ) # Absolute name.
2675 ac_srcdir
=$srcdir$ac_dir_suffix;
2676 ac_top_srcdir
=$srcdir
2677 ac_abs_top_srcdir
=$srcdir ;;
2679 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2680 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2681 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2683 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2685 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2686 # Check for configure.gnu first; this name is used for a wrapper for
2687 # Metaconfig's "Configure" on case-insensitive file systems.
2688 if test -f "$ac_srcdir/configure.gnu"; then
2690 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2691 elif test -f "$ac_srcdir/configure"; then
2693 $SHELL "$ac_srcdir/configure" --help=recursive
2695 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2697 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2701 test -n "$ac_init_help" && exit $ac_status
2702 if $ac_init_version; then
2705 generated by GNU Autoconf
2.71
2707 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2708 This configure
script is free software
; the Free Software Foundation
2709 gives unlimited permission to copy
, distribute and modify it.
2714 ## ------------------------ ##
2715 ## Autoconf initialization. ##
2716 ## ------------------------ ##
2718 # ac_fn_c_try_compile LINENO
2719 # --------------------------
2720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_compile
()
2723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2724 rm -f conftest.
$ac_objext conftest.beam
2725 if { { ac_try
="$ac_compile"
2727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_compile") 2>conftest.err
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest.$ac_objext
2747 printf "%s\n" "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 as_fn_set_status $ac_retval
2755 } # ac_fn_c_try_compile
2757 # ac_fn_cxx_try_compile LINENO
2758 # ----------------------------
2759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2760 ac_fn_cxx_try_compile ()
2762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763 rm -f conftest.$ac_objext conftest.beam
2764 if { { ac_try="$ac_compile"
2766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2767 *) ac_try_echo
=$ac_try;;
2769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 printf "%s\n" "$ac_try_echo"; } >&5
2771 (eval "$ac_compile") 2>conftest.err
2773 if test -s conftest.err
; then
2774 grep -v '^ *+' conftest.err
>conftest.er1
2775 cat conftest.er1
>&5
2776 mv -f conftest.er1 conftest.err
2778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; } && {
2780 test -z "$ac_cxx_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.
$ac_objext
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status
$ac_retval
2794 } # ac_fn_cxx_try_compile
2796 # ac_fn_c_try_link LINENO
2797 # -----------------------
2798 # Try to link conftest.$ac_ext, and return whether this succeeded.
2801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2802 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2803 if { { ac_try
="$ac_link"
2805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_link") 2>conftest.err
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest$ac_exeext && {
2822 test "$cross_compiling" = yes ||
2823 test -x conftest$ac_exeext
2828 printf "%s\n" "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2835 # interfere with the next link command; also delete a directory that is
2836 # left behind by Apple's compiler. We do this before executing the actions.
2837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 as_fn_set_status $ac_retval
2841 } # ac_fn_c_try_link
2843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2844 # -------------------------------------------------------
2845 # Tests whether HEADER exists and can be compiled using the include files in
2846 # INCLUDES, setting the cache variable VAR accordingly.
2847 ac_fn_c_check_header_compile ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2851 printf %s "checking for $2... " >&6; }
2852 if eval test \${$3+y}
2854 printf %s "(cached) " >&6
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2861 if ac_fn_c_try_compile "$LINENO"
2867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 printf "%s\n" "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_header_compile
2876 # ac_fn_objc_try_compile LINENO
2877 # -----------------------------
2878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2879 ac_fn_objc_try_compile ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 rm -f conftest.$ac_objext conftest.beam
2883 if { { ac_try="$ac_compile"
2885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2886 *) ac_try_echo
=$ac_try;;
2888 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 printf "%s\n" "$ac_try_echo"; } >&5
2890 (eval "$ac_compile") 2>conftest.err
2892 if test -s conftest.err
; then
2893 grep -v '^ *+' conftest.err
>conftest.er1
2894 cat conftest.er1
>&5
2895 mv -f conftest.er1 conftest.err
2897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_objc_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.
$ac_objext
2905 printf "%s\n" "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status
$ac_retval
2913 } # ac_fn_objc_try_compile
2915 # ac_fn_c_check_func LINENO FUNC VAR
2916 # ----------------------------------
2917 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2918 ac_fn_c_check_func
()
2920 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922 printf %s
"checking for $2... " >&6; }
2923 if eval test \
${$3+y}
2925 printf %s
"(cached) " >&6
2927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2931 #define $2 innocuous_$2
2933 /* System header to define __stub macros and hopefully few prototypes,
2934 which can conflict with char $2 (); below. */
2939 /* Override any GCC internal prototype to avoid an error.
2940 Use char because int might match the return type of a GCC
2941 builtin and then its argument prototype would still apply. */
2946 /* The GNU C library defines this for functions which it implements
2947 to always fail with ENOSYS. Some functions are actually named
2948 something starting with __ and the normal name is an alias. */
2949 #if defined __stub_$2 || defined __stub___$2
2961 if ac_fn_c_try_link
"$LINENO"
2967 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2968 conftest
$ac_exeext conftest.
$ac_ext
2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 printf "%s\n" "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_func
2977 # ac_fn_c_try_cpp LINENO
2978 # ----------------------
2979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2983 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 printf "%s\n" "$ac_try_echo"; } >&5
2990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2992 if test -s conftest.err; then
2993 grep -v '^ *+' conftest.err >conftest.er1
2994 cat conftest.er1 >&5
2995 mv -f conftest.er1 conftest.err
2997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998 test $ac_status = 0; } > conftest.i && {
2999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3005 printf "%s\n" "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3015 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3016 # ----------------------------------------------------
3017 # Tries to find if the field MEMBER exists in type AGGR, after including
3018 # INCLUDES, setting cache variable VAR accordingly.
3019 ac_fn_c_check_member ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3023 printf %s "checking for $2.$3... " >&6; }
3024 if eval test \${$4+y}
3026 printf %s "(cached) " >&6
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3041 if ac_fn_c_try_compile "$LINENO"
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3052 if (sizeof ac_aggr.$3)
3058 if ac_fn_c_try_compile "$LINENO"
3064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3070 printf "%s\n" "$ac_res" >&6; }
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 } # ac_fn_c_check_member
3075 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3076 # -------------------------------------------
3077 # Tests whether TYPE exists after having included INCLUDES, setting cache
3078 # variable VAR accordingly.
3079 ac_fn_c_check_type ()
3081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 printf %s "checking for $2... " >&6; }
3084 if eval test \${$3+y}
3086 printf %s "(cached) " >&6
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3101 if ac_fn_c_try_compile "$LINENO"
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3127 printf "%s\n" "$ac_res" >&6; }
3128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 } # ac_fn_c_check_type
3131 ac_configure_args_raw=
3136 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3138 as_fn_append ac_configure_args_raw " '$ac_arg'"
3141 case $ac_configure_args_raw in
3145 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3146 ac_unsafe_a="$ac_unsafe_z#~
"
3147 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3148 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3155 It was created by Wine $as_me 8.10, which was
3156 generated by GNU Autoconf 2.71. Invocation command line was
3158 $ $0$ac_configure_args_raw
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 case $as_dir in #(((
3194 *) as_dir=$as_dir/ ;;
3196 printf "%s
\n" "PATH
: $as_dir"
3212 # Keep a trace of the command line.
3213 # Strip out --no-create and --no-recursion so they do not pile up.
3214 # Strip out --silent because we don't want to record it for future runs.
3215 # Also quote any args containing shell meta-characters.
3216 # Make two passes to allow for proper duplicate-argument suppression.
3220 ac_must_keep_next=false
3226 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3228 | -silent | --silent | --silen | --sile | --sil)
3231 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3234 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3236 as_fn_append ac_configure_args1 " '$ac_arg'"
3237 if test $ac_must_keep_next = true; then
3238 ac_must_keep_next=false # Got value, back to normal.
3241 *=* | --config-cache | -C | -disable-* | --disable-* \
3242 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3243 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3244 | -with-* | --with-* | -without-* | --without-* | --x)
3245 case "$ac_configure_args0 " in
3246 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3249 -* ) ac_must_keep_next=true ;;
3252 as_fn_append ac_configure_args " '$ac_arg'"
3257 { ac_configure_args0=; unset ac_configure_args0;}
3258 { ac_configure_args1=; unset ac_configure_args1;}
3260 # When interrupted or exit'd, cleanup temporary files, and complete
3261 # config.log. We remove comments because anyway the quotes in there
3262 # would cause problems or look ugly.
3263 # WARNING: Use '\'' to represent an apostrophe within the trap.
3264 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3265 trap 'exit_status=$?
3268 # Save into config.log some information that might help in debugging.
3272 printf "%s
\n" "## ---------------- ##
3273 ## Cache variables. ##
3274 ## ---------------- ##"
3276 # The following way of writing the cache mishandles newlines in values,
3278 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3279 eval ac_val
=\$
$ac_var
3283 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3284 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3287 _ | IFS | as_nl
) ;; #(
3288 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3289 *) { eval $ac_var=; unset $ac_var;} ;;
3294 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3295 *${as_nl}ac_space
=\
*)
3297 "s/'\''/'\''\\\\'\'''\''/g;
3298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3308 printf "%s\n" "## ----------------- ##
3309 ## Output variables. ##
3310 ## ----------------- ##"
3312 for ac_var
in $ac_subst_vars
3314 eval ac_val
=\$
$ac_var
3316 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3318 printf "%s\n" "$ac_var='\''$ac_val'\''"
3322 if test -n "$ac_subst_files"; then
3323 printf "%s\n" "## ------------------- ##
3324 ## File substitutions. ##
3325 ## ------------------- ##"
3327 for ac_var in $ac_subst_files
3329 eval ac_val=\$$ac_var
3331 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3333 printf "%s\n" "$ac_var='\''$ac_val'\''"
3338 if test -s confdefs.h
; then
3339 printf "%s\n" "## ----------- ##
3346 test "$ac_signal" != 0 &&
3347 printf "%s\n" "$as_me: caught signal $ac_signal"
3348 printf "%s\n" "$as_me: exit $exit_status"
3350 rm -f core
*.core core.conftest.
* &&
3351 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3354 for ac_signal in 1 2 13 15; do
3355 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3359 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3360 rm -f -r conftest* confdefs.h
3362 printf "%s\n" "/* confdefs.h */" > confdefs.h
3364 # Predefined preprocessor variables.
3366 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3379 # Let the site file select an alternate cache file if it wants to.
3380 # Prefer an explicitly selected file to automatically selected ones.
3381 if test -n "$CONFIG_SITE"; then
3382 ac_site_files="$CONFIG_SITE"
3383 elif test "x$prefix" != xNONE; then
3384 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3386 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3389 for ac_site_file in $ac_site_files
3391 case $ac_site_file in #(
3395 ac_site_file=./$ac_site_file ;;
3397 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3399 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3400 sed 's
/^
/|
/' "$ac_site_file" >&5
3402 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3404 as_fn_error $? "failed to load site script $ac_site_file
3405 See \`config.log
' for more details" "$LINENO" 5; }
3409 if test -r "$cache_file"; then
3410 # Some versions of bash will fail to source /dev/null (special files
3411 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3412 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3414 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3416 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3417 *) . "./$cache_file";;
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3422 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3426 # Test code for whether the C compiler supports C89 (global declarations)
3427 ac_c_conftest_c89_globals='
3428 /* Does the compiler advertise C89 conformance?
3429 Do not
test the value of __STDC__
, because some compilers
set it to
0
3430 while being otherwise adequately conformant.
*/
3431 #if !defined __STDC__
3432 # error "Compiler does not advertise C89 conformance"
3438 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3439 struct buf
{ int x
; };
3440 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3441 static char
*e
(p
, i
)
3447 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3452 s
= g
(p
, va_arg
(v
,int
));
3457 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3458 function prototypes and stuff
, but not \xHH hex character constants.
3459 These
do not provoke an error unfortunately
, instead are silently treated
3460 as an
"x". The following induces an error
, until -std is added to get
3461 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3462 array size
at least. It is necessary to
write \x00 == 0 to get something
3463 that is true only with
-std.
*/
3464 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3466 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3467 inside
strings and character constants.
*/
3468 #define FOO(x) '\''x'\''
3469 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3471 int
test (int i
, double x
);
3472 struct s1
{int
(*f
) (int a
);};
3473 struct s2
{int
(*f
) (double a
);};
3474 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3477 # Test code for whether the C compiler supports C89 (body of main).
3478 ac_c_conftest_c89_main='
3479 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3482 # Test code for whether the C compiler supports C99 (global declarations)
3483 ac_c_conftest_c99_globals='
3484 // Does the compiler advertise C99 conformance?
3485 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3486 # error "Compiler does not advertise C99 conformance"
3489 #include <stdbool.h>
3490 extern int puts
(const char
*);
3491 extern int
printf (const char
*, ...
);
3492 extern int dprintf
(int
, const char
*, ...
);
3493 extern void
*malloc
(size_t
);
3495 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3496 // dprintf is used instead of fprintf to avoid needing to
declare
3498 #define debug(...) dprintf (2, __VA_ARGS__)
3499 #define showlist(...) puts (#__VA_ARGS__)
3500 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3502 test_varargs_macros
(void
)
3507 debug
("X = %d\n", x
);
3508 showlist
(The first
, second
, and third items.
);
3509 report
(x
>y
, "x is %d but y is %d", x
, y
);
3512 // Check long long types.
3513 #define BIG64 18446744073709551615ull
3514 #define BIG32 4294967295ul
3515 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3517 #error "your preprocessor is broken"
3521 #error "your preprocessor is broken"
3523 static long long int bignum
= -9223372036854775807LL;
3524 static unsigned long long int ubignum
= BIG64
;
3526 struct incomplete_array
3534 const wchar_t
*name
;
3538 typedef const char
*ccp
;
3541 test_restrict
(ccp restrict text
)
3543 // See
if C
++-style comments work.
3544 // Iterate through items via the restricted pointer.
3545 // Also check
for declarations
in for loops.
3546 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3551 // Check varargs and va_copy.
3553 test_varargs
(const char
*format
, ...
)
3556 va_start
(args
, format
);
3558 va_copy
(args_copy
, args
);
3560 const char
*str
= "";
3568 case '\''s
'\'': // string
3569 str
= va_arg
(args_copy
, const char
*);
3571 case '\''d
'\'': // int
3572 number
= va_arg
(args_copy
, int
);
3574 case '\''f
'\'': // float
3575 fnumber
= va_arg
(args_copy
, double
);
3584 return *str
&& number
&& fnumber
;
3588 # Test code for whether the C compiler supports C99 (body of main).
3589 ac_c_conftest_c99_main='
3591 _Bool success
= false
;
3592 success |
= (argc
!= 0);
3595 if (test_restrict
("String literal") == 0)
3597 char
*restrict newvar
= "Another string";
3600 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3601 test_varargs_macros
();
3603 // Check flexible array members.
3604 struct incomplete_array
*ia
=
3605 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3607 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3608 ia-
>data
[i
] = i
* 1.234;
3610 // Check named initializers.
3611 struct named_init ni
= {
3613 .name
= L
"Test wide string",
3614 .average
= 543.34343,
3619 int dynamic_array
[ni.number
];
3620 dynamic_array
[0] = argv
[0][0];
3621 dynamic_array
[ni.number
- 1] = 543;
3623 // work around unused variable warnings
3624 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3625 || dynamic_array
[ni.number
- 1] != 543);
3628 # Test code for whether the C compiler supports C11 (global declarations)
3629 ac_c_conftest_c11_globals='
3630 // Does the compiler advertise C11 conformance?
3631 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3632 # error "Compiler does not advertise C11 conformance"
3636 char _Alignas
(double
) aligned_as_double
;
3637 char _Alignas
(0) no_special_alignment
;
3638 extern char aligned_as_int
;
3639 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3644 int_alignment
= _Alignof
(int
),
3645 int_array_alignment
= _Alignof
(int
[100]),
3646 char_alignment
= _Alignof
(char
)
3648 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3651 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3653 // Check _Static_assert.
3654 struct test_static_assert
3657 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3658 "_Static_assert does not work in struct");
3662 // Check UTF-8 literals.
3663 #define u8 syntax error!
3664 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3666 // Check duplicate typedefs.
3667 typedef long
*long_ptr
;
3668 typedef long int
*long_ptr
;
3669 typedef long_ptr long_ptr
;
3671 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3675 struct
{ int i
; int j
; };
3676 struct
{ int k
; long int l
; } w
;
3682 # Test code for whether the C compiler supports C11 (body of main).
3683 ac_c_conftest_c11_main='
3684 _Static_assert
((offsetof
(struct anonymous
, i
)
3685 == offsetof
(struct anonymous
, w.k
)),
3686 "Anonymous union alignment botch");
3692 # Test code for whether the C compiler supports C11 (complete).
3693 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3694 ${ac_c_conftest_c99_globals}
3695 ${ac_c_conftest_c11_globals}
3698 main (int argc, char **argv)
3701 ${ac_c_conftest_c89_main}
3702 ${ac_c_conftest_c99_main}
3703 ${ac_c_conftest_c11_main}
3708 # Test code for whether the C compiler supports C99 (complete).
3709 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3710 ${ac_c_conftest_c99_globals}
3713 main (int argc, char **argv)
3716 ${ac_c_conftest_c89_main}
3717 ${ac_c_conftest_c99_main}
3722 # Test code for whether the C compiler supports C89 (complete).
3723 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3726 main (int argc, char **argv)
3729 ${ac_c_conftest_c89_main}
3734 # Test code for whether the C++ compiler supports C++98 (global declarations)
3735 ac_cxx_conftest_cxx98_globals='
3736 // Does the compiler advertise C
++98 conformance?
3737 #if !defined __cplusplus || __cplusplus < 199711L
3738 # error "Compiler does not advertise C++98 conformance"
3741 // These inclusions are to reject old compilers that
3742 // lack the unsuffixed header files.
3744 #include <exception>
3746 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3747 extern void assert
(int
);
3749 extern int strcmp
(const char
*, const char
*);
3752 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3753 using std
::exception
;
3758 void test_exception_syntax
()
3762 } catch
(const char
*s
) {
3763 // Extra parentheses suppress a warning when building autoconf itself
,
3764 // due to lint rules shared with
more typical C programs.
3765 assert
(!(strcmp
) (s
, "test"));
3769 template
<typename T
> struct test_template
3772 explicit test_template
(T t
) : val
(t
) {}
3773 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3776 } // anonymous namespace
3779 # Test code for whether the C++ compiler supports C++98 (body of main)
3780 ac_cxx_conftest_cxx98_main='
3784 test_exception_syntax
();
3785 test_template
<double
> tt
(2.0);
3786 assert
(tt.add
(4) == 6.0);
3787 assert
(true
&& !false
);
3791 # Test code for whether the C++ compiler supports C++11 (global declarations)
3792 ac_cxx_conftest_cxx11_globals='
3793 // Does the compiler advertise C
++ 2011 conformance?
3794 #if !defined __cplusplus || __cplusplus < 201103L
3795 # error "Compiler does not advertise C++11 conformance"
3800 constexpr int get_val
() { return 20; }
3811 delegate
(int n
) : n
(n
) {}
3812 delegate
(): delegate
(2354) {}
3814 virtual int getval
() { return this-
>n
; };
3819 class overridden
: public delegate
3822 overridden
(int n
): delegate
(n
) {}
3823 virtual int getval
() override final
{ return this-
>n
* 2; }
3829 nocopy
(int i
): i
(i
) {}
3831 nocopy
(const nocopy
&) = delete
;
3832 nocopy
& operator
=(const nocopy
&) = delete
;
3837 // for testing lambda expressions
3838 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3843 // for testing variadic templates and trailing
return types
3844 template
<typename V
> auto
sum(V first
) -> V
3848 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3850 return first
+ sum(rest...
);
3855 # Test code for whether the C++ compiler supports C++11 (body of main)
3856 ac_cxx_conftest_cxx11_main='
3858 // Test auto and decltype
3860 auto a2
= 48573953.4;
3861 auto a3
= "String literal";
3864 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3866 decltype
(a2
) a4
= 34895.034;
3870 short sa
[cxx11test
::get_val
()] = { 0 };
3873 // Test initializer lists
3874 cxx11test
::testinit il
= { 4323, 435234.23544 };
3877 // Test range-based
for
3878 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3879 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3880 for (auto
&x
: array
) { x
+= 23; }
3883 // Test lambda expressions
3884 using cxx11test
::eval;
3885 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3887 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3889 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3893 // Test use of variadic templates
3894 using cxx11test
::sum;
3897 auto c
= sum(1.0, 2.0, 3.0);
3900 // Test constructor delegation
3901 cxx11test
::delegate d1
;
3902 cxx11test
::delegate d2
();
3903 cxx11test
::delegate d3
(45);
3906 // Test override and final
3907 cxx11test
::overridden o1
(55464);
3914 // Test template brackets
3915 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3919 char const
*utf8
= u8
"UTF-8 string \u2500";
3920 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3921 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3925 # Test code for whether the C compiler supports C++11 (complete).
3926 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3927 ${ac_cxx_conftest_cxx11_globals}
3930 main (int argc, char **argv)
3933 ${ac_cxx_conftest_cxx98_main}
3934 ${ac_cxx_conftest_cxx11_main}
3939 # Test code for whether the C compiler supports C++98 (complete).
3940 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3942 main (int argc, char **argv)
3945 ${ac_cxx_conftest_cxx98_main}
3950 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3951 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3952 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3953 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3954 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3955 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3956 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3957 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3958 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3960 # Auxiliary files required by this configure script.
3961 ac_aux_files="config.guess config.sub"
3963 # Locations in which to look for auxiliary files.
3964 ac_aux_dir_candidates="${srcdir}/tools"
3966 # Search for a directory containing all of the required auxiliary files,
3967 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3968 # If we don't
find one directory that contains all the files we need
,
3969 # we report the set of missing files from the *first* directory in
3970 # $ac_aux_dir_candidates and give up.
3971 ac_missing_aux_files
=""
3972 ac_first_candidate
=:
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 for as_dir
in $ac_aux_dir_candidates
3979 case $as_dir in #(((
3982 *) as_dir
=$as_dir/ ;;
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3987 ac_aux_dir_found
=yes
3989 for ac_aux
in $ac_aux_files
3991 # As a special case, if "install-sh" is required, that requirement
3992 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3993 # and $ac_install_sh is set appropriately for whichever one is found.
3994 if test x
"$ac_aux" = x
"install-sh"
3996 if test -f "${as_dir}install-sh"; then
3997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3998 ac_install_sh
="${as_dir}install-sh -c"
3999 elif test -f "${as_dir}install.sh"; then
4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4001 ac_install_sh
="${as_dir}install.sh -c"
4002 elif test -f "${as_dir}shtool"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4004 ac_install_sh
="${as_dir}shtool install -c"
4007 if $ac_first_candidate; then
4008 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4014 if test -f "${as_dir}${ac_aux}"; then
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4018 if $ac_first_candidate; then
4019 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4026 if test "$ac_aux_dir_found" = yes; then
4027 ac_aux_dir
="$as_dir"
4030 ac_first_candidate
=false
4039 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4043 # These three variables are undocumented and unsupported,
4044 # and are intended to be withdrawn in a future Autoconf release.
4045 # They can cause serious problems if a builder's source tree is in a directory
4046 # whose full name contains unusual characters.
4047 if test -f "${ac_aux_dir}config.guess"; then
4048 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4050 if test -f "${ac_aux_dir}config.sub"; then
4051 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4053 if test -f "$ac_aux_dir/configure"; then
4054 ac_configure
="$SHELL ${ac_aux_dir}configure"
4057 # Check that the precious variables saved in the cache have kept the same
4059 ac_cache_corrupted
=false
4060 for ac_var
in $ac_precious_vars; do
4061 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4062 eval ac_new_set
=\
$ac_env_${ac_var}_set
4063 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4064 eval ac_new_val
=\
$ac_env_${ac_var}_value
4065 case $ac_old_set,$ac_new_set in
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4069 ac_cache_corrupted
=: ;;
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4072 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4073 ac_cache_corrupted
=: ;;
4076 if test "x$ac_old_val" != "x$ac_new_val"; then
4077 # differences in whitespace do not lead to failure.
4078 ac_old_val_w
=`echo x $ac_old_val`
4079 ac_new_val_w
=`echo x $ac_new_val`
4080 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4082 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4083 ac_cache_corrupted
=:
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4086 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4087 eval $ac_var=\
$ac_old_val
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4090 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4092 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4095 # Pass precious variables to config.status.
4096 if test "$ac_new_set" = set; then
4098 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4099 *) ac_arg
=$ac_var=$ac_new_val ;;
4101 case " $ac_configure_args " in
4102 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4103 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4107 if $ac_cache_corrupted; then
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4111 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4112 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4113 and start over" "$LINENO" 5
4115 ## -------------------- ##
4116 ## Main body of script. ##
4117 ## -------------------- ##
4120 ac_cpp
='$CPP $CPPFLAGS'
4121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4127 ac_config_headers
="$ac_config_headers include/config.h"
4131 libwine_version
="1.0"
4134 # Check whether --enable-archs was given.
4135 if test ${enable_archs+y}
4137 enableval
=$enable_archs;
4140 # Check whether --enable-win16 was given.
4141 if test ${enable_win16+y}
4143 enableval
=$enable_win16;
4146 # Check whether --enable-win64 was given.
4147 if test ${enable_win64+y}
4149 enableval
=$enable_win64;
4152 # Check whether --enable-tests was given.
4153 if test ${enable_tests+y}
4155 enableval
=$enable_tests;
4158 # Check whether --enable-build-id was given.
4159 if test ${enable_build_id+y}
4161 enableval
=$enable_build_id;
4164 # Check whether --enable-maintainer-mode was given.
4165 if test ${enable_maintainer_mode+y}
4167 enableval
=$enable_maintainer_mode;
4170 # Check whether --enable-silent-rules was given.
4171 if test ${enable_silent_rules+y}
4173 enableval
=$enable_silent_rules;
4176 # Check whether --enable-werror was given.
4177 if test ${enable_werror+y}
4179 enableval
=$enable_werror;
4184 # Check whether --with-alsa was given.
4185 if test ${with_alsa+y}
4191 # Check whether --with-capi was given.
4192 if test ${with_capi+y}
4198 # Check whether --with-coreaudio was given.
4199 if test ${with_coreaudio+y}
4201 withval
=$with_coreaudio;
4205 # Check whether --with-cups was given.
4206 if test ${with_cups+y}
4212 # Check whether --with-dbus was given.
4213 if test ${with_dbus+y}
4219 # Check whether --with-float-abi was given.
4220 if test ${with_float_abi+y}
4222 withval
=$with_float_abi;
4226 # Check whether --with-fontconfig was given.
4227 if test ${with_fontconfig+y}
4229 withval
=$with_fontconfig;
4233 # Check whether --with-freetype was given.
4234 if test ${with_freetype+y}
4236 withval
=$with_freetype;
4240 # Check whether --with-gettext was given.
4241 if test ${with_gettext+y}
4243 withval
=$with_gettext;
4247 # Check whether --with-gettextpo was given.
4248 if test ${with_gettextpo+y}
4250 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4254 # Check whether --with-gphoto was given.
4255 if test ${with_gphoto+y}
4257 withval
=$with_gphoto;
4261 # Check whether --with-gnutls was given.
4262 if test ${with_gnutls+y}
4264 withval
=$with_gnutls;
4268 # Check whether --with-gssapi was given.
4269 if test ${with_gssapi+y}
4271 withval
=$with_gssapi;
4275 # Check whether --with-gstreamer was given.
4276 if test ${with_gstreamer+y}
4278 withval
=$with_gstreamer;
4282 # Check whether --with-inotify was given.
4283 if test ${with_inotify+y}
4285 withval
=$with_inotify;
4289 # Check whether --with-krb5 was given.
4290 if test ${with_krb5+y}
4296 # Check whether --with-mingw was given.
4297 if test ${with_mingw+y}
4299 withval
=$with_mingw;
4303 # Check whether --with-netapi was given.
4304 if test ${with_netapi+y}
4306 withval
=$with_netapi;
4310 # Check whether --with-opencl was given.
4311 if test ${with_opencl+y}
4313 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4317 # Check whether --with-opengl was given.
4318 if test ${with_opengl+y}
4320 withval
=$with_opengl;
4324 # Check whether --with-osmesa was given.
4325 if test ${with_osmesa+y}
4327 withval
=$with_osmesa;
4331 # Check whether --with-oss was given.
4332 if test ${with_oss+y}
4338 # Check whether --with-pcap was given.
4339 if test ${with_pcap+y}
4341 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4345 # Check whether --with-pcsclite was given.
4346 if test ${with_pcsclite+y}
4348 withval
=$with_pcsclite;
4352 # Check whether --with-pthread was given.
4353 if test ${with_pthread+y}
4355 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4359 # Check whether --with-pulse was given.
4360 if test ${with_pulse+y}
4362 withval
=$with_pulse;
4366 # Check whether --with-sane was given.
4367 if test ${with_sane+y}
4373 # Check whether --with-sdl was given.
4374 if test ${with_sdl+y}
4380 # Check whether --with-udev was given.
4381 if test ${with_udev+y}
4387 # Check whether --with-unwind was given.
4388 if test ${with_unwind+y}
4390 withval
=$with_unwind;
4394 # Check whether --with-usb was given.
4395 if test ${with_usb+y}
4401 # Check whether --with-v4l2 was given.
4402 if test ${with_v4l2+y}
4408 # Check whether --with-vulkan was given.
4409 if test ${with_vulkan+y}
4411 withval
=$with_vulkan;
4415 # Check whether --with-wayland was given.
4416 if test ${with_wayland+y}
4418 withval
=$with_wayland;
4422 # Check whether --with-xcomposite was given.
4423 if test ${with_xcomposite+y}
4425 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4429 # Check whether --with-xcursor was given.
4430 if test ${with_xcursor+y}
4432 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4436 # Check whether --with-xfixes was given.
4437 if test ${with_xfixes+y}
4439 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4443 # Check whether --with-xinerama was given.
4444 if test ${with_xinerama+y}
4446 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4450 # Check whether --with-xinput was given.
4451 if test ${with_xinput+y}
4453 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4457 # Check whether --with-xinput2 was given.
4458 if test ${with_xinput2+y}
4460 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4464 # Check whether --with-xrandr was given.
4465 if test ${with_xrandr+y}
4467 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4471 # Check whether --with-xrender was given.
4472 if test ${with_xrender+y}
4474 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4478 # Check whether --with-xshape was given.
4479 if test ${with_xshape+y}
4481 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4485 # Check whether --with-xshm was given.
4486 if test ${with_xshm+y}
4488 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4492 # Check whether --with-xxf86vm was given.
4493 if test ${with_xxf86vm+y}
4495 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
4500 # Check whether --with-system-dllpath was given.
4501 if test ${with_system_dllpath+y}
4503 withval
=$with_system_dllpath; system_dllpath
=$withval
4508 # Check whether --with-wine-tools was given.
4509 if test ${with_wine_tools+y}
4511 withval
=$with_wine_tools;
4515 # Check whether --with-wine64 was given.
4516 if test ${with_wine64+y}
4518 withval
=$with_wine64;
4525 # Make sure we can run config.sub.
4526 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4527 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4530 printf %s
"checking build system type... " >&6; }
4531 if test ${ac_cv_build+y}
4533 printf %s
"(cached) " >&6
4535 ac_build_alias
=$build_alias
4536 test "x$ac_build_alias" = x
&&
4537 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4538 test "x$ac_build_alias" = x
&&
4539 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4540 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4541 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4545 printf "%s\n" "$ac_cv_build" >&6; }
4546 case $ac_cv_build in
4548 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4551 ac_save_IFS
=$IFS; IFS
='-'
4557 # Remember, the first character of IFS is used to create $*,
4558 # except with old shells:
4561 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4565 printf %s
"checking host system type... " >&6; }
4566 if test ${ac_cv_host+y}
4568 printf %s
"(cached) " >&6
4570 if test "x$host_alias" = x
; then
4571 ac_cv_host
=$ac_cv_build
4573 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4574 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4579 printf "%s\n" "$ac_cv_host" >&6; }
4582 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4585 ac_save_IFS
=$IFS; IFS
='-'
4591 # Remember, the first character of IFS is used to create $*,
4592 # except with old shells:
4595 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4599 dlldir
=\
${libdir}/wine
4601 fontdir
=\
${datadir}/wine
/fonts
4603 nlsdir
=\
${datadir}/wine
/nls
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4609 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4611 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4612 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4614 printf %s
"(cached) " >&6
4616 cat >conftest.
make <<\_ACEOF
4619 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4621 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4622 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4624 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4626 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4630 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4632 printf "%s\n" "yes" >&6; }
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 printf "%s\n" "no" >&6; }
4637 SET_MAKE
="MAKE=${MAKE-make}"
4650 ac_cpp
='$CPP $CPPFLAGS'
4651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4654 if test -n "$ac_tool_prefix"; then
4655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4656 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 printf %s
"checking for $ac_word... " >&6; }
4659 if test ${ac_cv_prog_CC+y}
4661 printf %s
"(cached) " >&6
4663 if test -n "$CC"; then
4664 ac_cv_prog_CC
="$CC" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 case $as_dir in #(((
4673 *) as_dir
=$as_dir/ ;;
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4688 if test -n "$CC"; then
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4690 printf "%s\n" "$CC" >&6; }
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 printf "%s\n" "no" >&6; }
4698 if test -z "$ac_cv_prog_CC"; then
4700 # Extract the first word of "gcc", so it can be a program name with args.
4701 set dummy gcc
; ac_word
=$2
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 printf %s
"checking for $ac_word... " >&6; }
4704 if test ${ac_cv_prog_ac_ct_CC+y}
4706 printf %s
"(cached) " >&6
4708 if test -n "$ac_ct_CC"; then
4709 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 case $as_dir in #(((
4718 *) as_dir
=$as_dir/ ;;
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CC
="gcc"
4723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4732 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4733 if test -n "$ac_ct_CC"; then
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4735 printf "%s\n" "$ac_ct_CC" >&6; }
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 printf "%s\n" "no" >&6; }
4741 if test "x$ac_ct_CC" = x
; then
4744 case $cross_compiling:$ac_tool_warned in
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4748 ac_tool_warned
=yes ;;
4756 if test -z "$CC"; then
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4759 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 printf %s
"checking for $ac_word... " >&6; }
4762 if test ${ac_cv_prog_CC+y}
4764 printf %s
"(cached) " >&6
4766 if test -n "$CC"; then
4767 ac_cv_prog_CC
="$CC" # Let the user override the test.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 case $as_dir in #(((
4776 *) as_dir
=$as_dir/ ;;
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4791 if test -n "$CC"; then
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793 printf "%s\n" "$CC" >&6; }
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 printf "%s\n" "no" >&6; }
4802 if test -z "$CC"; then
4803 # Extract the first word of "cc", so it can be a program name with args.
4804 set dummy cc
; ac_word
=$2
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 printf %s
"checking for $ac_word... " >&6; }
4807 if test ${ac_cv_prog_CC+y}
4809 printf %s
"(cached) " >&6
4811 if test -n "$CC"; then
4812 ac_cv_prog_CC
="$CC" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 case $as_dir in #(((
4822 *) as_dir
=$as_dir/ ;;
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4826 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4827 ac_prog_rejected
=yes
4831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4838 if test $ac_prog_rejected = yes; then
4839 # We found a bogon in the path, so make sure we never use it.
4840 set dummy
$ac_cv_prog_CC
4842 if test $# != 0; then
4843 # We chose a different compiler from the bogus one.
4844 # However, it has the same basename, so the bogon will be chosen
4845 # first if we set CC to just the basename; use the full file name.
4847 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4863 if test -z "$CC"; then
4864 if test -n "$ac_tool_prefix"; then
4865 for ac_prog
in cl.exe
4867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4868 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s
"checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_CC+y}
4873 printf %s
"(cached) " >&6
4875 if test -n "$CC"; then
4876 ac_cv_prog_CC
="$CC" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 case $as_dir in #(((
4885 *) as_dir
=$as_dir/ ;;
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4900 if test -n "$CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4902 printf "%s\n" "$CC" >&6; }
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$CC" && break
4912 if test -z "$CC"; then
4914 for ac_prog
in cl.exe
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy
$ac_prog; ac_word
=$2
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 printf %s
"checking for $ac_word... " >&6; }
4920 if test ${ac_cv_prog_ac_ct_CC+y}
4922 printf %s
"(cached) " >&6
4924 if test -n "$ac_ct_CC"; then
4925 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4931 case $as_dir in #(((
4934 *) as_dir
=$as_dir/ ;;
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CC
="$ac_prog"
4939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4948 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4949 if test -n "$ac_ct_CC"; then
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4951 printf "%s\n" "$ac_ct_CC" >&6; }
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 printf "%s\n" "no" >&6; }
4958 test -n "$ac_ct_CC" && break
4961 if test "x$ac_ct_CC" = x
; then
4964 case $cross_compiling:$ac_tool_warned in
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned
=yes ;;
4975 if test -z "$CC"; then
4976 if test -n "$ac_tool_prefix"; then
4977 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4978 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 printf %s
"checking for $ac_word... " >&6; }
4981 if test ${ac_cv_prog_CC+y}
4983 printf %s
"(cached) " >&6
4985 if test -n "$CC"; then
4986 ac_cv_prog_CC
="$CC" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 case $as_dir in #(((
4995 *) as_dir
=$as_dir/ ;;
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5010 if test -n "$CC"; then
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 printf "%s\n" "$CC" >&6; }
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 printf "%s\n" "no" >&6; }
5020 if test -z "$ac_cv_prog_CC"; then
5022 # Extract the first word of "clang", so it can be a program name with args.
5023 set dummy clang
; ac_word
=$2
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 printf %s
"checking for $ac_word... " >&6; }
5026 if test ${ac_cv_prog_ac_ct_CC+y}
5028 printf %s
"(cached) " >&6
5030 if test -n "$ac_ct_CC"; then
5031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 case $as_dir in #(((
5040 *) as_dir
=$as_dir/ ;;
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_ac_ct_CC
="clang"
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5054 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5055 if test -n "$ac_ct_CC"; then
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5057 printf "%s\n" "$ac_ct_CC" >&6; }
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 printf "%s\n" "no" >&6; }
5063 if test "x$ac_ct_CC" = x
; then
5066 case $cross_compiling:$ac_tool_warned in
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned
=yes ;;
5081 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5082 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5083 as_fn_error $?
"no acceptable C compiler found in \$PATH
5084 See \`config.log' for more details" "$LINENO" 5; }
5086 # Provide some information about the compiler.
5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5090 for ac_option
in --version -v -V -qversion -version; do
5091 { { ac_try
="$ac_compiler $ac_option >&5"
5093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5097 printf "%s\n" "$ac_try_echo"; } >&5
5098 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5100 if test -s conftest.err; then
5102 ... rest of stderr output deleted ...
5103 10q' conftest.err >conftest.er1
5104 cat conftest.er1 >&5
5106 rm -f conftest.er1 conftest.err
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; }
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5122 ac_clean_files_save=$ac_clean_files
5123 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5124 # Try to create an executable without -o first, disregard a.out.
5125 # It will help us diagnose broken compilers, and finding out an intuition
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5128 printf %s "checking whether the C compiler works... " >&6; }
5129 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5131 # The possible output files:
5132 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5135 for ac_file in $ac_files
5138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5139 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5144 if { { ac_try="$ac_link_default"
5146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5147 *) ac_try_echo
=$ac_try;;
5149 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5150 printf "%s\n" "$ac_try_echo"; } >&5
5151 (eval "$ac_link_default") 2>&5
5153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5156 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5157 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5158 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5159 # so that the user can short-circuit this test for compilers unknown to
5161 for ac_file
in $ac_files ''
5163 test -f "$ac_file" ||
continue
5165 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5168 # We found the default executable, but exeext='' is most
5172 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5174 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5176 # We set ac_cv_exeext here because the later test for it is not
5177 # safe: cross compilers may not add the suffix if given an `-o'
5178 # argument, so we may need to know it at that point already.
5179 # Even if this section looks crufty: it has the advantage of
5186 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5191 if test -z "$ac_file"
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 printf "%s\n" "no" >&6; }
5195 printf "%s\n" "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.
$ac_ext >&5
5198 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5199 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5200 as_fn_error
77 "C compiler cannot create executables
5201 See \`config.log' for more details" "$LINENO" 5; }
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 printf "%s\n" "yes" >&6; }
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5207 printf %s
"checking for C compiler default output file name... " >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5209 printf "%s\n" "$ac_file" >&6; }
5210 ac_exeext
=$ac_cv_exeext
5212 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5213 ac_clean_files
=$ac_clean_files_save
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5215 printf %s
"checking for suffix of executables... " >&6; }
5216 if { { ac_try
="$ac_link"
5218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5222 printf "%s\n" "$ac_try_echo"; } >&5
5223 (eval "$ac_link") 2>&5
5225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5226 test $ac_status = 0; }
5228 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5229 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5230 # work properly (i.e., refer to `conftest.exe'), while it won't with
5232 for ac_file
in conftest.exe conftest conftest.
*; do
5233 test -f "$ac_file" ||
continue
5235 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5236 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5242 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5243 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5244 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5245 See \`config.log' for more details" "$LINENO" 5; }
5247 rm -f conftest conftest
$ac_cv_exeext
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5249 printf "%s\n" "$ac_cv_exeext" >&6; }
5251 rm -f conftest.
$ac_ext
5252 EXEEXT
=$ac_cv_exeext
5254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5260 FILE *f = fopen ("conftest.out", "w");
5261 return ferror (f) || fclose (f) != 0;
5267 ac_clean_files
="$ac_clean_files conftest.out"
5268 # Check that the compiler produces executables we can run. If not, either
5269 # the compiler is broken, or we cross compile.
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5271 printf %s
"checking whether we are cross compiling... " >&6; }
5272 if test "$cross_compiling" != yes; then
5273 { { ac_try
="$ac_link"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 printf "%s\n" "$ac_try_echo"; } >&5
5280 (eval "$ac_link") 2>&5
5282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5283 test $ac_status = 0; }
5284 if { ac_try='./conftest$ac_cv_exeext'
5285 { { case "(($ac_try" in
5286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5287 *) ac_try_echo
=$ac_try;;
5289 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 printf "%s\n" "$ac_try_echo"; } >&5
5291 (eval "$ac_try") 2>&5
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }; }; then
5297 if test "$cross_compiling" = maybe
; then
5300 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5301 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5302 as_fn_error
77 "cannot run C compiled programs.
5303 If you meant to cross compile, use \`--host'.
5304 See \`config.log' for more details" "$LINENO" 5; }
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5309 printf "%s\n" "$cross_compiling" >&6; }
5311 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5312 ac_clean_files
=$ac_clean_files_save
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5314 printf %s
"checking for suffix of object files... " >&6; }
5315 if test ${ac_cv_objext+y}
5317 printf %s
"(cached) " >&6
5319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5330 rm -f conftest.o conftest.obj
5331 if { { ac_try
="$ac_compile"
5333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5337 printf "%s\n" "$ac_try_echo"; } >&5
5338 (eval "$ac_compile") 2>&5
5340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5341 test $ac_status = 0; }
5343 for ac_file in conftest.o conftest.obj conftest.*; do
5344 test -f "$ac_file" || continue;
5346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5352 printf "%s\n" "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5358 See \
`config.log' for more details" "$LINENO" 5; }
5360 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5363 printf "%s\n" "$ac_cv_objext" >&6; }
5364 OBJEXT=$ac_cv_objext
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5367 printf %s "checking whether the compiler supports GNU C... " >&6; }
5368 if test ${ac_cv_c_compiler_gnu+y}
5370 printf %s "(cached) " >&6
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5386 if ac_fn_c_try_compile "$LINENO"
5392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5393 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5397 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400 if test $ac_compiler_gnu = yes; then
5405 ac_test_CFLAGS=${CFLAGS+y}
5406 ac_save_CFLAGS=$CFLAGS
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5408 printf %s "checking whether $CC accepts -g... " >&6; }
5409 if test ${ac_cv_prog_cc_g+y}
5411 printf %s "(cached) " >&6
5413 ac_save_c_werror_flag=$ac_c_werror_flag
5414 ac_c_werror_flag=yes
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5428 if ac_fn_c_try_compile "$LINENO"
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5444 if ac_fn_c_try_compile "$LINENO"
5448 ac_c_werror_flag=$ac_save_c_werror_flag
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5461 if ac_fn_c_try_compile "$LINENO"
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 ac_c_werror_flag=$ac_save_c_werror_flag
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5473 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5474 if test $ac_test_CFLAGS; then
5475 CFLAGS=$ac_save_CFLAGS
5476 elif test $ac_cv_prog_cc_g = yes; then
5477 if test "$GCC" = yes; then
5483 if test "$GCC" = yes; then
5490 if test x$ac_prog_cc_stdc = xno
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5493 printf %s "checking for $CC option to enable C11 features... " >&6; }
5494 if test ${ac_cv_prog_cc_c11+y}
5496 printf %s "(cached) " >&6
5498 ac_cv_prog_cc_c11=no
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 $ac_c_conftest_c11_program
5504 for ac_arg in '' -std=gnu11
5506 CC="$ac_save_CC $ac_arg"
5507 if ac_fn_c_try_compile "$LINENO"
5509 ac_cv_prog_cc_c11=$ac_arg
5511 rm -f core conftest.err conftest.$ac_objext conftest.beam
5512 test "x$ac_cv_prog_cc_c11" != "xno" && break
5514 rm -f conftest.$ac_ext
5518 if test "x$ac_cv_prog_cc_c11" = xno
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5521 printf "%s\n" "unsupported" >&6; }
5523 if test "x$ac_cv_prog_cc_c11" = x
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5526 printf "%s\n" "none needed" >&6; }
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5529 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5530 CC="$CC $ac_cv_prog_cc_c11"
5532 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5536 if test x$ac_prog_cc_stdc = xno
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5539 printf %s "checking for $CC option to enable C99 features... " >&6; }
5540 if test ${ac_cv_prog_cc_c99+y}
5542 printf %s "(cached) " >&6
5544 ac_cv_prog_cc_c99=no
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5548 $ac_c_conftest_c99_program
5550 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5552 CC="$ac_save_CC $ac_arg"
5553 if ac_fn_c_try_compile "$LINENO"
5555 ac_cv_prog_cc_c99=$ac_arg
5557 rm -f core conftest.err conftest.$ac_objext conftest.beam
5558 test "x$ac_cv_prog_cc_c99" != "xno" && break
5560 rm -f conftest.$ac_ext
5564 if test "x$ac_cv_prog_cc_c99" = xno
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5567 printf "%s\n" "unsupported" >&6; }
5569 if test "x$ac_cv_prog_cc_c99" = x
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5572 printf "%s\n" "none needed" >&6; }
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5575 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5576 CC="$CC $ac_cv_prog_cc_c99"
5578 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5582 if test x$ac_prog_cc_stdc = xno
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5585 printf %s "checking for $CC option to enable C89 features... " >&6; }
5586 if test ${ac_cv_prog_cc_c89+y}
5588 printf %s "(cached) " >&6
5590 ac_cv_prog_cc_c89=no
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 $ac_c_conftest_c89_program
5596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5598 CC="$ac_save_CC $ac_arg"
5599 if ac_fn_c_try_compile "$LINENO"
5601 ac_cv_prog_cc_c89=$ac_arg
5603 rm -f core conftest.err conftest.$ac_objext conftest.beam
5604 test "x$ac_cv_prog_cc_c89" != "xno" && break
5606 rm -f conftest.$ac_ext
5610 if test "x$ac_cv_prog_cc_c89" = xno
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5613 printf "%s\n" "unsupported" >&6; }
5615 if test "x$ac_cv_prog_cc_c89" = x
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5618 printf "%s\n" "none needed" >&6; }
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5621 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5622 CC="$CC $ac_cv_prog_cc_c89"
5624 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5630 ac_cpp='$CPP $CPPFLAGS'
5631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5642 ac_cpp='$CXXCPP $CPPFLAGS'
5643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5646 if test -z "$CXX"; then
5647 if test -n "$CCC"; then
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_CXX+y}
5659 printf %s "(cached) " >&6
5661 if test -n "$CXX"; then
5662 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 case $as_dir in #(((
5671 *) as_dir=$as_dir/ ;;
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5686 if test -n "$CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5688 printf "%s\n" "$CXX" >&6; }
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$CXX" && break
5698 if test -z "$CXX"; then
5700 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy $ac_prog; ac_word=$2
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 printf %s "checking for $ac_word... " >&6; }
5706 if test ${ac_cv_prog_ac_ct_CXX+y}
5708 printf %s "(cached) " >&6
5710 if test -n "$ac_ct_CXX"; then
5711 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 case $as_dir in #(((
5720 *) as_dir=$as_dir/ ;;
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_CXX="$ac_prog"
5725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5734 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5735 if test -n "$ac_ct_CXX"; then
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5737 printf "%s\n" "$ac_ct_CXX" >&6; }
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 printf "%s\n" "no" >&6; }
5744 test -n "$ac_ct_CXX" && break
5747 if test "x$ac_ct_CXX" = x; then
5750 case $cross_compiling:$ac_tool_warned in
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5762 # Provide some information about the compiler.
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5766 for ac_option in --version -v -V -qversion; do
5767 { { ac_try="$ac_compiler $ac_option >&5"
5769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5770 *) ac_try_echo
=$ac_try;;
5772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5773 printf "%s\n" "$ac_try_echo"; } >&5
5774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5776 if test -s conftest.err
; then
5778 ... rest of stderr output deleted ...
5779 10q' conftest.err
>conftest.er1
5780 cat conftest.er1
>&5
5782 rm -f conftest.er1 conftest.err
5783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5784 test $ac_status = 0; }
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5788 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5789 if test ${ac_cv_cxx_compiler_gnu+y}
5791 printf %s
"(cached) " >&6
5793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5807 if ac_fn_cxx_try_compile
"$LINENO"
5813 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5814 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5818 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5821 if test $ac_compiler_gnu = yes; then
5826 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5827 ac_save_CXXFLAGS
=$CXXFLAGS
5828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5829 printf %s
"checking whether $CXX accepts -g... " >&6; }
5830 if test ${ac_cv_prog_cxx_g+y}
5832 printf %s
"(cached) " >&6
5834 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5835 ac_cxx_werror_flag
=yes
5838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5849 if ac_fn_cxx_try_compile
"$LINENO"
5851 ac_cv_prog_cxx_g
=yes
5854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5865 if ac_fn_cxx_try_compile
"$LINENO"
5869 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5882 if ac_fn_cxx_try_compile
"$LINENO"
5884 ac_cv_prog_cxx_g
=yes
5886 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5888 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5890 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5891 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5894 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5895 if test $ac_test_CXXFLAGS; then
5896 CXXFLAGS
=$ac_save_CXXFLAGS
5897 elif test $ac_cv_prog_cxx_g = yes; then
5898 if test "$GXX" = yes; then
5904 if test "$GXX" = yes; then
5910 ac_prog_cxx_stdcxx
=no
5911 if test x
$ac_prog_cxx_stdcxx = xno
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5914 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5915 if test ${ac_cv_prog_cxx_cxx11+y}
5917 printf %s
"(cached) " >&6
5919 ac_cv_prog_cxx_cxx11
=no
5921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5923 $ac_cxx_conftest_cxx11_program
5925 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5927 CXX
="$ac_save_CXX $ac_arg"
5928 if ac_fn_cxx_try_compile
"$LINENO"
5930 ac_cv_prog_cxx_cxx11
=$ac_arg
5932 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5933 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5935 rm -f conftest.
$ac_ext
5939 if test "x$ac_cv_prog_cxx_cxx11" = xno
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5942 printf "%s\n" "unsupported" >&6; }
5944 if test "x$ac_cv_prog_cxx_cxx11" = x
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5947 printf "%s\n" "none needed" >&6; }
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5950 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5951 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5953 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5954 ac_prog_cxx_stdcxx
=cxx11
5957 if test x
$ac_prog_cxx_stdcxx = xno
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5960 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5961 if test ${ac_cv_prog_cxx_cxx98+y}
5963 printf %s
"(cached) " >&6
5965 ac_cv_prog_cxx_cxx98
=no
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 $ac_cxx_conftest_cxx98_program
5971 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5973 CXX
="$ac_save_CXX $ac_arg"
5974 if ac_fn_cxx_try_compile
"$LINENO"
5976 ac_cv_prog_cxx_cxx98
=$ac_arg
5978 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5979 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5981 rm -f conftest.
$ac_ext
5985 if test "x$ac_cv_prog_cxx_cxx98" = xno
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5988 printf "%s\n" "unsupported" >&6; }
5990 if test "x$ac_cv_prog_cxx_cxx98" = x
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5993 printf "%s\n" "none needed" >&6; }
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5996 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5997 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5999 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6000 ac_prog_cxx_stdcxx
=cxx98
6005 ac_cpp
='$CPP $CPPFLAGS'
6006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6012 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 printf %s
"checking for $ac_word... " >&6; }
6015 if test ${ac_cv_prog_CPPBIN+y}
6017 printf %s
"(cached) " >&6
6019 if test -n "$CPPBIN"; then
6020 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 case $as_dir in #(((
6029 *) as_dir
=$as_dir/ ;;
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6043 CPPBIN
=$ac_cv_prog_CPPBIN
6044 if test -n "$CPPBIN"; then
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6046 printf "%s\n" "$CPPBIN" >&6; }
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 printf "%s\n" "no" >&6; }
6054 if test -z "$ac_cv_prog_CPPBIN"; then
6055 ac_ct_CPPBIN
=$CPPBIN
6056 # Extract the first word of "cpp", so it can be a program name with args.
6057 set dummy cpp
; ac_word
=$2
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 printf %s
"checking for $ac_word... " >&6; }
6060 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6062 printf %s
"(cached) " >&6
6064 if test -n "$ac_ct_CPPBIN"; then
6065 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 case $as_dir in #(((
6074 *) as_dir
=$as_dir/ ;;
6076 for ac_exec_ext
in '' $ac_executable_extensions; do
6077 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6088 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6089 if test -n "$ac_ct_CPPBIN"; then
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6091 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 printf "%s\n" "no" >&6; }
6097 if test "x$ac_ct_CPPBIN" = x
; then
6100 case $cross_compiling:$ac_tool_warned in
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned
=yes ;;
6106 CPPBIN
=$ac_ct_CPPBIN
6109 CPPBIN
="$ac_cv_prog_CPPBIN"
6113 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6117 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 printf %s
"checking for $ac_word... " >&6; }
6120 if test ${ac_cv_prog_LD+y}
6122 printf %s
"(cached) " >&6
6124 if test -n "$LD"; then
6125 ac_cv_prog_LD
="$LD" # Let the user override the test.
6127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6131 case $as_dir in #(((
6134 *) as_dir
=$as_dir/ ;;
6136 for ac_exec_ext
in '' $ac_executable_extensions; do
6137 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6149 if test -n "$LD"; then
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6151 printf "%s\n" "$LD" >&6; }
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 printf "%s\n" "no" >&6; }
6159 if test -z "$ac_cv_prog_LD"; then
6161 # Extract the first word of "ld", so it can be a program name with args.
6162 set dummy ld
; ac_word
=$2
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 printf %s
"checking for $ac_word... " >&6; }
6165 if test ${ac_cv_prog_ac_ct_LD+y}
6167 printf %s
"(cached) " >&6
6169 if test -n "$ac_ct_LD"; then
6170 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6176 case $as_dir in #(((
6179 *) as_dir
=$as_dir/ ;;
6181 for ac_exec_ext
in '' $ac_executable_extensions; do
6182 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_ac_ct_LD
="ld"
6184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6193 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6194 if test -n "$ac_ct_LD"; then
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6196 printf "%s\n" "$ac_ct_LD" >&6; }
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 printf "%s\n" "no" >&6; }
6202 if test "x$ac_ct_LD" = x
; then
6205 case $cross_compiling:$ac_tool_warned in
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned
=yes ;;
6220 with_fontconfig
=${with_fontconfig:-no}
6222 *-mingw32*|
*-cygwin*)
6223 enable_win16
=${enable_win16:-no}
6224 with_mingw
=${with_mingw:-no}
6231 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6237 printf %s
"checking whether $CC works... " >&6; }
6238 if test ${wine_cv_cc_m32+y}
6240 printf %s
"(cached) " >&6
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6253 if ac_fn_c_try_link
"$LINENO"
6259 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6260 conftest
$ac_exeext conftest.
$ac_ext
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6263 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6264 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
6266 notice_platform
="32-bit "
6267 TARGETFLAGS
="$TARGETFLAGS -m32"
6268 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6269 export PKG_CONFIG_LIBDIR
6270 with_unwind
=${with_unwind:-no}
6272 if test "x${GCC}" = "xyes"
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6275 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6276 if test ${wine_cv_builtin_ms_va_list+y}
6278 printf %s
"(cached) " >&6
6280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6286 void func(__builtin_ms_va_list *args);
6291 if ac_fn_c_try_compile
"$LINENO"
6293 wine_cv_builtin_ms_va_list
=yes
6295 wine_cv_builtin_ms_va_list
=no
6297 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6300 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6301 test $wine_cv_builtin_ms_va_list != no || as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6306 notice_platform
="64-bit "
6307 TARGETFLAGS
="$TARGETFLAGS -m64"
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6312 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6313 if test ${wine_cv_thumb2+y}
6315 printf %s
"(cached) " >&6
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6323 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6328 if ac_fn_c_try_link
"$LINENO"
6334 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6335 conftest
$ac_exeext conftest.
$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6338 printf "%s\n" "$wine_cv_thumb2" >&6; }
6339 if test x
"$wine_cv_thumb2" = xyes
6341 CFLAGS
="$CFLAGS -mthumb"
6342 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6344 CFLAGS
="$CFLAGS -marm"
6345 TARGETFLAGS
="$TARGETFLAGS -marm"
6347 case $with_float_abi in
6349 float_abi
=$with_float_abi ;;
6356 saved_CFLAGS
=$CFLAGS
6357 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6359 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6360 if test ${wine_cv_float_abi+y}
6362 printf %s
"(cached) " >&6
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6370 asm("vmrs r2,fpscr");
6375 if ac_fn_c_try_link
"$LINENO"
6377 wine_cv_float_abi
=yes
6379 wine_cv_float_abi
=no
6381 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6382 conftest
$ac_exeext conftest.
$ac_ext
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6385 printf "%s\n" "$wine_cv_float_abi" >&6; }
6386 if test $wine_cv_float_abi = no
6389 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6391 CFLAGS
=$saved_CFLAGS
6395 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6396 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6399 with_unwind
=${with_unwind:-no}
6403 enable_win16
=${enable_win16:-i386}
6404 enable_win64
=${enable_win64:-no}
6405 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6406 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6407 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6409 enable_winetest
=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6413 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6418 cygwin
*|mingw32
*) toolsext
=".exe"
6426 aarch64
*) HOST_ARCH
=aarch64
;;
6427 arm
*) HOST_ARCH
=arm
;;
6428 i
[3456789]86*) HOST_ARCH
=i386
;;
6429 x86_64
) HOST_ARCH
=x86_64
;;
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6437 printf %s
"(cached) " >&6
6439 wine_cv_toolsdir
="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir
="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep
=tools
/makedep
$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6454 enable_tools
=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6457 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir
=$wine_cv_toolsdir
6461 MAKEDEP
=$wine_makedep
6463 RUNTESTFLAGS
="-q -P wine"
6465 SED_CMD
="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6470 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy
$ac_prog; ac_word
=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s
"checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6481 printf %s
"(cached) " >&6
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 case $as_dir in #(((
6493 *) as_dir
=$as_dir/ ;;
6495 for ac_exec_ext
in '' $ac_executable_extensions; do
6496 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX
="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6507 FLEX
=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6519 test -n "$FLEX" || FLEX
="none"
6521 if test "$FLEX" = "none"
6523 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s
"checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6529 printf %s
"(cached) " >&6
6531 cat >conftest.l
<<EOF
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l
>/dev
/null
2>&5
6539 wine_cv_recent_flex
=yes
6541 wine_cv_recent_flex
=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 test $wine_cv_recent_flex != no || as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6548 for ac_prog
in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy
$ac_prog; ac_word
=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s
"checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6556 printf %s
"(cached) " >&6
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6565 case $as_dir in #(((
6568 *) as_dir
=$as_dir/ ;;
6570 for ac_exec_ext
in '' $ac_executable_extensions; do
6571 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON
="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6582 BISON
=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6594 test -n "$BISON" || BISON
="none"
6596 if test "$BISON" = "none"
6598 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s
"checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6604 printf %s
"(cached) " >&6
6606 cat >conftest.y
<<EOF
6607 %define parse.error verbose
6611 if $BISON conftest.y
>/dev
/null
2>&5
6613 wine_cv_recent_bison
=yes
6615 wine_cv_recent_bison
=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 test $wine_cv_recent_bison != no || as_fn_error $?
"Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog
in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s
"checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6631 printf %s
"(cached) " >&6
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR
="$AR" # Let the user override the test.
6636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6640 case $as_dir in #(((
6643 *) as_dir
=$as_dir/ ;;
6645 for ac_exec_ext
in '' $ac_executable_extensions; do
6646 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6670 if test -z "$AR"; then
6672 for ac_prog
in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy
$ac_prog; ac_word
=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s
"checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6680 printf %s
"(cached) " >&6
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6689 case $as_dir in #(((
6692 *) as_dir
=$as_dir/ ;;
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR
="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6719 if test "x$ac_ct_AR" = x
; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned
=yes ;;
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s
"checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6739 printf %s
"(cached) " >&6
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 case $as_dir in #(((
6751 *) as_dir
=$as_dir/ ;;
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6765 STRIP
=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip
; ac_word
=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s
"checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6784 printf %s
"(cached) " >&6
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 case $as_dir in #(((
6796 *) as_dir
=$as_dir/ ;;
6798 for ac_exec_ext
in '' $ac_executable_extensions; do
6799 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP
="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x
; then
6822 case $cross_compiling:$ac_tool_warned in
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned
=yes ;;
6831 STRIP
="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s
"checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6841 printf %s
"(cached) " >&6
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 case $as_dir in #(((
6853 *) as_dir
=$as_dir/ ;;
6855 for ac_exec_ext
in '' $ac_executable_extensions; do
6856 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6867 RANLIB
=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB
=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib
; ac_word
=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s
"checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6886 printf %s
"(cached) " >&6
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6895 case $as_dir in #(((
6898 *) as_dir
=$as_dir/ ;;
6900 for ac_exec_ext
in '' $ac_executable_extensions; do
6901 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x
; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned
=yes ;;
6930 RANLIB
=$ac_ct_RANLIB
6933 RANLIB
="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s
"checking whether ln -s works... " >&6; }
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6951 printf %s
"(cached) " >&6
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found
=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6957 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6960 case $as_dir in #(((
6963 *) as_dir
=$as_dir/ ;;
6965 for ac_prog
in grep ggrep
6967 for ac_exec_ext
in '' $ac_executable_extensions; do
6968 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p
"$ac_path_GREP" ||
continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6974 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6977 printf %s
0123456789 >"conftest.in"
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6985 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6986 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP
="$ac_path_GREP"
6990 ac_path_GREP_max
=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6995 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6998 $ac_path_GREP_found && break 3
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7007 ac_cv_path_GREP
=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP
="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s
"checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7020 printf %s
"(cached) " >&6
7022 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7023 then ac_cv_path_EGREP
="$GREP -E"
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found
=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7029 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7032 case $as_dir in #(((
7035 *) as_dir
=$as_dir/ ;;
7037 for ac_prog
in egrep
7039 for ac_exec_ext
in '' $ac_executable_extensions; do
7040 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7046 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7049 printf %s
0123456789 >"conftest.in"
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7058 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP
="$ac_path_EGREP"
7062 ac_path_EGREP_max
=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7070 $ac_path_EGREP_found && break 3
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7079 ac_cv_path_EGREP
=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP
="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig
; ac_word
=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s
"checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7095 printf %s
"(cached) " >&6
7099 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 for as_dir
in /sbin
/usr
/sbin
$PATH
7106 case $as_dir in #(((
7109 *) as_dir
=$as_dir/ ;;
7111 for ac_exec_ext
in '' $ac_executable_extensions; do
7112 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7125 LDCONFIG
=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog
in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy
$ac_prog; ac_word
=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s
"checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7143 printf %s
"(cached) " >&6
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 case $as_dir in #(((
7155 *) as_dir
=$as_dir/ ;;
7157 for ac_exec_ext
in '' $ac_executable_extensions; do
7158 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT
="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7169 MSGFMT
=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7181 test -n "$MSGFMT" || MSGFMT
="false"
7183 if test ${ac_tool_prefix+y}
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s
"checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 printf %s
"(cached) " >&6
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 case $as_dir in #(((
7203 *) as_dir
=$as_dir/ ;;
7205 for ac_exec_ext
in '' $ac_executable_extensions; do
7206 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7217 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7230 if test "x$cross_compiling" = xyes
7234 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config
; ac_word
=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s
"checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7241 printf %s
"(cached) " >&6
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 case $as_dir in #(((
7253 *) as_dir
=$as_dir/ ;;
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG
="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7279 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7289 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog
in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy
$ac_prog; ac_word
=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s
"checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7298 printf %s
"(cached) " >&6
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7307 case $as_dir in #(((
7310 *) as_dir
=$as_dir/ ;;
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE
="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7324 FONTFORGE
=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7336 test -n "$FONTFORGE" || FONTFORGE
="false"
7338 for ac_prog
in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy
$ac_prog; ac_word
=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s
"checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7346 printf %s
"(cached) " >&6
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7355 case $as_dir in #(((
7358 *) as_dir
=$as_dir/ ;;
7360 for ac_exec_ext
in '' $ac_executable_extensions; do
7361 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG
="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7372 RSVG
=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7384 test -n "$RSVG" || RSVG
="false"
7386 for ac_prog
in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy
$ac_prog; ac_word
=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s
"checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7394 printf %s
"(cached) " >&6
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 case $as_dir in #(((
7406 *) as_dir
=$as_dir/ ;;
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT
="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7420 CONVERT
=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7432 test -n "$CONVERT" || CONVERT
="false"
7434 for ac_prog
in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy
$ac_prog; ac_word
=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s
"checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7442 printf %s
"(cached) " >&6
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7451 case $as_dir in #(((
7454 *) as_dir
=$as_dir/ ;;
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL
="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7468 ICOTOOL
=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7480 test -n "$ICOTOOL" || ICOTOOL
="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7487 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s
"checking for recent enough imagemagick... " >&6; }
7491 convert_version
=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7494 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7501 if test "$CONVERT" = false
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7514 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s
"checking for recent enough icotool... " >&6; }
7518 icotool_version
=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7521 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7526 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7546 test "x$with_gettext" != xno || MSGFMT
=false
7547 if test "$MSGFMT" != "false"
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7553 printf %s
"(cached) " >&6
7555 cat >conftest.po
<<EOF
7561 if $MSGFMT -o /dev
/null conftest.po
2>&5
7563 wine_cv_msgfmt_contexts
=yes
7565 wine_cv_msgfmt_contexts
=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7572 if test "$MSGFMT" = false
7574 case "x$with_gettext" in
7575 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7577 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7580 enable_po
=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7588 printf %s
"(cached) " >&6
7590 ac_check_lib_save_LIBS
=$LIBS
7592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7602 return i386_set_ldt ();
7607 if ac_fn_c_try_link
"$LINENO"
7609 ac_cv_lib_i386_i386_set_ldt
=yes
7611 ac_cv_lib_i386_i386_set_ldt
=no
7613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7614 conftest
$ac_exeext conftest.
$ac_ext
7615 LIBS
=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7633 enableval
=$enable_largefile;
7636 if test "$enable_largefile" != no
; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7642 printf %s
"(cached) " >&6
7644 ac_cv_sys_largefile_CC
=no
7645 if test "$GCC" != yes; then
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7669 if ac_fn_c_try_compile
"$LINENO"
7673 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7675 if ac_fn_c_try_compile
"$LINENO"
7677 ac_cv_sys_largefile_CC
=' -n32'; break
7679 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7683 rm -f conftest.
$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no
; then
7689 CC
=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7696 printf %s
"(cached) " >&6
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7718 if ac_fn_c_try_compile
"$LINENO"
7720 ac_cv_sys_file_offset_bits
=no
; break
7722 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7743 if ac_fn_c_try_compile
"$LINENO"
7745 ac_cv_sys_file_offset_bits
=64; break
7747 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7748 ac_cv_sys_file_offset_bits
=unknown
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7761 if test $ac_cv_sys_file_offset_bits = unknown
; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7766 printf %s
"(cached) " >&6
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7788 if ac_fn_c_try_compile
"$LINENO"
7790 ac_cv_sys_large_files
=no
; break
7792 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7813 if ac_fn_c_try_compile
"$LINENO"
7815 ac_cv_sys_large_files
=1; break
7817 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7818 ac_cv_sys_large_files
=unknown
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7835 ac_header
= ac_cache
=
7836 for ac_item
in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7840 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header
= ac_cache
=
7844 elif test $ac_header; then
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_lwp_h" = xyes
8005 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8011 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_mach_h" = xyes
8017 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_machine_cpu_h" = xyes
8023 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8029 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_mntent_h" = xyes
8035 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netdb_h" = xyes
8041 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_in_h" = xyes
8047 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8053 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8059 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8065 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8071 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_port_h" = xyes
8077 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_pthread_h" = xyes
8083 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pwd_h" = xyes
8089 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sched_h" = xyes
8095 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8101 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_sg_h" = xyes
8113 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_stdint_h" = xyes
8119 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_attr_h" = xyes
8125 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_auxv_h" = xyes
8131 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_cdio_h" = xyes
8137 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_epoll_h" = xyes
8143 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_event_h" = xyes
8149 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_extattr_h" = xyes
8155 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_filio_h" = xyes
8161 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_ipc_h" = xyes
8167 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_link_h" = xyes
8173 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_modem_h" = xyes
8179 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_mtio_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_param_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_prctl_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_queue_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_random_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_resource_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_shm_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_signal_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_sockio_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_strtio_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_syscall_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8275 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_times_h" = xyes
8281 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_uio_h" = xyes
8287 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_user_h" = xyes
8293 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_utsname_h" = xyes
8299 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_vnode_h" = xyes
8305 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_xattr_h" = xyes
8311 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_syscall_h" = xyes
8317 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_utime_h" = xyes
8323 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8329 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8335 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8343 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8347 if test $ac_cv_header_sys_mkdev_h = no
; then
8348 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8352 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8358 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8359 if test ${ac_cv_header_stat_broken+y}
8361 printf %s
"(cached) " >&6
8363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 #include <sys/types.h>
8366 #include <sys/stat.h>
8368 #if defined S_ISBLK && defined S_IFDIR
8369 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8372 #if defined S_ISBLK && defined S_IFCHR
8373 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8376 #if defined S_ISLNK && defined S_IFREG
8377 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8380 #if defined S_ISSOCK && defined S_IFREG
8381 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8385 if ac_fn_c_try_compile
"$LINENO"
8387 ac_cv_header_stat_broken
=no
8389 ac_cv_header_stat_broken
=yes
8391 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8394 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8395 if test $ac_cv_header_stat_broken = yes; then
8397 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8403 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8408 if test "x$ac_cv_header_sys_conf_h" = xyes
8410 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8418 if test "x$ac_cv_header_sys_mount_h" = xyes
8420 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8428 if test "x$ac_cv_header_sys_statfs_h" = xyes
8430 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8438 if test "x$ac_cv_header_sys_user_h" = xyes
8440 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8448 if test "x$ac_cv_header_sys_vfs_h" = xyes
8450 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8455 saved_sysctl_h_CFLAGS
=$CFLAGS
8456 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8457 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8462 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8464 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8468 CFLAGS
=$saved_sysctl_h_CFLAGS
8470 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_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_netinet_ip_h" = xyes
8493 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_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_h" = xyes
8519 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_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_arp_h" = xyes
8545 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_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_dl_h" = xyes
8571 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_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_if_types_h" = xyes
8597 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_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_net_route_h" = xyes
8623 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_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_if_ether_h" = xyes
8649 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_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_in_pcb_h" = xyes
8675 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_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_icmp_h" = xyes
8701 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_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_ip_var_h" = xyes
8727 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_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_netinet_udp_h" = xyes
8753 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_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_netinet6_ip6_var_h" = xyes
8779 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_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_netipx_ipx_h" = xyes
8805 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8808 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8809 #include <sys/socket.h>
8810 #ifdef HAVE_SYS_SOCKETVAR_H
8811 # include <sys/socketvar.h>
8813 #ifdef HAVE_NET_ROUTE_H
8814 # include <net/route.h>
8816 #ifdef HAVE_NETINET_IN_H
8817 # include <netinet/in.h>
8819 #ifdef HAVE_NETINET_IN_SYSTM_H
8820 # include <netinet/in_systm.h>
8822 #ifdef HAVE_NET_IF_H
8823 # include <net/if.h>
8825 #ifdef HAVE_NETINET_IP_H
8826 # include <netinet/ip.h>
8829 if test "x$ac_cv_header_sys_un_h" = xyes
8831 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8847 #ifdef HAVE_NETINET_IP_H
8848 # include <netinet/ip.h>
8850 #ifdef HAVE_NETINET_IP_VAR_H
8851 # include <netinet/ip_var.h>
8853 #ifdef HAVE_NETINET_IP_ICMP_H
8854 # include <netinet/ip_icmp.h>
8856 #ifdef HAVE_NETINET_UDP_H
8857 # include <netinet/udp.h>
8859 #ifdef HAVE_NETINET_TCP_H
8860 # include <netinet/tcp.h>
8863 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8865 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8868 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8869 #include <sys/socket.h>
8870 #ifdef HAVE_SYS_SOCKETVAR_H
8871 # include <sys/socketvar.h>
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8882 #ifdef HAVE_NETINET_IP_VAR_H
8883 # include <netinet/ip_var.h>
8885 #ifdef HAVE_NETINET_IP_ICMP_H
8886 # include <netinet/ip_icmp.h>
8888 #ifdef HAVE_NETINET_UDP_H
8889 # include <netinet/udp.h>
8891 #ifdef HAVE_NETINET_TCP_H
8892 # include <netinet/tcp.h>
8895 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8897 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8900 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8901 #include <sys/socket.h>
8902 #ifdef HAVE_SYS_SOCKETVAR_H
8903 # include <sys/socketvar.h>
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8911 #ifdef HAVE_NETINET_IP_H
8912 # include <netinet/ip.h>
8914 #ifdef HAVE_NETINET_IP_VAR_H
8915 # include <netinet/ip_var.h>
8917 #ifdef HAVE_NETINET_IP_ICMP_H
8918 # include <netinet/ip_icmp.h>
8920 #ifdef HAVE_NETINET_UDP_H
8921 # include <netinet/udp.h>
8923 #ifdef HAVE_NETINET_TCP_H
8924 # include <netinet/tcp.h>
8927 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8929 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8933 #include <sys/socket.h>
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8937 #ifdef HAVE_NETINET_IN_H
8938 # include <netinet/in.h>
8940 #ifdef HAVE_NETINET_IN_SYSTM_H
8941 # include <netinet/in_systm.h>
8943 #ifdef HAVE_NETINET_IP_H
8944 # include <netinet/ip.h>
8946 #ifdef HAVE_NETINET_IP_VAR_H
8947 # include <netinet/ip_var.h>
8949 #ifdef HAVE_NETINET_IP_ICMP_H
8950 # include <netinet/ip_icmp.h>
8952 #ifdef HAVE_NETINET_UDP_H
8953 # include <netinet/udp.h>
8955 #ifdef HAVE_NETINET_TCP_H
8956 # include <netinet/tcp.h>
8959 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8961 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_ASM_TYPES_H
8969 # include <asm/types.h>
8971 #ifdef HAVE_LINUX_TYPES_H
8972 # include <linux/types.h>
8975 if test "x$ac_cv_header_linux_ipx_h" = xyes
8977 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8989 if test "x$ac_cv_header_linux_irda_h" = xyes
8991 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9003 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9005 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9010 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9011 #include <sys/socket.h>
9012 #ifdef HAVE_NETINET_IN_H
9013 # include <netinet/in.h>
9015 #ifdef HAVE_ARPA_NAMESER_H
9016 # include <arpa/nameser.h>
9019 if test "x$ac_cv_header_resolv_h" = xyes
9021 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9028 if test "x$ac_cv_header_ifaddrs_h" = xyes
9030 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9037 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9039 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9045 #ifdef HAVE_SYS_UCONTEXT_H
9046 #include <sys/ucontext.h>
9049 if test "x$ac_cv_header_sys_thr_h" = xyes
9051 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9057 #include <pthread.h>
9060 if test "x$ac_cv_header_pthread_np_h" = xyes
9062 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9068 #include <sys/types.h>
9069 #ifdef HAVE_ASM_TYPES_H
9070 #include <asm/types.h>
9073 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9075 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9081 #include <sys/param.h>
9083 #include <sys/socket.h>
9084 #ifdef HAVE_SYS_QUEUE_H
9085 #include <sys/queue.h>
9088 if test "x$ac_cv_header_libprocstat_h" = xyes
9090 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9095 if test "x$ac_cv_header_sys_xattr_h" = xyes
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9098 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9099 if test ${wine_cv_xattr_extra_args+y}
9101 printf %s
"(cached) " >&6
9103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <sys/xattr.h>
9109 getxattr("", "", "", 0, 0, 0);
9114 if ac_fn_c_try_compile
"$LINENO"
9116 wine_cv_xattr_extra_args
=yes
9118 wine_cv_xattr_extra_args
=no
9120 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9123 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9124 test $wine_cv_xattr_extra_args != yes ||
9125 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9138 UNIXDLLFLAGS
="-fPIC"
9140 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9146 WINELOADER_LDFLAGS
=""
9148 WINEPRELOADER_LDFLAGS
=""
9153 # Extract the first word of "ldd", so it can be a program name with args.
9154 set dummy ldd
; ac_word
=$2
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 printf %s
"checking for $ac_word... " >&6; }
9157 if test ${ac_cv_path_LDD+y}
9159 printf %s
"(cached) " >&6
9163 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9167 as_dummy
="/sbin:/usr/sbin:$PATH"
9168 for as_dir
in $as_dummy
9171 case $as_dir in #(((
9174 *) as_dir
=$as_dir/ ;;
9176 for ac_exec_ext
in '' $ac_executable_extensions; do
9177 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9178 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9186 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9191 if test -n "$LDD"; then
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9193 printf "%s\n" "$LDD" >&6; }
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 printf "%s\n" "no" >&6; }
9200 if test -n "$ac_tool_prefix"; then
9201 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9202 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9204 printf %s
"checking for $ac_word... " >&6; }
9205 if test ${ac_cv_prog_OTOOL+y}
9207 printf %s
"(cached) " >&6
9209 if test -n "$OTOOL"; then
9210 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9216 case $as_dir in #(((
9219 *) as_dir
=$as_dir/ ;;
9221 for ac_exec_ext
in '' $ac_executable_extensions; do
9222 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9223 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9233 OTOOL
=$ac_cv_prog_OTOOL
9234 if test -n "$OTOOL"; then
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9236 printf "%s\n" "$OTOOL" >&6; }
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 printf "%s\n" "no" >&6; }
9244 if test -z "$ac_cv_prog_OTOOL"; then
9246 # Extract the first word of "otool", so it can be a program name with args.
9247 set dummy otool
; ac_word
=$2
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 printf %s
"checking for $ac_word... " >&6; }
9250 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9252 printf %s
"(cached) " >&6
9254 if test -n "$ac_ct_OTOOL"; then
9255 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9261 case $as_dir in #(((
9264 *) as_dir
=$as_dir/ ;;
9266 for ac_exec_ext
in '' $ac_executable_extensions; do
9267 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_ac_ct_OTOOL
="otool"
9269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9278 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9279 if test -n "$ac_ct_OTOOL"; then
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9281 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 printf "%s\n" "no" >&6; }
9287 if test "x$ac_ct_OTOOL" = x
; then
9290 case $cross_compiling:$ac_tool_warned in
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9293 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9294 ac_tool_warned
=yes ;;
9299 OTOOL
="$ac_cv_prog_OTOOL"
9302 if test -n "$ac_tool_prefix"; then
9303 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9304 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306 printf %s
"checking for $ac_word... " >&6; }
9307 if test ${ac_cv_prog_READELF+y}
9309 printf %s
"(cached) " >&6
9311 if test -n "$READELF"; then
9312 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9318 case $as_dir in #(((
9321 *) as_dir
=$as_dir/ ;;
9323 for ac_exec_ext
in '' $ac_executable_extensions; do
9324 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9335 READELF
=$ac_cv_prog_READELF
9336 if test -n "$READELF"; then
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9338 printf "%s\n" "$READELF" >&6; }
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9341 printf "%s\n" "no" >&6; }
9346 if test -z "$ac_cv_prog_READELF"; then
9347 ac_ct_READELF
=$READELF
9348 # Extract the first word of "readelf", so it can be a program name with args.
9349 set dummy readelf
; ac_word
=$2
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 printf %s
"checking for $ac_word... " >&6; }
9352 if test ${ac_cv_prog_ac_ct_READELF+y}
9354 printf %s
"(cached) " >&6
9356 if test -n "$ac_ct_READELF"; then
9357 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9363 case $as_dir in #(((
9366 *) as_dir
=$as_dir/ ;;
9368 for ac_exec_ext
in '' $ac_executable_extensions; do
9369 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9370 ac_cv_prog_ac_ct_READELF
="readelf"
9371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9380 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9381 if test -n "$ac_ct_READELF"; then
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9383 printf "%s\n" "$ac_ct_READELF" >&6; }
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9386 printf "%s\n" "no" >&6; }
9389 if test "x$ac_ct_READELF" = x
; then
9392 case $cross_compiling:$ac_tool_warned in
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9395 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9396 ac_tool_warned
=yes ;;
9398 READELF
=$ac_ct_READELF
9401 READELF
="$ac_cv_prog_READELF"
9409 CONFIGURE_TARGETS
=""
9412 wine_fn_config_makefile
()
9414 as_fn_append SUBDIRS
" \\$as_nl $1"
9417 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9418 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9419 if test -n "$PE_ARCHS"
9423 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9426 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9431 wine_fn_config_symlink
()
9434 as_fn_append wine_rules
"
9436 @./config.status \$@"
9437 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9444 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9446 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9447 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9448 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9450 printf %s
"(cached) " >&6
9452 ac_wine_try_cflags_saved
=$CFLAGS
9453 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9458 if ac_fn_c_try_link
"$LINENO"
9460 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9462 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9464 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9465 conftest
$ac_exeext conftest.
$ac_ext
9466 CFLAGS
=$ac_wine_try_cflags_saved
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9469 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9470 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9472 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9475 enable_loader
=${enable_loader:-no}
9476 enable_server
=${enable_server:-no}
9477 with_x
=${with_x:-no}
9478 with_pthread
=${with_pthread:-no}
9483 DLLFLAGS
="$DLLFLAGS -fPIC"
9485 enable_winemac_drv
=${enable_winemac_drv:-yes}
9486 CARBON_LIBS
="-framework Carbon"
9488 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9490 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9492 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9494 METAL_LIBS
="-framework Metal"
9496 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9498 CORESERVICES_LIBS
="-framework CoreServices"
9500 APPKIT_LIBS
="-framework AppKit"
9502 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9504 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9507 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9509 wine_can_build_preloader
=yes
9510 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"
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9512 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9513 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9515 printf %s
"(cached) " >&6
9517 ac_wine_try_cflags_saved
=$CFLAGS
9518 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9523 if ac_fn_c_try_link
"$LINENO"
9525 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9527 ac_cv_cflags__Wl__no_new_main__e__main
=no
9529 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9530 conftest
$ac_exeext conftest.
$ac_ext
9531 CFLAGS
=$ac_wine_try_cflags_saved
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9534 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9535 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9537 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9538 { 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
9539 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9540 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9542 printf %s
"(cached) " >&6
9544 ac_wine_try_cflags_saved
=$CFLAGS
9545 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9550 if ac_fn_c_try_link
"$LINENO"
9552 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9554 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9556 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9557 conftest
$ac_exeext conftest.
$ac_ext
9558 CFLAGS
=$ac_wine_try_cflags_saved
9560 { 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
9561 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9562 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9564 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9566 wine_can_build_preloader
=no
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9570 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9571 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9573 printf %s
"(cached) " >&6
9575 ac_wine_try_cflags_saved
=$CFLAGS
9576 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9579 int main(int argc, char **argv) { return 0; }
9581 if ac_fn_c_try_link
"$LINENO"
9583 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9585 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9588 conftest
$ac_exeext conftest.
$ac_ext
9589 CFLAGS
=$ac_wine_try_cflags_saved
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9592 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9593 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9595 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9597 wine_can_build_preloader
=no
9600 if test "$wine_can_build_preloader" = "yes"
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9603 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9604 if test ${ac_cv_cflags__Wl__no_pie+y}
9606 printf %s
"(cached) " >&6
9608 ac_wine_try_cflags_saved
=$CFLAGS
9609 CFLAGS
="$CFLAGS -Wl,-no_pie"
9610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612 int main(int argc, char **argv) { return 0; }
9614 if ac_fn_c_try_link
"$LINENO"
9616 ac_cv_cflags__Wl__no_pie
=yes
9618 ac_cv_cflags__Wl__no_pie
=no
9620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 CFLAGS
=$ac_wine_try_cflags_saved
9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9625 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9626 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9628 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9630 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9632 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9635 if test "x$with_coreaudio" != "xno";
9637 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9639 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9641 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9643 OPENCL_LIBS
="-framework OpenCL"
9645 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9649 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9651 ac_cpp
='$OBJCPP $CPPFLAGS'
9652 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9653 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9654 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9657 ac_cpp
='$OBJCPP $CPPFLAGS'
9658 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9659 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9660 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9661 if test -n "$ac_tool_prefix"; then
9662 for ac_prog
in gcc objcc objc cc CC clang
9664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9665 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9667 printf %s
"checking for $ac_word... " >&6; }
9668 if test ${ac_cv_prog_OBJC+y}
9670 printf %s
"(cached) " >&6
9672 if test -n "$OBJC"; then
9673 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9679 case $as_dir in #(((
9682 *) as_dir
=$as_dir/ ;;
9684 for ac_exec_ext
in '' $ac_executable_extensions; do
9685 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9686 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9696 OBJC
=$ac_cv_prog_OBJC
9697 if test -n "$OBJC"; then
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9699 printf "%s\n" "$OBJC" >&6; }
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 printf "%s\n" "no" >&6; }
9706 test -n "$OBJC" && break
9709 if test -z "$OBJC"; then
9711 for ac_prog
in gcc objcc objc cc CC clang
9713 # Extract the first word of "$ac_prog", so it can be a program name with args.
9714 set dummy
$ac_prog; ac_word
=$2
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9716 printf %s
"checking for $ac_word... " >&6; }
9717 if test ${ac_cv_prog_ac_ct_OBJC+y}
9719 printf %s
"(cached) " >&6
9721 if test -n "$ac_ct_OBJC"; then
9722 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9728 case $as_dir in #(((
9731 *) as_dir
=$as_dir/ ;;
9733 for ac_exec_ext
in '' $ac_executable_extensions; do
9734 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9735 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9745 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9746 if test -n "$ac_ct_OBJC"; then
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9748 printf "%s\n" "$ac_ct_OBJC" >&6; }
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 printf "%s\n" "no" >&6; }
9755 test -n "$ac_ct_OBJC" && break
9758 if test "x$ac_ct_OBJC" = x
; then
9761 case $cross_compiling:$ac_tool_warned in
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9765 ac_tool_warned
=yes ;;
9771 # Provide some information about the compiler.
9772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9775 for ac_option
in --version -v -V -qversion; do
9776 { { ac_try
="$ac_compiler $ac_option >&5"
9778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9782 printf "%s\n" "$ac_try_echo"; } >&5
9783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9785 if test -s conftest.err; then
9787 ... rest of stderr output deleted ...
9788 10q' conftest.err >conftest.er1
9789 cat conftest.er1 >&5
9791 rm -f conftest.er1 conftest.err
9792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9797 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9798 if test ${ac_cv_objc_compiler_gnu+y}
9800 printf %s "(cached) " >&6
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9816 if ac_fn_objc_try_compile "$LINENO"
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9823 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9827 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9828 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9830 if test $ac_compiler_gnu = yes; then
9835 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9836 ac_save_OBJCFLAGS=$OBJCFLAGS
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9838 printf %s "checking whether $OBJC accepts -g... " >&6; }
9839 if test ${ac_cv_prog_objc_g+y}
9841 printf %s "(cached) " >&6
9843 ac_save_objc_werror_flag=$ac_objc_werror_flag
9844 ac_objc_werror_flag=yes
9845 ac_cv_prog_objc_g=no
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9858 if ac_fn_objc_try_compile "$LINENO"
9860 ac_cv_prog_objc_g=yes
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9874 if ac_fn_objc_try_compile "$LINENO"
9878 ac_objc_werror_flag=$ac_save_objc_werror_flag
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9891 if ac_fn_objc_try_compile "$LINENO"
9893 ac_cv_prog_objc_g=yes
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 ac_objc_werror_flag=$ac_save_objc_werror_flag
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9903 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9904 if test $ac_test_OBJCFLAGS; then
9905 OBJCFLAGS=$ac_save_OBJCFLAGS
9906 elif test $ac_cv_prog_objc_g = yes; then
9907 if test "$GOBJC" = yes; then
9913 if test "$GOBJC" = yes; then
9920 ac_cpp='$OBJCPP $CPPFLAGS'
9921 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9922 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9923 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 #include <Metal/Metal.h>
9932 id<MTLDevice> device; device.registryID;
9937 if ac_fn_objc_try_compile "$LINENO"
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9940 printf "%s\n" "yes" >&6; }
9942 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 printf "%s\n" "no" >&6; }
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9950 ac_cpp='$CPP $CPPFLAGS'
9951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9956 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9957 WINELOADER_DEPENDS="wine_info.plist"
9963 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9965 DLLFLAGS="$DLLFLAGS -fPIC"
9967 LDEXECFLAGS="-Wl,-pie"
9968 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9970 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9971 if test ${ac_cv_cflags__Wl__z_defs+y}
9973 printf %s "(cached) " >&6
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 CFLAGS="$CFLAGS -Wl,-z,defs"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9981 if ac_fn_c_try_link "$LINENO"
9983 ac_cv_cflags__Wl__z_defs=yes
9985 ac_cv_cflags__Wl__z_defs=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9992 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9993 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9995 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9998 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9999 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10001 printf %s "(cached) " >&6
10003 ac_wine_try_cflags_saved=$CFLAGS
10004 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 int main(int argc, char **argv) { return 0; }
10009 if ac_fn_c_try_link "$LINENO"
10011 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10013 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10020 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10021 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10023 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10025 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10028 printf %s "checking for -lEGL... " >&6; }
10029 if test ${ac_cv_lib_soname_EGL+y}
10031 printf %s "(cached) " >&6
10033 ac_check_soname_save_LIBS=$LIBS
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 char eglGetProcAddress ();
10045 return eglGetProcAddress ();
10050 if ac_fn_c_try_link "$LINENO"
10053 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10054 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'` ;;
10055 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10056 if ${ac_cv_lib_soname_EGL:+false} :
10058 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10062 ac_cv_lib_soname_EGL=
10064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_soname_save_LIBS
10068 if ${ac_cv_lib_soname_EGL:+false} :
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10071 printf "%s\n" "not found" >&6; }
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10075 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10077 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10082 printf %s "checking for -lGLESv2... " >&6; }
10083 if test ${ac_cv_lib_soname_GLESv2+y}
10085 printf %s "(cached) " >&6
10087 ac_check_soname_save_LIBS=$LIBS
10088 LIBS="-lGLESv2 $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10104 if ac_fn_c_try_link "$LINENO"
10107 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_GLESv2:+false} :
10112 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10116 ac_cv_lib_soname_GLESv2=
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_GLESv2:+false} :
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10125 printf "%s\n" "not found" >&6; }
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10129 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10131 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10136 if test "x$exec_prefix" = xNONE
10139 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10140 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10141 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10142 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10149 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10151 test "$ac_cv_sys_file_offset_bits" = 64 &&
10152 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10156 DLLFLAGS="$DLLFLAGS -fno-PIC"
10157 LDDLLFLAGS="-fno-PIC"
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10159 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10160 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10162 printf %s "(cached) " >&6
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10170 if ac_fn_c_try_link "$LINENO"
10172 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10174 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10181 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10182 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10184 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10188 DLLFLAGS="$DLLFLAGS -fPIC"
10189 LDDLLFLAGS="-fPIC" ;;
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10193 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10194 if test ${ac_cv_cflags__Wl__z_defs+y}
10196 printf %s "(cached) " >&6
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 CFLAGS="$CFLAGS -Wl,-z,defs"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10204 if ac_fn_c_try_link "$LINENO"
10206 ac_cv_cflags__Wl__z_defs=yes
10208 ac_cv_cflags__Wl__z_defs=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10215 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10216 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10218 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10221 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10222 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10224 printf %s "(cached) " >&6
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10232 if ac_fn_c_try_link "$LINENO"
10234 ac_cv_cflags__Wl___export_dynamic=yes
10236 ac_cv_cflags__Wl___export_dynamic=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10244 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10246 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10248 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10252 as_fn_append WINELOADER_LDFLAGS " -pie"
10255 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10258 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10259 if test ${ac_cv_cflags__static_pie+y}
10261 printf %s "(cached) " >&6
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 CFLAGS="$CFLAGS -static-pie"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int main(int argc, char **argv) { return 0; }
10269 if ac_fn_c_try_link "$LINENO"
10271 ac_cv_cflags__static_pie=yes
10273 ac_cv_cflags__static_pie=no
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 CFLAGS=$ac_wine_try_cflags_saved
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10280 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10281 if test "x$ac_cv_cflags__static_pie" = xyes
10283 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10285 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10294 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10295 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10297 printf %s "(cached) " >&6
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int main(int argc, char **argv) { return 0; }
10305 if ac_fn_c_try_link "$LINENO"
10307 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10309 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10316 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10317 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10319 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10322 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10323 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10325 printf %s "(cached) " >&6
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int main(int argc, char **argv) { return 0; }
10333 if ac_fn_c_try_link "$LINENO"
10335 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10337 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10344 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10345 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10347 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10352 as_fn_append WINELOADER_LDFLAGS " -pie"
10360 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10361 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10362 enable_winemac_drv=${enable_winemac_drv:-no}
10367 if test ${enable_archs+y}
10369 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10372 set x $enable_archs
10378 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10379 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10383 if test "x$with_mingw" != xno
10385 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10386 case "x$with_mingw" in
10388 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10393 for wine_arch in $cross_archs
10395 if eval \${${wine_arch}_CC:+false} :
10399 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10401 # Extract the first word of "$ac_prog", so it can be a program name with args.
10402 set dummy $ac_prog; ac_word=$2
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 printf %s "checking for $ac_word... " >&6; }
10405 if test ${ac_cv_prog_aarch64_CC+y}
10407 printf %s "(cached) " >&6
10409 if test -n "$aarch64_CC"; then
10410 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10416 case $as_dir in #(((
10419 *) as_dir=$as_dir/ ;;
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10423 ac_cv_prog_aarch64_CC="$ac_prog"
10424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10433 aarch64_CC=$ac_cv_prog_aarch64_CC
10434 if test -n "$aarch64_CC"; then
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10436 printf "%s\n" "$aarch64_CC" >&6; }
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 printf "%s\n" "no" >&6; }
10443 test -n "$aarch64_CC" && break
10445 test -n "$aarch64_CC" || aarch64_CC="false"
10449 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10451 # Extract the first word of "$ac_prog", so it can be a program name with args.
10452 set dummy $ac_prog; ac_word=$2
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 printf %s "checking for $ac_word... " >&6; }
10455 if test ${ac_cv_prog_arm_CC+y}
10457 printf %s "(cached) " >&6
10459 if test -n "$arm_CC"; then
10460 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10466 case $as_dir in #(((
10469 *) as_dir=$as_dir/ ;;
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_arm_CC="$ac_prog"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10483 arm_CC=$ac_cv_prog_arm_CC
10484 if test -n "$arm_CC"; then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10486 printf "%s\n" "$arm_CC" >&6; }
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 printf "%s\n" "no" >&6; }
10493 test -n "$arm_CC" && break
10495 test -n "$arm_CC" || arm_CC="false"
10499 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 "
10500 for ac_prog in $ac_prefix_list clang
10502 # Extract the first word of "$ac_prog", so it can be a program name with args.
10503 set dummy $ac_prog; ac_word=$2
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 printf %s "checking for $ac_word... " >&6; }
10506 if test ${ac_cv_prog_i386_CC+y}
10508 printf %s "(cached) " >&6
10510 if test -n "$i386_CC"; then
10511 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10517 case $as_dir in #(((
10520 *) as_dir=$as_dir/ ;;
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10524 ac_cv_prog_i386_CC="$ac_prog"
10525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10534 i386_CC=$ac_cv_prog_i386_CC
10535 if test -n "$i386_CC"; then
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10537 printf "%s\n" "$i386_CC" >&6; }
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540 printf "%s\n" "no" >&6; }
10544 test -n "$i386_CC" && break
10546 test -n "$i386_CC" || i386_CC="false"
10550 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10551 for ac_prog in $ac_prefix_list clang
10553 # Extract the first word of "$ac_prog", so it can be a program name with args.
10554 set dummy $ac_prog; ac_word=$2
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10556 printf %s "checking for $ac_word... " >&6; }
10557 if test ${ac_cv_prog_x86_64_CC+y}
10559 printf %s "(cached) " >&6
10561 if test -n "$x86_64_CC"; then
10562 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10568 case $as_dir in #(((
10571 *) as_dir=$as_dir/ ;;
10573 for ac_exec_ext in '' $ac_executable_extensions; do
10574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10575 ac_cv_prog_x86_64_CC="$ac_prog"
10576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10585 x86_64_CC=$ac_cv_prog_x86_64_CC
10586 if test -n "$x86_64_CC"; then
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10588 printf "%s\n" "$x86_64_CC" >&6; }
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10591 printf "%s\n" "no" >&6; }
10595 test -n "$x86_64_CC" && break
10597 test -n "$x86_64_CC" || x86_64_CC="false"
10603 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10609 saved_CFLAGS=$CFLAGS
10610 saved_LDFLAGS=$LDFLAGS
10612 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10613 LDFLAGS=$CROSSLDFLAGS
10614 eval CC=\$${wine_arch}_CC
10615 eval ${wine_arch}_CFLAGS=\$CFLAGS
10616 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10617 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10620 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10623 printf %s "checking whether $CC works... " >&6; }
10624 if eval test \${$as_wine_cv_crosscc+y}
10626 printf %s "(cached) " >&6
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10639 if ac_fn_c_try_compile "$LINENO"
10641 eval "$as_wine_cv_crosscc=yes"
10643 eval "$as_wine_cv_crosscc=no"
10645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10647 eval ac_res=\$$as_wine_cv_crosscc
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10649 printf "%s\n" "$ac_res" >&6; }
10650 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10654 while test $# -ge 1
10657 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10658 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10663 llvm_target=$target
10664 if test -z "$llvm_target"
10667 i386) llvm_target=i686-windows ;;
10668 arm) llvm_target=armv7-windows ;;
10669 *) llvm_target=$wine_arch-windows ;;
10672 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10673 case $llvm_target in
10674 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10676 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10678 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10679 if eval test \${$as_ac_var+y}
10681 printf %s "(cached) " >&6
10683 ac_wine_try_cflags_saved=$CFLAGS
10684 ac_wine_try_cflags_saved_exeext=$ac_exeext
10685 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int __cdecl mainCRTStartup(void) { return 0; }
10691 if ac_fn_c_try_link "$LINENO"
10693 eval "$as_ac_var=yes"
10695 eval "$as_ac_var=no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10700 ac_exeext=$ac_wine_try_cflags_saved_exeext
10702 eval ac_res=\$$as_ac_var
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10704 printf "%s\n" "$ac_res" >&6; }
10705 if eval test \"x\$"$as_ac_var"\" = x"yes"
10707 target=$llvm_target
10708 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10709 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10710 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10712 eval "${wine_arch}_TARGET=\$target"
10716 if test -z "$target"
10719 CFLAGS=$saved_CFLAGS
10720 LDFLAGS=$saved_LDFLAGS
10723 as_fn_append PE_ARCHS " $wine_arch"
10725 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10728 printf %s "checking for $CC option to enable C99 features... " >&6; }
10729 if eval test \${$as_wine_cv_crosscc_c99+y}
10731 printf %s "(cached) " >&6
10733 eval "$as_wine_cv_crosscc_c99=no"
10734 for arg in '' '-std=gnu99'
10736 test -z "$arg" || CC="$CC $arg"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 $ac_c_conftest_c99_program
10741 if ac_fn_c_try_compile "$LINENO"
10743 eval "$as_wine_cv_crosscc_c99=\$arg"
10745 eval "$as_wine_cv_crosscc_c99=no"
10747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10748 eval CC=\$${wine_arch}_CC
10749 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10758 eval res=\$$as_wine_cv_crosscc_c99
10760 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10761 printf "%s\n" "none needed" >&6; } ;;
10762 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10763 printf "%s\n" "unsupported" >&6; } ;;
10764 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10765 printf "%s\n" "$res" >&6; }
10766 as_fn_append ${wine_arch}_CC " $res" ;;
10770 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10772 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10773 if eval test \${$as_ac_var+y}
10775 printf %s "(cached) " >&6
10777 ac_wine_try_cflags_saved=$CFLAGS
10778 ac_wine_try_cflags_saved_exeext=$ac_exeext
10779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 int __cdecl mainCRTStartup(void) { return 0; }
10785 if ac_fn_c_try_link "$LINENO"
10787 eval "$as_ac_var=yes"
10789 eval "$as_ac_var=no"
10791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10792 conftest$ac_exeext conftest.$ac_ext
10793 CFLAGS=$ac_wine_try_cflags_saved
10794 ac_exeext=$ac_wine_try_cflags_saved_exeext
10796 eval ac_res=\$$as_ac_var
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10798 printf "%s\n" "$ac_res" >&6; }
10799 if eval test \"x\$"$as_ac_var"\" = x"yes"
10801 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10805 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10806 if eval test \${$as_ac_var+y}
10808 printf %s "(cached) " >&6
10810 ac_wine_try_cflags_saved=$CFLAGS
10811 ac_wine_try_cflags_saved_exeext=$ac_exeext
10812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 int __cdecl mainCRTStartup(void) { return 0; }
10818 if ac_fn_c_try_link "$LINENO"
10820 eval "$as_ac_var=yes"
10822 eval "$as_ac_var=no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10825 conftest$ac_exeext conftest.$ac_ext
10826 CFLAGS=$ac_wine_try_cflags_saved
10827 ac_exeext=$ac_wine_try_cflags_saved_exeext
10829 eval ac_res=\$$as_ac_var
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_ac_var"\" = x"yes"
10834 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10838 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10839 if eval test \${$as_ac_var+y}
10841 printf %s "(cached) " >&6
10843 ac_wine_try_cflags_saved=$CFLAGS
10844 ac_wine_try_cflags_saved_exeext=$ac_exeext
10845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 int __cdecl mainCRTStartup(void) { return 0; }
10851 if ac_fn_c_try_link "$LINENO"
10853 eval "$as_ac_var=yes"
10855 eval "$as_ac_var=no"
10857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10858 conftest$ac_exeext conftest.$ac_ext
10859 CFLAGS=$ac_wine_try_cflags_saved
10860 ac_exeext=$ac_wine_try_cflags_saved_exeext
10862 eval ac_res=\$$as_ac_var
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10864 printf "%s\n" "$ac_res" >&6; }
10865 if eval test \"x\$"$as_ac_var"\" = x"yes"
10867 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10869 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10871 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10872 if eval test \${$as_ac_var+y}
10874 printf %s "(cached) " >&6
10876 ac_wine_try_cflags_saved=$CFLAGS
10877 ac_wine_try_cflags_saved_exeext=$ac_exeext
10878 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10882 int __cdecl mainCRTStartup(void) { return 0; }
10884 if ac_fn_c_try_link "$LINENO"
10886 eval "$as_ac_var=yes"
10888 eval "$as_ac_var=no"
10890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10891 conftest$ac_exeext conftest.$ac_ext
10892 CFLAGS=$ac_wine_try_cflags_saved
10893 ac_exeext=$ac_wine_try_cflags_saved_exeext
10895 eval ac_res=\$$as_ac_var
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10897 printf "%s\n" "$ac_res" >&6; }
10898 if eval test \"x\$"$as_ac_var"\" = x"yes"
10900 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10902 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10904 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10905 if eval test \${$as_ac_var+y}
10907 printf %s "(cached) " >&6
10909 ac_wine_try_cflags_saved=$CFLAGS
10910 ac_wine_try_cflags_saved_exeext=$ac_exeext
10911 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 int __cdecl mainCRTStartup(void) { return 0; }
10917 if ac_fn_c_try_link "$LINENO"
10919 eval "$as_ac_var=yes"
10921 eval "$as_ac_var=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10924 conftest$ac_exeext conftest.$ac_ext
10925 CFLAGS=$ac_wine_try_cflags_saved
10926 ac_exeext=$ac_wine_try_cflags_saved_exeext
10928 eval ac_res=\$$as_ac_var
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10930 printf "%s\n" "$ac_res" >&6; }
10931 if eval test \"x\$"$as_ac_var"\" = x"yes"
10933 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10935 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10937 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10938 if eval test \${$as_ac_var+y}
10940 printf %s "(cached) " >&6
10942 ac_wine_try_cflags_saved=$CFLAGS
10943 ac_wine_try_cflags_saved_exeext=$ac_exeext
10944 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 int __cdecl mainCRTStartup(void) { return 0; }
10950 if ac_fn_c_try_link "$LINENO"
10952 eval "$as_ac_var=yes"
10954 eval "$as_ac_var=no"
10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10957 conftest$ac_exeext conftest.$ac_ext
10958 CFLAGS=$ac_wine_try_cflags_saved
10959 ac_exeext=$ac_wine_try_cflags_saved_exeext
10961 eval ac_res=\$$as_ac_var
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10963 printf "%s\n" "$ac_res" >&6; }
10964 if eval test \"x\$"$as_ac_var"\" = x"yes"
10966 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10970 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10971 if eval test \${$as_ac_var+y}
10973 printf %s "(cached) " >&6
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10983 if ac_fn_c_try_link "$LINENO"
10985 eval "$as_ac_var=yes"
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11003 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11004 if eval test \${$as_ac_var+y}
11006 printf %s "(cached) " >&6
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11016 if ac_fn_c_try_link "$LINENO"
11018 eval "$as_ac_var=yes"
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11036 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11037 if eval test \${$as_ac_var+y}
11039 printf %s "(cached) " >&6
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11049 if ac_fn_c_try_link "$LINENO"
11051 eval "$as_ac_var=yes"
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11065 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11069 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11070 if eval test \${$as_ac_var+y}
11072 printf %s "(cached) " >&6
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11082 if ac_fn_c_try_link "$LINENO"
11084 eval "$as_ac_var=yes"
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11102 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11103 if eval test \${$as_ac_var+y}
11105 printf %s "(cached) " >&6
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11115 if ac_fn_c_try_link "$LINENO"
11117 eval "$as_ac_var=yes"
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11135 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11136 if eval test \${$as_ac_var+y}
11138 printf %s "(cached) " >&6
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11148 if ac_fn_c_try_link "$LINENO"
11150 eval "$as_ac_var=yes"
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11168 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11169 if eval test \${$as_ac_var+y}
11171 printf %s "(cached) " >&6
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11181 if ac_fn_c_try_link "$LINENO"
11183 eval "$as_ac_var=yes"
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11201 printf %s "checking whether $CC supports -Wvla... " >&6; }
11202 if eval test \${$as_ac_var+y}
11204 printf %s "(cached) " >&6
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11214 if ac_fn_c_try_link "$LINENO"
11216 eval "$as_ac_var=yes"
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11234 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11235 if eval test \${$as_ac_var+y}
11237 printf %s "(cached) " >&6
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11247 if ac_fn_c_try_link "$LINENO"
11249 eval "$as_ac_var=yes"
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11267 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11268 if eval test \${$as_ac_var+y}
11270 printf %s "(cached) " >&6
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 int __cdecl mainCRTStartup(void) { return 0; }
11280 if ac_fn_c_try_link "$LINENO"
11282 eval "$as_ac_var=yes"
11284 eval "$as_ac_var=no"
11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11287 conftest$ac_exeext conftest.$ac_ext
11288 CFLAGS=$ac_wine_try_cflags_saved
11289 ac_exeext=$ac_wine_try_cflags_saved_exeext
11291 eval ac_res=\$$as_ac_var
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11293 printf "%s\n" "$ac_res" >&6; }
11294 if eval test \"x\$"$as_ac_var"\" = x"yes"
11296 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11298 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11300 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11301 if eval test \${$as_ac_var+y}
11303 printf %s "(cached) " >&6
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_exeext=$ac_exeext
11307 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 int __cdecl mainCRTStartup(void) { return 0; }
11313 if ac_fn_c_try_link "$LINENO"
11315 eval "$as_ac_var=yes"
11317 eval "$as_ac_var=no"
11319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11320 conftest$ac_exeext conftest.$ac_ext
11321 CFLAGS=$ac_wine_try_cflags_saved
11322 ac_exeext=$ac_wine_try_cflags_saved_exeext
11324 eval ac_res=\$$as_ac_var
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11326 printf "%s\n" "$ac_res" >&6; }
11327 if eval test \"x\$"$as_ac_var"\" = x"yes"
11329 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11331 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11333 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11334 if eval test \${$as_ac_var+y}
11336 printf %s "(cached) " >&6
11338 ac_wine_try_cflags_saved=$CFLAGS
11339 ac_wine_try_cflags_saved_exeext=$ac_exeext
11340 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344 int __cdecl mainCRTStartup(void) { return 0; }
11346 if ac_fn_c_try_link "$LINENO"
11348 eval "$as_ac_var=yes"
11350 eval "$as_ac_var=no"
11352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11353 conftest$ac_exeext conftest.$ac_ext
11354 CFLAGS=$ac_wine_try_cflags_saved
11355 ac_exeext=$ac_wine_try_cflags_saved_exeext
11357 eval ac_res=\$$as_ac_var
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11359 printf "%s\n" "$ac_res" >&6; }
11360 if eval test \"x\$"$as_ac_var"\" = x"yes"
11362 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11366 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11368 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11369 if eval test \${$as_ac_var+y}
11371 printf %s "(cached) " >&6
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11381 if ac_fn_c_try_link "$LINENO"
11383 eval "$as_ac_var=yes"
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11401 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11402 if eval test \${$as_ac_var+y}
11404 printf %s "(cached) " >&6
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11414 if ac_fn_c_try_link "$LINENO"
11416 eval "$as_ac_var=yes"
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11430 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11432 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11434 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11435 if eval test \${$as_ac_var+y}
11437 printf %s "(cached) " >&6
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11447 if ac_fn_c_try_link "$LINENO"
11449 eval "$as_ac_var=yes"
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11465 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11467 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11468 if eval test \${$as_ac_var+y}
11470 printf %s "(cached) " >&6
11472 ac_wine_try_cflags_saved=$CFLAGS
11473 ac_wine_try_cflags_saved_exeext=$ac_exeext
11474 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478 int __cdecl mainCRTStartup(void) { return 0; }
11480 if ac_fn_c_try_link "$LINENO"
11482 eval "$as_ac_var=yes"
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11500 printf %s "checking whether $CC supports -mcx16... " >&6; }
11501 if eval test \${$as_ac_var+y}
11503 printf %s "(cached) " >&6
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11513 if ac_fn_c_try_link "$LINENO"
11515 eval "$as_ac_var=yes"
11517 eval "$as_ac_var=no"
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 eval ac_res=\$$as_ac_var
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11526 printf "%s\n" "$ac_res" >&6; }
11527 if eval test \"x\$"$as_ac_var"\" = x"yes"
11529 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11533 wine_crossdebug=$CROSSDEBUG
11534 if test -z "$wine_crossdebug"
11536 for ac_flag in $CFLAGS; do
11538 -gdwarf*) wine_crossdebug=dwarf ;;
11539 -gcodeview) wine_crossdebug=pdb ;;
11540 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11545 ac_debug_format_seen=""
11546 for ac_flag in $CFLAGS; do
11548 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11551 if test "x$ac_debug_format_seen" = x
11553 case $wine_crossdebug in
11554 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11556 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11557 if eval test \${$as_ac_var+y}
11559 printf %s "(cached) " >&6
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_exeext=$ac_exeext
11563 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 int __cdecl mainCRTStartup(void) { return 0; }
11569 if ac_fn_c_try_link "$LINENO"
11571 eval "$as_ac_var=yes"
11573 eval "$as_ac_var=no"
11575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11576 conftest$ac_exeext conftest.$ac_ext
11577 CFLAGS=$ac_wine_try_cflags_saved
11578 ac_exeext=$ac_wine_try_cflags_saved_exeext
11580 eval ac_res=\$$as_ac_var
11581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11582 printf "%s\n" "$ac_res" >&6; }
11583 if eval test \"x\$"$as_ac_var"\" = x"yes"
11585 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11587 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11589 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11590 if eval test \${$as_ac_var+y}
11592 printf %s "(cached) " >&6
11594 ac_wine_try_cflags_saved=$CFLAGS
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 int __cdecl mainCRTStartup(void) { return 0; }
11602 if ac_fn_c_try_link "$LINENO"
11604 eval "$as_ac_var=yes"
11606 eval "$as_ac_var=no"
11608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11609 conftest$ac_exeext conftest.$ac_ext
11610 CFLAGS=$ac_wine_try_cflags_saved
11611 ac_exeext=$ac_wine_try_cflags_saved_exeext
11613 eval ac_res=\$$as_ac_var
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11615 printf "%s\n" "$ac_res" >&6; }
11616 if eval test \"x\$"$as_ac_var"\" = x"yes"
11618 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11622 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11624 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11626 printf %s "checking whether $CC supports -Werror... " >&6; }
11627 if eval test \${$as_ac_var+y}
11629 printf %s "(cached) " >&6
11631 ac_wine_try_cflags_saved=$CFLAGS
11632 ac_wine_try_cflags_saved_exeext=$ac_exeext
11633 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11637 int __cdecl mainCRTStartup(void) { return 0; }
11639 if ac_fn_c_try_link "$LINENO"
11641 eval "$as_ac_var=yes"
11643 eval "$as_ac_var=no"
11645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11646 conftest$ac_exeext conftest.$ac_ext
11647 CFLAGS=$ac_wine_try_cflags_saved
11648 ac_exeext=$ac_wine_try_cflags_saved_exeext
11650 eval ac_res=\$$as_ac_var
11651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11652 printf "%s\n" "$ac_res" >&6; }
11653 if eval test \"x\$"$as_ac_var"\" = x"yes"
11655 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11657 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11659 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11660 if eval test \${$as_ac_var+y}
11662 printf %s "(cached) " >&6
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 int __cdecl mainCRTStartup(void) { return 0; }
11672 if ac_fn_c_try_link "$LINENO"
11674 eval "$as_ac_var=yes"
11676 eval "$as_ac_var=no"
11678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11679 conftest$ac_exeext conftest.$ac_ext
11680 CFLAGS=$ac_wine_try_cflags_saved
11681 ac_exeext=$ac_wine_try_cflags_saved_exeext
11683 eval ac_res=\$$as_ac_var
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11685 printf "%s\n" "$ac_res" >&6; }
11686 if eval test \"x\$"$as_ac_var"\" = x"yes"
11688 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11689 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11693 CFLAGS=$saved_CFLAGS
11694 LDFLAGS=$saved_LDFLAGS
11697 if test $HOST_ARCH = aarch64
11699 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
11702 if test "x$PE_ARCHS" = "x"
11704 case "x$with_mingw" in
11705 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11707 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11708 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11715 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11717 case "$host_cpu" in
11719 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11721 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11723 for ac_prog in $ac_prefix_list
11725 # Extract the first word of "$ac_prog", so it can be a program name with args.
11726 set dummy $ac_prog; ac_word=$2
11727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 printf %s "checking for $ac_word... " >&6; }
11729 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11731 printf %s "(cached) " >&6
11733 if test -n "$MINGW_PKG_CONFIG"; then
11734 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11740 case $as_dir in #(((
11743 *) as_dir=$as_dir/ ;;
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11747 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11757 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11758 if test -n "$MINGW_PKG_CONFIG"; then
11759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11760 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 printf "%s\n" "no" >&6; }
11767 test -n "$MINGW_PKG_CONFIG" && break
11769 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11771 if ${FAUDIO_PE_CFLAGS:+false} :
11773 if test ${MINGW_PKG_CONFIG+y}
11775 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11778 if ${FAUDIO_PE_LIBS:+false} :
11780 if test ${MINGW_PKG_CONFIG+y}
11782 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11785 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11786 ac_save_CPPFLAGS=$CPPFLAGS
11787 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11789 printf %s "checking for MinGW FAudio.h... " >&6; }
11790 if test ${ac_cv_mingw_header_FAudio_h+y}
11792 printf %s "(cached) " >&6
11794 ac_wine_check_headers_saved_cc=$CC
11795 ac_wine_check_headers_saved_exeext=$ac_exeext
11796 eval CC=\$${wine_arch}_CC
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 #include <FAudio.h>
11810 if ac_fn_c_try_compile "$LINENO"
11812 ac_cv_mingw_header_FAudio_h=yes
11814 ac_cv_mingw_header_FAudio_h=no
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11817 CC=$ac_wine_check_headers_saved_cc
11818 ac_exeext=$ac_wine_check_headers_saved_exeext
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11821 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11822 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11825 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11826 if test ${ac_cv_mingw_lib_FAudio+y}
11828 printf %s "(cached) " >&6
11830 ac_wine_check_headers_saved_cc=$CC
11831 ac_wine_check_headers_saved_exeext=$ac_exeext
11832 ac_wine_check_headers_saved_libs=$LIBS
11833 eval CC=\$${wine_arch}_CC
11835 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 char FAudio_CommitOperationSet ();
11846 return FAudio_CommitOperationSet ();
11851 if ac_fn_c_try_link "$LINENO"
11853 ac_cv_mingw_lib_FAudio=yes
11855 ac_cv_mingw_lib_FAudio=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11858 conftest$ac_exeext conftest.$ac_ext
11859 CC=$ac_wine_check_headers_saved_cc
11860 ac_exeext=$ac_wine_check_headers_saved_exeext
11861 LIBS=$ac_wine_check_headers_saved_libs
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11864 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11865 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11869 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11872 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11874 CPPFLAGS=$ac_save_CPPFLAGS
11876 if test "x$FAUDIO_PE_LIBS" = "x"
11878 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11881 if ${JPEG_PE_CFLAGS:+false} :
11883 if test ${MINGW_PKG_CONFIG+y}
11885 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11888 if ${JPEG_PE_LIBS:+false} :
11890 if test ${MINGW_PKG_CONFIG+y}
11892 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11896 ac_save_CPPFLAGS=$CPPFLAGS
11897 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11899 printf %s "checking for MinGW jpeglib.h... " >&6; }
11900 if test ${ac_cv_mingw_header_jpeglib_h+y}
11902 printf %s "(cached) " >&6
11904 ac_wine_check_headers_saved_cc=$CC
11905 ac_wine_check_headers_saved_exeext=$ac_exeext
11906 eval CC=\$${wine_arch}_CC
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <stddef.h>
11912 #include <jpeglib.h>
11921 if ac_fn_c_try_compile "$LINENO"
11923 ac_cv_mingw_header_jpeglib_h=yes
11925 ac_cv_mingw_header_jpeglib_h=no
11927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11928 CC=$ac_wine_check_headers_saved_cc
11929 ac_exeext=$ac_wine_check_headers_saved_exeext
11931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11932 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11933 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11936 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11937 if test ${ac_cv_mingw_lib_jpeg+y}
11939 printf %s "(cached) " >&6
11941 ac_wine_check_headers_saved_cc=$CC
11942 ac_wine_check_headers_saved_exeext=$ac_exeext
11943 ac_wine_check_headers_saved_libs=$LIBS
11944 eval CC=\$${wine_arch}_CC
11946 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 char jpeg_start_decompress ();
11957 return jpeg_start_decompress ();
11962 if ac_fn_c_try_link "$LINENO"
11964 ac_cv_mingw_lib_jpeg=yes
11966 ac_cv_mingw_lib_jpeg=no
11968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11969 conftest$ac_exeext conftest.$ac_ext
11970 CC=$ac_wine_check_headers_saved_cc
11971 ac_exeext=$ac_wine_check_headers_saved_exeext
11972 LIBS=$ac_wine_check_headers_saved_libs
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11975 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11976 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11980 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11983 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11985 CPPFLAGS=$ac_save_CPPFLAGS
11987 if test "x$JPEG_PE_LIBS" = "x"
11989 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11992 if ${LCMS2_PE_CFLAGS:+false} :
11994 if test ${MINGW_PKG_CONFIG+y}
11996 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11999 if ${LCMS2_PE_LIBS:+false} :
12001 if test ${MINGW_PKG_CONFIG+y}
12003 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12006 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12007 ac_save_CPPFLAGS=$CPPFLAGS
12008 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12010 printf %s "checking for MinGW lcms2.h... " >&6; }
12011 if test ${ac_cv_mingw_header_lcms2_h+y}
12013 printf %s "(cached) " >&6
12015 ac_wine_check_headers_saved_cc=$CC
12016 ac_wine_check_headers_saved_exeext=$ac_exeext
12017 eval CC=\$${wine_arch}_CC
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12031 if ac_fn_c_try_compile "$LINENO"
12033 ac_cv_mingw_header_lcms2_h=yes
12035 ac_cv_mingw_header_lcms2_h=no
12037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12038 CC=$ac_wine_check_headers_saved_cc
12039 ac_exeext=$ac_wine_check_headers_saved_exeext
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12042 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12043 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12046 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12047 if test ${ac_cv_mingw_lib_lcms2+y}
12049 printf %s "(cached) " >&6
12051 ac_wine_check_headers_saved_cc=$CC
12052 ac_wine_check_headers_saved_exeext=$ac_exeext
12053 ac_wine_check_headers_saved_libs=$LIBS
12054 eval CC=\$${wine_arch}_CC
12056 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 char cmsOpenProfileFromFile ();
12067 return cmsOpenProfileFromFile ();
12072 if ac_fn_c_try_link "$LINENO"
12074 ac_cv_mingw_lib_lcms2=yes
12076 ac_cv_mingw_lib_lcms2=no
12078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12079 conftest$ac_exeext conftest.$ac_ext
12080 CC=$ac_wine_check_headers_saved_cc
12081 ac_exeext=$ac_wine_check_headers_saved_exeext
12082 LIBS=$ac_wine_check_headers_saved_libs
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12085 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12086 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12090 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12093 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12095 CPPFLAGS=$ac_save_CPPFLAGS
12097 if test "x$LCMS2_PE_LIBS" = "x"
12099 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12102 if ${MPG123_PE_CFLAGS:+false} :
12104 if test ${MINGW_PKG_CONFIG+y}
12106 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12109 if ${MPG123_PE_LIBS:+false} :
12111 if test ${MINGW_PKG_CONFIG+y}
12113 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12116 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12117 ac_save_CPPFLAGS=$CPPFLAGS
12118 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12120 printf %s "checking for MinGW mpg123.h... " >&6; }
12121 if test ${ac_cv_mingw_header_mpg123_h+y}
12123 printf %s "(cached) " >&6
12125 ac_wine_check_headers_saved_cc=$CC
12126 ac_wine_check_headers_saved_exeext=$ac_exeext
12127 eval CC=\$${wine_arch}_CC
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 #include <mpg123.h>
12141 if ac_fn_c_try_compile "$LINENO"
12143 ac_cv_mingw_header_mpg123_h=yes
12145 ac_cv_mingw_header_mpg123_h=no
12147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12148 CC=$ac_wine_check_headers_saved_cc
12149 ac_exeext=$ac_wine_check_headers_saved_exeext
12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12152 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12153 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12156 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12157 if test ${ac_cv_mingw_lib_mpg123+y}
12159 printf %s "(cached) " >&6
12161 ac_wine_check_headers_saved_cc=$CC
12162 ac_wine_check_headers_saved_exeext=$ac_exeext
12163 ac_wine_check_headers_saved_libs=$LIBS
12164 eval CC=\$${wine_arch}_CC
12166 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 char mpg123_feed ();
12177 return mpg123_feed ();
12182 if ac_fn_c_try_link "$LINENO"
12184 ac_cv_mingw_lib_mpg123=yes
12186 ac_cv_mingw_lib_mpg123=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12189 conftest$ac_exeext conftest.$ac_ext
12190 CC=$ac_wine_check_headers_saved_cc
12191 ac_exeext=$ac_wine_check_headers_saved_exeext
12192 LIBS=$ac_wine_check_headers_saved_libs
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12195 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12196 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12200 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12203 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12207 if test "x$MPG123_PE_LIBS" = "x"
12209 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12212 if ${PNG_PE_CFLAGS:+false} :
12214 if test ${MINGW_PKG_CONFIG+y}
12216 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12219 if ${PNG_PE_LIBS:+false} :
12221 if test ${MINGW_PKG_CONFIG+y}
12223 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12227 ac_save_CPPFLAGS=$CPPFLAGS
12228 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12230 printf %s "checking for MinGW png.h... " >&6; }
12231 if test ${ac_cv_mingw_header_png_h+y}
12233 printf %s "(cached) " >&6
12235 ac_wine_check_headers_saved_cc=$CC
12236 ac_wine_check_headers_saved_exeext=$ac_exeext
12237 eval CC=\$${wine_arch}_CC
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12251 if ac_fn_c_try_compile "$LINENO"
12253 ac_cv_mingw_header_png_h=yes
12255 ac_cv_mingw_header_png_h=no
12257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12258 CC=$ac_wine_check_headers_saved_cc
12259 ac_exeext=$ac_wine_check_headers_saved_exeext
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12262 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12263 if test "x$ac_cv_mingw_header_png_h" = xyes
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12266 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12267 if test ${ac_cv_mingw_lib_png+y}
12269 printf %s "(cached) " >&6
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 ac_wine_check_headers_saved_libs=$LIBS
12274 eval CC=\$${wine_arch}_CC
12276 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 char png_create_read_struct ();
12287 return png_create_read_struct ();
12292 if ac_fn_c_try_link "$LINENO"
12294 ac_cv_mingw_lib_png=yes
12296 ac_cv_mingw_lib_png=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12299 conftest$ac_exeext conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 LIBS=$ac_wine_check_headers_saved_libs
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12305 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12306 if test "x$ac_cv_mingw_lib_png" = xyes
12310 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12313 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12317 if test "x$PNG_PE_LIBS" = "x"
12319 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12322 if ${TIFF_PE_CFLAGS:+false} :
12324 if test ${MINGW_PKG_CONFIG+y}
12326 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12329 if ${TIFF_PE_LIBS:+false} :
12331 if test ${MINGW_PKG_CONFIG+y}
12333 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12337 ac_save_CPPFLAGS=$CPPFLAGS
12338 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12340 printf %s "checking for MinGW tiffio.h... " >&6; }
12341 if test ${ac_cv_mingw_header_tiffio_h+y}
12343 printf %s "(cached) " >&6
12345 ac_wine_check_headers_saved_cc=$CC
12346 ac_wine_check_headers_saved_exeext=$ac_exeext
12347 eval CC=\$${wine_arch}_CC
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 #include <tiffio.h>
12361 if ac_fn_c_try_compile "$LINENO"
12363 ac_cv_mingw_header_tiffio_h=yes
12365 ac_cv_mingw_header_tiffio_h=no
12367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12368 CC=$ac_wine_check_headers_saved_cc
12369 ac_exeext=$ac_wine_check_headers_saved_exeext
12371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12372 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12373 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12376 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12377 if test ${ac_cv_mingw_lib_tiff+y}
12379 printf %s "(cached) " >&6
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 ac_wine_check_headers_saved_libs=$LIBS
12384 eval CC=\$${wine_arch}_CC
12386 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 char TIFFClientOpen ();
12397 return TIFFClientOpen ();
12402 if ac_fn_c_try_link "$LINENO"
12404 ac_cv_mingw_lib_tiff=yes
12406 ac_cv_mingw_lib_tiff=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12409 conftest$ac_exeext conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 LIBS=$ac_wine_check_headers_saved_libs
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12415 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12416 if test "x$ac_cv_mingw_lib_tiff" = xyes
12420 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12423 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12425 CPPFLAGS=$ac_save_CPPFLAGS
12427 if test "x$TIFF_PE_LIBS" = "x"
12429 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12432 if ${XML2_PE_CFLAGS:+false} :
12434 if test ${MINGW_PKG_CONFIG+y}
12436 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12439 if ${XML2_PE_LIBS:+false} :
12441 if test ${MINGW_PKG_CONFIG+y}
12443 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12446 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12447 ac_save_CPPFLAGS=$CPPFLAGS
12448 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12450 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12451 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12453 printf %s "(cached) " >&6
12455 ac_wine_check_headers_saved_cc=$CC
12456 ac_wine_check_headers_saved_exeext=$ac_exeext
12457 eval CC=\$${wine_arch}_CC
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 #include <libxml/parser.h>
12471 if ac_fn_c_try_compile "$LINENO"
12473 ac_cv_mingw_header_libxml_parser_h=yes
12475 ac_cv_mingw_header_libxml_parser_h=no
12477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12478 CC=$ac_wine_check_headers_saved_cc
12479 ac_exeext=$ac_wine_check_headers_saved_exeext
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12482 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12483 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12488 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12489 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12491 printf %s "(cached) " >&6
12493 ac_wine_check_headers_saved_cc=$CC
12494 ac_wine_check_headers_saved_exeext=$ac_exeext
12495 eval CC=\$${wine_arch}_CC
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 #include <libxml/xmlsave.h>
12509 if ac_fn_c_try_compile "$LINENO"
12511 ac_cv_mingw_header_libxml_xmlsave_h=yes
12513 ac_cv_mingw_header_libxml_xmlsave_h=no
12515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12516 CC=$ac_wine_check_headers_saved_cc
12517 ac_exeext=$ac_wine_check_headers_saved_exeext
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12520 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12521 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12526 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12527 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12529 printf %s "(cached) " >&6
12531 ac_wine_check_headers_saved_cc=$CC
12532 ac_wine_check_headers_saved_exeext=$ac_exeext
12533 eval CC=\$${wine_arch}_CC
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 #include <libxml/SAX2.h>
12547 if ac_fn_c_try_compile "$LINENO"
12549 ac_cv_mingw_header_libxml_SAX2_h=yes
12551 ac_cv_mingw_header_libxml_SAX2_h=no
12553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12554 CC=$ac_wine_check_headers_saved_cc
12555 ac_exeext=$ac_wine_check_headers_saved_exeext
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12558 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12559 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12563 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"
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12566 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12567 if test ${ac_cv_mingw_lib_xml2+y}
12569 printf %s "(cached) " >&6
12571 ac_wine_check_headers_saved_cc=$CC
12572 ac_wine_check_headers_saved_exeext=$ac_exeext
12573 ac_wine_check_headers_saved_libs=$LIBS
12574 eval CC=\$${wine_arch}_CC
12576 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12583 char xmlFirstElementChild ();
12587 return xmlFirstElementChild ();
12592 if ac_fn_c_try_link "$LINENO"
12594 ac_cv_mingw_lib_xml2=yes
12596 ac_cv_mingw_lib_xml2=no
12598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12599 conftest$ac_exeext conftest.$ac_ext
12600 CC=$ac_wine_check_headers_saved_cc
12601 ac_exeext=$ac_wine_check_headers_saved_exeext
12602 LIBS=$ac_wine_check_headers_saved_libs
12604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12605 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12606 if test "x$ac_cv_mingw_lib_xml2" = xyes
12610 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12616 CPPFLAGS=$ac_save_CPPFLAGS
12618 if test "x$XML2_PE_LIBS" = "x"
12620 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12623 if ${XSLT_PE_CFLAGS:+false} :
12625 if test ${MINGW_PKG_CONFIG+y}
12627 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12630 if ${XSLT_PE_LIBS:+false} :
12632 if test ${MINGW_PKG_CONFIG+y}
12634 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12637 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12638 ac_save_CPPFLAGS=$CPPFLAGS
12639 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12641 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12642 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12644 printf %s "(cached) " >&6
12646 ac_wine_check_headers_saved_cc=$CC
12647 ac_wine_check_headers_saved_exeext=$ac_exeext
12648 eval CC=\$${wine_arch}_CC
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 #include <libxslt/pattern.h>
12662 if ac_fn_c_try_compile "$LINENO"
12664 ac_cv_mingw_header_libxslt_pattern_h=yes
12666 ac_cv_mingw_header_libxslt_pattern_h=no
12668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12669 CC=$ac_wine_check_headers_saved_cc
12670 ac_exeext=$ac_wine_check_headers_saved_exeext
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12673 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12674 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12679 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12680 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12682 printf %s "(cached) " >&6
12684 ac_wine_check_headers_saved_cc=$CC
12685 ac_wine_check_headers_saved_exeext=$ac_exeext
12686 eval CC=\$${wine_arch}_CC
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 #include <libxslt/transform.h>
12700 if ac_fn_c_try_compile "$LINENO"
12702 ac_cv_mingw_header_libxslt_transform_h=yes
12704 ac_cv_mingw_header_libxslt_transform_h=no
12706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12707 CC=$ac_wine_check_headers_saved_cc
12708 ac_exeext=$ac_wine_check_headers_saved_exeext
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12711 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12712 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12716 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12719 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12720 if test ${ac_cv_mingw_lib_xslt+y}
12722 printf %s "(cached) " >&6
12724 ac_wine_check_headers_saved_cc=$CC
12725 ac_wine_check_headers_saved_exeext=$ac_exeext
12726 ac_wine_check_headers_saved_libs=$LIBS
12727 eval CC=\$${wine_arch}_CC
12729 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 char xsltCompilePattern ();
12740 return xsltCompilePattern ();
12745 if ac_fn_c_try_link "$LINENO"
12747 ac_cv_mingw_lib_xslt=yes
12749 ac_cv_mingw_lib_xslt=no
12751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12752 conftest$ac_exeext conftest.$ac_ext
12753 CC=$ac_wine_check_headers_saved_cc
12754 ac_exeext=$ac_wine_check_headers_saved_exeext
12755 LIBS=$ac_wine_check_headers_saved_libs
12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12758 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12759 if test "x$ac_cv_mingw_lib_xslt" = xyes
12763 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12769 CPPFLAGS=$ac_save_CPPFLAGS
12771 if test "x$XSLT_PE_LIBS" = "x"
12773 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12776 if ${VKD3D_PE_CFLAGS:+false} :
12778 if test ${MINGW_PKG_CONFIG+y}
12780 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12783 if ${VKD3D_PE_LIBS:+false} :
12785 if test ${MINGW_PKG_CONFIG+y}
12787 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12790 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12791 ac_save_CPPFLAGS=$CPPFLAGS
12792 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12794 printf %s "checking for MinGW vkd3d.h... " >&6; }
12795 if test ${ac_cv_mingw_header_vkd3d_h+y}
12797 printf %s "(cached) " >&6
12799 ac_wine_check_headers_saved_cc=$CC
12800 ac_wine_check_headers_saved_exeext=$ac_exeext
12801 eval CC=\$${wine_arch}_CC
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12815 if ac_fn_c_try_compile "$LINENO"
12817 ac_cv_mingw_header_vkd3d_h=yes
12819 ac_cv_mingw_header_vkd3d_h=no
12821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12822 CC=$ac_wine_check_headers_saved_cc
12823 ac_exeext=$ac_wine_check_headers_saved_exeext
12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12826 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12827 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12832 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12833 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12835 printf %s "(cached) " >&6
12837 ac_wine_check_headers_saved_cc=$CC
12838 ac_wine_check_headers_saved_exeext=$ac_exeext
12839 eval CC=\$${wine_arch}_CC
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 #include <vkd3d_shader.h>
12853 if ac_fn_c_try_compile "$LINENO"
12855 ac_cv_mingw_header_vkd3d_shader_h=yes
12857 ac_cv_mingw_header_vkd3d_shader_h=no
12859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12860 CC=$ac_wine_check_headers_saved_cc
12861 ac_exeext=$ac_wine_check_headers_saved_exeext
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12864 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12865 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12869 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12872 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12873 if test ${ac_cv_mingw_lib_vkd3d+y}
12875 printf %s "(cached) " >&6
12877 ac_wine_check_headers_saved_cc=$CC
12878 ac_wine_check_headers_saved_exeext=$ac_exeext
12879 ac_wine_check_headers_saved_libs=$LIBS
12880 eval CC=\$${wine_arch}_CC
12882 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 char vkd3d_set_log_callback ();
12893 return vkd3d_set_log_callback ();
12898 if ac_fn_c_try_link "$LINENO"
12900 ac_cv_mingw_lib_vkd3d=yes
12902 ac_cv_mingw_lib_vkd3d=no
12904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12905 conftest$ac_exeext conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12908 LIBS=$ac_wine_check_headers_saved_libs
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12911 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12912 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12919 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12920 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12922 printf %s "(cached) " >&6
12924 ac_wine_check_headers_saved_cc=$CC
12925 ac_wine_check_headers_saved_exeext=$ac_exeext
12926 ac_wine_check_headers_saved_libs=$LIBS
12927 eval CC=\$${wine_arch}_CC
12929 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 char vkd3d_shader_serialize_dxbc ();
12940 return vkd3d_shader_serialize_dxbc ();
12945 if ac_fn_c_try_link "$LINENO"
12947 ac_cv_mingw_lib_vkd3d_shader=yes
12949 ac_cv_mingw_lib_vkd3d_shader=no
12951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12952 conftest$ac_exeext conftest.$ac_ext
12953 CC=$ac_wine_check_headers_saved_cc
12954 ac_exeext=$ac_wine_check_headers_saved_exeext
12955 LIBS=$ac_wine_check_headers_saved_libs
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12958 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12959 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12965 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12974 CPPFLAGS=$ac_save_CPPFLAGS
12976 if test "x$VKD3D_PE_LIBS" = "x"
12978 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12981 if ${ZLIB_PE_CFLAGS:+false} :
12983 if test ${MINGW_PKG_CONFIG+y}
12985 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12988 if ${ZLIB_PE_LIBS:+false} :
12990 if test ${MINGW_PKG_CONFIG+y}
12992 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12995 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12996 ac_save_CPPFLAGS=$CPPFLAGS
12997 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12999 printf %s "checking for MinGW zlib.h... " >&6; }
13000 if test ${ac_cv_mingw_header_zlib_h+y}
13002 printf %s "(cached) " >&6
13004 ac_wine_check_headers_saved_cc=$CC
13005 ac_wine_check_headers_saved_exeext=$ac_exeext
13006 eval CC=\$${wine_arch}_CC
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13020 if ac_fn_c_try_compile "$LINENO"
13022 ac_cv_mingw_header_zlib_h=yes
13024 ac_cv_mingw_header_zlib_h=no
13026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13027 CC=$ac_wine_check_headers_saved_cc
13028 ac_exeext=$ac_wine_check_headers_saved_exeext
13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13031 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13032 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13035 printf %s "checking for inflate in MinGW -lz... " >&6; }
13036 if test ${ac_cv_mingw_lib_z+y}
13038 printf %s "(cached) " >&6
13040 ac_wine_check_headers_saved_cc=$CC
13041 ac_wine_check_headers_saved_exeext=$ac_exeext
13042 ac_wine_check_headers_saved_libs=$LIBS
13043 eval CC=\$${wine_arch}_CC
13045 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13049 /* Override any GCC internal prototype to avoid an error.
13050 Use char because int might match the return type of a GCC
13051 builtin and then its argument prototype would still apply. */
13061 if ac_fn_c_try_link "$LINENO"
13063 ac_cv_mingw_lib_z=yes
13065 ac_cv_mingw_lib_z=no
13067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13068 conftest$ac_exeext conftest.$ac_ext
13069 CC=$ac_wine_check_headers_saved_cc
13070 ac_exeext=$ac_wine_check_headers_saved_exeext
13071 LIBS=$ac_wine_check_headers_saved_libs
13073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13074 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13075 if test "x$ac_cv_mingw_lib_z" = xyes
13079 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13082 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13084 CPPFLAGS=$ac_save_CPPFLAGS
13086 if test "x$ZLIB_PE_LIBS" = "x"
13088 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13092 if ${FAUDIO_PE_LIBS:+false} :
13094 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13095 if ${FAUDIO_PE_CFLAGS:+false} :
13097 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13107 if ${GSM_PE_LIBS:+false} :
13110 if ${GSM_PE_CFLAGS:+false} :
13112 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13122 if ${JPEG_PE_LIBS:+false} :
13125 if ${JPEG_PE_CFLAGS:+false} :
13127 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13137 if ${JXR_PE_LIBS:+false} :
13140 if ${JXR_PE_CFLAGS:+false} :
13142 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13152 if ${LCMS2_PE_LIBS:+false} :
13154 LCMS2_PE_LIBS=lcms2
13155 if ${LCMS2_PE_CFLAGS:+false} :
13157 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13167 if ${LDAP_PE_LIBS:+false} :
13170 if ${LDAP_PE_CFLAGS:+false} :
13172 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13182 if ${MPG123_PE_LIBS:+false} :
13184 MPG123_PE_LIBS=mpg123
13185 if ${MPG123_PE_CFLAGS:+false} :
13187 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13197 if ${MUSL_PE_LIBS:+false} :
13200 if ${MUSL_PE_CFLAGS:+false} :
13209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13212 if ${PNG_PE_LIBS:+false} :
13214 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13215 if ${PNG_PE_CFLAGS:+false} :
13217 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13227 if ${TIFF_PE_LIBS:+false} :
13229 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13230 if ${TIFF_PE_CFLAGS:+false} :
13232 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13242 if ${VKD3D_PE_LIBS:+false} :
13244 VKD3D_PE_LIBS=vkd3d
13245 if ${VKD3D_PE_CFLAGS:+false} :
13247 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13257 if ${XML2_PE_LIBS:+false} :
13260 if ${XML2_PE_CFLAGS:+false} :
13262 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13272 if ${XSLT_PE_LIBS:+false} :
13275 if ${XSLT_PE_CFLAGS:+false} :
13277 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13287 if ${ZLIB_PE_LIBS:+false} :
13290 if ${ZLIB_PE_CFLAGS:+false} :
13292 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13302 if ${ZYDIS_PE_LIBS:+false} :
13304 ZYDIS_PE_LIBS=zydis
13305 if ${ZYDIS_PE_CFLAGS:+false} :
13307 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13319 if test "$ac_cv_header_pthread_h" = "yes"
13321 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13322 if test "x$ac_cv_func_pthread_create" = xyes
13326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13327 printf %s "checking for pthread_create in -lpthread... " >&6; }
13328 if test ${ac_cv_lib_pthread_pthread_create+y}
13330 printf %s "(cached) " >&6
13332 ac_check_lib_save_LIBS=$LIBS
13333 LIBS="-lpthread $LIBS"
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13337 /* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13340 char pthread_create ();
13344 return pthread_create ();
13349 if ac_fn_c_try_link "$LINENO"
13351 ac_cv_lib_pthread_pthread_create=yes
13353 ac_cv_lib_pthread_pthread_create=no
13355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_lib_save_LIBS
13359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13360 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13361 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13363 PTHREAD_LIBS="-lpthread"
13370 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13372 case "x$with_pthread" in
13374 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13375 Wine cannot support threads without libpthread.
13376 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13383 ac_cpp='$CPP $CPPFLAGS'
13384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13388 printf %s "checking how to run the C preprocessor... " >&6; }
13389 # On Suns, sometimes $CPP names a directory.
13390 if test -n "$CPP" && test -d "$CPP"; then
13393 if test -z "$CPP"; then
13394 if test ${ac_cv_prog_CPP+y}
13396 printf %s "(cached) " >&6
13398 # Double quotes because $CC needs to be expanded
13399 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13401 ac_preproc_ok=false
13402 for ac_c_preproc_warn_flag in '' yes
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # On the NeXT, cc -E runs the code through the compiler's parser,
13407 # not just through cpp. "Syntax error" is here to catch this case.
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #include <limits.h>
13413 if ac_fn_c_try_cpp "$LINENO"
13417 # Broken: fails on valid input.
13420 rm -f conftest.err conftest.i conftest.$ac_ext
13422 # OK, works on sane cases. Now check whether nonexistent headers
13423 # can be detected and how.
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 #include <ac_nonexistent.h>
13428 if ac_fn_c_try_cpp "$LINENO"
13430 # Broken: success on invalid input.
13433 # Passes both tests.
13437 rm -f conftest.err conftest.i conftest.$ac_ext
13440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13441 rm -f conftest.i conftest.err conftest.
$ac_ext
13448 ac_cv_prog_CPP
=$CPP
13451 CPP
=$ac_cv_prog_CPP
13453 ac_cv_prog_CPP
=$CPP
13455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13456 printf "%s\n" "$CPP" >&6; }
13457 ac_preproc_ok
=false
13458 for ac_c_preproc_warn_flag
in '' yes
13460 # Use a header file that comes with gcc, so configuring glibc
13461 # with a fresh cross-compiler works.
13462 # On the NeXT, cc -E runs the code through the compiler's parser,
13463 # not just through cpp. "Syntax error" is here to catch this case.
13464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13466 #include <limits.h>
13469 if ac_fn_c_try_cpp
"$LINENO"
13473 # Broken: fails on valid input.
13476 rm -f conftest.err conftest.i conftest.
$ac_ext
13478 # OK, works on sane cases. Now check whether nonexistent headers
13479 # can be detected and how.
13480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13482 #include <ac_nonexistent.h>
13484 if ac_fn_c_try_cpp
"$LINENO"
13486 # Broken: success on invalid input.
13489 # Passes both tests.
13493 rm -f conftest.err conftest.i conftest.
$ac_ext
13496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13497 rm -f conftest.i conftest.err conftest.
$ac_ext
13502 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13503 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13504 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13505 See \`config.log' for more details" "$LINENO" 5; }
13509 ac_cpp
='$CPP $CPPFLAGS'
13510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13516 printf %s
"checking for X... " >&6; }
13519 # Check whether --with-x was given.
13520 if test ${with_x+y}
13525 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13526 if test "x$with_x" = xno
; then
13527 # The user explicitly disabled X.
13530 case $x_includes,$x_libraries in #(
13531 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13532 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13534 printf %s
"(cached) " >&6
13536 # One or both of the vars are not set, and there is no cached value.
13539 # Do we need to do anything special at all?
13542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13544 #include <X11/Xlib.h>
13553 if ac_fn_c_try_link
"$LINENO"
13555 # We can compile and link X programs with no special options.
13559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13560 conftest
$ac_exeext conftest.
$ac_ext
13561 LIBS
="$ac_save_LIBS"
13562 # If that didn't work, only try xmkmf and file system searches
13563 # for native compilation.
13564 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13566 rm -f -r conftest.dir
13567 if mkdir conftest.dir
; then
13569 cat >Imakefile
<<'_ACEOF'
13571 @echo incroot='${INCROOT}'
13573 @echo usrlibdir='${USRLIBDIR}'
13575 @echo libdir='${LIBDIR}'
13577 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13579 for ac_var
in incroot usrlibdir libdir
; do
13580 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13582 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13583 for ac_extension
in a so sl dylib la dll
; do
13584 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13585 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13586 ac_im_usrlibdir
=$ac_im_libdir; break
13589 # Screen out bogus values from the imake configuration. They are
13590 # bogus both because they are the default anyway, and because
13591 # using them would break gcc on systems where it needs fixed includes.
13592 case $ac_im_incroot in
13593 /usr
/include
) ac_x_includes
= ;;
13594 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13596 case $ac_im_usrlibdir in
13597 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13598 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13602 rm -f -r conftest.dir
13605 # Standard set of common directories for X headers.
13606 # Check X11 before X11Rn because it is often a symlink to the current release.
13620 /usr/local/X11/include
13621 /usr/local/X11R7/include
13622 /usr/local/X11R6/include
13623 /usr/local/X11R5/include
13624 /usr/local/X11R4/include
13626 /usr/local/include/X11
13627 /usr/local/include/X11R7
13628 /usr/local/include/X11R6
13629 /usr/local/include/X11R5
13630 /usr/local/include/X11R4
13636 /usr/XFree86/include/X11
13640 /usr/unsupported/include
13641 /usr/athena/include
13642 /usr/local/x11r5/include
13643 /usr/lpp/Xamples/include
13645 /usr/openwin/include
13646 /usr/openwin/share/include'
13648 if test "$ac_x_includes" = no
; then
13649 # Guess where to find include files, by looking for Xlib.h.
13650 # First, try using that file with no special directory specified.
13651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13653 #include <X11/Xlib.h>
13655 if ac_fn_c_try_cpp
"$LINENO"
13657 # We can compile using X headers with no special include directory.
13660 for ac_dir
in $ac_x_header_dirs; do
13661 if test -r "$ac_dir/X11/Xlib.h"; then
13662 ac_x_includes
=$ac_dir
13667 rm -f conftest.err conftest.i conftest.
$ac_ext
13668 fi # $ac_x_includes = no
13670 if test "$ac_x_libraries" = no
; then
13671 # Check for the libraries.
13672 # See if we find them without any special options.
13673 # Don't add to $LIBS permanently.
13676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 #include <X11/Xlib.h>
13687 if ac_fn_c_try_link
"$LINENO"
13690 # We can link X programs with no special library path.
13694 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13696 # Don't even attempt the hair of trying to link an X program!
13697 for ac_extension
in a so sl dylib la dll
; do
13698 if test -r "$ac_dir/libX11.$ac_extension"; then
13699 ac_x_libraries
=$ac_dir
13705 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 fi # $ac_x_libraries = no
13710 # Record the results.
13711 case $ac_x_includes,$ac_x_libraries in #(
13712 no
,* |
*,no |
*\'*) :
13713 # Didn't find X, or a directory has "'" in its name.
13714 ac_cv_have_x
="have_x=no" ;; #(
13716 # Record where we found X for the cache.
13717 ac_cv_have_x
="have_x=yes\
13718 ac_x_includes='$ac_x_includes'\
13719 ac_x_libraries='$ac_x_libraries'" ;;
13725 eval "$ac_cv_have_x"
13728 if test "$have_x" != yes; then
13729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13730 printf "%s\n" "$have_x" >&6; }
13733 # If each of the values was on the command line, it overrides each guess.
13734 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13735 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13736 # Update the cache value to reflect the command line values.
13737 ac_cv_have_x
="have_x=yes\
13738 ac_x_includes='$x_includes'\
13739 ac_x_libraries='$x_libraries'"
13740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13741 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13744 if test "$no_x" = yes; then
13745 # Not all programs may use this symbol, but it does not hurt to define it.
13747 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13749 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13751 if test -n "$x_includes"; then
13752 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13755 # It would also be nice to do this for all -L options, not just this one.
13756 if test -n "$x_libraries"; then
13757 X_LIBS
="$X_LIBS -L$x_libraries"
13758 # For Solaris; some versions of Sun CC require a space after -R and
13759 # others require no space. Words are not sufficient . . . .
13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13761 printf %s
"checking whether -R must be followed by a space... " >&6; }
13762 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13763 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13764 ac_c_werror_flag
=yes
13765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13776 if ac_fn_c_try_link
"$LINENO"
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779 printf "%s\n" "no" >&6; }
13780 X_LIBS
="$X_LIBS -R$x_libraries"
13782 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13794 if ac_fn_c_try_link
"$LINENO"
13796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13797 printf "%s\n" "yes" >&6; }
13798 X_LIBS
="$X_LIBS -R $x_libraries"
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13801 printf "%s\n" "neither works" >&6; }
13803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13804 conftest
$ac_exeext conftest.
$ac_ext
13806 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13809 LIBS
=$ac_xsave_LIBS
13812 # Check for system-dependent libraries X programs must link with.
13813 # Do this before checking for the system-independent R6 libraries
13814 # (-lICE), since we may need -lsocket or whatever for X linking.
13816 if test "$ISC" = yes; then
13817 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13819 # Martyn Johnson says this is needed for Ultrix, if the X
13820 # libraries were built with DECnet support. And Karl Berry says
13821 # the Alpha needs dnet_stub (dnet does not exist).
13822 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 char XOpenDisplay ();
13833 return XOpenDisplay ();
13838 if ac_fn_c_try_link
"$LINENO"
13842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13843 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13844 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13846 printf %s
"(cached) " >&6
13848 ac_check_lib_save_LIBS
=$LIBS
13849 LIBS
="-ldnet $LIBS"
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13860 return dnet_ntoa ();
13865 if ac_fn_c_try_link
"$LINENO"
13867 ac_cv_lib_dnet_dnet_ntoa
=yes
13869 ac_cv_lib_dnet_dnet_ntoa
=no
13871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13872 conftest
$ac_exeext conftest.
$ac_ext
13873 LIBS
=$ac_check_lib_save_LIBS
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13876 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13877 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13879 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13882 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13884 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13885 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13887 printf %s
"(cached) " >&6
13889 ac_check_lib_save_LIBS
=$LIBS
13890 LIBS
="-ldnet_stub $LIBS"
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13901 return dnet_ntoa ();
13906 if ac_fn_c_try_link
"$LINENO"
13908 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13910 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13912 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13913 conftest
$ac_exeext conftest.
$ac_ext
13914 LIBS
=$ac_check_lib_save_LIBS
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13917 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13918 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13926 conftest
$ac_exeext conftest.
$ac_ext
13927 LIBS
="$ac_xsave_LIBS"
13929 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13930 # to get the SysV transport functions.
13931 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13933 # The nsl library prevents programs from opening the X display
13934 # on Irix 5.2, according to T.E. Dickey.
13935 # The functions gethostbyname, getservbyname, and inet_addr are
13936 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13937 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13938 if test "x$ac_cv_func_gethostbyname" = xyes
13943 if test $ac_cv_func_gethostbyname = no
; then
13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13945 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13946 if test ${ac_cv_lib_nsl_gethostbyname+y}
13948 printf %s
"(cached) " >&6
13950 ac_check_lib_save_LIBS
=$LIBS
13952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 char gethostbyname ();
13962 return gethostbyname ();
13967 if ac_fn_c_try_link
"$LINENO"
13969 ac_cv_lib_nsl_gethostbyname
=yes
13971 ac_cv_lib_nsl_gethostbyname
=no
13973 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13974 conftest
$ac_exeext conftest.
$ac_ext
13975 LIBS
=$ac_check_lib_save_LIBS
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13978 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13979 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13981 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13984 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13986 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13987 if test ${ac_cv_lib_bsd_gethostbyname+y}
13989 printf %s
"(cached) " >&6
13991 ac_check_lib_save_LIBS
=$LIBS
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 char gethostbyname ();
14003 return gethostbyname ();
14008 if ac_fn_c_try_link
"$LINENO"
14010 ac_cv_lib_bsd_gethostbyname
=yes
14012 ac_cv_lib_bsd_gethostbyname
=no
14014 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 LIBS
=$ac_check_lib_save_LIBS
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14019 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14020 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14022 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14028 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14029 # socket/setsockopt and other routines are undefined under SCO ODT
14030 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14031 # on later versions), says Simon Leinen: it contains gethostby*
14032 # variants that don't use the name server (or something). -lsocket
14033 # must be given before -lnsl if both are needed. We assume that
14034 # if connect needs -lnsl, so does gethostbyname.
14035 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14036 if test "x$ac_cv_func_connect" = xyes
14041 if test $ac_cv_func_connect = no
; then
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14043 printf %s
"checking for connect in -lsocket... " >&6; }
14044 if test ${ac_cv_lib_socket_connect+y}
14046 printf %s
"(cached) " >&6
14048 ac_check_lib_save_LIBS
=$LIBS
14049 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14065 if ac_fn_c_try_link
"$LINENO"
14067 ac_cv_lib_socket_connect
=yes
14069 ac_cv_lib_socket_connect
=no
14071 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14072 conftest
$ac_exeext conftest.
$ac_ext
14073 LIBS
=$ac_check_lib_save_LIBS
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14076 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14077 if test "x$ac_cv_lib_socket_connect" = xyes
14079 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14084 # Guillermo Gomez says -lposix is necessary on A/UX.
14085 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14086 if test "x$ac_cv_func_remove" = xyes
14091 if test $ac_cv_func_remove = no
; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14093 printf %s
"checking for remove in -lposix... " >&6; }
14094 if test ${ac_cv_lib_posix_remove+y}
14096 printf %s
"(cached) " >&6
14098 ac_check_lib_save_LIBS
=$LIBS
14099 LIBS
="-lposix $LIBS"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14115 if ac_fn_c_try_link
"$LINENO"
14117 ac_cv_lib_posix_remove
=yes
14119 ac_cv_lib_posix_remove
=no
14121 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 LIBS
=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14126 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14127 if test "x$ac_cv_lib_posix_remove" = xyes
14129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14134 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14135 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14136 if test "x$ac_cv_func_shmat" = xyes
14141 if test $ac_cv_func_shmat = no
; then
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14143 printf %s
"checking for shmat in -lipc... " >&6; }
14144 if test ${ac_cv_lib_ipc_shmat+y}
14146 printf %s
"(cached) " >&6
14148 ac_check_lib_save_LIBS
=$LIBS
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14165 if ac_fn_c_try_link
"$LINENO"
14167 ac_cv_lib_ipc_shmat
=yes
14169 ac_cv_lib_ipc_shmat
=no
14171 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14172 conftest
$ac_exeext conftest.
$ac_ext
14173 LIBS
=$ac_check_lib_save_LIBS
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14176 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14177 if test "x$ac_cv_lib_ipc_shmat" = xyes
14179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14185 # Check for libraries that X11R6 Xt/Xaw programs need.
14186 ac_save_LDFLAGS
=$LDFLAGS
14187 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14189 # check for ICE first), but we must link in the order -lSM -lICE or
14190 # we get undefined symbols. So assume we have SM if we have ICE.
14191 # These have to be linked with before -lX11, unlike the other
14192 # libraries we check for below, so use a different variable.
14193 # John Interrante, Karl Berry
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14195 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14196 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14198 printf %s
"(cached) " >&6
14200 ac_check_lib_save_LIBS
=$LIBS
14201 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char IceConnectionNumber ();
14212 return IceConnectionNumber ();
14217 if ac_fn_c_try_link
"$LINENO"
14219 ac_cv_lib_ICE_IceConnectionNumber
=yes
14221 ac_cv_lib_ICE_IceConnectionNumber
=no
14223 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14224 conftest
$ac_exeext conftest.
$ac_ext
14225 LIBS
=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14228 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14229 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14231 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14234 LDFLAGS
=$ac_save_LDFLAGS
14239 if test "$have_x" = "yes"
14241 ac_save_CPPFLAGS
="$CPPFLAGS"
14242 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14245 printf %s
"checking for -lX11... " >&6; }
14246 if test ${ac_cv_lib_soname_X11+y}
14248 printf %s
"(cached) " >&6
14250 ac_check_soname_save_LIBS
=$LIBS
14251 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char XCreateWindow ();
14262 return XCreateWindow ();
14267 if ac_fn_c_try_link
"$LINENO"
14270 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14271 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'` ;;
14272 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14273 if ${ac_cv_lib_soname_X11:+false} :
14275 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14279 ac_cv_lib_soname_X11
=
14281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 LIBS
=$ac_check_soname_save_LIBS
14285 if ${ac_cv_lib_soname_X11:+false} :
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14288 printf "%s\n" "not found" >&6; }
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14292 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14294 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14299 printf %s
"checking for -lXext... " >&6; }
14300 if test ${ac_cv_lib_soname_Xext+y}
14302 printf %s
"(cached) " >&6
14304 ac_check_soname_save_LIBS
=$LIBS
14305 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 char XextCreateExtension ();
14316 return XextCreateExtension ();
14321 if ac_fn_c_try_link
"$LINENO"
14324 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14325 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'` ;;
14326 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14327 if ${ac_cv_lib_soname_Xext:+false} :
14329 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14333 ac_cv_lib_soname_Xext
=
14335 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14336 conftest
$ac_exeext conftest.
$ac_ext
14337 LIBS
=$ac_check_soname_save_LIBS
14339 if ${ac_cv_lib_soname_Xext:+false} :
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14342 printf "%s\n" "not found" >&6; }
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14346 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14348 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14350 X_LIBS
="$X_LIBS -lXext"
14352 X_LIBS
="$X_LIBS -lX11"
14354 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14355 # include <X11/Xlib.h>
14357 #ifdef HAVE_X11_XUTIL_H
14358 # include <X11/Xutil.h>
14361 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14363 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14367 # include <X11/Xlib.h>
14369 #ifdef HAVE_X11_XUTIL_H
14370 # include <X11/Xutil.h>
14373 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14375 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14378 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14379 # include <X11/Xlib.h>
14381 #ifdef HAVE_X11_XUTIL_H
14382 # include <X11/Xutil.h>
14385 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14387 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14390 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14391 # include <X11/Xlib.h>
14393 #ifdef HAVE_X11_XUTIL_H
14394 # include <X11/Xutil.h>
14397 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14399 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14402 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14403 # include <X11/Xlib.h>
14405 #ifdef HAVE_X11_XUTIL_H
14406 # include <X11/Xutil.h>
14409 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14411 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14414 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14415 # include <X11/Xlib.h>
14417 #ifdef HAVE_X11_XUTIL_H
14418 # include <X11/Xutil.h>
14421 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14423 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14426 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14427 # include <X11/Xlib.h>
14429 #ifdef HAVE_X11_XUTIL_H
14430 # include <X11/Xutil.h>
14433 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14435 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14438 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14439 # include <X11/Xlib.h>
14441 #ifdef HAVE_X11_XUTIL_H
14442 # include <X11/Xutil.h>
14445 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14451 # include <X11/Xlib.h>
14453 #ifdef HAVE_X11_XUTIL_H
14454 # include <X11/Xutil.h>
14457 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14459 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14462 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14469 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14471 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14481 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14487 # include <X11/Xlib.h>
14489 #ifdef HAVE_X11_XUTIL_H
14490 # include <X11/Xutil.h>
14493 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14499 # include <X11/Xlib.h>
14501 #ifdef HAVE_X11_XUTIL_H
14502 # include <X11/Xutil.h>
14505 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14507 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14510 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14511 # include <X11/Xlib.h>
14513 #ifdef HAVE_X11_XUTIL_H
14514 # include <X11/Xutil.h>
14517 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14519 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14522 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14523 # include <X11/Xlib.h>
14525 #ifdef HAVE_X11_XUTIL_H
14526 # include <X11/Xutil.h>
14529 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14531 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14536 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14539 printf %s
"checking for -lXcursor... " >&6; }
14540 if test ${ac_cv_lib_soname_Xcursor+y}
14542 printf %s
"(cached) " >&6
14544 ac_check_soname_save_LIBS
=$LIBS
14545 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 char XcursorImageLoadCursor ();
14556 return XcursorImageLoadCursor ();
14561 if ac_fn_c_try_link
"$LINENO"
14564 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14565 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'` ;;
14566 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14567 if ${ac_cv_lib_soname_Xcursor:+false} :
14569 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14573 ac_cv_lib_soname_Xcursor
=
14575 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14576 conftest
$ac_exeext conftest.
$ac_ext
14577 LIBS
=$ac_check_soname_save_LIBS
14579 if ${ac_cv_lib_soname_Xcursor:+false} :
14581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14582 printf "%s\n" "not found" >&6; }
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14586 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14588 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14593 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14595 case "x$with_xcursor" in
14596 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14598 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14599 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14604 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14607 printf %s
"checking for -lXi... " >&6; }
14608 if test ${ac_cv_lib_soname_Xi+y}
14610 printf %s
"(cached) " >&6
14612 ac_check_soname_save_LIBS
=$LIBS
14613 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14617 /* Override any GCC internal prototype to avoid an error.
14618 Use char because int might match the return type of a GCC
14619 builtin and then its argument prototype would still apply. */
14620 char XOpenDevice ();
14624 return XOpenDevice ();
14629 if ac_fn_c_try_link
"$LINENO"
14632 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14633 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'` ;;
14634 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14635 if ${ac_cv_lib_soname_Xi:+false} :
14637 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14641 ac_cv_lib_soname_Xi
=
14643 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14644 conftest
$ac_exeext conftest.
$ac_ext
14645 LIBS
=$ac_check_soname_save_LIBS
14647 if ${ac_cv_lib_soname_Xi:+false} :
14649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14650 printf "%s\n" "not found" >&6; }
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14654 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14656 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14661 if test "x$ac_cv_lib_soname_Xi" = "x"
14663 case "x$with_xinput" in
14664 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14666 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14667 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14672 if test "x$ac_cv_lib_soname_Xi" != x
14674 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14676 case "x$with_xinput2" in
14677 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14679 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14680 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14686 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14689 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14690 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14692 printf %s
"(cached) " >&6
14694 ac_check_lib_save_LIBS
=$LIBS
14695 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14702 char XShmQueryExtension ();
14706 return XShmQueryExtension ();
14711 if ac_fn_c_try_link
"$LINENO"
14713 ac_cv_lib_Xext_XShmQueryExtension
=yes
14715 ac_cv_lib_Xext_XShmQueryExtension
=no
14717 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14718 conftest
$ac_exeext conftest.
$ac_ext
14719 LIBS
=$ac_check_lib_save_LIBS
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14722 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14723 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14726 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14731 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14733 case "x$with_xshm" in
14734 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14736 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14737 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14742 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14745 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14746 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14748 printf %s
"(cached) " >&6
14750 ac_check_lib_save_LIBS
=$LIBS
14751 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 char XShapeQueryExtension ();
14762 return XShapeQueryExtension ();
14767 if ac_fn_c_try_link
"$LINENO"
14769 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14771 ac_cv_lib_Xext_XShapeQueryExtension
=no
14773 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14774 conftest
$ac_exeext conftest.
$ac_ext
14775 LIBS
=$ac_check_lib_save_LIBS
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14778 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14779 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14782 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14787 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14789 case "x$with_xshape" in
14790 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14792 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14793 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14798 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14801 printf %s
"checking for -lXxf86vm... " >&6; }
14802 if test ${ac_cv_lib_soname_Xxf86vm+y}
14804 printf %s
"(cached) " >&6
14806 ac_check_soname_save_LIBS
=$LIBS
14807 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XF86VidModeQueryExtension ();
14818 return XF86VidModeQueryExtension ();
14823 if ac_fn_c_try_link
"$LINENO"
14826 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14827 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'` ;;
14828 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14829 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14831 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14835 ac_cv_lib_soname_Xxf86vm
=
14837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14838 conftest
$ac_exeext conftest.
$ac_ext
14839 LIBS
=$ac_check_soname_save_LIBS
14841 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14844 printf "%s\n" "not found" >&6; }
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14848 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14850 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14855 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14857 case "x$with_xxf86vm" in
14858 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14860 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14861 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14866 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14869 printf %s
"checking for -lXrender... " >&6; }
14870 if test ${ac_cv_lib_soname_Xrender+y}
14872 printf %s
"(cached) " >&6
14874 ac_check_soname_save_LIBS
=$LIBS
14875 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XRenderQueryExtension ();
14886 return XRenderQueryExtension ();
14891 if ac_fn_c_try_link
"$LINENO"
14894 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_Xrender:+false} :
14899 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 ac_cv_lib_soname_Xrender
=
14905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14906 conftest
$ac_exeext conftest.
$ac_ext
14907 LIBS
=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_Xrender:+false} :
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 printf "%s\n" "not found" >&6; }
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14916 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14918 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14921 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14922 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14924 printf %s
"(cached) " >&6
14926 ac_check_lib_save_LIBS
=$LIBS
14927 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 char XRenderSetPictureTransform ();
14938 return XRenderSetPictureTransform ();
14943 if ac_fn_c_try_link
"$LINENO"
14945 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14947 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14949 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14950 conftest
$ac_exeext conftest.
$ac_ext
14951 LIBS
=$ac_check_lib_save_LIBS
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14954 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14955 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14958 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14963 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14964 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14966 printf %s
"(cached) " >&6
14968 ac_check_lib_save_LIBS
=$LIBS
14969 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 char XRenderCreateLinearGradient ();
14980 return XRenderCreateLinearGradient ();
14985 if ac_fn_c_try_link
"$LINENO"
14987 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14989 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14992 conftest
$ac_exeext conftest.
$ac_ext
14993 LIBS
=$ac_check_lib_save_LIBS
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14996 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14997 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15000 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15007 if test "x$ac_cv_lib_soname_Xrender" = "x"
15009 case "x$with_xrender" in
15010 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15012 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15013 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15018 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15022 #include <X11/Xlib.h>
15023 #include <X11/extensions/Xrandr.h>
15027 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15032 if ac_fn_c_try_compile
"$LINENO"
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15035 printf %s
"checking for -lXrandr... " >&6; }
15036 if test ${ac_cv_lib_soname_Xrandr+y}
15038 printf %s
"(cached) " >&6
15040 ac_check_soname_save_LIBS
=$LIBS
15041 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 char XRRQueryExtension ();
15052 return XRRQueryExtension ();
15057 if ac_fn_c_try_link
"$LINENO"
15060 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15061 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'` ;;
15062 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15063 if ${ac_cv_lib_soname_Xrandr:+false} :
15065 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15069 ac_cv_lib_soname_Xrandr
=
15071 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15072 conftest
$ac_exeext conftest.
$ac_ext
15073 LIBS
=$ac_check_soname_save_LIBS
15075 if ${ac_cv_lib_soname_Xrandr:+false} :
15077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15078 printf "%s\n" "not found" >&6; }
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15082 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15084 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15088 #include <X11/Xlib.h>
15089 #include <X11/extensions/Xrandr.h>
15093 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15098 if ac_fn_c_try_compile
"$LINENO"
15101 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15104 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15106 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15109 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15111 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15113 case "x$with_xrandr" in
15114 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15116 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15117 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15122 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <X11/Xlib.h>
15127 #include <X11/extensions/Xfixes.h>
15131 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15136 if ac_fn_c_try_compile
"$LINENO"
15138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15139 printf %s
"checking for -lXfixes... " >&6; }
15140 if test ${ac_cv_lib_soname_Xfixes+y}
15142 printf %s
"(cached) " >&6
15144 ac_check_soname_save_LIBS
=$LIBS
15145 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15149 /* Override any GCC internal prototype to avoid an error.
15150 Use char because int might match the return type of a GCC
15151 builtin and then its argument prototype would still apply. */
15152 char XFixesQueryVersion ();
15156 return XFixesQueryVersion ();
15161 if ac_fn_c_try_link
"$LINENO"
15164 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15165 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'` ;;
15166 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15167 if ${ac_cv_lib_soname_Xfixes:+false} :
15169 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15173 ac_cv_lib_soname_Xfixes
=
15175 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15176 conftest
$ac_exeext conftest.
$ac_ext
15177 LIBS
=$ac_check_soname_save_LIBS
15179 if ${ac_cv_lib_soname_Xfixes:+false} :
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15182 printf "%s\n" "not found" >&6; }
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15186 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15188 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15193 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15195 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15197 case "x$with_xfixes" in
15198 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15200 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15201 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15206 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 #include <X11/Xlib.h>
15211 #include <X11/extensions/Xinerama.h>
15215 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15220 if ac_fn_c_try_compile
"$LINENO"
15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15223 printf %s
"checking for -lXinerama... " >&6; }
15224 if test ${ac_cv_lib_soname_Xinerama+y}
15226 printf %s
"(cached) " >&6
15228 ac_check_soname_save_LIBS
=$LIBS
15229 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15233 /* Override any GCC internal prototype to avoid an error.
15234 Use char because int might match the return type of a GCC
15235 builtin and then its argument prototype would still apply. */
15236 char XineramaQueryScreens ();
15240 return XineramaQueryScreens ();
15245 if ac_fn_c_try_link
"$LINENO"
15248 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15249 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'` ;;
15250 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15251 if ${ac_cv_lib_soname_Xinerama:+false} :
15253 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15257 ac_cv_lib_soname_Xinerama
=
15259 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15260 conftest
$ac_exeext conftest.
$ac_ext
15261 LIBS
=$ac_check_soname_save_LIBS
15263 if ${ac_cv_lib_soname_Xinerama:+false} :
15265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15266 printf "%s\n" "not found" >&6; }
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15270 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15272 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15277 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15279 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15281 case "x$with_xinerama" in
15282 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15284 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15285 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15290 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15293 printf %s
"checking for -lXcomposite... " >&6; }
15294 if test ${ac_cv_lib_soname_Xcomposite+y}
15296 printf %s
"(cached) " >&6
15298 ac_check_soname_save_LIBS
=$LIBS
15299 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 char XCompositeRedirectWindow ();
15310 return XCompositeRedirectWindow ();
15315 if ac_fn_c_try_link
"$LINENO"
15318 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_Xcomposite:+false} :
15323 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15327 ac_cv_lib_soname_Xcomposite
=
15329 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15330 conftest
$ac_exeext conftest.
$ac_ext
15331 LIBS
=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_Xcomposite:+false} :
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15336 printf "%s\n" "not found" >&6; }
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15340 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15342 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15347 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15349 case "x$with_xcomposite" in
15350 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15352 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15353 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15358 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15359 #include <X11/Xlib.h>
15362 if test "x$ac_cv_member_XICCallback_callback" = xyes
15365 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15369 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15370 #include <X11/Xlib.h>
15373 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15376 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15384 if test "x$with_opengl" != "xno"
15386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15387 printf %s
"checking for -lGL... " >&6; }
15388 if test ${ac_cv_lib_soname_GL+y}
15390 printf %s
"(cached) " >&6
15392 ac_check_soname_save_LIBS
=$LIBS
15393 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 char glXCreateContext ();
15404 return glXCreateContext ();
15409 if ac_fn_c_try_link
"$LINENO"
15412 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15413 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'` ;;
15414 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15415 if ${ac_cv_lib_soname_GL:+false} :
15417 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15421 ac_cv_lib_soname_GL
=
15423 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15424 conftest
$ac_exeext conftest.
$ac_ext
15425 LIBS
=$ac_check_soname_save_LIBS
15427 if ${ac_cv_lib_soname_GL:+false} :
15429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15430 printf "%s\n" "not found" >&6; }
15431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15432 printf %s
"checking for -lGL... " >&6; }
15433 if test ${ac_cv_lib_soname_GL+y}
15435 printf %s
"(cached) " >&6
15437 ac_check_soname_save_LIBS
=$LIBS
15438 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"
15439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 char glXCreateContext ();
15449 return glXCreateContext ();
15454 if ac_fn_c_try_link
"$LINENO"
15457 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_GL:+false} :
15462 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15466 ac_cv_lib_soname_GL
=
15468 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15469 conftest
$ac_exeext conftest.
$ac_ext
15470 LIBS
=$ac_check_soname_save_LIBS
15472 if ${ac_cv_lib_soname_GL:+false} :
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15475 printf "%s\n" "not found" >&6; }
15476 if test -f /usr
/X11R
6/lib
/libGL.a
15478 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15479 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15481 opengl_msg
="No OpenGL library found on this system."
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15485 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15487 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15489 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"
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15493 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15495 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15499 if test "x$with_osmesa" != "xno"
15501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15502 printf %s
"checking for -lOSMesa... " >&6; }
15503 if test ${ac_cv_lib_soname_OSMesa+y}
15505 printf %s
"(cached) " >&6
15507 ac_check_soname_save_LIBS
=$LIBS
15508 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15515 char OSMesaGetProcAddress ();
15519 return OSMesaGetProcAddress ();
15524 if ac_fn_c_try_link
"$LINENO"
15527 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_OSMesa:+false} :
15532 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15536 ac_cv_lib_soname_OSMesa
=
15538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15539 conftest
$ac_exeext conftest.
$ac_ext
15540 LIBS
=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_OSMesa:+false} :
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 printf "%s\n" "not found" >&6; }
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15549 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15551 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15555 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15557 case "x$with_osmesa" in
15558 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15560 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15561 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15567 if test -n "$opengl_msg"
15569 case "x$with_opengl" in
15570 x
) as_fn_append wine_warnings
"|$opengl_msg
15571 OpenGL and Direct3D won't be supported." ;;
15573 *) as_fn_error $?
"$opengl_msg
15574 OpenGL and Direct3D won't be supported.
15575 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15580 CPPFLAGS
="$ac_save_CPPFLAGS"
15586 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15588 if test "x$X_LIBS" = "x"
15592 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15593 without X support, which probably isn't what you want. You will need
15594 to install ${notice_platform}development packages of Xlib at the very least.
15595 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15597 enable_winex11_drv
=${enable_winex11_drv:-no}
15600 if test "x$X_LIBS" = "x"
15603 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15605 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15606 This is an error since --with-x was requested." "$LINENO" 5 ;;
15608 enable_winex11_drv
=${enable_winex11_drv:-no}
15612 if test "x$with_wayland" != "xno"
15615 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15617 if test ${PKG_CONFIG+y}
15619 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15623 if ${WAYLAND_CLIENT_LIBS:+false} :
15625 if test ${PKG_CONFIG+y}
15627 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15634 if test -s conftest.err
; then
15635 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15636 cat conftest.err
>&5
15639 ac_save_CPPFLAGS
=$CPPFLAGS
15640 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15641 for ac_header
in wayland-client.h
15643 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15644 if test "x$ac_cv_header_wayland_client_h" = xyes
15646 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15648 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15649 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15651 printf %s
"(cached) " >&6
15653 ac_check_lib_save_LIBS
=$LIBS
15654 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 /* Override any GCC internal prototype to avoid an error.
15659 Use char because int might match the return type of a GCC
15660 builtin and then its argument prototype would still apply. */
15661 char wl_display_connect ();
15665 return wl_display_connect ();
15670 if ac_fn_c_try_link
"$LINENO"
15672 ac_cv_lib_wayland_client_wl_display_connect
=yes
15674 ac_cv_lib_wayland_client_wl_display_connect
=no
15676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15677 conftest
$ac_exeext conftest.
$ac_ext
15678 LIBS
=$ac_check_lib_save_LIBS
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15681 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15682 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15684 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15685 set dummy wayland-scanner
; ac_word
=$2
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15687 printf %s
"checking for $ac_word... " >&6; }
15688 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15690 printf %s
"(cached) " >&6
15692 case $WAYLAND_SCANNER in
15694 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15698 for as_dir
in $PATH
15701 case $as_dir in #(((
15704 *) as_dir
=$as_dir/ ;;
15706 for ac_exec_ext
in '' $ac_executable_extensions; do
15707 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15708 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15716 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`"
15720 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15721 if test -n "$WAYLAND_SCANNER"; then
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15723 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15726 printf "%s\n" "no" >&6; }
15731 WAYLAND_CLIENT_LIBS
=""
15737 CPPFLAGS
=$ac_save_CPPFLAGS
15740 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15742 case "x$with_wayland" in
15743 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15745 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15746 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15748 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15751 if test "$ac_cv_header_CL_cl_h" = "yes"
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15754 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15755 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15757 printf %s
"(cached) " >&6
15759 ac_check_lib_save_LIBS
=$LIBS
15760 LIBS
="-lOpenCL $LIBS"
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15767 char clGetPlatformInfo ();
15771 return clGetPlatformInfo ();
15776 if ac_fn_c_try_link
"$LINENO"
15778 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15780 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15783 conftest
$ac_exeext conftest.
$ac_ext
15784 LIBS
=$ac_check_lib_save_LIBS
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15787 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15790 OPENCL_LIBS
="-lOpenCL"
15795 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15797 case "x$with_opencl" in
15798 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15800 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15801 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15803 enable_opencl
=${enable_opencl:-no}
15806 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15809 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15810 if test ${ac_cv_lib_pcap_pcap_init+y}
15812 printf %s
"(cached) " >&6
15814 ac_check_lib_save_LIBS
=$LIBS
15815 LIBS
="-lpcap $LIBS"
15816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15817 /* end confdefs.h. */
15819 /* Override any GCC internal prototype to avoid an error.
15820 Use char because int might match the return type of a GCC
15821 builtin and then its argument prototype would still apply. */
15826 return pcap_init ();
15831 if ac_fn_c_try_link
"$LINENO"
15833 ac_cv_lib_pcap_pcap_init
=yes
15835 ac_cv_lib_pcap_pcap_init
=no
15837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15838 conftest
$ac_exeext conftest.
$ac_ext
15839 LIBS
=$ac_check_lib_save_LIBS
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15842 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15843 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15850 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15852 case "x$with_pcap" in
15853 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15855 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15856 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15858 enable_wpcap
=${enable_wpcap:-no}
15861 if test "x$with_pcsclite" != "xno"
15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15864 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15865 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15867 printf %s
"(cached) " >&6
15869 ac_check_lib_save_LIBS
=$LIBS
15870 LIBS
="-lpcsclite $LIBS"
15871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15874 /* Override any GCC internal prototype to avoid an error.
15875 Use char because int might match the return type of a GCC
15876 builtin and then its argument prototype would still apply. */
15877 char SCardEstablishContext ();
15881 return SCardEstablishContext ();
15886 if ac_fn_c_try_link
"$LINENO"
15888 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15890 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15893 conftest
$ac_exeext conftest.
$ac_ext
15894 LIBS
=$ac_check_lib_save_LIBS
15896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15897 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15898 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15900 PCSCLITE_LIBS
="-lpcsclite"
15905 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15907 case "x$with_pcsclite" in
15908 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15910 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15911 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15913 enable_winscard
=${enable_winscard:-no}
15916 if test "x$with_inotify" != "xno"
15919 if ${INOTIFY_CFLAGS:+false} :
15921 if test ${PKG_CONFIG+y}
15923 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15927 if ${INOTIFY_LIBS:+false} :
15929 if test ${PKG_CONFIG+y}
15931 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15938 if test -s conftest.err
; then
15939 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15940 cat conftest.err
>&5
15943 ac_save_CPPFLAGS
=$CPPFLAGS
15944 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15945 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15946 if test "x$ac_cv_header_sys_inotify_h" = xyes
15948 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15953 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15954 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15956 printf %s
"(cached) " >&6
15958 ac_check_lib_save_LIBS
=$LIBS
15959 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 char inotify_add_watch ();
15970 return inotify_add_watch ();
15975 if ac_fn_c_try_link
"$LINENO"
15977 ac_cv_lib_inotify_inotify_add_watch
=yes
15979 ac_cv_lib_inotify_inotify_add_watch
=no
15981 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15982 conftest
$ac_exeext conftest.
$ac_ext
15983 LIBS
=$ac_check_lib_save_LIBS
15985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15986 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15987 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15994 CPPFLAGS
=$ac_save_CPPFLAGS
15997 if test "$ac_cv_header_sys_inotify_h" != "yes"
15999 case "x$with_inotify" in
16000 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16002 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16003 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16008 if test "x$with_dbus" != "xno"
16011 if ${DBUS_CFLAGS:+false} :
16013 if test ${PKG_CONFIG+y}
16015 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16019 if ${DBUS_LIBS:+false} :
16021 if test ${PKG_CONFIG+y}
16023 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16030 if test -s conftest.err
; then
16031 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16032 cat conftest.err
>&5
16035 ac_save_CPPFLAGS
=$CPPFLAGS
16036 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16037 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16038 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16041 printf %s
"checking for -ldbus-1... " >&6; }
16042 if test ${ac_cv_lib_soname_dbus_1+y}
16044 printf %s
"(cached) " >&6
16046 ac_check_soname_save_LIBS
=$LIBS
16047 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 char dbus_connection_close ();
16058 return dbus_connection_close ();
16063 if ac_fn_c_try_link
"$LINENO"
16066 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16067 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'` ;;
16068 *) 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'`
16069 if ${ac_cv_lib_soname_dbus_1:+false} :
16071 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16075 ac_cv_lib_soname_dbus_1
=
16077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16078 conftest
$ac_exeext conftest.
$ac_ext
16079 LIBS
=$ac_check_soname_save_LIBS
16081 if ${ac_cv_lib_soname_dbus_1:+false} :
16083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16084 printf "%s\n" "not found" >&6; }
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16088 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16090 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16098 CPPFLAGS
=$ac_save_CPPFLAGS
16102 darwin
*|macosx
*) ;;
16103 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16105 case "x$with_dbus" in
16106 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16108 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16109 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16115 if test "x$with_gnutls" != "xno"
16118 if ${GNUTLS_CFLAGS:+false} :
16120 if test ${PKG_CONFIG+y}
16122 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16126 if ${GNUTLS_LIBS:+false} :
16128 if test ${PKG_CONFIG+y}
16130 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16134 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16137 if test -s conftest.err
; then
16138 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16139 cat conftest.err
>&5
16142 ac_save_CPPFLAGS
=$CPPFLAGS
16143 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16144 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16145 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #include <gnutls/gnutls.h>
16150 #include <gnutls/crypto.h>
16154 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16159 if ac_fn_c_try_compile
"$LINENO"
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16162 printf %s
"checking for -lgnutls... " >&6; }
16163 if test ${ac_cv_lib_soname_gnutls+y}
16165 printf %s
"(cached) " >&6
16167 ac_check_soname_save_LIBS
=$LIBS
16168 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 char gnutls_global_init ();
16179 return gnutls_global_init ();
16184 if ac_fn_c_try_link
"$LINENO"
16187 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16188 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'` ;;
16189 *) 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'`
16190 if ${ac_cv_lib_soname_gnutls:+false} :
16192 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'`
16196 ac_cv_lib_soname_gnutls
=
16198 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16199 conftest
$ac_exeext conftest.
$ac_ext
16200 LIBS
=$ac_check_soname_save_LIBS
16202 if ${ac_cv_lib_soname_gnutls:+false} :
16204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16205 printf "%s\n" "not found" >&6; }
16208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16209 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16211 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16215 ac_wine_check_funcs_save_LIBS
="$LIBS"
16216 LIBS
="$LIBS $GNUTLS_LIBS"
16218 for ac_func
in gnutls_cipher_init
16220 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16221 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16223 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16226 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16230 LIBS
="$ac_wine_check_funcs_save_LIBS"
16232 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16237 CPPFLAGS
=$ac_save_CPPFLAGS
16240 if test "x$ac_cv_lib_soname_gnutls" = "x"
16242 case "x$with_gnutls" in
16243 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16245 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16246 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16251 if test "x$with_sane" != "xno"
16254 if ${SANE_CFLAGS:+false} :
16256 if test ${PKG_CONFIG+y}
16258 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16261 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16262 if ${SANE_LIBS:+false} :
16264 if test ${PKG_CONFIG+y}
16266 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16269 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16273 if test -s conftest.err
; then
16274 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16275 cat conftest.err
>&5
16278 ac_save_CPPFLAGS
=$CPPFLAGS
16279 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16280 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_sane_sane_h" = xyes
16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16284 printf %s
"checking for sane_init in -lsane... " >&6; }
16285 if test ${ac_cv_lib_sane_sane_init+y}
16287 printf %s
"(cached) " >&6
16289 ac_check_lib_save_LIBS
=$LIBS
16290 LIBS
="-lsane $SANE_LIBS $LIBS"
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16301 return sane_init ();
16306 if ac_fn_c_try_link
"$LINENO"
16308 ac_cv_lib_sane_sane_init
=yes
16310 ac_cv_lib_sane_sane_init
=no
16312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16313 conftest
$ac_exeext conftest.
$ac_ext
16314 LIBS
=$ac_check_lib_save_LIBS
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16317 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16318 if test "x$ac_cv_lib_sane_sane_init" = xyes
16325 CPPFLAGS
=$ac_save_CPPFLAGS
16328 if test "$ac_cv_lib_sane_sane_init" != "yes"
16330 case "x$with_sane" in
16331 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16333 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16334 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16336 enable_sane_ds
=${enable_sane_ds:-no}
16339 if test "x$with_usb" != "xno"
16342 if ${USB_CFLAGS:+false} :
16344 if test ${PKG_CONFIG+y}
16346 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16350 if ${USB_LIBS:+false} :
16352 if test ${PKG_CONFIG+y}
16354 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16358 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16361 if test -s conftest.err
; then
16362 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16363 cat conftest.err
>&5
16366 ac_save_CPPFLAGS
=$CPPFLAGS
16367 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16368 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16369 if test "x$ac_cv_header_libusb_h" = xyes
16371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16372 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16373 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16375 printf %s
"(cached) " >&6
16377 ac_check_lib_save_LIBS
=$LIBS
16378 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 char libusb_interrupt_event_handler ();
16389 return libusb_interrupt_event_handler ();
16394 if ac_fn_c_try_link
"$LINENO"
16396 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16398 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16400 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16401 conftest
$ac_exeext conftest.
$ac_ext
16402 LIBS
=$ac_check_lib_save_LIBS
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16405 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16406 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16417 CPPFLAGS
=$ac_save_CPPFLAGS
16420 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16422 case "x$with_usb" in
16423 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16425 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16426 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16428 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16431 if test "x$with_v4l2" != "xno"
16433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16434 printf %s
"checking for -lv4l2... " >&6; }
16435 if test ${ac_cv_lib_soname_v4l2+y}
16437 printf %s
"(cached) " >&6
16439 ac_check_soname_save_LIBS
=$LIBS
16440 LIBS
="-lv4l2 $LIBS"
16441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16451 return v4l2_open ();
16456 if ac_fn_c_try_link
"$LINENO"
16459 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16460 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'` ;;
16461 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16462 if ${ac_cv_lib_soname_v4l2:+false} :
16464 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16468 ac_cv_lib_soname_v4l2
=
16470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16471 conftest
$ac_exeext conftest.
$ac_ext
16472 LIBS
=$ac_check_soname_save_LIBS
16474 if ${ac_cv_lib_soname_v4l2:+false} :
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16477 printf "%s\n" "not found" >&6; }
16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16481 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16483 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16488 if test "x$ac_cv_lib_soname_v4l2" = "x"
16490 case "x$with_v4l2" in
16491 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16493 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16494 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16499 if test "x$with_gphoto" != "xno"
16502 if ${GPHOTO2_CFLAGS:+false} :
16504 if test ${PKG_CONFIG+y}
16506 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16509 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16510 if ${GPHOTO2_LIBS:+false} :
16512 if test ${PKG_CONFIG+y}
16514 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16517 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16518 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16521 if test -s conftest.err
; then
16522 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16523 cat conftest.err
>&5
16526 ac_save_CPPFLAGS
=$CPPFLAGS
16527 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16528 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16529 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16532 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16533 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16535 printf %s
"(cached) " >&6
16537 ac_check_lib_save_LIBS
=$LIBS
16538 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 char gp_camera_new ();
16549 return gp_camera_new ();
16554 if ac_fn_c_try_link
"$LINENO"
16556 ac_cv_lib_gphoto2_gp_camera_new
=yes
16558 ac_cv_lib_gphoto2_gp_camera_new
=no
16560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16561 conftest
$ac_exeext conftest.
$ac_ext
16562 LIBS
=$ac_check_lib_save_LIBS
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16565 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16566 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16573 CPPFLAGS
=$ac_save_CPPFLAGS
16576 if ${GPHOTO2_PORT_CFLAGS:+false} :
16578 if test ${PKG_CONFIG+y}
16580 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16583 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16584 if ${GPHOTO2_PORT_LIBS:+false} :
16586 if test ${PKG_CONFIG+y}
16588 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16591 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16592 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16595 if test -s conftest.err
; then
16596 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16597 cat conftest.err
>&5
16600 ac_save_CPPFLAGS
=$CPPFLAGS
16601 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16602 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16603 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16606 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16607 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16609 printf %s
"(cached) " >&6
16611 ac_check_lib_save_LIBS
=$LIBS
16612 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16616 /* Override any GCC internal prototype to avoid an error.
16617 Use char because int might match the return type of a GCC
16618 builtin and then its argument prototype would still apply. */
16619 char gp_port_info_list_new ();
16623 return gp_port_info_list_new ();
16628 if ac_fn_c_try_link
"$LINENO"
16630 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16632 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16634 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16635 conftest
$ac_exeext conftest.
$ac_ext
16636 LIBS
=$ac_check_lib_save_LIBS
16638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16639 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16640 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16643 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16646 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16650 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16653 CPPFLAGS
=$ac_save_CPPFLAGS
16656 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16658 case "x$with_gphoto" in
16659 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16661 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16662 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16664 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16666 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16668 case "x$with_gphoto" in
16669 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16671 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16678 if test "$ac_cv_header_resolv_h" = "yes"
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16681 printf %s
"checking for resolver library... " >&6; }
16682 if test ${ac_cv_have_resolv+y}
16684 printf %s
"(cached) " >&6
16686 ac_save_LIBS
="$LIBS"
16687 for lib
in '' -lresolv
16689 LIBS
="$lib $ac_save_LIBS"
16690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16692 #ifdef HAVE_NETINET_IN_H
16693 #include <netinet/in.h>
16695 #include <resolv.h>
16699 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16704 if ac_fn_c_try_link
"$LINENO"
16706 ac_cv_have_resolv
=${lib:-"none required"}
16708 ac_cv_have_resolv
="not found"
16710 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16711 conftest
$ac_exeext conftest.
$ac_ext
16712 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16714 LIBS
="$ac_save_LIBS"
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16717 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16719 case "$ac_cv_have_resolv" in
16723 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16726 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16728 RESOLV_LIBS
=$ac_cv_have_resolv
16732 if test "x$ac_cv_have_resolv" != "xnot found"
16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16735 printf %s
"checking for res_getservers... " >&6; }
16736 if test ${ac_cv_have_res_getservers+y}
16738 printf %s
"(cached) " >&6
16740 ac_save_LIBS
="$LIBS"
16741 LIBS
="$RESOLV_LIBS $LIBS"
16742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <resolv.h>
16748 res_getservers(NULL, NULL, 0);
16753 if ac_fn_c_try_link
"$LINENO"
16755 ac_cv_have_res_getservers
=yes
16757 ac_cv_have_res_getservers
=no
16759 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16760 conftest
$ac_exeext conftest.
$ac_ext
16761 LIBS
="$ac_save_LIBS"
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16764 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16765 if test "$ac_cv_have_res_getservers" = "yes"
16768 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16774 if test "x$with_freetype" != "xno"
16777 if ${FREETYPE_CFLAGS:+false} :
16779 if test ${PKG_CONFIG+y}
16781 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16784 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16785 if ${FREETYPE_LIBS:+false} :
16787 if test ${PKG_CONFIG+y}
16789 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16792 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16793 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16796 if test -s conftest.err
; then
16797 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16798 cat conftest.err
>&5
16801 ac_save_CPPFLAGS
=$CPPFLAGS
16802 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16803 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16804 if test "x$ac_cv_header_ft2build_h" = xyes
16806 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16810 if test "$ac_cv_header_ft2build_h" = "yes"
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16813 printf %s
"checking for -lfreetype... " >&6; }
16814 if test ${ac_cv_lib_soname_freetype+y}
16816 printf %s
"(cached) " >&6
16818 ac_check_soname_save_LIBS
=$LIBS
16819 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 char FT_Init_FreeType ();
16830 return FT_Init_FreeType ();
16835 if ac_fn_c_try_link
"$LINENO"
16838 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16839 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'` ;;
16840 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16841 if ${ac_cv_lib_soname_freetype:+false} :
16843 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16847 ac_cv_lib_soname_freetype
=
16849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16850 conftest
$ac_exeext conftest.
$ac_ext
16851 LIBS
=$ac_check_soname_save_LIBS
16853 if ${ac_cv_lib_soname_freetype:+false} :
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16856 printf "%s\n" "not found" >&6; }
16859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16860 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16862 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16865 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16867 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16868 #include FT_MODULE_H
16870 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16873 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16883 CPPFLAGS
=$ac_save_CPPFLAGS
16886 if test "x$ac_cv_lib_soname_freetype" = x
16888 case "x$with_freetype" in
16890 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16891 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16893 enable_fonts
=${enable_fonts:-no}
16896 ac_wine_check_funcs_save_LIBS
="$LIBS"
16897 LIBS
="$LIBS $PTHREAD_LIBS"
16898 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16899 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16901 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16905 LIBS
="$ac_wine_check_funcs_save_LIBS"
16907 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16909 if test "$ac_cv_header_gettext_po_h" = "yes"
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16912 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16913 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16915 printf %s
"(cached) " >&6
16917 ac_check_lib_save_LIBS
=$LIBS
16918 LIBS
="-lgettextpo $LIBS"
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16925 char po_message_msgctxt ();
16929 return po_message_msgctxt ();
16934 if ac_fn_c_try_link
"$LINENO"
16936 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16938 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16940 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16941 conftest
$ac_exeext conftest.
$ac_ext
16942 LIBS
=$ac_check_lib_save_LIBS
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16945 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16946 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16949 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16951 GETTEXTPO_LIBS
="-lgettextpo"
16956 if test "x$GETTEXTPO_LIBS" = "x"
16958 case "x$with_gettextpo" in
16959 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16961 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16962 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16966 if test "$srcdir" != .
16968 case "x$with_gettextpo" in
16969 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16971 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16972 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16978 if test "x$with_pulse" != "xno";
16981 if ${PULSE_CFLAGS:+false} :
16983 if test ${PKG_CONFIG+y}
16985 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16989 if ${PULSE_LIBS:+false} :
16991 if test ${PKG_CONFIG+y}
16993 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17000 if test -s conftest.err
; then
17001 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17002 cat conftest.err
>&5
17005 ac_save_CPPFLAGS
=$CPPFLAGS
17006 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17007 for ac_header
in pulse
/pulseaudio.h
17009 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17010 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17012 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17014 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17015 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17017 printf %s
"(cached) " >&6
17019 ac_check_lib_save_LIBS
=$LIBS
17020 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17024 /* Override any GCC internal prototype to avoid an error.
17025 Use char because int might match the return type of a GCC
17026 builtin and then its argument prototype would still apply. */
17027 char pa_stream_is_corked ();
17031 return pa_stream_is_corked ();
17036 if ac_fn_c_try_link
"$LINENO"
17038 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17040 ac_cv_lib_pulse_pa_stream_is_corked
=no
17042 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17043 conftest
$ac_exeext conftest.
$ac_ext
17044 LIBS
=$ac_check_lib_save_LIBS
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17047 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17048 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17060 CPPFLAGS
=$ac_save_CPPFLAGS
17063 if test -z "$PULSE_LIBS"
17065 case "x$with_pulse" in
17066 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17068 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17069 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17071 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17074 if test "x$with_gstreamer" != "xno"
17077 if ${GSTREAMER_CFLAGS:+false} :
17079 if test ${PKG_CONFIG+y}
17081 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17085 if ${GSTREAMER_LIBS:+false} :
17087 if test ${PKG_CONFIG+y}
17089 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17094 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
17095 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
17096 if test -s conftest.err
; then
17097 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17098 cat conftest.err
>&5
17101 ac_save_CPPFLAGS
=$CPPFLAGS
17102 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17103 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17104 if test "x$ac_cv_header_gst_gst_h" = xyes
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17107 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #include <gst/gst.h>
17114 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17119 if ac_fn_c_try_compile
"$LINENO"
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17122 printf "%s\n" "yes" >&6; }
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17124 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17125 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17127 printf %s
"(cached) " >&6
17129 ac_check_lib_save_LIBS
=$LIBS
17130 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17137 char gst_pad_new ();
17141 return gst_pad_new ();
17146 if ac_fn_c_try_link
"$LINENO"
17148 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17150 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17153 conftest
$ac_exeext conftest.
$ac_ext
17154 LIBS
=$ac_check_lib_save_LIBS
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17157 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17158 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17165 printf "%s\n" "no" >&6; }
17166 ac_glib2_broken
=yes
17167 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17169 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17172 CPPFLAGS
=$ac_save_CPPFLAGS
17175 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17177 case "x$with_gstreamer" in
17178 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17180 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17183 enable_winegstreamer
=${enable_winegstreamer:-no}
17188 if test "x$with_alsa" != "xno"
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17191 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17192 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17194 printf %s
"(cached) " >&6
17196 ac_check_lib_save_LIBS
=$LIBS
17197 LIBS
="-lasound $LIBS"
17198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17201 /* Override any GCC internal prototype to avoid an error.
17202 Use char because int might match the return type of a GCC
17203 builtin and then its argument prototype would still apply. */
17204 char snd_pcm_hw_params_get_access_mask ();
17208 return snd_pcm_hw_params_get_access_mask ();
17213 if ac_fn_c_try_link
"$LINENO"
17215 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17217 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17219 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17220 conftest
$ac_exeext conftest.
$ac_ext
17221 LIBS
=$ac_check_lib_save_LIBS
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17224 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17225 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #include <alsa/asoundlib.h>
17233 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17238 if ac_fn_c_try_compile
"$LINENO"
17240 ALSA_LIBS
="-lasound"
17242 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17246 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17248 if test "x$with_oss" != xno
17250 ac_save_CPPFLAGS
="$CPPFLAGS"
17251 if test -f /etc
/oss.conf
17255 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17256 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17257 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17258 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17260 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17262 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17265 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17267 OSS4_CFLAGS
="$ac_oss_incl"
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17270 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17271 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17273 printf %s
"(cached) " >&6
17275 ac_check_lib_save_LIBS
=$LIBS
17276 LIBS
="-lossaudio $LIBS"
17277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 char _oss_ioctl ();
17287 return _oss_ioctl ();
17292 if ac_fn_c_try_link
"$LINENO"
17294 ac_cv_lib_ossaudio__oss_ioctl
=yes
17296 ac_cv_lib_ossaudio__oss_ioctl
=no
17298 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17299 conftest
$ac_exeext conftest.
$ac_ext
17300 LIBS
=$ac_check_lib_save_LIBS
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17303 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17304 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17306 OSS4_LIBS
="-lossaudio"
17314 CPPFLAGS
="$ac_save_CPPFLAGS"
17316 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17318 case "x$with_oss" in
17319 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17321 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17322 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17324 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17327 if test "x$with_udev" != "xno"
17330 if ${UDEV_CFLAGS:+false} :
17332 if test ${PKG_CONFIG+y}
17334 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17338 if ${UDEV_LIBS:+false} :
17340 if test ${PKG_CONFIG+y}
17342 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17346 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17349 if test -s conftest.err
; then
17350 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17351 cat conftest.err
>&5
17354 ac_save_CPPFLAGS
=$CPPFLAGS
17355 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17356 for ac_header
in libudev.h
17358 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17359 if test "x$ac_cv_header_libudev_h" = xyes
17361 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17363 printf %s
"checking for udev_new in -ludev... " >&6; }
17364 if test ${ac_cv_lib_udev_udev_new+y}
17366 printf %s
"(cached) " >&6
17368 ac_check_lib_save_LIBS
=$LIBS
17369 LIBS
="-ludev $UDEV_LIBS $LIBS"
17370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17373 /* Override any GCC internal prototype to avoid an error.
17374 Use char because int might match the return type of a GCC
17375 builtin and then its argument prototype would still apply. */
17380 return udev_new ();
17385 if ac_fn_c_try_link
"$LINENO"
17387 ac_cv_lib_udev_udev_new
=yes
17389 ac_cv_lib_udev_udev_new
=no
17391 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17392 conftest
$ac_exeext conftest.
$ac_ext
17393 LIBS
=$ac_check_lib_save_LIBS
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17396 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17397 if test "x$ac_cv_lib_udev_udev_new" = xyes
17400 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17411 CPPFLAGS
=$ac_save_CPPFLAGS
17414 if test "x$UDEV_LIBS" = "x"
17416 case "x$with_udev" in
17417 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17419 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17420 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17425 if test "x$with_unwind" != xno
17428 if ${UNWIND_CFLAGS:+false} :
17430 if test ${PKG_CONFIG+y}
17432 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17436 if ${UNWIND_LIBS:+false} :
17438 if test ${PKG_CONFIG+y}
17440 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17444 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17447 if test -s conftest.err
; then
17448 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17449 cat conftest.err
>&5
17452 ac_save_CPPFLAGS
=$CPPFLAGS
17453 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17455 printf %s
"checking for unw_step... " >&6; }
17456 if test ${wine_cv_have_unw_step+y}
17458 printf %s
"(cached) " >&6
17460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #define UNW_LOCAL_ONLY
17463 #include <libunwind.h>
17467 unw_cursor_t cursor; unw_step( &cursor );
17472 if ac_fn_c_try_link
"$LINENO"
17474 wine_cv_have_unw_step
="yes"
17476 wine_cv_have_unw_step
="no"
17478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17479 conftest
$ac_exeext conftest.
$ac_ext
17481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17482 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17483 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17486 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17487 LIBS
="$UNWIND_LIBS $LIBS"
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17489 printf %s
"checking for unw_step in libunwind... " >&6; }
17490 if test ${wine_cv_have_libunwind_unw_step+y}
17492 printf %s
"(cached) " >&6
17494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #define UNW_LOCAL_ONLY
17497 #include <libunwind.h>
17501 unw_cursor_t cursor; unw_step( &cursor );
17506 if ac_fn_c_try_link
"$LINENO"
17508 wine_cv_have_libunwind_unw_step
="yes"
17510 wine_cv_have_libunwind_unw_step
="no"
17512 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17513 conftest
$ac_exeext conftest.
$ac_ext
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17516 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17519 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17520 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17523 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17526 CPPFLAGS
=$ac_save_CPPFLAGS
17530 aarch64
*|
*-darwin*)
17531 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17533 case "x$with_unwind" in
17534 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17536 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17537 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17543 if test "x$with_sdl" != "xno"
17546 if ${SDL2_CFLAGS:+false} :
17548 if test ${PKG_CONFIG+y}
17550 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17554 if ${SDL2_LIBS:+false} :
17556 if test ${PKG_CONFIG+y}
17558 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17562 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17565 if test -s conftest.err
; then
17566 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17567 cat conftest.err
>&5
17570 ac_save_CPPFLAGS
=$CPPFLAGS
17571 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17572 for ac_header
in SDL.h
17574 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17575 if test "x$ac_cv_header_SDL_h" = xyes
17577 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17579 printf %s
"checking for -lSDL2... " >&6; }
17580 if test ${ac_cv_lib_soname_SDL2+y}
17582 printf %s
"(cached) " >&6
17584 ac_check_soname_save_LIBS
=$LIBS
17585 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 /* Override any GCC internal prototype to avoid an error.
17590 Use char because int might match the return type of a GCC
17591 builtin and then its argument prototype would still apply. */
17596 return SDL_Init ();
17601 if ac_fn_c_try_link
"$LINENO"
17604 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17605 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'` ;;
17606 *) 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'`
17607 if ${ac_cv_lib_soname_SDL2:+false} :
17609 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17613 ac_cv_lib_soname_SDL2
=
17615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17616 conftest
$ac_exeext conftest.
$ac_ext
17617 LIBS
=$ac_check_soname_save_LIBS
17619 if ${ac_cv_lib_soname_SDL2:+false} :
17621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17622 printf "%s\n" "not found" >&6; }
17625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17626 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17628 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17635 CPPFLAGS
=$ac_save_CPPFLAGS
17638 if test "x$ac_cv_lib_soname_SDL2" = "x"
17640 case "x$with_sdl" in
17641 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17643 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17644 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17649 if test "x$with_capi" != "xno"
17652 if ${CAPI20_CFLAGS:+false} :
17654 if test ${PKG_CONFIG+y}
17656 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17660 if ${CAPI20_LIBS:+false} :
17662 if test ${PKG_CONFIG+y}
17664 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17671 if test -s conftest.err
; then
17672 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17673 cat conftest.err
>&5
17676 ac_save_CPPFLAGS
=$CPPFLAGS
17677 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17678 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17680 if test "x$ac_cv_header_capi20_h" = xyes
17682 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17685 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17687 if test "x$ac_cv_header_linux_capi_h" = xyes
17689 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17693 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17696 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17697 if test ${ac_cv_lib_capi20_capi20_register+y}
17699 printf %s
"(cached) " >&6
17701 ac_check_lib_save_LIBS
=$LIBS
17702 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17706 /* Override any GCC internal prototype to avoid an error.
17707 Use char because int might match the return type of a GCC
17708 builtin and then its argument prototype would still apply. */
17709 char capi20_register ();
17713 return capi20_register ();
17718 if ac_fn_c_try_link
"$LINENO"
17720 ac_cv_lib_capi20_capi20_register
=yes
17722 ac_cv_lib_capi20_capi20_register
=no
17724 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17725 conftest
$ac_exeext conftest.
$ac_ext
17726 LIBS
=$ac_check_lib_save_LIBS
17728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17729 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17730 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17738 CPPFLAGS
=$ac_save_CPPFLAGS
17741 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17743 case "x$with_capi" in
17744 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17746 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17747 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17749 enable_capi2032
=${enable_capi2032:-no}
17752 if test "x$with_cups" != "xno"
17755 if ${CUPS_CFLAGS:+false} :
17757 if test ${PKG_CONFIG+y}
17759 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17762 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17763 if ${CUPS_LIBS:+false} :
17765 if test ${PKG_CONFIG+y}
17767 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17770 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17771 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17774 if test -s conftest.err
; then
17775 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17776 cat conftest.err
>&5
17779 ac_save_CPPFLAGS
=$CPPFLAGS
17780 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17781 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17782 if test "x$ac_cv_header_cups_cups_h" = xyes
17784 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17787 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17788 if test "x$ac_cv_header_cups_ppd_h" = xyes
17790 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17794 if test "$ac_cv_header_cups_cups_h" = "yes"
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17797 printf %s
"checking for -lcups... " >&6; }
17798 if test ${ac_cv_lib_soname_cups+y}
17800 printf %s
"(cached) " >&6
17802 ac_check_soname_save_LIBS
=$LIBS
17803 LIBS
="-lcups $CUPS_LIBS $LIBS"
17804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17807 /* Override any GCC internal prototype to avoid an error.
17808 Use char because int might match the return type of a GCC
17809 builtin and then its argument prototype would still apply. */
17810 char cupsGetDefault ();
17814 return cupsGetDefault ();
17819 if ac_fn_c_try_link
"$LINENO"
17822 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17823 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'` ;;
17824 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17825 if ${ac_cv_lib_soname_cups:+false} :
17827 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17831 ac_cv_lib_soname_cups
=
17833 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17834 conftest
$ac_exeext conftest.
$ac_ext
17835 LIBS
=$ac_check_soname_save_LIBS
17837 if ${ac_cv_lib_soname_cups:+false} :
17839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17840 printf "%s\n" "not found" >&6; }
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17844 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17846 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17854 CPPFLAGS
=$ac_save_CPPFLAGS
17857 if test "x$ac_cv_lib_soname_cups" = "x"
17859 case "x$with_cups" in
17860 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17862 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17863 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17868 if test "x$with_fontconfig" != "xno"
17871 if ${FONTCONFIG_CFLAGS:+false} :
17873 if test ${PKG_CONFIG+y}
17875 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17878 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17879 if ${FONTCONFIG_LIBS:+false} :
17881 if test ${PKG_CONFIG+y}
17883 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17886 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17890 if test -s conftest.err
; then
17891 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17892 cat conftest.err
>&5
17895 ac_save_CPPFLAGS
=$CPPFLAGS
17896 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17897 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17898 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17900 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17904 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17907 printf %s
"checking for -lfontconfig... " >&6; }
17908 if test ${ac_cv_lib_soname_fontconfig+y}
17910 printf %s
"(cached) " >&6
17912 ac_check_soname_save_LIBS
=$LIBS
17913 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 /* Override any GCC internal prototype to avoid an error.
17918 Use char because int might match the return type of a GCC
17919 builtin and then its argument prototype would still apply. */
17929 if ac_fn_c_try_link
"$LINENO"
17932 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17933 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'` ;;
17934 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17935 if ${ac_cv_lib_soname_fontconfig:+false} :
17937 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17941 ac_cv_lib_soname_fontconfig
=
17943 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17944 conftest
$ac_exeext conftest.
$ac_ext
17945 LIBS
=$ac_check_soname_save_LIBS
17947 if ${ac_cv_lib_soname_fontconfig:+false} :
17949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17950 printf "%s\n" "not found" >&6; }
17951 FONTCONFIG_CFLAGS
=""
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17954 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17956 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17961 FONTCONFIG_CFLAGS
=""
17963 CPPFLAGS
=$ac_save_CPPFLAGS
17966 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17968 case "x$with_fontconfig" in
17969 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17971 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17972 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17977 if test "x$with_krb5" != "xno"
17980 if ${KRB5_CFLAGS:+false} :
17982 if test ${PKG_CONFIG+y}
17984 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17987 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17988 if ${KRB5_LIBS:+false} :
17990 if test ${PKG_CONFIG+y}
17992 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17995 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17999 if test -s conftest.err
; then
18000 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18001 cat conftest.err
>&5
18004 ac_save_CPPFLAGS
=$CPPFLAGS
18005 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18006 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18007 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18009 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18013 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18016 printf %s
"checking for -lkrb5... " >&6; }
18017 if test ${ac_cv_lib_soname_krb5+y}
18019 printf %s
"(cached) " >&6
18021 ac_check_soname_save_LIBS
=$LIBS
18022 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 /* Override any GCC internal prototype to avoid an error.
18027 Use char because int might match the return type of a GCC
18028 builtin and then its argument prototype would still apply. */
18029 char krb5_is_config_principal ();
18033 return krb5_is_config_principal ();
18038 if ac_fn_c_try_link
"$LINENO"
18041 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18042 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'` ;;
18043 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18044 if ${ac_cv_lib_soname_krb5:+false} :
18046 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18050 ac_cv_lib_soname_krb5
=
18052 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18053 conftest
$ac_exeext conftest.
$ac_ext
18054 LIBS
=$ac_check_soname_save_LIBS
18056 if ${ac_cv_lib_soname_krb5:+false} :
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18059 printf "%s\n" "not found" >&6; }
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18063 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18065 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18072 CPPFLAGS
=$ac_save_CPPFLAGS
18075 if test "x$ac_cv_lib_soname_krb5" = "x"
18077 case "x$with_krb5" in
18078 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18080 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18081 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18085 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18087 if test "x$with_gssapi" != "xno"
18090 if ${GSSAPI_CFLAGS:+false} :
18092 if test ${PKG_CONFIG+y}
18094 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18097 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18098 if ${GSSAPI_LIBS:+false} :
18100 if test ${PKG_CONFIG+y}
18102 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18105 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18109 if test -s conftest.err
; then
18110 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18111 cat conftest.err
>&5
18114 ac_save_CPPFLAGS
=$CPPFLAGS
18115 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18116 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18117 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18119 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18122 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18123 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18125 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18129 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18132 printf %s
"checking for -lgssapi_krb5... " >&6; }
18133 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18135 printf %s
"(cached) " >&6
18137 ac_check_soname_save_LIBS
=$LIBS
18138 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18145 char gss_init_sec_context ();
18149 return gss_init_sec_context ();
18154 if ac_fn_c_try_link
"$LINENO"
18157 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18158 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'` ;;
18159 *) 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'`
18160 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18162 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18166 ac_cv_lib_soname_gssapi_krb5
=
18168 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18169 conftest
$ac_exeext conftest.
$ac_ext
18170 LIBS
=$ac_check_soname_save_LIBS
18172 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18175 printf "%s\n" "not found" >&6; }
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18179 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18181 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18188 CPPFLAGS
=$ac_save_CPPFLAGS
18191 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18193 case "x$with_gssapi" in
18194 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18196 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18197 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18202 if test "$ac_cv_header_libprocstat_h" = "yes"
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18205 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18206 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18208 printf %s
"(cached) " >&6
18210 ac_check_lib_save_LIBS
=$LIBS
18211 LIBS
="-lprocstat $LIBS"
18212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18215 /* Override any GCC internal prototype to avoid an error.
18216 Use char because int might match the return type of a GCC
18217 builtin and then its argument prototype would still apply. */
18218 char procstat_open_sysctl ();
18222 return procstat_open_sysctl ();
18227 if ac_fn_c_try_link
"$LINENO"
18229 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18231 ac_cv_lib_procstat_procstat_open_sysctl
=no
18233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18234 conftest
$ac_exeext conftest.
$ac_ext
18235 LIBS
=$ac_check_lib_save_LIBS
18237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18238 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18239 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18242 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18244 PROCSTAT_LIBS
="-lprocstat"
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18251 printf %s
"checking for -lodbc... " >&6; }
18252 if test ${ac_cv_lib_soname_odbc+y}
18254 printf %s
"(cached) " >&6
18256 ac_check_soname_save_LIBS
=$LIBS
18257 LIBS
="-lodbc $LIBS"
18258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18264 char SQLConnect ();
18268 return SQLConnect ();
18273 if ac_fn_c_try_link
"$LINENO"
18276 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18277 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'` ;;
18278 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18279 if ${ac_cv_lib_soname_odbc:+false} :
18281 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18285 ac_cv_lib_soname_odbc
=
18287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18288 conftest
$ac_exeext conftest.
$ac_ext
18289 LIBS
=$ac_check_soname_save_LIBS
18291 if ${ac_cv_lib_soname_odbc:+false} :
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18294 printf "%s\n" "not found" >&6; }
18295 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18299 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18301 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18306 if test "x$with_netapi" != "xno"
18309 if ${NETAPI_CFLAGS:+false} :
18311 if test ${PKG_CONFIG+y}
18313 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18317 if ${NETAPI_LIBS:+false} :
18319 if test ${PKG_CONFIG+y}
18321 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18328 if test -s conftest.err
; then
18329 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18330 cat conftest.err
>&5
18333 ac_save_CPPFLAGS
=$CPPFLAGS
18334 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18336 printf %s
"checking for -lnetapi... " >&6; }
18337 if test ${ac_cv_lib_soname_netapi+y}
18339 printf %s
"(cached) " >&6
18341 ac_check_soname_save_LIBS
=$LIBS
18342 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18346 /* Override any GCC internal prototype to avoid an error.
18347 Use char because int might match the return type of a GCC
18348 builtin and then its argument prototype would still apply. */
18349 char libnetapi_init ();
18353 return libnetapi_init ();
18358 if ac_fn_c_try_link
"$LINENO"
18361 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18362 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'` ;;
18363 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18364 if ${ac_cv_lib_soname_netapi:+false} :
18366 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18370 ac_cv_lib_soname_netapi
=
18372 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18373 conftest
$ac_exeext conftest.
$ac_ext
18374 LIBS
=$ac_check_soname_save_LIBS
18376 if ${ac_cv_lib_soname_netapi:+false} :
18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18379 printf "%s\n" "not found" >&6; }
18380 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18384 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18386 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18390 CPPFLAGS
=$ac_save_CPPFLAGS
18393 if test "x$ac_cv_lib_soname_netapi" = "x"
18395 case "x$with_netapi" in
18396 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18398 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18399 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18401 enable_netapi
=${enable_netapi:-no}
18405 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18406 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18408 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18411 if test "x$with_vulkan" != "xno"
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18414 printf %s
"checking for -lvulkan... " >&6; }
18415 if test ${ac_cv_lib_soname_vulkan+y}
18417 printf %s
"(cached) " >&6
18419 ac_check_soname_save_LIBS
=$LIBS
18420 LIBS
="-lvulkan $LIBS"
18421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 /* Override any GCC internal prototype to avoid an error.
18425 Use char because int might match the return type of a GCC
18426 builtin and then its argument prototype would still apply. */
18427 char vkGetInstanceProcAddr ();
18431 return vkGetInstanceProcAddr ();
18436 if ac_fn_c_try_link
"$LINENO"
18439 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18440 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'` ;;
18441 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18442 if ${ac_cv_lib_soname_vulkan:+false} :
18444 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18448 ac_cv_lib_soname_vulkan
=
18450 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18451 conftest
$ac_exeext conftest.
$ac_ext
18452 LIBS
=$ac_check_soname_save_LIBS
18454 if ${ac_cv_lib_soname_vulkan:+false} :
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18457 printf "%s\n" "not found" >&6; }
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18461 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18463 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18467 if test "x$ac_cv_lib_soname_vulkan" = "x"
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18470 printf %s
"checking for -lMoltenVK... " >&6; }
18471 if test ${ac_cv_lib_soname_MoltenVK+y}
18473 printf %s
"(cached) " >&6
18475 ac_check_soname_save_LIBS
=$LIBS
18476 LIBS
="-lMoltenVK $LIBS"
18477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18480 /* Override any GCC internal prototype to avoid an error.
18481 Use char because int might match the return type of a GCC
18482 builtin and then its argument prototype would still apply. */
18483 char vkGetInstanceProcAddr ();
18487 return vkGetInstanceProcAddr ();
18492 if ac_fn_c_try_link
"$LINENO"
18495 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18496 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'` ;;
18497 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18498 if ${ac_cv_lib_soname_MoltenVK:+false} :
18500 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18504 ac_cv_lib_soname_MoltenVK
=
18506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18507 conftest
$ac_exeext conftest.
$ac_ext
18508 LIBS
=$ac_check_soname_save_LIBS
18510 if ${ac_cv_lib_soname_MoltenVK:+false} :
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18513 printf "%s\n" "not found" >&6; }
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18517 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18519 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18525 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18527 case "x$with_vulkan" in
18528 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18530 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18531 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18537 if test "x${GCC}" = "xyes"
18539 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18541 saved_CFLAGS
=$CFLAGS
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18543 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18544 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18546 printf %s
"(cached) " >&6
18548 ac_wine_try_cflags_saved
=$CFLAGS
18549 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552 int main(int argc, char **argv) { return 0; }
18554 if ac_fn_c_try_link
"$LINENO"
18556 ac_cv_cflags__Werror_unknown_warning_option
=yes
18558 ac_cv_cflags__Werror_unknown_warning_option
=no
18560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18561 conftest
$ac_exeext conftest.
$ac_ext
18562 CFLAGS
=$ac_wine_try_cflags_saved
18564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18565 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18566 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18568 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18571 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18572 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18574 printf %s
"(cached) " >&6
18576 ac_wine_try_cflags_saved
=$CFLAGS
18577 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18582 if ac_fn_c_try_link
"$LINENO"
18584 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18586 ac_cv_cflags__Werror_unused_command_line_argument
=no
18588 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18589 conftest
$ac_exeext conftest.
$ac_ext
18590 CFLAGS
=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18593 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18594 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18596 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18599 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18600 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18602 printf %s
"(cached) " >&6
18604 ac_wine_try_cflags_saved
=$CFLAGS
18605 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18610 if ac_fn_c_try_link
"$LINENO"
18612 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18614 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18616 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18617 conftest
$ac_exeext conftest.
$ac_ext
18618 CFLAGS
=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18621 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18622 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18624 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18627 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18628 if test ${ac_cv_cflags__fcf_protection_none+y}
18630 printf %s
"(cached) " >&6
18632 ac_wine_try_cflags_saved
=$CFLAGS
18633 CFLAGS
="$CFLAGS -fcf-protection=none"
18634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18638 if ac_fn_c_try_link
"$LINENO"
18640 ac_cv_cflags__fcf_protection_none
=yes
18642 ac_cv_cflags__fcf_protection_none
=no
18644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18645 conftest
$ac_exeext conftest.
$ac_ext
18646 CFLAGS
=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18649 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18650 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18652 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18655 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18656 if test ${ac_cv_cflags__fno_stack_protector+y}
18658 printf %s
"(cached) " >&6
18660 ac_wine_try_cflags_saved
=$CFLAGS
18661 CFLAGS
="$CFLAGS -fno-stack-protector"
18662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18666 if ac_fn_c_try_link
"$LINENO"
18668 ac_cv_cflags__fno_stack_protector
=yes
18670 ac_cv_cflags__fno_stack_protector
=no
18672 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18673 conftest
$ac_exeext conftest.
$ac_ext
18674 CFLAGS
=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18677 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18678 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18680 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18683 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18684 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18686 printf %s
"(cached) " >&6
18688 ac_wine_try_cflags_saved
=$CFLAGS
18689 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18694 if ac_fn_c_try_link
"$LINENO"
18696 ac_cv_cflags__fno_strict_aliasing
=yes
18698 ac_cv_cflags__fno_strict_aliasing
=no
18700 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18701 conftest
$ac_exeext conftest.
$ac_ext
18702 CFLAGS
=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18705 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18706 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18708 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18711 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18712 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18714 printf %s
"(cached) " >&6
18716 ac_wine_try_cflags_saved
=$CFLAGS
18717 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18722 if ac_fn_c_try_link
"$LINENO"
18724 ac_cv_cflags__Wdeclaration_after_statement
=yes
18726 ac_cv_cflags__Wdeclaration_after_statement
=no
18728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18729 conftest
$ac_exeext conftest.
$ac_ext
18730 CFLAGS
=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18733 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18734 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18736 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18739 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18740 if test ${ac_cv_cflags__Wempty_body+y}
18742 printf %s
"(cached) " >&6
18744 ac_wine_try_cflags_saved
=$CFLAGS
18745 CFLAGS
="$CFLAGS -Wempty-body"
18746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18750 if ac_fn_c_try_link
"$LINENO"
18752 ac_cv_cflags__Wempty_body
=yes
18754 ac_cv_cflags__Wempty_body
=no
18756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18757 conftest
$ac_exeext conftest.
$ac_ext
18758 CFLAGS
=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18762 if test "x$ac_cv_cflags__Wempty_body" = xyes
18764 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18767 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18768 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18770 printf %s
"(cached) " >&6
18772 ac_wine_try_cflags_saved
=$CFLAGS
18773 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18778 if ac_fn_c_try_link
"$LINENO"
18780 ac_cv_cflags__Wignored_qualifiers
=yes
18782 ac_cv_cflags__Wignored_qualifiers
=no
18784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18785 conftest
$ac_exeext conftest.
$ac_ext
18786 CFLAGS
=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18790 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18792 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18795 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18796 if test ${ac_cv_cflags__Winit_self+y}
18798 printf %s
"(cached) " >&6
18800 ac_wine_try_cflags_saved
=$CFLAGS
18801 CFLAGS
="$CFLAGS -Winit-self"
18802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18806 if ac_fn_c_try_link
"$LINENO"
18808 ac_cv_cflags__Winit_self
=yes
18810 ac_cv_cflags__Winit_self
=no
18812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18813 conftest
$ac_exeext conftest.
$ac_ext
18814 CFLAGS
=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18817 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18818 if test "x$ac_cv_cflags__Winit_self" = xyes
18820 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18823 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18824 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18826 printf %s
"(cached) " >&6
18828 ac_wine_try_cflags_saved
=$CFLAGS
18829 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18834 if ac_fn_c_try_link
"$LINENO"
18836 ac_cv_cflags__Wpacked_not_aligned
=yes
18838 ac_cv_cflags__Wpacked_not_aligned
=no
18840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18841 conftest
$ac_exeext conftest.
$ac_ext
18842 CFLAGS
=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18845 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18846 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18848 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18851 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18852 if test ${ac_cv_cflags__Wpragma_pack+y}
18854 printf %s
"(cached) " >&6
18856 ac_wine_try_cflags_saved
=$CFLAGS
18857 CFLAGS
="$CFLAGS -Wpragma-pack"
18858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 int main(int argc, char **argv) { return 0; }
18862 if ac_fn_c_try_link
"$LINENO"
18864 ac_cv_cflags__Wpragma_pack
=yes
18866 ac_cv_cflags__Wpragma_pack
=no
18868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18869 conftest
$ac_exeext conftest.
$ac_ext
18870 CFLAGS
=$ac_wine_try_cflags_saved
18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18873 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18874 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18876 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18879 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18880 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18882 printf %s
"(cached) " >&6
18884 ac_wine_try_cflags_saved
=$CFLAGS
18885 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 int main(int argc, char **argv) { return 0; }
18890 if ac_fn_c_try_link
"$LINENO"
18892 ac_cv_cflags__Wshift_overflow_2
=yes
18894 ac_cv_cflags__Wshift_overflow_2
=no
18896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18897 conftest
$ac_exeext conftest.
$ac_ext
18898 CFLAGS
=$ac_wine_try_cflags_saved
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18901 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18902 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18904 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18907 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18908 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18910 printf %s
"(cached) " >&6
18912 ac_wine_try_cflags_saved
=$CFLAGS
18913 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916 int main(int argc, char **argv) { return 0; }
18918 if ac_fn_c_try_link
"$LINENO"
18920 ac_cv_cflags__Wstrict_prototypes
=yes
18922 ac_cv_cflags__Wstrict_prototypes
=no
18924 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18925 conftest
$ac_exeext conftest.
$ac_ext
18926 CFLAGS
=$ac_wine_try_cflags_saved
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18929 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18930 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18932 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18935 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18936 if test ${ac_cv_cflags__Wtype_limits+y}
18938 printf %s
"(cached) " >&6
18940 ac_wine_try_cflags_saved
=$CFLAGS
18941 CFLAGS
="$CFLAGS -Wtype-limits"
18942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18946 if ac_fn_c_try_link
"$LINENO"
18948 ac_cv_cflags__Wtype_limits
=yes
18950 ac_cv_cflags__Wtype_limits
=no
18952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18953 conftest
$ac_exeext conftest.
$ac_ext
18954 CFLAGS
=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18958 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18960 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18963 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18964 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18966 printf %s
"(cached) " >&6
18968 ac_wine_try_cflags_saved
=$CFLAGS
18969 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 int main(int argc, char **argv) { return 0; }
18974 if ac_fn_c_try_link
"$LINENO"
18976 ac_cv_cflags__Wunused_but_set_parameter
=yes
18978 ac_cv_cflags__Wunused_but_set_parameter
=no
18980 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18981 conftest
$ac_exeext conftest.
$ac_ext
18982 CFLAGS
=$ac_wine_try_cflags_saved
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18985 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18986 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18988 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18991 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18992 if test ${ac_cv_cflags__Wvla+y}
18994 printf %s
"(cached) " >&6
18996 ac_wine_try_cflags_saved
=$CFLAGS
18997 CFLAGS
="$CFLAGS -Wvla"
18998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19002 if ac_fn_c_try_link
"$LINENO"
19004 ac_cv_cflags__Wvla
=yes
19006 ac_cv_cflags__Wvla
=no
19008 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19009 conftest
$ac_exeext conftest.
$ac_ext
19010 CFLAGS
=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19014 if test "x$ac_cv_cflags__Wvla" = xyes
19016 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19019 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19020 if test ${ac_cv_cflags__Wwrite_strings+y}
19022 printf %s
"(cached) " >&6
19024 ac_wine_try_cflags_saved
=$CFLAGS
19025 CFLAGS
="$CFLAGS -Wwrite-strings"
19026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 int main(int argc, char **argv) { return 0; }
19030 if ac_fn_c_try_link
"$LINENO"
19032 ac_cv_cflags__Wwrite_strings
=yes
19034 ac_cv_cflags__Wwrite_strings
=no
19036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19037 conftest
$ac_exeext conftest.
$ac_ext
19038 CFLAGS
=$ac_wine_try_cflags_saved
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19041 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19042 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19044 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19048 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19049 if test ${ac_cv_cflags__Wpointer_arith+y}
19051 printf %s
"(cached) " >&6
19053 ac_wine_try_cflags_saved
=$CFLAGS
19054 CFLAGS
="$CFLAGS -Wpointer-arith"
19055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19056 /* end confdefs.h. */
19057 int main(int argc, char **argv) { return 0; }
19059 if ac_fn_c_try_link
"$LINENO"
19061 ac_cv_cflags__Wpointer_arith
=yes
19063 ac_cv_cflags__Wpointer_arith
=no
19065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19066 conftest
$ac_exeext conftest.
$ac_ext
19067 CFLAGS
=$ac_wine_try_cflags_saved
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19070 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19071 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19073 saved_string_h_CFLAGS
=$CFLAGS
19074 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19076 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19077 if test ${ac_cv_c_string_h_warnings+y}
19079 printf %s
"(cached) " >&6
19081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19082 /* end confdefs.h. */
19083 #include <string.h>
19092 if ac_fn_c_try_compile
"$LINENO"
19094 ac_cv_c_string_h_warnings
=no
19096 ac_cv_c_string_h_warnings
=yes
19098 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19101 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19102 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19103 CFLAGS
=$saved_string_h_CFLAGS
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19107 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19108 if test ${ac_cv_cflags__Wlogical_op+y}
19110 printf %s
"(cached) " >&6
19112 ac_wine_try_cflags_saved
=$CFLAGS
19113 CFLAGS
="$CFLAGS -Wlogical-op"
19114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 int main(int argc, char **argv) { return 0; }
19118 if ac_fn_c_try_link
"$LINENO"
19120 ac_cv_cflags__Wlogical_op
=yes
19122 ac_cv_cflags__Wlogical_op
=no
19124 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19125 conftest
$ac_exeext conftest.
$ac_ext
19126 CFLAGS
=$ac_wine_try_cflags_saved
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19129 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19130 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19132 saved_string_h_CFLAGS
=$CFLAGS
19133 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19135 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19136 if test ${ac_cv_c_logicalop_noisy+y}
19138 printf %s
"(cached) " >&6
19140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #include <string.h>
19143 char*f(const char *h,char n) {return strchr(h,n);}
19152 if ac_fn_c_try_compile
"$LINENO"
19154 ac_cv_c_logicalop_noisy
=no
19156 ac_cv_c_logicalop_noisy
=yes
19158 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19161 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19162 CFLAGS
=$saved_string_h_CFLAGS
19163 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19167 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19168 if test ${wine_cv_64bit_compare_swap+y}
19170 printf %s
"(cached) " >&6
19172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19185 if ac_fn_c_try_compile
"$LINENO"
19187 wine_cv_64bit_compare_swap
="none needed"
19190 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19191 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19192 *) wine_cv_64bit_compare_swap
="unknown" ;;
19194 if test "x$wine_cv_64bit_compare_swap" != xunknown
19196 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19210 if ac_fn_c_try_compile
"$LINENO"
19214 wine_cv_64bit_compare_swap
="unknown"
19216 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19217 CFLAGS
=$saved_CFLAGS
19220 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19223 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19224 case "$wine_cv_64bit_compare_swap" in
19225 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19227 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19230 ac_debug_format_seen
=""
19231 for ac_flag
in $CFLAGS; do
19233 -gdwarf*) ac_debug_format_seen
=yes ;;
19234 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19237 if test "x$ac_debug_format_seen" = xdefault
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19240 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19241 if test ${ac_cv_cflags__gdwarf_4+y}
19243 printf %s
"(cached) " >&6
19245 ac_wine_try_cflags_saved
=$CFLAGS
19246 CFLAGS
="$CFLAGS -gdwarf-4"
19247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19248 /* end confdefs.h. */
19249 int main(int argc, char **argv) { return 0; }
19251 if ac_fn_c_try_link
"$LINENO"
19253 ac_cv_cflags__gdwarf_4
=yes
19255 ac_cv_cflags__gdwarf_4
=no
19257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19258 conftest
$ac_exeext conftest.
$ac_ext
19259 CFLAGS
=$ac_wine_try_cflags_saved
19261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19262 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19263 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19265 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19272 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19273 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19274 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19276 printf %s
"(cached) " >&6
19278 ac_wine_try_cflags_saved
=$CFLAGS
19279 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19284 if ac_fn_c_try_link
"$LINENO"
19286 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19288 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19291 conftest
$ac_exeext conftest.
$ac_ext
19292 CFLAGS
=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19295 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19296 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19298 DELAYLOADFLAG
="-Wl,-delayload,"
19301 *) MSVCRTFLAGS
="-D_WIN32"
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19303 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19304 if test ${ac_cv_cflags__fno_builtin+y}
19306 printf %s
"(cached) " >&6
19308 ac_wine_try_cflags_saved
=$CFLAGS
19309 CFLAGS
="$CFLAGS -fno-builtin"
19310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 int main(int argc, char **argv) { return 0; }
19314 if ac_fn_c_try_link
"$LINENO"
19316 ac_cv_cflags__fno_builtin
=yes
19318 ac_cv_cflags__fno_builtin
=no
19320 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19321 conftest
$ac_exeext conftest.
$ac_ext
19322 CFLAGS
=$ac_wine_try_cflags_saved
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19325 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19326 if test "x$ac_cv_cflags__fno_builtin" = xyes
19328 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19331 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19332 if test ${ac_cv_cflags__fshort_wchar+y}
19334 printf %s
"(cached) " >&6
19336 ac_wine_try_cflags_saved
=$CFLAGS
19337 CFLAGS
="$CFLAGS -fshort-wchar"
19338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19342 if ac_fn_c_try_link
"$LINENO"
19344 ac_cv_cflags__fshort_wchar
=yes
19346 ac_cv_cflags__fshort_wchar
=no
19348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19349 conftest
$ac_exeext conftest.
$ac_ext
19350 CFLAGS
=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19353 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19354 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19356 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19359 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19360 if test ${ac_cv_cflags__Wno_format+y}
19362 printf %s
"(cached) " >&6
19364 ac_wine_try_cflags_saved
=$CFLAGS
19365 CFLAGS
="$CFLAGS -Wno-format"
19366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19370 if ac_fn_c_try_link
"$LINENO"
19372 ac_cv_cflags__Wno_format
=yes
19374 ac_cv_cflags__Wno_format
=no
19376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19377 conftest
$ac_exeext conftest.
$ac_ext
19378 CFLAGS
=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19381 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19382 if test "x$ac_cv_cflags__Wno_format" = xyes
19384 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19389 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19390 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19391 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19393 printf %s
"(cached) " >&6
19395 ac_wine_try_cflags_saved
=$CFLAGS
19396 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399 int main(int argc, char **argv) { return 0; }
19401 if ac_fn_c_try_link
"$LINENO"
19403 ac_cv_cflags__fno_omit_frame_pointer
=yes
19405 ac_cv_cflags__fno_omit_frame_pointer
=no
19407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19408 conftest
$ac_exeext conftest.
$ac_ext
19409 CFLAGS
=$ac_wine_try_cflags_saved
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19412 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19413 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19415 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19419 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19420 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19421 if test ${ac_cv_cflags__Wno_format+y}
19423 printf %s
"(cached) " >&6
19425 ac_wine_try_cflags_saved
=$CFLAGS
19426 CFLAGS
="$CFLAGS -Wno-format"
19427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 int main(int argc, char **argv) { return 0; }
19431 if ac_fn_c_try_link
"$LINENO"
19433 ac_cv_cflags__Wno_format
=yes
19435 ac_cv_cflags__Wno_format
=no
19437 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19438 conftest
$ac_exeext conftest.
$ac_ext
19439 CFLAGS
=$ac_wine_try_cflags_saved
19441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19442 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19443 if test "x$ac_cv_cflags__Wno_format" = xyes
19445 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19447 *) if test -z "$PE_ARCHS"
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19450 printf %s
"checking for working -mabi=ms... " >&6; }
19451 if test ${ac_cv_mabi_ms+y}
19453 printf %s
"(cached) " >&6
19455 CFLAGS
="$CFLAGS -mabi=ms"
19456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19458 #include <stdarg.h>
19459 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19468 if ac_fn_c_try_compile
"$LINENO"
19474 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19475 CFLAGS
=$saved_CFLAGS
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19478 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19479 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
19481 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19485 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19486 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19488 printf %s
"(cached) " >&6
19490 ac_wine_try_cflags_saved
=$CFLAGS
19491 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 int main(int argc, char **argv) { return 0; }
19496 if ac_fn_c_try_link
"$LINENO"
19498 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19500 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19503 conftest
$ac_exeext conftest.
$ac_ext
19504 CFLAGS
=$ac_wine_try_cflags_saved
19506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19507 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19508 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19510 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19514 CFLAGS
=$saved_CFLAGS
19516 if test "x$enable_werror" = "xyes"
19518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19519 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19520 if test ${ac_cv_cflags__Werror+y}
19522 printf %s
"(cached) " >&6
19524 ac_wine_try_cflags_saved
=$CFLAGS
19525 CFLAGS
="$CFLAGS -Werror"
19526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19528 int main(int argc, char **argv) { return 0; }
19530 if ac_fn_c_try_link
"$LINENO"
19532 ac_cv_cflags__Werror
=yes
19534 ac_cv_cflags__Werror
=no
19536 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19537 conftest
$ac_exeext conftest.
$ac_ext
19538 CFLAGS
=$ac_wine_try_cflags_saved
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19541 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19542 if test "x$ac_cv_cflags__Werror" = xyes
19544 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19547 if test "x$enable_build_id" = "xyes"
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19550 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19551 if test ${ac_cv_cflags__Wl___build_id+y}
19553 printf %s
"(cached) " >&6
19555 ac_wine_try_cflags_saved
=$CFLAGS
19556 CFLAGS
="$CFLAGS -Wl,--build-id"
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 int main(int argc, char **argv) { return 0; }
19561 if ac_fn_c_try_link
"$LINENO"
19563 ac_cv_cflags__Wl___build_id
=yes
19565 ac_cv_cflags__Wl___build_id
=no
19567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19568 conftest
$ac_exeext conftest.
$ac_ext
19569 CFLAGS
=$ac_wine_try_cflags_saved
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19572 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19573 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19575 CFLAGS
="$CFLAGS -Wl,--build-id"
19576 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19583 printf %s
"checking for the need to disable Fortify... " >&6; }
19584 if test ${ac_cv_c_fortify_enabled+y}
19586 printf %s
"(cached) " >&6
19588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 #include <string.h>
19594 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19595 #error Fortify enabled
19601 if ac_fn_c_try_compile
"$LINENO"
19603 ac_cv_c_fortify_enabled
=no
19605 ac_cv_c_fortify_enabled
=yes
19607 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19610 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19611 if test "$ac_cv_c_fortify_enabled" = yes
19613 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19618 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19619 if test ${ac_cv_c_cfi_support+y}
19621 printf %s
"(cached) " >&6
19623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19634 if ac_fn_c_try_compile
"$LINENO"
19636 ac_cv_c_cfi_support
="yes"
19638 ac_cv_c_cfi_support
="no"
19640 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19643 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19644 if test "$ac_cv_c_cfi_support" = "yes"
19646 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19647 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19648 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19649 elif test $HOST_ARCH = x86_64
19651 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19655 case "$HOST_ARCH,$PE_ARCHS" in
19656 x86_64
,*i386
*) wine_binary
="wine" ;;
19657 x86_64
,*) wine_binary
="wine64" ;;
19658 *) wine_binary
="wine" ;;
19660 WINELOADER_PROGRAMS
="$wine_binary"
19666 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19667 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19668 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19673 if test "$wine_can_build_preloader" = "yes"
19675 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19676 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19683 printf %s
"checking for library containing dlopen... " >&6; }
19684 if test ${ac_cv_search_dlopen+y}
19686 printf %s
"(cached) " >&6
19688 ac_func_search_save_LIBS
=$LIBS
19689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h. */
19692 /* Override any GCC internal prototype to avoid an error.
19693 Use char because int might match the return type of a GCC
19694 builtin and then its argument prototype would still apply. */
19704 for ac_lib
in '' dl
19706 if test -z "$ac_lib"; then
19707 ac_res
="none required"
19710 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19712 if ac_fn_c_try_link
"$LINENO"
19714 ac_cv_search_dlopen
=$ac_res
19716 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19718 if test ${ac_cv_search_dlopen+y}
19723 if test ${ac_cv_search_dlopen+y}
19727 ac_cv_search_dlopen
=no
19729 rm conftest.
$ac_ext
19730 LIBS
=$ac_func_search_save_LIBS
19732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19733 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19734 ac_res
=$ac_cv_search_dlopen
19735 if test "$ac_res" != no
19737 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19743 printf %s
"checking for library containing gethostbyname... " >&6; }
19744 if test ${ac_cv_search_gethostbyname+y}
19746 printf %s
"(cached) " >&6
19748 ac_func_search_save_LIBS
=$LIBS
19749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19752 /* Override any GCC internal prototype to avoid an error.
19753 Use char because int might match the return type of a GCC
19754 builtin and then its argument prototype would still apply. */
19755 char gethostbyname ();
19759 return gethostbyname ();
19764 for ac_lib
in '' nsl
19766 if test -z "$ac_lib"; then
19767 ac_res
="none required"
19770 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19772 if ac_fn_c_try_link
"$LINENO"
19774 ac_cv_search_gethostbyname
=$ac_res
19776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19778 if test ${ac_cv_search_gethostbyname+y}
19783 if test ${ac_cv_search_gethostbyname+y}
19787 ac_cv_search_gethostbyname
=no
19789 rm conftest.
$ac_ext
19790 LIBS
=$ac_func_search_save_LIBS
19792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19793 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19794 ac_res
=$ac_cv_search_gethostbyname
19795 if test "$ac_res" != no
19797 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19803 printf %s
"checking for library containing connect... " >&6; }
19804 if test ${ac_cv_search_connect+y}
19806 printf %s
"(cached) " >&6
19808 ac_func_search_save_LIBS
=$LIBS
19809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19824 for ac_lib
in '' socket
19826 if test -z "$ac_lib"; then
19827 ac_res
="none required"
19830 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19832 if ac_fn_c_try_link
"$LINENO"
19834 ac_cv_search_connect
=$ac_res
19836 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19838 if test ${ac_cv_search_connect+y}
19843 if test ${ac_cv_search_connect+y}
19847 ac_cv_search_connect
=no
19849 rm conftest.
$ac_ext
19850 LIBS
=$ac_func_search_save_LIBS
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19853 printf "%s\n" "$ac_cv_search_connect" >&6; }
19854 ac_res
=$ac_cv_search_connect
19855 if test "$ac_res" != no
19857 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19863 printf %s
"checking for library containing inet_aton... " >&6; }
19864 if test ${ac_cv_search_inet_aton+y}
19866 printf %s
"(cached) " >&6
19868 ac_func_search_save_LIBS
=$LIBS
19869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19872 /* Override any GCC internal prototype to avoid an error.
19873 Use char because int might match the return type of a GCC
19874 builtin and then its argument prototype would still apply. */
19879 return inet_aton ();
19884 for ac_lib
in '' resolv
19886 if test -z "$ac_lib"; then
19887 ac_res
="none required"
19890 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19892 if ac_fn_c_try_link
"$LINENO"
19894 ac_cv_search_inet_aton
=$ac_res
19896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19898 if test ${ac_cv_search_inet_aton+y}
19903 if test ${ac_cv_search_inet_aton+y}
19907 ac_cv_search_inet_aton
=no
19909 rm conftest.
$ac_ext
19910 LIBS
=$ac_func_search_save_LIBS
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19913 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19914 ac_res
=$ac_cv_search_inet_aton
19915 if test "$ac_res" != no
19917 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19922 ac_save_CFLAGS
="$CFLAGS"
19923 CFLAGS
="$CFLAGS $BUILTINFLAG"
19924 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19925 if test "x$ac_cv_func_dladdr1" = xyes
19927 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19930 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19931 if test "x$ac_cv_func_dlinfo" = xyes
19933 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19936 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19937 if test "x$ac_cv_func_epoll_create" = xyes
19939 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19942 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19943 if test "x$ac_cv_func_fstatfs" = xyes
19945 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19948 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19949 if test "x$ac_cv_func_futimens" = xyes
19951 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19954 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19955 if test "x$ac_cv_func_futimes" = xyes
19957 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19960 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19961 if test "x$ac_cv_func_futimesat" = xyes
19963 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19966 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19967 if test "x$ac_cv_func_getaddrinfo" = xyes
19969 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19972 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19973 if test "x$ac_cv_func_getattrlist" = xyes
19975 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19978 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19979 if test "x$ac_cv_func_getauxval" = xyes
19981 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19984 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19985 if test "x$ac_cv_func_getifaddrs" = xyes
19987 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19990 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19991 if test "x$ac_cv_func_getrandom" = xyes
19993 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19996 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19997 if test "x$ac_cv_func_kqueue" = xyes
19999 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20002 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20003 if test "x$ac_cv_func_mach_continuous_time" = xyes
20005 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20008 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20009 if test "x$ac_cv_func_pipe2" = xyes
20011 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20014 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20015 if test "x$ac_cv_func_port_create" = xyes
20017 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20020 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20021 if test "x$ac_cv_func_posix_fadvise" = xyes
20023 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20026 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20027 if test "x$ac_cv_func_posix_fallocate" = xyes
20029 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20032 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20033 if test "x$ac_cv_func_prctl" = xyes
20035 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20038 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20039 if test "x$ac_cv_func_proc_pidinfo" = xyes
20041 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20044 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20045 if test "x$ac_cv_func_sched_yield" = xyes
20047 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20050 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20051 if test "x$ac_cv_func_setproctitle" = xyes
20053 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20056 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20057 if test "x$ac_cv_func_setprogname" = xyes
20059 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20062 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20063 if test "x$ac_cv_func_sigprocmask" = xyes
20065 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20068 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20069 if test "x$ac_cv_func_sysinfo" = xyes
20071 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20074 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20075 if test "x$ac_cv_func_tcdrain" = xyes
20077 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20080 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20081 if test "x$ac_cv_func_thr_kill2" = xyes
20083 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20087 CFLAGS
="$ac_save_CFLAGS"
20090 darwin
*|macosx
*) ;;
20091 *) ac_save_LIBS
=$LIBS
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20093 printf %s
"checking for library containing clock_gettime... " >&6; }
20094 if test ${ac_cv_search_clock_gettime+y}
20096 printf %s
"(cached) " >&6
20098 ac_func_search_save_LIBS
=$LIBS
20099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 /* Override any GCC internal prototype to avoid an error.
20103 Use char because int might match the return type of a GCC
20104 builtin and then its argument prototype would still apply. */
20105 char clock_gettime ();
20109 return clock_gettime ();
20114 for ac_lib
in '' rt
20116 if test -z "$ac_lib"; then
20117 ac_res
="none required"
20120 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20122 if ac_fn_c_try_link
"$LINENO"
20124 ac_cv_search_clock_gettime
=$ac_res
20126 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20128 if test ${ac_cv_search_clock_gettime+y}
20133 if test ${ac_cv_search_clock_gettime+y}
20137 ac_cv_search_clock_gettime
=no
20139 rm conftest.
$ac_ext
20140 LIBS
=$ac_func_search_save_LIBS
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20143 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20144 ac_res
=$ac_cv_search_clock_gettime
20145 if test "$ac_res" != no
20147 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20149 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20151 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20160 printf %s
"checking for sched_setaffinity... " >&6; }
20161 if test ${wine_cv_have_sched_setaffinity+y}
20163 printf %s
"(cached) " >&6
20165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20171 sched_setaffinity(0, 0, 0);
20176 if ac_fn_c_try_link
"$LINENO"
20178 wine_cv_have_sched_setaffinity
=yes
20180 wine_cv_have_sched_setaffinity
=no
20182 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20183 conftest
$ac_exeext conftest.
$ac_ext
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20186 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20187 if test "$wine_cv_have_sched_setaffinity" = "yes"
20190 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20196 printf %s
"checking for inline... " >&6; }
20197 if test ${ac_cv_c_inline+y}
20199 printf %s
"(cached) " >&6
20202 for ac_kw
in inline __inline__ __inline
; do
20203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #ifndef __cplusplus
20207 static $ac_kw foo_t static_foo (void) {return 0; }
20208 $ac_kw foo_t foo (void) {return 0; }
20212 if ac_fn_c_try_compile
"$LINENO"
20214 ac_cv_c_inline
=$ac_kw
20216 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20217 test "$ac_cv_c_inline" != no
&& break
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20222 printf "%s\n" "$ac_cv_c_inline" >&6; }
20224 case $ac_cv_c_inline in
20227 case $ac_cv_c_inline in
20229 *) ac_val
=$ac_cv_c_inline;;
20231 cat >>confdefs.h
<<_ACEOF
20232 #ifndef __cplusplus
20233 #define inline $ac_val
20239 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20241 if test "x$ac_cv_type_request_sense" = xyes
20244 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20250 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20251 #include <sys/socket.h>
20252 #ifdef HAVE_SYS_SOCKETVAR_H
20253 #include <sys/socketvar.h>
20255 #ifdef HAVE_NET_ROUTE_H
20256 #include <net/route.h>
20258 #ifdef HAVE_NETINET_IN_H
20259 #include <netinet/in.h>
20261 #ifdef HAVE_NETINET_IN_SYSTM_H
20262 #include <netinet/in_systm.h>
20264 #ifdef HAVE_NETINET_IP_H
20265 #include <netinet/ip.h>
20267 #ifdef HAVE_NETINET_IN_PCB_H
20268 #include <netinet/in_pcb.h>
20271 if test "x$ac_cv_type_struct_xinpgen" = xyes
20274 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20281 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20282 if test ${wine_cv_linux_gethostbyname_r_6+y}
20284 printf %s
"(cached) " >&6
20286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20295 struct hostent *result;
20302 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20303 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20309 if ac_fn_c_try_link
"$LINENO"
20311 wine_cv_linux_gethostbyname_r_6
=yes
20313 wine_cv_linux_gethostbyname_r_6
=no
20316 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20317 conftest
$ac_exeext conftest.
$ac_ext
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20321 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20322 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20325 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20329 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20330 #include <sys/socket.h>
20331 #ifdef HAVE_SYS_UN_H
20332 # include <sys/un.h>
20335 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20338 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20342 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20343 #include <sys/socket.h>
20344 #ifdef HAVE_SYS_UN_H
20345 # include <sys/un.h>
20348 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20351 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20357 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20358 #ifdef HAVE_SCSI_SG_H
20359 #include <scsi/sg.h>
20362 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20365 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20369 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>
20370 #ifdef HAVE_SCSI_SG_H
20371 #include <scsi/sg.h>
20374 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20377 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20383 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20385 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20388 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20394 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20395 #ifdef HAVE_SYS_MTIO_H
20396 #include <sys/mtio.h>
20399 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20402 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20406 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20407 #ifdef HAVE_SYS_MTIO_H
20408 #include <sys/mtio.h>
20411 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20414 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20418 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20419 #ifdef HAVE_SYS_MTIO_H
20420 #include <sys/mtio.h>
20423 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20426 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20432 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20433 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20436 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20440 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20441 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20444 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20448 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20449 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20452 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20456 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20457 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20460 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20464 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20488 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20504 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20512 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20516 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20522 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>
20523 #ifdef HAVE_NETINET_IN_H
20524 #include <netinet/in.h>
20527 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20530 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20536 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
20537 #include <resolv.h>
20540 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20543 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20549 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20553 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20556 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20562 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20563 #ifdef HAVE_SYS_SOCKETVAR_H
20564 #include <sys/socketvar.h>
20566 #ifdef HAVE_NETINET_IN_H
20567 #include <netinet/in.h>
20569 #ifdef HAVE_NETINET_IP_VAR_H
20570 #include <netinet/ip_var.h>
20573 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20576 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20582 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
20583 #include <netinet/ip_var.h>
20586 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20589 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20595 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20596 #ifdef HAVE_SYS_SOCKETVAR_H
20597 #include <sys/socketvar.h>
20599 #ifdef HAVE_NETINET_IN_H
20600 #include <netinet/in.h>
20602 #ifdef HAVE_NETINET6_IP6_VAR_H
20603 #include <netinet6/ip6_var.h>
20606 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20609 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20615 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20616 #ifdef HAVE_SYS_SOCKETVAR_H
20617 #include <sys/socketvar.h>
20619 #ifdef HAVE_NETINET_IN_H
20620 #include <netinet/in.h>
20622 #ifdef HAVE_NETINET_IP_H
20623 #include <netinet/ip.h>
20625 #ifdef HAVE_NETINET_IP_ICMP_H
20626 #include <netinet/ip_icmp.h>
20628 #ifdef HAVE_NETINET_ICMP_VAR_H
20629 #include <netinet/icmp_var.h>
20632 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20635 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20641 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20642 #ifdef HAVE_SYS_SOCKETVAR_H
20643 #include <sys/socketvar.h>
20645 #ifdef HAVE_NETINET_IN_H
20646 #include <netinet/in.h>
20648 #ifdef HAVE_NETINET_ICMP6_H
20649 #include <netinet/icmp6.h>
20652 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20655 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20661 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20662 #ifdef HAVE_SYS_SOCKETVAR_H
20663 #include <sys/socketvar.h>
20665 #ifdef HAVE_NETINET_IN_H
20666 #include <netinet/in.h>
20668 #ifdef HAVE_NETINET_TCP_H
20669 #include <netinet/tcp.h>
20671 #ifdef HAVE_NETINET_TCP_VAR_H
20672 #include <netinet/tcp_var.h>
20675 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20678 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20684 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
20685 #include <netinet/tcp_var.h>
20688 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20691 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20697 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20698 #ifdef HAVE_NETINET_IN_H
20699 #include <netinet/in.h>
20701 #ifdef HAVE_NETINET_IP_VAR_H
20702 #include <netinet/ip_var.h>
20704 #ifdef HAVE_NETINET_UDP_H
20705 #include <netinet/udp.h>
20707 #ifdef HAVE_NETINET_UDP_VAR_H
20708 #include <netinet/udp_var.h>
20711 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20714 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20720 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20721 #ifdef HAVE_NET_IF_H
20722 # include <net/if.h>
20725 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20728 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20734 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20735 # include <sys/sysinfo.h>
20738 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20741 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20745 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20746 # include <sys/sysinfo.h>
20749 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20752 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20758 LIBS
="$ac_save_LIBS"
20760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20761 printf %s
"checking for __builtin_popcount... " >&6; }
20762 if test ${ac_cv_have___builtin_popcount+y}
20764 printf %s
"(cached) " >&6
20766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20772 return __builtin_popcount(1)
20777 if ac_fn_c_try_link
"$LINENO"
20779 ac_cv_have___builtin_popcount
="yes"
20781 ac_cv_have___builtin_popcount
="no"
20783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20784 conftest
$ac_exeext conftest.
$ac_ext
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20787 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20788 if test "$ac_cv_have___builtin_popcount" = "yes"
20791 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20796 printf %s
"checking for __clear_cache... " >&6; }
20797 if test ${ac_cv_have___clear_cache+y}
20799 printf %s
"(cached) " >&6
20801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20807 __clear_cache((void*)0, (void*)0); return 0;
20812 if ac_fn_c_try_link
"$LINENO"
20814 ac_cv_have___clear_cache
="yes"
20816 ac_cv_have___clear_cache
="no"
20818 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20819 conftest
$ac_exeext conftest.
$ac_ext
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20822 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20823 if test "$ac_cv_have___clear_cache" = "yes"
20826 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20832 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20833 printf %s
"checking whether we need to define __i386__... " >&6; }
20834 if test ${ac_cv_cpp_def___i386__+y}
20836 printf %s
"(cached) " >&6
20838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev
/null
2>&1
20847 ac_cv_cpp_def___i386__
=yes
20849 ac_cv_cpp_def___i386__
=no
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20856 if test "x$ac_cv_cpp_def___i386__" = xyes
20858 CFLAGS
="$CFLAGS -D__i386__"
20859 LINTFLAGS
="$LINTFLAGS -D__i386__"
20861 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20862 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20863 if test ${ac_cv_cpp_def___x86_64__+y}
20865 printf %s
"(cached) " >&6
20867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev
/null
2>&1
20876 ac_cv_cpp_def___x86_64__
=yes
20878 ac_cv_cpp_def___x86_64__
=no
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20885 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20887 CFLAGS
="$CFLAGS -D__x86_64__"
20888 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20890 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20891 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20892 if test ${ac_cv_cpp_def___sparc64__+y}
20894 printf %s
"(cached) " >&6
20896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #ifndef __sparc64__
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev
/null
2>&1
20905 ac_cv_cpp_def___sparc64__
=yes
20907 ac_cv_cpp_def___sparc64__
=no
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20914 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20916 CFLAGS
="$CFLAGS -D__sparc64__"
20917 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20919 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20920 printf %s
"checking whether we need to define __sparc__... " >&6; }
20921 if test ${ac_cv_cpp_def___sparc__+y}
20923 printf %s
"(cached) " >&6
20925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev
/null
2>&1
20934 ac_cv_cpp_def___sparc__
=yes
20936 ac_cv_cpp_def___sparc__
=no
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20943 if test "x$ac_cv_cpp_def___sparc__" = xyes
20945 CFLAGS
="$CFLAGS -D__sparc__"
20946 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20948 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20949 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20950 if test ${ac_cv_cpp_def___powerpc64__+y}
20952 printf %s
"(cached) " >&6
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __powerpc64__
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev
/null
2>&1
20963 ac_cv_cpp_def___powerpc64__
=yes
20965 ac_cv_cpp_def___powerpc64__
=no
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20972 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20974 CFLAGS
="$CFLAGS -D__powerpc64__"
20975 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20977 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20978 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20979 if test ${ac_cv_cpp_def___powerpc__+y}
20981 printf %s
"(cached) " >&6
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #ifndef __powerpc__
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev
/null
2>&1
20992 ac_cv_cpp_def___powerpc__
=yes
20994 ac_cv_cpp_def___powerpc__
=no
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21001 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21003 CFLAGS
="$CFLAGS -D__powerpc__"
21004 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21006 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21007 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21008 if test ${ac_cv_cpp_def___aarch64__+y}
21010 printf %s
"(cached) " >&6
21012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #ifndef __aarch64__
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev
/null
2>&1
21021 ac_cv_cpp_def___aarch64__
=yes
21023 ac_cv_cpp_def___aarch64__
=no
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21030 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21032 CFLAGS
="$CFLAGS -D__aarch64__"
21033 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21035 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21036 printf %s
"checking whether we need to define __arm__... " >&6; }
21037 if test ${ac_cv_cpp_def___arm__+y}
21039 printf %s
"(cached) " >&6
21041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21048 $EGREP "yes" >/dev
/null
2>&1
21050 ac_cv_cpp_def___arm__
=yes
21052 ac_cv_cpp_def___arm__
=no
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21058 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21059 if test "x$ac_cv_cpp_def___arm__" = xyes
21061 CFLAGS
="$CFLAGS -D__arm__"
21062 LINTFLAGS
="$LINTFLAGS -D__arm__"
21066 case $host_vendor in
21067 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21068 printf %s
"checking whether we need to define __sun__... " >&6; }
21069 if test ${ac_cv_cpp_def___sun__+y}
21071 printf %s
"(cached) " >&6
21073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev
/null
2>&1
21082 ac_cv_cpp_def___sun__
=yes
21084 ac_cv_cpp_def___sun__
=no
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21091 if test "x$ac_cv_cpp_def___sun__" = xyes
21093 CFLAGS
="$CFLAGS -D__sun__"
21094 LINTFLAGS
="$LINTFLAGS -D__sun__"
21102 ac_config_commands
="$ac_config_commands include/stamp-h"
21104 printf %s
"creating Makefile rules..." >&6
21107 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21110 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21112 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21113 wine_fn_config_symlink wine
21114 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21115 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21116 wine_fn_config_symlink wine64
21119 wine_fn_config_makefile dlls
/acledit enable_acledit
21120 wine_fn_config_makefile dlls
/aclui enable_aclui
21121 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21122 wine_fn_config_makefile dlls
/activeds enable_activeds
21123 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21124 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21125 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21126 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21127 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21128 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21129 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21130 wine_fn_config_makefile dlls
/advpack enable_advpack
21131 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21132 wine_fn_config_makefile dlls
/amsi enable_amsi
21133 wine_fn_config_makefile dlls
/amstream enable_amstream
21134 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21135 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21136 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21137 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21138 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21139 wine_fn_config_makefile dlls
/atl enable_atl
21140 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21141 wine_fn_config_makefile dlls
/atl100 enable_atl100
21142 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21143 wine_fn_config_makefile dlls
/atl110 enable_atl110
21144 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21145 wine_fn_config_makefile dlls
/atl80 enable_atl80
21146 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21147 wine_fn_config_makefile dlls
/atl90 enable_atl90
21148 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21149 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21150 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21151 wine_fn_config_makefile dlls
/authz enable_authz
21152 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21153 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21154 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21155 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21156 wine_fn_config_makefile dlls
/avrt enable_avrt
21157 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21158 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21159 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21160 wine_fn_config_makefile dlls
/browseui enable_browseui
21161 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21162 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21163 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21164 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21165 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21166 wine_fn_config_makefile dlls
/cards enable_cards
21167 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21168 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21169 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21170 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21171 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21172 wine_fn_config_makefile dlls
/combase enable_combase
21173 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21174 wine_fn_config_makefile dlls
/comcat enable_comcat
21175 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21176 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21177 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21178 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21179 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21180 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21181 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21182 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21183 wine_fn_config_makefile dlls
/compstui enable_compstui
21184 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21185 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21186 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21187 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21188 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21189 wine_fn_config_makefile dlls
/connect enable_connect
21190 wine_fn_config_makefile dlls
/credui enable_credui
21191 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21192 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21193 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21194 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21195 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21196 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21197 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21198 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21199 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21200 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21201 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21202 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21203 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21204 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21205 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21206 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21207 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21208 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21209 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21210 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21211 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21212 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21213 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21214 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21215 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21216 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21217 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21218 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21219 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21220 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21221 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21222 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21223 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21225 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21226 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21227 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21228 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21229 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21230 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21231 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21232 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21233 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21234 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21235 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21236 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21237 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21238 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21239 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21240 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21241 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21242 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21243 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21244 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21245 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21246 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21248 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21249 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21251 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21253 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21255 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21257 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21259 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21260 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21261 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21262 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21263 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21264 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21265 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21266 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21267 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21268 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21269 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21270 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21271 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21272 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21273 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21274 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21275 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21276 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21277 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21278 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21279 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21280 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21281 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21282 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21283 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21284 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21285 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21286 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21287 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21288 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21289 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21290 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21291 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21292 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21293 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21294 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21295 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21296 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21297 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21298 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21299 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21300 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21301 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21302 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21303 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21304 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21305 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21306 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21307 wine_fn_config_makefile dlls
/devenum enable_devenum
21308 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21309 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21310 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21311 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21312 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21313 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21314 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21315 wine_fn_config_makefile dlls
/dinput enable_dinput
21316 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21317 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21318 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21319 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21321 wine_fn_config_makefile dlls
/dispex enable_dispex
21322 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21323 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21324 wine_fn_config_makefile dlls
/dmband enable_dmband
21325 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21326 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21327 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21328 wine_fn_config_makefile dlls
/dmime enable_dmime
21329 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21330 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21331 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21333 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21334 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21335 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21336 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21337 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21339 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21340 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21341 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21342 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21343 wine_fn_config_makefile dlls
/dplay enable_dplay
21344 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21345 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21346 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21347 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21348 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21350 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21351 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21352 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21353 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21355 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21356 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21357 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21358 wine_fn_config_makefile dlls
/dsound enable_dsound
21359 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21360 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21361 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21362 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21363 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21364 wine_fn_config_makefile dlls
/dswave enable_dswave
21365 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21366 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21367 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21368 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21369 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21370 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21371 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21372 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21373 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21374 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21375 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21376 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21377 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21378 wine_fn_config_makefile dlls
/esent enable_esent
21379 wine_fn_config_makefile dlls
/evr enable_evr
21380 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21381 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21382 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21383 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21384 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21385 wine_fn_config_makefile dlls
/feclient enable_feclient
21386 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21387 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21388 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21389 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21390 wine_fn_config_makefile dlls
/fusion enable_fusion
21391 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21392 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21393 wine_fn_config_makefile dlls
/gameux enable_gameux
21394 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21395 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21396 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21397 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21398 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21399 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21400 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21401 wine_fn_config_makefile dlls
/glu32 enable_glu32
21402 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21403 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21404 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21405 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21406 wine_fn_config_makefile dlls
/hal enable_hal
21407 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21408 wine_fn_config_makefile dlls
/hid enable_hid
21409 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21410 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21411 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21412 wine_fn_config_makefile dlls
/hlink enable_hlink
21413 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21414 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21415 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21416 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21417 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21418 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21419 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21420 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21421 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21422 wine_fn_config_makefile dlls
/icmp enable_icmp
21423 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21424 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21425 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21426 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21427 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21428 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21429 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21430 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21431 wine_fn_config_makefile dlls
/imm32 enable_imm32
21432 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21433 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21434 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21435 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21436 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21437 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21438 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21439 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21440 wine_fn_config_makefile dlls
/initpki enable_initpki
21441 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21442 wine_fn_config_makefile dlls
/inseng enable_inseng
21443 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21444 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21445 wine_fn_config_makefile dlls
/iprop enable_iprop
21446 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21447 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21448 wine_fn_config_makefile dlls
/itircl enable_itircl
21449 wine_fn_config_makefile dlls
/itss enable_itss
21450 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21451 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21452 wine_fn_config_makefile dlls
/jscript enable_jscript
21453 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21454 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21455 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21456 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21457 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21458 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21459 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21460 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21461 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21462 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21463 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21464 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21465 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21466 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21467 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21468 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21469 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21470 wine_fn_config_makefile dlls
/localspl enable_localspl
21471 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21472 wine_fn_config_makefile dlls
/localui enable_localui
21473 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21474 wine_fn_config_makefile dlls
/lz32 enable_lz32
21475 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21476 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21477 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21478 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21479 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21480 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21481 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21482 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21483 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21484 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21485 wine_fn_config_makefile dlls
/mf enable_mf
21486 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21487 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21488 wine_fn_config_makefile dlls
/mferror enable_mferror
21489 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21490 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21491 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21492 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21494 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21495 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21496 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21497 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21498 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21499 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21500 wine_fn_config_makefile dlls
/midimap enable_midimap
21501 wine_fn_config_makefile dlls
/mlang enable_mlang
21502 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21503 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21504 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21505 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21506 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21507 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21508 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21509 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21510 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21511 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21512 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21513 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21514 wine_fn_config_makefile dlls
/mpr enable_mpr
21515 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21516 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21517 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21518 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21519 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21520 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21521 wine_fn_config_makefile dlls
/msado15 enable_msado15
21522 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21523 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21524 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21525 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21526 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21527 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21528 wine_fn_config_makefile dlls
/mscms enable_mscms
21529 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21530 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21531 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21532 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21533 wine_fn_config_makefile dlls
/msctf enable_msctf
21534 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21535 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21536 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21537 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21538 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21539 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21540 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21541 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21542 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21543 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21544 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21545 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21546 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21547 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21548 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21549 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21550 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21551 wine_fn_config_makefile dlls
/msi enable_msi
21552 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21553 wine_fn_config_makefile dlls
/msident enable_msident
21554 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21555 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21556 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21557 wine_fn_config_makefile dlls
/msisip enable_msisip
21558 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21559 wine_fn_config_makefile dlls
/msls31 enable_msls31
21560 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21561 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21562 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21563 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21564 wine_fn_config_makefile dlls
/msports enable_msports
21565 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21566 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21567 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21568 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21569 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21570 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21571 wine_fn_config_makefile dlls
/mstask enable_mstask
21572 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21574 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21575 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21576 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21577 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21578 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21579 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21581 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21582 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21583 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21584 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21585 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21586 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21587 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21588 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21589 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21590 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21591 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21593 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21594 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21595 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21596 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21597 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21598 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21599 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21600 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21601 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21602 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21603 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21604 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21605 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21606 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21607 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21608 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21609 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21610 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21611 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21612 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21613 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21614 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21615 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21616 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21617 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21618 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21619 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21620 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21621 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21622 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21623 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21624 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21625 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21626 wine_fn_config_makefile dlls
/msxml enable_msxml
21627 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21628 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21629 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21630 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21631 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21632 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21633 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21634 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21635 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21636 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21637 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21638 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21639 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21640 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21641 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21642 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21643 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21644 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21645 wine_fn_config_makefile dlls
/netutils enable_netutils
21646 wine_fn_config_makefile dlls
/newdev enable_newdev
21647 wine_fn_config_makefile dlls
/ninput enable_ninput
21648 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21649 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21650 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21651 wine_fn_config_makefile dlls
/npptools enable_npptools
21652 wine_fn_config_makefile dlls
/nsi enable_nsi
21653 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21654 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21655 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21656 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21657 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21658 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21659 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21660 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21661 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21662 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21663 wine_fn_config_makefile dlls
/objsel enable_objsel
21664 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21665 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21666 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21667 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21668 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21669 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21670 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21671 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21672 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21673 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21674 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21675 wine_fn_config_makefile dlls
/ole32 enable_ole32
21676 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21677 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21678 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21679 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21680 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21681 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21682 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21683 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21684 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21685 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21686 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21687 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21688 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21689 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21690 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21691 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21692 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21693 wine_fn_config_makefile dlls
/opencl enable_opencl
21694 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21695 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21696 wine_fn_config_makefile dlls
/packager enable_packager
21697 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21698 wine_fn_config_makefile dlls
/pdh enable_pdh
21699 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21700 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21701 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21702 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21703 wine_fn_config_makefile dlls
/printui enable_printui
21704 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21705 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21706 wine_fn_config_makefile dlls
/propsys enable_propsys
21707 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21708 wine_fn_config_makefile dlls
/psapi enable_psapi
21709 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21710 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21711 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21712 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21713 wine_fn_config_makefile dlls
/qasf enable_qasf
21714 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21715 wine_fn_config_makefile dlls
/qcap enable_qcap
21716 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21717 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21718 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21719 wine_fn_config_makefile dlls
/qedit enable_qedit
21720 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21721 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21722 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21723 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21724 wine_fn_config_makefile dlls
/quartz enable_quartz
21725 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21726 wine_fn_config_makefile dlls
/query enable_query
21727 wine_fn_config_makefile dlls
/qwave enable_qwave
21728 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21729 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21730 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21731 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21732 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21733 wine_fn_config_makefile dlls
/regapi enable_regapi
21734 wine_fn_config_makefile dlls
/resutils enable_resutils
21735 wine_fn_config_makefile dlls
/riched20 enable_riched20
21736 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21737 wine_fn_config_makefile dlls
/riched32 enable_riched32
21738 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21739 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21740 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21741 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21742 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21743 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21744 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21745 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21746 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21747 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21748 wine_fn_config_makefile dlls
/samlib enable_samlib
21749 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21750 wine_fn_config_makefile dlls
/sapi enable_sapi
21751 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21752 wine_fn_config_makefile dlls
/sas enable_sas
21753 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21754 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21755 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21756 wine_fn_config_makefile dlls
/schannel enable_schannel
21757 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21758 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21759 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21760 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21761 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21762 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21763 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21764 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21765 wine_fn_config_makefile dlls
/sechost enable_sechost
21766 wine_fn_config_makefile dlls
/secur32 enable_secur32
21767 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21768 wine_fn_config_makefile dlls
/security enable_security
21769 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21770 wine_fn_config_makefile dlls
/serialui enable_serialui
21771 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21772 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21773 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21774 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/sfc enable_sfc
21776 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21777 wine_fn_config_makefile dlls
/shcore enable_shcore
21778 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21779 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21780 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21781 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21782 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21783 wine_fn_config_makefile dlls
/shell32 enable_shell32
21784 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21785 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21786 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21787 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21788 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21789 wine_fn_config_makefile dlls
/slc enable_slc
21790 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21791 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21792 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21793 wine_fn_config_makefile dlls
/softpub enable_softpub
21794 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21795 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21796 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21797 wine_fn_config_makefile dlls
/sppc enable_sppc
21798 wine_fn_config_makefile dlls
/srclient enable_srclient
21799 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21800 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21801 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21802 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21803 wine_fn_config_makefile dlls
/sti enable_sti
21804 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21805 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21806 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21807 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21808 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21809 wine_fn_config_makefile dlls
/sxs enable_sxs
21810 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21811 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21812 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21813 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21814 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21815 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21816 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21817 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21818 wine_fn_config_makefile dlls
/tbs enable_tbs
21819 wine_fn_config_makefile dlls
/tdh enable_tdh
21820 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21821 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21822 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21823 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21824 wine_fn_config_makefile dlls
/traffic enable_traffic
21825 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21826 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21827 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21828 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21829 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21830 wine_fn_config_makefile dlls
/tzres enable_tzres
21831 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21832 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21833 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21834 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21835 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21836 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21837 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21838 wine_fn_config_makefile dlls
/unicows enable_unicows
21839 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21840 wine_fn_config_makefile dlls
/url enable_url
21841 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21842 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21843 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21844 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21845 wine_fn_config_makefile dlls
/user32 enable_user32
21846 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21847 wine_fn_config_makefile dlls
/userenv enable_userenv
21848 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21849 wine_fn_config_makefile dlls
/usp10 enable_usp10
21850 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21851 wine_fn_config_makefile dlls
/utildll enable_utildll
21852 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21853 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21854 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21855 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21856 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21857 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21858 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21859 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21860 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21861 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21862 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21863 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21864 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21865 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21866 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21867 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21868 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/version enable_version
21870 wine_fn_config_makefile dlls
/version
/tests enable_tests
21871 wine_fn_config_makefile dlls
/vga enable_vga
21872 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21873 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21874 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21875 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21876 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21877 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21878 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21879 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21880 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21881 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21882 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21883 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21884 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21885 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21886 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21887 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21888 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21889 wine_fn_config_makefile dlls
/webservices enable_webservices
21890 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21891 wine_fn_config_makefile dlls
/websocket enable_websocket
21892 wine_fn_config_makefile dlls
/wer enable_wer
21893 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21894 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21895 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21896 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21897 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21898 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21899 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21900 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21901 wine_fn_config_makefile dlls
/win32u enable_win32u
21902 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21903 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21904 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21905 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21906 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21907 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21908 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21909 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21910 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21911 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21912 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21913 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21914 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21915 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21916 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21917 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21918 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21919 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21920 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21921 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21922 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21923 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21924 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21925 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21926 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21927 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21928 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21929 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21930 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21931 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21932 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21933 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21934 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21935 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21936 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21937 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21938 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21939 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21940 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21941 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21942 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21943 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21944 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21945 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21946 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21947 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21948 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21949 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21950 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21951 wine_fn_config_makefile dlls
/wing32 enable_wing32
21952 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21953 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21954 wine_fn_config_makefile dlls
/wininet enable_wininet
21955 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21956 wine_fn_config_makefile dlls
/winmm enable_winmm
21957 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21958 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21959 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21960 wine_fn_config_makefile dlls
/winprint enable_winprint
21961 wine_fn_config_makefile dlls
/winscard enable_winscard
21962 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21963 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21964 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21965 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21966 wine_fn_config_makefile dlls
/winsta enable_winsta
21967 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21968 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21969 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21970 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21971 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21972 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21973 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21974 wine_fn_config_makefile dlls
/winusb enable_winusb
21975 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21976 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21977 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21978 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21979 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21980 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21981 wine_fn_config_makefile dlls
/wmi enable_wmi
21982 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21983 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21984 wine_fn_config_makefile dlls
/wmp enable_wmp
21985 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21986 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21987 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21988 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21989 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21990 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21991 wine_fn_config_makefile dlls
/wow32 enable_win16
21992 wine_fn_config_makefile dlls
/wow64 enable_wow64
21993 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21994 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21995 wine_fn_config_makefile dlls
/wpc enable_wpc
21996 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21997 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21998 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21999 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22000 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22001 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22002 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22003 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22004 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22005 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22006 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22007 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22008 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22009 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22010 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22011 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22012 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22013 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22014 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22015 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22016 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22017 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22018 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22019 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22020 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22021 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22022 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22023 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22024 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22025 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22026 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22027 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22028 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22029 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22030 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22031 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22032 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22033 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22034 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22035 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22036 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22037 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22038 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22039 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22040 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22041 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22042 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22043 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22044 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22045 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22046 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22047 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22048 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22049 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22050 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22051 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22052 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22053 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22054 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22055 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22056 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22057 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22058 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22059 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22060 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22061 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22062 wine_fn_config_makefile fonts enable_fonts
22063 wine_fn_config_makefile include enable_include
22064 wine_fn_config_makefile libs
/adsiid enable_adsiid
22065 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22066 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22067 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22068 wine_fn_config_makefile libs
/dxguid enable_dxguid
22069 wine_fn_config_makefile libs
/faudio enable_faudio
22070 wine_fn_config_makefile libs
/gsm enable_gsm
22071 wine_fn_config_makefile libs
/jpeg enable_jpeg
22072 wine_fn_config_makefile libs
/jxr enable_jxr
22073 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22074 wine_fn_config_makefile libs
/ldap enable_ldap
22075 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22076 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22077 wine_fn_config_makefile libs
/musl enable_musl
22078 wine_fn_config_makefile libs
/png enable_png
22079 wine_fn_config_makefile libs
/strmbase enable_strmbase
22080 wine_fn_config_makefile libs
/strmiids enable_strmiids
22081 wine_fn_config_makefile libs
/tiff enable_tiff
22082 wine_fn_config_makefile libs
/uuid enable_uuid
22083 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22084 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22085 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22086 wine_fn_config_makefile libs
/xml2 enable_xml2
22087 wine_fn_config_makefile libs
/xslt enable_xslt
22088 wine_fn_config_makefile libs
/zlib enable_zlib
22089 wine_fn_config_makefile libs
/zydis enable_zydis
22090 wine_fn_config_makefile loader enable_loader
22091 wine_fn_config_makefile nls enable_nls
22092 wine_fn_config_makefile po enable_po
22093 wine_fn_config_makefile programs
/arp enable_arp
22094 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22095 wine_fn_config_makefile programs
/attrib enable_attrib
22096 wine_fn_config_makefile programs
/cabarc enable_cabarc
22097 wine_fn_config_makefile programs
/cacls enable_cacls
22098 wine_fn_config_makefile programs
/certutil enable_certutil
22099 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22100 wine_fn_config_makefile programs
/clock enable_clock
22101 wine_fn_config_makefile programs
/cmd enable_cmd
22102 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22103 wine_fn_config_makefile programs
/conhost enable_conhost
22104 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22105 wine_fn_config_makefile programs
/control enable_control
22106 wine_fn_config_makefile programs
/cscript enable_cscript
22107 wine_fn_config_makefile programs
/dism enable_dism
22108 wine_fn_config_makefile programs
/dllhost enable_dllhost
22109 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22110 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22111 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22112 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22113 wine_fn_config_makefile programs
/eject enable_eject
22114 wine_fn_config_makefile programs
/expand enable_expand
22115 wine_fn_config_makefile programs
/explorer enable_explorer
22116 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22117 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22118 wine_fn_config_makefile programs
/fc enable_fc
22119 wine_fn_config_makefile programs
/find enable_find
22120 wine_fn_config_makefile programs
/find
/tests enable_tests
22121 wine_fn_config_makefile programs
/findstr enable_findstr
22122 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22123 wine_fn_config_makefile programs
/fsutil enable_fsutil
22124 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22125 wine_fn_config_makefile programs
/hh enable_hh
22126 wine_fn_config_makefile programs
/hostname enable_hostname
22127 wine_fn_config_makefile programs
/icacls enable_icacls
22128 wine_fn_config_makefile programs
/icinfo enable_icinfo
22129 wine_fn_config_makefile programs
/iexplore enable_iexplore
22130 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22131 wine_fn_config_makefile programs
/lodctr enable_lodctr
22132 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22133 wine_fn_config_makefile programs
/mshta enable_mshta
22134 wine_fn_config_makefile programs
/msidb enable_msidb
22135 wine_fn_config_makefile programs
/msiexec enable_msiexec
22136 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22137 wine_fn_config_makefile programs
/net enable_net
22138 wine_fn_config_makefile programs
/netsh enable_netsh
22139 wine_fn_config_makefile programs
/netstat enable_netstat
22140 wine_fn_config_makefile programs
/ngen enable_ngen
22141 wine_fn_config_makefile programs
/notepad enable_notepad
22142 wine_fn_config_makefile programs
/oleview enable_oleview
22143 wine_fn_config_makefile programs
/ping enable_ping
22144 wine_fn_config_makefile programs
/plugplay enable_plugplay
22145 wine_fn_config_makefile programs
/powershell enable_powershell
22146 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22147 wine_fn_config_makefile programs
/progman enable_progman
22148 wine_fn_config_makefile programs
/reg enable_reg
22149 wine_fn_config_makefile programs
/reg
/tests enable_tests
22150 wine_fn_config_makefile programs
/regasm enable_regasm
22151 wine_fn_config_makefile programs
/regedit enable_regedit
22152 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22153 wine_fn_config_makefile programs
/regini enable_regini
22154 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22155 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22156 wine_fn_config_makefile programs
/robocopy enable_robocopy
22157 wine_fn_config_makefile programs
/rpcss enable_rpcss
22158 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22159 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22160 wine_fn_config_makefile programs
/sc enable_sc
22161 wine_fn_config_makefile programs
/sc
/tests enable_tests
22162 wine_fn_config_makefile programs
/schtasks enable_schtasks
22163 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22164 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22165 wine_fn_config_makefile programs
/secedit enable_secedit
22166 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22167 wine_fn_config_makefile programs
/services enable_services
22168 wine_fn_config_makefile programs
/services
/tests enable_tests
22169 wine_fn_config_makefile programs
/setx enable_setx
22170 wine_fn_config_makefile programs
/shutdown enable_shutdown
22171 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22172 wine_fn_config_makefile programs
/start enable_start
22173 wine_fn_config_makefile programs
/subst enable_subst
22174 wine_fn_config_makefile programs
/svchost enable_svchost
22175 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22176 wine_fn_config_makefile programs
/taskkill enable_taskkill
22177 wine_fn_config_makefile programs
/tasklist enable_tasklist
22178 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22179 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22180 wine_fn_config_makefile programs
/termsv enable_termsv
22181 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22182 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22183 wine_fn_config_makefile programs
/view enable_view
22184 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22185 wine_fn_config_makefile programs
/where enable_where
22186 wine_fn_config_makefile programs
/whoami enable_whoami
22187 wine_fn_config_makefile programs
/wineboot enable_wineboot
22188 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22189 wine_fn_config_makefile programs
/winecfg enable_winecfg
22190 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22191 wine_fn_config_makefile programs
/winedbg enable_winedbg
22192 wine_fn_config_makefile programs
/winedevice enable_winedevice
22193 wine_fn_config_makefile programs
/winefile enable_winefile
22194 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22195 wine_fn_config_makefile programs
/winemine enable_winemine
22196 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22197 wine_fn_config_makefile programs
/winepath enable_winepath
22198 wine_fn_config_makefile programs
/winetest enable_winetest
22199 wine_fn_config_makefile programs
/winevdm enable_win16
22200 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22201 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22202 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22203 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22204 wine_fn_config_makefile programs
/winver enable_winver
22205 wine_fn_config_makefile programs
/wmic enable_wmic
22206 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22207 wine_fn_config_makefile programs
/wordpad enable_wordpad
22208 wine_fn_config_makefile programs
/write enable_write
22209 wine_fn_config_makefile programs
/wscript enable_wscript
22210 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22211 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22212 wine_fn_config_makefile programs
/wusa enable_wusa
22213 wine_fn_config_makefile programs
/xcopy enable_xcopy
22214 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22215 wine_fn_config_makefile server enable_server
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22219 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22220 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22221 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22222 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22223 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22224 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22227 as_fn_append CONFIGURE_TARGETS
" TAGS"
22228 as_fn_append CONFIGURE_TARGETS
" tags"
22229 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22230 as_fn_append CONFIGURE_TARGETS
" config.log"
22231 as_fn_append CONFIGURE_TARGETS
" config.status"
22232 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22233 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22234 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22236 if test "x$enable_tools" != xno
22238 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22239 ac_config_commands
="$ac_config_commands tools/makedep"
22243 ac_config_commands
="$ac_config_commands Makefile"
22250 as_fn_append wine_rules
"
22252 @echo \"Wine build complete.\"
22256 Makefile: config.status \$(MAKEDEP)
22257 @./config.status Makefile
22258 depend: \$(MAKEDEP)
22259 \$(MAKEDEP)$makedep_flags"
22262 as_fn_append wine_rules
"
22263 config.status: ${wine_srcdir}configure
22264 @./config.status --recheck
22265 include/config.h: include/stamp-h
22266 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22267 @./config.status include/config.h include/stamp-h"
22269 if test "x$enable_maintainer_mode" = xyes
22271 as_fn_append wine_rules
"
22272 configure: configure.ac aclocal.m4
22273 autoconf --warnings=all
22274 include/config.h.in: include/stamp-h.in
22275 include/stamp-h.in: configure.ac aclocal.m4
22276 autoheader --warnings=all
22277 @echo timestamp > \$@"
22280 if test "x$enable_tools" != xno
22282 as_fn_append wine_rules
"
22283 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22284 @./config.status tools/makedep
22285 Makefile: tools/makedep$ac_exeext"
22287 as_fn_append wine_rules
"
22289 @echo \"You need to run make in $toolsdir first\" && false"
22293 if test -n "$with_wine64"
22295 case "$with_wine64" in
22299 rm -f fonts server
2>/dev
/null
22300 as_fn_append wine_rules
"
22301 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22302 loader/wine64 loader/wine64-preloader:
22303 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22304 $with_wine64/loader/wine:
22305 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22306 $with_wine64/loader/wine-preloader:
22307 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22309 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22311 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22312 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22316 programs/msidb/msidb \
22317 programs/msiexec/msiexec \
22318 programs/notepad/notepad \
22319 programs/regedit/regedit \
22320 programs/regsvr32/regsvr32 \
22321 programs/wineboot/wineboot \
22322 programs/winecfg/winecfg \
22323 programs/wineconsole/wineconsole \
22324 programs/winedbg/winedbg \
22325 programs/winefile/winefile \
22326 programs/winemine/winemine \
22327 programs/winepath/winepath \
22331 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22332 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22337 as_fn_append wine_rules
"
22339 rm -rf autom4te.cache
22341 rm -f configure include/config.h.in"
22344 as_fn_append wine_rules
"
22345 dlls/ntdll/unix/version.c: dummy
22346 @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)
22347 programs/winetest/build.rc: dummy
22348 @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)
22349 programs/winetest/build.nfo:
22351 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
22352 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22353 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22356 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22358 as_fn_append wine_rules
"
22361 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22364 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22366 .PHONY: depend dummy install-manpages"
22368 printf "%s\n" " done" >&6
22369 cat >confcache
<<\_ACEOF
22370 # This file is a shell script that caches the results of configure
22371 # tests run on this system so they can be shared between configure
22372 # scripts and configure runs, see configure's option --config-cache.
22373 # It is not useful on other systems. If it contains results you don't
22374 # want to keep, you may remove or edit it.
22376 # config.status only pays attention to the cache file if you give it
22377 # the --recheck option to rerun configure.
22379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22381 # following values.
22385 # The following way of writing the cache mishandles newlines in values,
22386 # but we know of no workaround that is simple, portable, and efficient.
22387 # So, we kill variables containing newlines.
22388 # Ultrix sh set writes to stderr and can't be redirected directly,
22389 # and sets the high bit in the cache file unless we assign to the vars.
22391 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22392 eval ac_val
=\$
$ac_var
22396 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22397 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22400 _ | IFS | as_nl
) ;; #(
22401 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22402 *) { eval $ac_var=; unset $ac_var;} ;;
22408 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22409 *${as_nl}ac_space
=\
*)
22410 # `set' does not quote correctly, so add quotes: double-quote
22411 # substitution turns \\\\ into \\, and sed turns \\ into \.
22414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22417 # `set' quotes correctly as required by POSIX, so do not add quotes.
22418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22427 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22431 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22432 if test -w "$cache_file"; then
22433 if test "x$cache_file" != "x/dev/null"; then
22434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22435 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22436 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22437 cat confcache
>"$cache_file"
22439 case $cache_file in #(
22441 mv -f confcache
"$cache_file"$$
&&
22442 mv -f "$cache_file"$$
"$cache_file" ;; #(
22444 mv -f confcache
"$cache_file" ;;
22449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22450 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22455 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22456 # Let make expand exec_prefix.
22457 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22459 DEFS
=-DHAVE_CONFIG_H
22464 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22465 # 1. Remove the extension, and $U if already installed.
22466 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22467 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22469 # will be set to the directory where LIBOBJS objects are built.
22470 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22471 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22473 LIBOBJS
=$ac_libobjs
22475 LTLIBOBJS
=$ac_ltlibobjs
22479 : "${CONFIG_STATUS=./config.status}"
22481 ac_clean_files_save
=$ac_clean_files
22482 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22484 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22486 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22488 # Generated by $as_me.
22489 # Run this file to recreate the current configuration.
22490 # Compiler output produced by configure, useful for debugging
22491 # configure, is in config.log if it exists.
22494 ac_cs_recheck=false
22497 SHELL=\${CONFIG_SHELL-$SHELL}
22500 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22501 ## -------------------- ##
22502 ## M4sh Initialization. ##
22503 ## -------------------- ##
22505 # Be more Bourne compatible
22506 DUALCASE
=1; export DUALCASE
# for MKS sh
22508 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22513 # is contrary to our usage. Disable this feature.
22514 alias -g '${1+"$@"}'='"$@"'
22515 setopt NO_GLOB_SUBST
22517 case `(set -o) 2>/dev/null` in #(
22527 # Reset variables that may have inherited troublesome values from
22530 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22531 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22532 # side effect of setting IFS to empty, thus disabling word splitting.)
22533 # Quoting is to prevent editors from complaining about space-tab.
22543 # Ensure predictable behavior from utilities with locale-dependent output.
22549 # We cannot yet rely on "unset" to work, but we need these variables
22550 # to be unset--not just set to an empty or harmless value--now, to
22551 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22552 # also avoids known problems related to "unset" and subshell syntax
22553 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22554 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22555 do eval test \
${$as_var+y} \
22556 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22559 # Ensure that fds 0, 1, and 2 are open.
22560 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22561 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22562 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22564 # The user is always right.
22565 if ${PATH_SEPARATOR+false} :; then
22567 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22568 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22574 # Find who we are. Look in the path if we contain no directory separator.
22577 *[\\/]* ) as_myself
=$0 ;;
22578 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22579 for as_dir
in $PATH
22582 case $as_dir in #(((
22585 *) as_dir
=$as_dir/ ;;
22587 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22593 # We did not find ourselves, most probably we were run as `sh COMMAND'
22594 # in which case we are not to be found in the path.
22595 if test "x$as_myself" = x
; then
22598 if test ! -f "$as_myself"; then
22599 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22606 # ----------------------------------------
22607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22609 # script with STATUS, using 1 if that was 0.
22612 as_status
=$1; test $as_status -eq 0 && as_status
=1
22614 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22617 printf "%s\n" "$as_me: error: $2" >&2
22618 as_fn_exit
$as_status
22623 # as_fn_set_status STATUS
22624 # -----------------------
22625 # Set $? to STATUS, without forking.
22626 as_fn_set_status
()
22629 } # as_fn_set_status
22631 # as_fn_exit STATUS
22632 # -----------------
22633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22637 as_fn_set_status
$1
22643 # Portably unset VAR.
22646 { eval $1=; unset $1;}
22648 as_unset
=as_fn_unset
22650 # as_fn_append VAR VALUE
22651 # ----------------------
22652 # Append the text in VALUE to the end of the definition contained in VAR. Take
22653 # advantage of any shell optimizations that allow amortized linear growth over
22654 # repeated appends, instead of the typical quadratic growth present in naive
22656 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22658 eval 'as_fn_append ()
22669 # as_fn_arith ARG...
22670 # ------------------
22671 # Perform arithmetic evaluation on the ARGs, and store the result in the
22672 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22673 # must be portable across $(()) and expr.
22674 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22676 eval 'as_fn_arith ()
22683 as_val
=`expr "$@" || test $? -eq 1`
22688 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22689 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22695 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22696 as_basename
=basename
22701 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22707 as_me
=`$as_basename -- "$0" ||
22708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22709 X"$0" : 'X\(//\)$' \| \
22710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22711 printf "%s\n" X/"$0" |
22712 sed '/^.*\/\([^/][^/]*\)\/*$/{
22726 # Avoid depending upon Character Ranges.
22727 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22728 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22729 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22730 as_cr_digits
='0123456789'
22731 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22734 # Determine whether it's possible to make 'echo' print without a newline.
22735 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22736 # for compatibility with existing Makefiles.
22737 ECHO_C
= ECHO_N
= ECHO_T
=
22738 case `echo -n x` in #(((((
22740 case `echo 'xy\c'` in
22741 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22743 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22750 # For backward compatibility with old third-party macros, we provide
22751 # the shell variables $as_echo and $as_echo_n. New code should use
22752 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22753 as_echo
='printf %s\n'
22754 as_echo_n
='printf %s'
22756 rm -f conf$$ conf$$.exe conf$$.
file
22757 if test -d conf$$.dir
; then
22758 rm -f conf$$.dir
/conf$$.
file
22761 mkdir conf$$.dir
2>/dev
/null
22763 if (echo >conf$$.
file) 2>/dev
/null
; then
22764 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22766 # ... but there are two gotchas:
22767 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22768 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22769 # In both cases, we have to default to `cp -pR'.
22770 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22772 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22780 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22781 rmdir conf$$.dir
2>/dev
/null
22786 # Create "$as_dir" as a directory, including parents if necessary.
22791 -*) as_dir
=.
/$as_dir;;
22793 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22797 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22798 *) as_qdir
=$as_dir;;
22800 as_dirs
="'$as_qdir' $as_dirs"
22801 as_dir
=`$as_dirname -- "$as_dir" ||
22802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22803 X"$as_dir" : 'X\(//\)[^/]' \| \
22804 X"$as_dir" : 'X\(//\)$' \| \
22805 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22806 printf "%s\n" X"$as_dir" |
22807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22811 /^X\(\/\/\)[^/].*/{
22824 test -d "$as_dir" && break
22826 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22827 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22831 if mkdir
-p .
2>/dev
/null
; then
22832 as_mkdir_p
='mkdir -p "$as_dir"'
22834 test -d .
/-p && rmdir .
/-p
22839 # as_fn_executable_p FILE
22840 # -----------------------
22841 # Test if FILE is an executable regular file.
22842 as_fn_executable_p
()
22844 test -f "$1" && test -x "$1"
22845 } # as_fn_executable_p
22846 as_test_x
='test -x'
22847 as_executable_p
=as_fn_executable_p
22849 # Sed expression to map a string onto a valid CPP name.
22850 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22852 # Sed expression to map a string onto a valid variable name.
22853 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22857 ## ----------------------------------- ##
22858 ## Main body of $CONFIG_STATUS script. ##
22859 ## ----------------------------------- ##
22861 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22864 # Save the log message, to keep $0 and so on meaningful, and to
22865 # report actual input values of CONFIG_FILES etc. instead of their
22866 # values after options handling.
22868 This file was extended by Wine $as_me 8.10, which was
22869 generated by GNU Autoconf 2.71. Invocation command line was
22871 CONFIG_FILES = $CONFIG_FILES
22872 CONFIG_HEADERS = $CONFIG_HEADERS
22873 CONFIG_LINKS = $CONFIG_LINKS
22874 CONFIG_COMMANDS = $CONFIG_COMMANDS
22877 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22883 case $ac_config_headers in *"
22884 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22889 # Files that config.status was made for.
22890 config_headers="$ac_config_headers"
22891 config_links="$ac_config_links"
22892 config_commands="$ac_config_commands"
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22898 \`$as_me' instantiates files and other configuration actions
22899 from templates according to the current configuration. Unless the files
22900 and actions are specified as TAGs, all are instantiated by default.
22902 Usage: $0 [OPTION]... [TAG]...
22904 -h, --help print this help, then exit
22905 -V, --version print version number and configuration settings, then exit
22906 --config print configuration, then exit
22907 -q, --quiet, --silent
22908 do not print progress messages
22909 -d, --debug don't remove temporary files
22910 --recheck update $as_me by reconfiguring in the same conditions
22911 --header=FILE[:TEMPLATE]
22912 instantiate the configuration header FILE
22914 Configuration headers:
22917 Configuration links:
22920 Configuration commands:
22923 Report bugs to <wine-devel@winehq.org>.
22924 Wine home page: <https://www.winehq.org>."
22927 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22928 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22930 ac_cs_config='$ac_cs_config_escaped'
22932 Wine config.status 8.10
22933 configured by $0, generated by GNU Autoconf 2.71,
22934 with options \\"\$ac_cs_config\\"
22936 Copyright (C) 2021 Free Software Foundation, Inc.
22937 This config.status script is free software; the Free Software Foundation
22938 gives unlimited permission to copy, distribute and modify it."
22942 test -n "\$AWK" || AWK=awk
22945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22946 # The default lists apply if the user does not specify any file.
22952 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22953 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22957 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22969 # Handling of the options.
22970 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22972 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22973 printf "%s\n" "$ac_cs_version"; exit ;;
22974 --config |
--confi |
--conf |
--con |
--co |
--c )
22975 printf "%s\n" "$ac_cs_config"; exit ;;
22976 --debug |
--debu |
--deb |
--de |
--d |
-d )
22978 --header |
--heade |
--head |
--hea )
22981 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22983 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22984 ac_need_defaults
=false
;;
22986 # Conflict between --help and --header
22987 as_fn_error $?
"ambiguous option: \`$1'
22988 Try \`$0 --help' for more information.";;
22989 --help |
--hel |
-h )
22990 printf "%s\n" "$ac_cs_usage"; exit ;;
22991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22992 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22995 # This is an error.
22996 -*) as_fn_error $?
"unrecognized option: \`$1'
22997 Try \`$0 --help' for more information." ;;
22999 *) as_fn_append ac_config_targets
" $1"
23000 ac_need_defaults
=false
;;
23006 ac_configure_extra_args
=
23008 if $ac_cs_silent; then
23010 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23015 if \$ac_cs_recheck; then
23016 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23018 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23019 CONFIG_SHELL='$SHELL'
23020 export CONFIG_SHELL
23025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23030 ## Running $as_me. ##
23032 printf "%s\n" "$ac_log"
23036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23040 wine_fn_output_makedep ()
23042 as_dir=tools; as_fn_mkdir_p
23043 $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
23045 wine_fn_output_makefile ()
23047 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23048 # This Makefile understands the following targets:
23050 # all (default): build wine
23051 # clean: remove all intermediate files
23052 # distclean: also remove all files created by configure
23054 # testclean: clean test results to force running all tests again
23055 # install-lib: install libraries needed to run applications
23056 # install-dev: install development environment
23057 # install: install everything
23058 # uninstall: uninstall everything
23059 # ctags: create a tags file for vim and others.
23060 # etags: create a TAGS file for Emacs.
23063 PATH_SEPARATOR = $PATH_SEPARATOR
23064 PACKAGE_NAME = $PACKAGE_NAME
23065 PACKAGE_TARNAME = $PACKAGE_TARNAME
23066 PACKAGE_VERSION = $PACKAGE_VERSION
23067 PACKAGE_STRING = $PACKAGE_STRING
23068 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23069 PACKAGE_URL = $PACKAGE_URL
23070 exec_prefix = $exec_prefix
23072 program_transform_name = $program_transform_name
23075 libexecdir = $libexecdir
23076 datarootdir = $datarootdir
23078 sysconfdir = $sysconfdir
23079 sharedstatedir = $sharedstatedir
23080 localstatedir = $localstatedir
23081 runstatedir = $runstatedir
23082 includedir = $includedir
23083 oldincludedir = $oldincludedir
23091 localedir = $localedir
23098 build_alias = $build_alias
23099 host_alias = $host_alias
23100 target_alias = $target_alias
23101 system_dllpath = $system_dllpath
23103 build_cpu = $build_cpu
23104 build_vendor = $build_vendor
23105 build_os = $build_os
23107 host_cpu = $host_cpu
23108 host_vendor = $host_vendor
23114 SET_MAKE = $SET_MAKE
23118 CPPFLAGS = $CPPFLAGS
23119 ac_ct_CC = $ac_ct_CC
23123 CXXFLAGS = $CXXFLAGS
23124 ac_ct_CXX = $ac_ct_CXX
23127 TARGETFLAGS = $TARGETFLAGS
23128 toolsext = $toolsext
23129 HOST_ARCH = $HOST_ARCH
23130 aarch64_CC = $aarch64_CC
23131 aarch64_CFLAGS = $aarch64_CFLAGS
23132 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23133 aarch64_LDFLAGS = $aarch64_LDFLAGS
23134 aarch64_DEBUG = $aarch64_DEBUG
23135 aarch64_TARGET = $aarch64_TARGET
23136 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23137 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23139 arm_CFLAGS = $arm_CFLAGS
23140 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23141 arm_LDFLAGS = $arm_LDFLAGS
23142 arm_DEBUG = $arm_DEBUG
23143 arm_TARGET = $arm_TARGET
23144 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23145 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23147 i386_CFLAGS = $i386_CFLAGS
23148 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23149 i386_LDFLAGS = $i386_LDFLAGS
23150 i386_DEBUG = $i386_DEBUG
23151 i386_TARGET = $i386_TARGET
23152 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23153 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23154 x86_64_CC = $x86_64_CC
23155 x86_64_CFLAGS = $x86_64_CFLAGS
23156 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23157 x86_64_LDFLAGS = $x86_64_LDFLAGS
23158 x86_64_DEBUG = $x86_64_DEBUG
23159 x86_64_TARGET = $x86_64_TARGET
23160 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23161 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23162 toolsdir = $toolsdir
23164 RUNTESTFLAGS = $RUNTESTFLAGS
23169 ac_ct_AR = $ac_ct_AR
23175 LDCONFIG = $LDCONFIG
23177 PKG_CONFIG = $PKG_CONFIG
23178 FONTFORGE = $FONTFORGE
23182 I386_LIBS = $I386_LIBS
23183 OPENGL_LIBS = $OPENGL_LIBS
23184 DLLFLAGS = $DLLFLAGS
23185 LDDLLFLAGS = $LDDLLFLAGS
23186 LDEXECFLAGS = $LDEXECFLAGS
23187 EXTRACFLAGS = $EXTRACFLAGS
23188 UNIXDLLFLAGS = $UNIXDLLFLAGS
23189 UNIXLDFLAGS = $UNIXLDFLAGS
23190 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23191 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23192 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23193 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23199 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23200 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23201 CARBON_LIBS = $CARBON_LIBS
23202 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23203 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23204 IOKIT_LIBS = $IOKIT_LIBS
23205 METAL_LIBS = $METAL_LIBS
23206 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23207 CORESERVICES_LIBS = $CORESERVICES_LIBS
23208 APPKIT_LIBS = $APPKIT_LIBS
23209 SECURITY_LIBS = $SECURITY_LIBS
23210 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23211 COREAUDIO_LIBS = $COREAUDIO_LIBS
23212 OPENCL_LIBS = $OPENCL_LIBS
23214 OBJCFLAGS = $OBJCFLAGS
23215 ac_ct_OBJC = $ac_ct_OBJC
23216 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23217 PE_ARCHS = $PE_ARCHS
23218 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23219 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23220 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23221 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23222 GSM_PE_LIBS = $GSM_PE_LIBS
23223 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23224 JPEG_PE_LIBS = $JPEG_PE_LIBS
23225 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23226 JXR_PE_LIBS = $JXR_PE_LIBS
23227 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23228 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23229 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23230 LDAP_PE_LIBS = $LDAP_PE_LIBS
23231 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23232 MPG123_PE_LIBS = $MPG123_PE_LIBS
23233 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23234 MUSL_PE_LIBS = $MUSL_PE_LIBS
23235 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23236 PNG_PE_LIBS = $PNG_PE_LIBS
23237 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23238 TIFF_PE_LIBS = $TIFF_PE_LIBS
23239 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23240 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23241 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23242 XML2_PE_LIBS = $XML2_PE_LIBS
23243 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23244 XSLT_PE_LIBS = $XSLT_PE_LIBS
23245 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23246 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23247 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23248 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23249 PTHREAD_LIBS = $PTHREAD_LIBS
23252 X_CFLAGS = $X_CFLAGS
23253 X_PRE_LIBS = $X_PRE_LIBS
23255 X_EXTRA_LIBS = $X_EXTRA_LIBS
23256 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23257 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23258 WAYLAND_SCANNER = $WAYLAND_SCANNER
23259 PCAP_LIBS = $PCAP_LIBS
23260 PCSCLITE_LIBS = $PCSCLITE_LIBS
23261 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23262 INOTIFY_LIBS = $INOTIFY_LIBS
23263 DBUS_CFLAGS = $DBUS_CFLAGS
23264 DBUS_LIBS = $DBUS_LIBS
23265 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23266 GNUTLS_LIBS = $GNUTLS_LIBS
23267 SANE_CFLAGS = $SANE_CFLAGS
23268 SANE_LIBS = $SANE_LIBS
23269 USB_CFLAGS = $USB_CFLAGS
23270 USB_LIBS = $USB_LIBS
23271 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23272 GPHOTO2_LIBS = $GPHOTO2_LIBS
23273 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23274 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23275 RESOLV_LIBS = $RESOLV_LIBS
23276 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23277 FREETYPE_LIBS = $FREETYPE_LIBS
23278 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23279 PULSE_CFLAGS = $PULSE_CFLAGS
23280 PULSE_LIBS = $PULSE_LIBS
23281 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23282 GSTREAMER_LIBS = $GSTREAMER_LIBS
23283 ALSA_LIBS = $ALSA_LIBS
23284 OSS4_CFLAGS = $OSS4_CFLAGS
23285 OSS4_LIBS = $OSS4_LIBS
23286 UDEV_CFLAGS = $UDEV_CFLAGS
23287 UDEV_LIBS = $UDEV_LIBS
23288 UNWIND_CFLAGS = $UNWIND_CFLAGS
23289 UNWIND_LIBS = $UNWIND_LIBS
23290 SDL2_CFLAGS = $SDL2_CFLAGS
23291 SDL2_LIBS = $SDL2_LIBS
23292 CAPI20_CFLAGS = $CAPI20_CFLAGS
23293 CAPI20_LIBS = $CAPI20_LIBS
23294 CUPS_CFLAGS = $CUPS_CFLAGS
23295 CUPS_LIBS = $CUPS_LIBS
23296 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23297 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23298 KRB5_CFLAGS = $KRB5_CFLAGS
23299 KRB5_LIBS = $KRB5_LIBS
23300 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23301 GSSAPI_LIBS = $GSSAPI_LIBS
23302 PROCSTAT_LIBS = $PROCSTAT_LIBS
23303 NETAPI_CFLAGS = $NETAPI_CFLAGS
23304 NETAPI_LIBS = $NETAPI_LIBS
23305 MSVCRTFLAGS = $MSVCRTFLAGS
23306 DELAYLOADFLAG = $DELAYLOADFLAG
23307 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23309 TAGSFLAGS = $TAGSFLAGS
23311 LTLIBOBJS = $LTLIBOBJS
23315 as_fn_error $? "could not create Makefile" "$LINENO" 5
23320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23322 # Handling of arguments.
23323 for ac_config_target
in $ac_config_targets
23325 case $ac_config_target in
23326 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23327 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23328 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23329 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23330 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23331 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23333 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23338 # If the user did not use the arguments to specify the items to instantiate,
23339 # then the envvar interface is used. Set only those that are not.
23340 # We use the long form for the default assignment because of an extremely
23341 # bizarre bug on SunOS 4.1.3.
23342 if $ac_need_defaults; then
23343 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23344 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23345 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23348 # Have a temporary directory for convenience. Make it in the build tree
23349 # simply because there is no reason against having it here, and in addition,
23350 # creating and moving files from /tmp can sometimes cause problems.
23351 # Hook for its removal unless debugging.
23352 # Note that there is a small window in which the directory will not be cleaned:
23353 # after its creation but before its name has been assigned to `$tmp'.
23357 trap 'exit_status=$?
23358 : "${ac_tmp:=$tmp}"
23359 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23361 trap 'as_fn_exit 1' 1 2 13 15
23363 # Create a (secure) tmp directory for tmp files.
23366 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23370 tmp
=.
/conf$$
-$RANDOM
23371 (umask 077 && mkdir
"$tmp")
23372 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23375 # Set up the scripts for CONFIG_HEADERS section.
23376 # No need to generate them if there are no CONFIG_HEADERS.
23377 # This happens for instance with `./config.status Makefile'.
23378 if test -n "$CONFIG_HEADERS"; then
23379 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23383 # Transform confdefs.h into an awk script `defines.awk', embedded as
23384 # here-document in config.status, that substitutes the proper values into
23385 # config.h.in to produce config.h.
23387 # Create a delimiter string that does not exist in confdefs.h, to ease
23388 # handling of long lines.
23390 for ac_last_try
in false false
:; do
23391 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23392 if test -z "$ac_tt"; then
23394 elif $ac_last_try; then
23395 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23397 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23401 # For the awk script, D is an array of macro values keyed by name,
23402 # likewise P contains macro parameters if any. Preserve backslash
23403 # newline sequences.
23405 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23407 s/.\{148\}/&'"$ac_delim"'/g
23410 s/^[ ]*#[ ]*define[ ][ ]*/ /
23417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23419 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23424 D["\1"]=" \3\\\\\\n"\\/p
23426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23431 s/.\{148\}/&'"$ac_delim"'/g
23436 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23439 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23441 ' <confdefs.h |
sed '
23442 s/'"$ac_delim"'/"\\\
23443 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23446 for (key in D) D_is_set[key] = 1
23449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23451 split(line, arg, " ")
23452 if (arg[1] == "#") {
23456 defundef = substr(arg[1], 2)
23459 split(mac1, mac2, "(") #)
23461 prefix = substr(line, 1, index(line, defundef) - 1)
23462 if (D_is_set[macro]) {
23463 # Preserve the white space surrounding the "#".
23464 print prefix "define", macro P[macro] D[macro]
23467 # Replace #undef with comments. This is necessary, for example,
23468 # in the case of _POSIX_SOURCE, which is predefined and required
23469 # on some systems where configure will not decide to define it.
23470 if (defundef == "undef") {
23471 print "/*", prefix defundef, macro, "*/"
23479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23480 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23481 fi # test -n "$CONFIG_HEADERS"
23484 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23489 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23491 case $ac_mode$ac_tag in
23493 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23494 :[FH
]-) ac_tag
=-:-;;
23495 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23512 -) ac_f
="$ac_tmp/stdin";;
23513 *) # Look for the file first in the build tree, then in the source tree
23514 # (if the path is not absolute). The absolute path cannot be DOS-style,
23515 # because $ac_f cannot contain `:'.
23519 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23521 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23523 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23524 as_fn_append ac_file_inputs
" '$ac_f'"
23527 # Let's still pretend it is `configure' which instantiates (i.e., don't
23528 # use $as_me), people would be surprised to read:
23529 # /* config.h. Generated by config.status. */
23530 configure_input
='Generated from '`
23531 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23533 if test x
"$ac_file" != x-
; then
23534 configure_input
="$ac_file. $configure_input"
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23536 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23538 # Neutralize special characters interpreted by sed in replacement strings.
23539 case $configure_input in #(
23540 *\
&* |
*\|
* |
*\\* )
23541 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23542 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23543 *) ac_sed_conf_input
=$configure_input;;
23547 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23548 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23553 ac_dir
=`$as_dirname -- "$ac_file" ||
23554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23555 X"$ac_file" : 'X\(//\)[^/]' \| \
23556 X"$ac_file" : 'X\(//\)$' \| \
23557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23558 printf "%s\n" X"$ac_file" |
23559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23563 /^X\(\/\/\)[^/].*/{
23576 as_dir
="$ac_dir"; as_fn_mkdir_p
23580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23582 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23583 # A ".." for each directory in $ac_dir_suffix.
23584 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23585 case $ac_top_builddir_sub in
23586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23590 ac_abs_top_builddir
=$ac_pwd
23591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23592 # for backward compatibility:
23593 ac_top_builddir
=$ac_top_build_prefix
23596 .
) # We are building in place.
23598 ac_top_srcdir
=$ac_top_builddir_sub
23599 ac_abs_top_srcdir
=$ac_pwd ;;
23600 [\\/]* | ?
:[\\/]* ) # Absolute name.
23601 ac_srcdir
=$srcdir$ac_dir_suffix;
23602 ac_top_srcdir
=$srcdir
23603 ac_abs_top_srcdir
=$srcdir ;;
23604 *) # Relative name.
23605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23618 if test x
"$ac_file" != x-
; then
23620 printf "%s\n" "/* $configure_input */" >&1 \
23621 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23622 } >"$ac_tmp/config.h" \
23623 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23624 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23626 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23629 mv "$ac_tmp/config.h" "$ac_file" \
23630 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23633 printf "%s\n" "/* $configure_input */" >&1 \
23634 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23635 || as_fn_error $?
"could not create -" "$LINENO" 5
23643 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23646 # Prefer the file from the source tree if names are identical.
23647 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23648 ac_source
=$srcdir/$ac_source
23651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23652 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23654 if test ! -r "$ac_source"; then
23655 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23659 # Try a relative symlink, then a hard link, then a copy.
23661 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23662 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23664 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23665 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23666 cp -p "$ac_source" "$ac_file" ||
23667 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23670 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23671 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23676 case $ac_file$ac_mode in
23677 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23678 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23679 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23687 ac_clean_files
=$ac_clean_files_save
23689 test $ac_write_fail = 0 ||
23690 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23693 # configure is writing to config.log, and then calls config.status.
23694 # config.status does its own redirection, appending to config.log.
23695 # Unfortunately, on DOS this fails, as config.log is still kept open
23696 # by configure, so config.status won't be able to write to it; its
23697 # output is simply discarded. So we exec the FD to /dev/null,
23698 # effectively closing config.log, so it can be properly (re)opened and
23699 # appended to by config.status. When coming back to configure, we
23700 # need to make the FD available again.
23701 if test "$no_create" != yes; then
23703 ac_config_status_args
=
23704 test "$silent" = yes &&
23705 ac_config_status_args
="$ac_config_status_args --quiet"
23707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23710 # would make configure fail if this is the last instruction.
23711 $ac_cs_success || as_fn_exit
1
23713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23715 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23719 if test "$no_create" = "yes"
23725 if test "x$wine_notices" != x
; then
23728 for msg
in $wine_notices; do
23734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23735 printf "%s\n" "$as_me: $msg" >&6;}
23740 for msg
in $wine_warnings; do
23747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23748 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23754 $as_me: Finished. Do '${ac_make}' to compile Wine.